Commit Graph
568 Commits
Author SHA1 Message Date
Adam Gauthier d64753f029 Use nameof in ArgumentNullExceptions that throw the paramName (dotnet/corefx#31250)
Commit migrated from https://github.com/dotnet/corefx/commit/b6b9a1ad24339266a27fef826233dbbe192cf254
2018-07-21 19:21:53 -07:00
Eric Erhardt 21b7a52139 Merge master into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/0343b37275d50fa44b8db91bd9ed8364f89600fc
2018-07-05 14:06:19 -05:00
Luqun Lou 61431f8ea6 Use public implementation CultureDataSupport (dotnet/corefx#30739)
Commit migrated from https://github.com/dotnet/corefx/commit/38b71a3a1da3b460bf68c3d0b7d653e04780e054
2018-07-03 15:41:37 -07:00
dotnet-maestro-bot 473ba45dfe Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-02929-01, preview1-26630-01, preview1-26628-03, preview1-26629-04, beta-26629-00, beta-26629-00, respectively (master) (dotnet/corefx#30766)
* Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-02929-01, preview1-26630-01, preview1-26628-03, preview1-26629-04, beta-26629-00, beta-26629-00, respectively

* Use public implementation API RemoveEventHandler


Commit migrated from https://github.com/dotnet/corefx/commit/bcbf63568b81239ceb1048b5ad75e6c9f7eb58dc
2018-06-29 23:00:13 -07:00
Eric Erhardt 779486884e Merge master into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/ec546de620c5248f3662d6aaca989ed382b86b6b
2018-06-28 21:28:41 -05:00
Eric Erhardt 8b6d5baf20 Change .csproj to new Configurations property
Change .sln to use the managed C# project system GUID.


Commit migrated from https://github.com/dotnet/corefx/commit/e05508a62d28f4807f85abe9cb7adf8382f792b4
2018-06-28 17:49:22 -05:00
Luqun Lou 862e09c609 Remove dependency for IBindableVector Type (dotnet/corefx#30710)
Commit migrated from https://github.com/dotnet/corefx/commit/1ddcfb9eca7e690a048ef20552bee37bab6cfd30
2018-06-28 13:07:54 -07:00
Luqun Lou 4b385c1124 Remove Is AppDomainUnloadedException check (dotnet/corefx#30736)
Commit migrated from https://github.com/dotnet/corefx/commit/71bdfca0613bf66e2e3f41587f6a1d3f62dceb36
2018-06-28 13:07:13 -07:00
Luqun Lou c056c1f775 Remove use of FrameworkEventSourceSupport from S.P.Corelib (dotnet/corefx#30297)
Commit migrated from https://github.com/dotnet/corefx/commit/96eddf39539879915e5bf570825e78af37149154
2018-06-27 19:41:42 -07:00
Stephen Toub 2fb9f847fc Simplify built-in types across corefx (dotnet/corefx#30656)
Commit migrated from https://github.com/dotnet/corefx/commit/e0ba7aa8026280ee3571179cc06431baf1dfaaac
2018-06-25 16:54:41 -07:00
Luqun Lou f8dd66c2b0 Use public implementation MarshalSupport (dotnet/corefx#30494)
* Use public implementation MarshalSupport

* Implement NotifyCollectionChangedEventArgsMarshaler ConvertToManaged and PropertyChangedEventArgsMarshaler ConvertToNative

* Refactor RoGetActivationFactory into Common

* Update according to comments and add an analyzerdata file


Commit migrated from https://github.com/dotnet/corefx/commit/098d8626dca87dd809fde77784c04eb9d00a2a3d
2018-06-25 05:20:55 -07:00
Luqun Lou 0819981fbc Use public implementation WindowsRuntime ExceptionSupport (dotnet/corefx#30440)
Commit migrated from https://github.com/dotnet/corefx/commit/585a9306ec049548680417e70765820b69c2d70f
2018-06-22 19:45:05 -07:00
Eric Erhardt 2053139c9a merge master into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/1c91f96ec67a78a33268181d99a73a736b48c13e
2018-06-15 22:24:40 -05:00
luqunl 233fdab168 Trivial Update WindowsRuntimeResourceManager
Commit migrated from https://github.com/dotnet/corefx/commit/dcee3579e9374067fb770a9c7b98e5f64e45efc4
2018-06-15 19:04:04 -07:00
Eric Erhardt 1df03e5bbd Rename dir files to Directory.Build
dir.props => Directory.Build.props
dir.targets => Directory.Build.targets


Commit migrated from https://github.com/dotnet/corefx/commit/204a8dbbc23bfc51d419c93f2f2ddaf50db8020f
2018-06-15 17:07:48 -05:00
Stephen Toub 6cc996f95c Delete some unused .cs files (dotnet/corefx#30251)
In a few cases, this also highlighted other dead code that could be removed, e.g. a shim export we no longer need. And it highlighted some places where .cs files weren't included in a .csproj but should have been; I've fixed those.

Commit migrated from https://github.com/dotnet/corefx/commit/844415759d3f1525bf1f5d1bd79453c6aa8493f8
2018-06-12 09:46:47 -04:00
Eric Erhardt 70091b9c8b Merge master into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/ad505eb98c6a887db2d2932fec256d9e4e394169
2018-06-11 17:20:10 -05:00
Luqun Lou 0c899db838 Add a static method to create WinRT SynchronizationContext instance (dotnet/corefx#30220)
Commit migrated from https://github.com/dotnet/corefx/commit/bece3a206ec9fccd9a425447ac49a36bfb0d1bb0
2018-06-11 11:29:58 -07:00
Luqun Lou d34ec5c559 Use AsyncCausalitySupport from S.P.Corelib Public Implementation (dotnet/corefx#30215)
Commit migrated from https://github.com/dotnet/corefx/commit/e64e85bcbe2f19d6187e9b6da59fb0495160b64d
2018-06-11 10:52:59 -07:00
Luqun Lou 38d0e72cc5 Expose Exception.set_HResult as Public (dotnet/corefx#29986)
* Expose Exception.set_HResult as Public

* Remove internal Exception.SetErrorCode

* Update CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-26531-03, preview1-26531-03, preview1-26531-01, beta-26531-00, beta-26531-00, respectively



Commit migrated from https://github.com/dotnet/corefx/commit/16d1dd4d51a9253fb285083768657ebbefcf81f5
2018-05-31 17:16:54 -07:00
wtgodbe f38ceb30be Convert all .csproj files in src to SDK-style projects
Commit migrated from https://github.com/dotnet/corefx/commit/91d7e62bbf28094a2b419b87847bcd6a7658564d
2018-05-21 11:53:46 -07:00
Stephen Toub 4dafdf5211 Replace shared Interop.FormatMessage.cs with non-shared one
Commit migrated from https://github.com/dotnet/corefx/commit/f3414d6cc3463b9e243e5d732d7e401c2d037d05
2018-05-10 16:03:31 -04:00
Luqun Lou ed07f2ffde Enable build S.R.WindowRuntime for .netcoreapp (dotnet/corefx#29579)
* Enable build S.R.WindowRuntime and mscorlib facade for .netcoreapp



Commit migrated from https://github.com/dotnet/corefx/commit/40a548403d4b3462303ad8650f5cfbf6b9257326
2018-05-08 22:06:06 -07:00
Jan Kotas bb342efaec Cleanup some System.Runtime.WindowsRuntime.* dependencies on CoreLib internals (dotnet/corefx#29319)
Contributes to https://github.com/dotnet/coreclr/issues/17768

Commit migrated from https://github.com/dotnet/corefx/commit/2e6549a6712c5c9edaf052db5da1267a86a1f7e6
2018-04-26 17:23:46 -07:00
Marco Rossignoli 87da9705a6 De-duplicate resource ID's to make Mono merge easier (dotnet/corefx#29280)
* wip

* wip

* wip

* fix System.Linq.Expressions

* revert for tests

* add powershell script

* address PR feedback

* address PR feedbacl

* address PR feedback


Commit migrated from https://github.com/dotnet/corefx/commit/5a37188238e90d8566e6161b43ac483a671bb7d2
2018-04-24 13:58:42 -07:00
dotnet-maestro-bot 03a9838cbb Update BuildTools, CoreClr, CoreFx, CoreSetup to preview3-02627-01, preview3-26327-02, preview3-26327-01, preview3-26326-02, respectively (master) (dotnet/corefx#28489)
* Update BuildTools, CoreClr, CoreFx, CoreSetup to preview3-02627-01, preview3-26327-02, preview3-26327-01, preview3-26326-02, respectively

* Fix build break


Commit migrated from https://github.com/dotnet/corefx/commit/10244d0a1a3edecd9b5adda5e482cd218e21df13
2018-03-26 22:54:34 -07:00
Anton Lapounov 6000da9972 Call CancellationTokenRegistration.Unregister in AsyncInfoToTaskBridge to avoid leaking memory when the CancellationTokenSource is reused. (dotnet/corefx#28471)
Addresses DevDiv 403992.

Commit migrated from https://github.com/dotnet/corefx/commit/668b87c68234e5e18c54fcc12203589973236913
2018-03-26 06:14:54 -07:00
Wes Haggard f8801500fa Normalize project configurations (dotnet/corefx#28396)
Commit migrated from https://github.com/dotnet/corefx/commit/29b20cab377ea807eddcbc2dc5832d8d17b0bb00
2018-03-22 21:11:43 -07:00
Jeremy Kuhne e4c7177641 Use Win32Marshal from CoreLib shared code (dotnet/corefx#28161)
* Use Win32Marshal from CoreLib shared code

Fix hr issue caught by Common.Tests.

* Move string condition inside exception arguments


Commit migrated from https://github.com/dotnet/corefx/commit/c4d9e0c960e5ee2da3402703c5f02472cbb7e592
2018-03-17 07:15:24 -04:00
Simon Nattress 52c8e150c1 Update UAP System.Private.CoreLib to unblock UAP builds (dotnet/corefx#27805)
* Update UAP targeting pack

To fix the flow from CoreCLR and CoreFX into TFS, update the targeting pack with a version of System.Private.CoreLib that has an updated signature for Stream.WriteAsync. This should be sufficient to re-enable uapaot builds so we can get a new set of uap packages.

* Revert "Disable uapaot builds on several projects"

This reverts commit dotnet/corefx@ebe14686a8.



Commit migrated from https://github.com/dotnet/corefx/commit/671b10bb21668d8432f066a4307c269a98a66ea8
2018-03-08 16:40:00 -08:00
Eric St. John 98c0015605 Update SLNs and projects to be in sync with configurations
Commit migrated from https://github.com/dotnet/corefx/commit/8ce7e620e1b5001be002598f4d10d4becdd77a49
2018-03-08 08:25:31 -08:00
Stephen Toub b09ec74165 Disable uapaot builds on several projects
This was needed to get through the change of Stream.WriteAsync's return type from Task to ValueTask.


Commit migrated from https://github.com/dotnet/corefx/commit/ebe14686a89d26d1d34d359f7a636d6e9a36a624
2018-03-02 09:56:25 -08:00
Wes Haggard fc9b090ef0 Update references assemblies to include private fields for structs
Contributes to https://github.com/dotnet/corefx/issues/6185.


Commit migrated from https://github.com/dotnet/corefx/commit/2e97d43060dfb589907a15dbfef0cc7db6e90546
2018-01-12 08:53:41 -08:00
dotnet-maestro-bot 749bf84caa Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to prerelease-02312-02, preview1-26014-04, preview1-26013-12, preview1-26014-02, beta-26014-01, beta-26014-01, respectively (master) (dotnet/corefx#25913)
* Update BuildTools, CoreClr, CoreFx, CoreSetup to prerelease-02312-02, preview1-26014-04, preview1-26013-12, preview1-26014-02 respectively

* Fix build break


Commit migrated from https://github.com/dotnet/corefx/commit/eeffcfe499dbd7ece97b0c652ed54139411732c1
2017-12-14 11:42:32 -05:00
Jan Kotas 27d98c0776 Delete unnecessary SecurityCritical and SecuritySafeCritical annotations
Commit migrated from https://github.com/dotnet/corefx/commit/0bb106232745aedfc0d0c5a84ff2b244bf190317
2017-11-19 10:37:38 -08:00
Jan Kotas 9b5f569108 Misc cleanup (dotnet/corefx#25343)
- Remove unnecessary SetErrorCode wrapper from IsolatedStorageException
- Delete unnecessary FriendAccessAllowed attribute
- Delete unused files

Commit migrated from https://github.com/dotnet/corefx/commit/02a26f8f417967e31bab8d96605d3d8846154e8a
2017-11-19 06:59:45 -05:00
Stano Peťko 1a70106b96 File path is in IO exception messages (dotnet/corefx#25195)
* Added path to message Argument_InvalidPathChars.

* Added path to message IO_PathTooLong.

* IO_PathTooLong - separate message when path is empty.

* Added argument reference to message.


Commit migrated from https://github.com/dotnet/corefx/commit/51da21f9934c63216a8d7a2eb27ec5aa97944600
2017-11-14 23:09:24 -05:00
Jan Kotas 4f73201480 Replace JitHelpers.UnsafeCast with Unsafe.As (dotnet/corefx#24019)
Both methods to the same, but the latter one is the offficial public name for the functionality

Commit migrated from https://github.com/dotnet/corefx/commit/dc9f75d81e91a531f7235c95ee9c18a047332dc6
2017-09-13 17:46:04 -07:00
Jan Kotas 2d5f6a9bcb Fix UAP build break
S.R.WindowsRuntime is a friend with CoreLib. HResults definition in CoreLib has changed and it is
colliding local HResults definition in S.R.WindowsRuntime now.


Commit migrated from https://github.com/dotnet/corefx/commit/1c502040a69bcd3a256131f6005feed36122926c
2017-08-31 12:33:34 -07:00
Brian Chavez 232a1dfac0 Grammar check - "a [a,e]" rule. (dotnet/corefx#23697)
* Grammar check - "a [a,e]" rule.

* Corrected "a attributes" to "an attribute"


Commit migrated from https://github.com/dotnet/corefx/commit/be75987c628347e1d44bba15c5272ade3dcfa65c
2017-08-31 09:29:39 -04:00
Brian Chavez 88875187b0 XML doc spelling corrections - D through H. 🚿 (dotnet/corefx#23638)
Commit migrated from https://github.com/dotnet/corefx/commit/a27929935d2782cdc3e7be21653e8c4530274c6f
2017-08-29 17:10:01 -07:00
Brian Chavez f866987b74 XML doc spelling corrections - I through P. 🚿 (dotnet/corefx#23651)
Commit migrated from https://github.com/dotnet/corefx/commit/b09fab5799bb1ca4bea4b4bb086d2c9870dd5191
2017-08-29 15:42:23 -07:00
Brian Chavez ba2326f831 XML doc spelling corrections - A through C. (dotnet/corefx#23634)
Commit migrated from https://github.com/dotnet/corefx/commit/afcbd9a5b9e4ecde2db3a69afd093631f1db91c5
2017-08-28 23:42:20 -07:00
Eric St. John 15b6decf41 Add mscorlib facade for refs consuming Windows.winmd
Reference assemblies consuming Windows.winmd need to have
an mscorlib facade because Windows.winmd has references to
types in mscorlib.


Commit migrated from https://github.com/dotnet/corefx/commit/1f8756b47931e4ed11e1a2c6bd9af54f3c958a81
2017-08-28 10:34:51 -07:00
Tarek Mahmoud Sayed f6a33a7b85 Avoid the failure we are getting when calling Windows Runtime (dotnet/corefx#22052)
Sometimes Windows Runtime fails and we get Argument Exception which can fail fast the whole app. To avoid that we ignore the exception.

Commit migrated from https://github.com/dotnet/corefx/commit/4ab41d47ad08e6e70a97f811c02afb6f93d5cd80
2017-07-10 20:19:14 -07:00
Krzysztof Wicher 5b0283d6f6 Merge pull request dotnet/corefx#21782 from krwq/regex-uap
Re-enable Regex tests on UAP and speed them up (more than 40x times)

Commit migrated from https://github.com/dotnet/corefx/commit/ccb2914d98aef5967a4b02c21aa89c18d94e7ac5
2017-07-03 15:47:33 -07:00
Tarek Mahmoud Sayed 5dc2052f95 Fix setting current culture to invariant in UAP
Commit migrated from https://github.com/dotnet/corefx/commit/e6ff7a2c75b16912a11d04fee428c6f15c0737bf
2017-07-03 14:47:58 -07:00
Hugh Bellamy 98b18432b7 Move AssertExtensions to Corefx.Private.TestUtilities (dotnet/corefx#21799)
* Move AssertExtensions to Corefx.Private.TestUtilities

* Update csprojs

* Fix Linq.Expressions uapaot build


Commit migrated from https://github.com/dotnet/corefx/commit/7e3b0db2892c56a431f8e99af9cd9381adec385a
2017-07-03 09:27:30 -07:00
Jan Kotas 5fd01d75ba Use public ConditionalWeakTable iterator (dotnet/corefx#21751)
Port https://github.com/dotnet/corert/pull/4030/commits/dotnet/corefx@a3837f7fc60a1b7db872cfef6463f74fb1ffeafb to CoreCLR

Commit migrated from https://github.com/dotnet/corefx/commit/1ee5d8333cfd2a74548a5c7bbc38950cca628566
2017-06-29 22:49:21 -07:00
Tijoy Tom b8714abc2f Merge pull request dotnet/corefx#21658 from hughbe/windowsruntime-runtime-tests
Add Runtime.WindowsRuntime tests

Commit migrated from https://github.com/dotnet/corefx/commit/12f1e6eccb3da16fa4c54cc7c1cf342cbe487f48
2017-06-29 11:16:30 -07:00