Age | Commit message (Collapse) | Author |
|
[corlib] ThreadAbortException protection for ArraySortHelper
The ArraySortHelper catches all exceptions in the comparer.
If the sorting thread is aborted while it is running the comparer, the
ArraySortHelper will catch the TAE and propagate an InvalidOperationException
instead.
As a workaround, catch and rethrow TAEs separately.
Related to mono/mono#15418
|
|
The ArraySortHelper catches all exceptions in the comparer.
If the sorting thread is aborted while it is running the comparer, the
ArraySortHelper will catch the TAE and propagate an InvalidOperationException
instead.
As a workaround, catch and rethrow TAEs separately.
Related to https://github.com/mono/mono/issues/15418
|
|
Cherry pick of AmbiguousImplementationException
|
|
|
|
|
|
Signed-off-by: dotnet-bot <anirudhagnihotry098@gmail.com>
|
|
Throw the approved exception per dotnet/corefx#34124.
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|
|
Moving to the namespace that was approved in dotnet/corefx#34124.
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|
|
|
|
|
|
Related: https://github.com/mono/mono/issues/11965
|
|
|
|
|
|
Merge with https://github.com/mono/mono/pull/10880
|
|
|
|
typed argument takes an array of objects.
|
|
Bump to latest upstream
|
|
|
|
Merge nmirror to master
|
|
Merge changes from TFS
|
|
|
|
https://github.com/dotnet/coreclr/pull/17096 completely, which only showed modest size improvement
* Removing the _version increment from Clear() entirely to bring it in line with the behavior in Remove() and to keep size gains
[tfs-changeset: 1714543]
|
|
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|
|
|
|
* Move ResoureReader/ResourceSet to shared.
* Remove unnecessary cast to RuntimeType from ResoureReader.
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|
|
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|
|
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|
|
Corrects an issue with the conversion table for Gregorian to Chinese lunisolar dates.
See: #19480.
Issue: data discrepancy in year 2057, 2089, and 2097.
Table entry for these years have incorrect days per month for some months. See #19480 for full details.
Notes
The DaysPerMonth flag uses the binary literal for ease of readability.
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|
|
|
|
Merge master to nmirror
|
|
The JIT prototype was originally brought up on the closed source ".NET Native for UWP apps" compiler/runtime, so this is mostly to adapt it for CoreRT.
Surprisingly, this hasn't bit rotten much over time and some of the bitrot has been cleaned up by @tonerdo in his interpreter work (#6182). Both an interpreter and a JIT are a great addition to a fully AOT compiled runtime and they complement each other nicely.
With this, I'm making the JIT prototype work on CoreRT:
* Adjust the hacks that were used by JIT code manager to talk to the runtime (in CoreRT, runtime is linked into the executable and the hacks didn't work). This will need further cleanup at some point.
* Rename ReaderWriterLock because it was conflicting with a type of the same name in the runtime.
* Add an experimental flavor of the stack trace decoder. This needs to use the experimental type loader.
* Expose the JIT component from MSBuild - compile JIT support into the executable, use the experimental flavor of the reflection stack (shared with the interpreter), add the extra native library with JIT support. This is to allow enabling JIT support as part of `dotnet publish`.
You can try this out pretty much the same way as @tonerdo's interpreter: see instructions in #6182. Instead of passing `/p:ExperimentalInterpreterSupport=true`, pass `/p:ExperimentalJitSupport=true`. You'll need to manually copy clrjitilc.dll from the compiler to the publish directory (we use the same codegen that is used to compile the AOT parts of the application to also JIT compile at runtime).
|
|
|
|
Fixes #5776
|
|
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|
|
* Update additional callsites for MemoryExtensions.Contains
* One more callsite
* More callsites
* CR fixes
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|
|
|
|
|
|
|
|
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|
|
Merge master to nmirror
|
|
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|
|
Merge nmirror to master
|
|
Merge changes from TFS
|
|
pointer, marking it as DependencyReductionRoot to make sure it is not optimized away.
[tfs-changeset: 1713493]
|
|
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|
|
|
|
* Update to official XUnit 2.4
* Use dotnet msbuild to build
|
|
Codegen fixes required to make Console.WriteLine work on WebAssembly (when combined with #5987 and a matching CoreFX build):
The 'this' pointer for reference types is a byref for constrained virtual calls and needs to be dereferenced.
Enable P/Invoke marshaling. This isn't easy to test directly, but we'll notice the effect as we try to use framework code that P/Invokes (in Console.WriteLine, there's SafeHandle marshaling).
|
|
|
|
|