1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-08 03:27:04 +09:00
Commit graph

136319 commits

Author SHA1 Message Date
github-actions[bot]
f5bc37b62e
run stress tests nightly against staging branches (#113476)
Backport of #113432 to release/9.0-staging

Contributes to #113372.
2025-03-14 18:10:48 +01:00
Mirroring
f57e6dc747 Merge commit 'd9d0ae01ab' 2025-03-13 21:40:22 +00:00
Haruna Ogweda
d9d0ae01ab
[release/9.0] fix SBOM issues for runtime (#113463)
* update runtime repo to produce SBOM after signing artifacts

* disable SBOM autogeneration for prepare signed artifacts leg

* disable SBOM autogeneration for prepare signed artifacts leg

* disable SBOM autogeneration for prepare signed artifacts leg

* set the verbosity level of the logging output to Debug

* remove unnecessary parameters

* remove verbosity parameter

* remove verbosity parameter

* remove verbosity parameter

---------

Co-authored-by: Haruna Ogweda <harunaogweda@microsoft.com>
2025-03-13 14:26:15 -07:00
Mirroring
0c9b70db7b Merge commit 'f0d7e1f584' 2025-03-12 22:56:54 +00:00
Carlos Sánchez López
f0d7e1f584
Merge pull request #113447 from dotnet/darc-release/9.0-staging-62bd3ef1-917b-4678-9b62-c92e936b2ef9
[release/9.0] Update dependencies from dotnet/arcade
2025-03-12 15:48:08 -07:00
dotnet-maestro[bot]
111a76e4af Update dependencies from https://github.com/dotnet/arcade build 20250311.4
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XliffTasks , Microsoft.DotNet.XUnitAssert , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.25111.5 -> To Version 9.0.0-beta.25161.4
2025-03-12 22:26:17 +00:00
Carlos Sánchez López
984ab6851c
Merge pull request #113333 from dotnet/merge/release/9.0-to-release/9.0-staging
[automated] Merge branch 'release/9.0' => 'release/9.0-staging'
2025-03-12 14:58:58 -06:00
Mirroring
d7dd0496c4 Merge commit '315f1f5b83' 2025-03-12 16:17:01 +00:00
Carlos Sánchez López
315f1f5b83
Merge pull request #113389 from vseanreesermsft/internal-merge-9.0-2025-03-11-1248
Merging internal commits for release/9.0
2025-03-12 09:06:40 -07:00
Sean Reeser
d21cf876f6 Merge commit '831d23e561' into internal-merge-9.0-2025-03-11-1248 2025-03-11 12:49:23 -07:00
github-actions[bot]
6758abdc17
[release/9.0-staging] Fix HttpHandlerDiagnosticListenerTests.TestW3CHeadersTraceStateAndCorrelationContext (#112882)
Backport of #112753 to release/9.0-staging
2025-03-11 15:23:30 +01:00
Mirroring
99ba03659d Merge commit 'e7ed8bb3bc' 2025-03-11 04:31:53 +00:00
Carlos Sánchez López
e7ed8bb3bc
Merge pull request #113350 from carlossanlop/release/9.0-staging
[manual] Merge release/9.0-staging into release/9.0
2025-03-10 21:24:26 -07:00
carlossanlop
a635ae1d3f Merge remote-tracking branch 'dotnet/release/9.0' into release/9.0-staging 2025-03-10 16:36:22 -07:00
dotnet-maestro[bot]
34e3ff2c28
Update dependencies from https://github.com/dotnet/sdk build 20250211.36 (#112628)
Microsoft.SourceBuild.Intermediate.sdk , Microsoft.DotNet.ApiCompat.Task
 From Version 9.0.103-servicing.25065.25 -> To Version 9.0.104-servicing.25111.36

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
2025-03-10 16:09:29 -07:00
github-actions[bot]
b46e5a22cb
[release/9.0-staging] [mono] Switch generic instance cache back to GHashTable; improve ginst hash function (#113316)
Backport of https://github.com/dotnet/runtime/pull/113287

This change will revert to the hashtable container used for the generic instance cache in .NET 8.0 to address a performance regression introduced by changing to a different container in 9. Also improves the hash function used for the cache (the existing one was suboptimal.)

Co-authored-by: Katelyn Gadd <kg@luminance.org>
2025-03-10 15:22:21 -04:00
github-actions[bot]
8670c12404
[release/9.0] Fix BigInteger.Rotate{Left,Right} for backport (#112991)
* Add BigInteger.Rotate* tests

* Fix BigInteger.Rotate*

* avoid stackalloc

* Add comment

* Fix the unsigned right shift operator of BigInteger (#112879)

* Add tests for the shift operator of BigInteger

* Fix the unsigned right shift operator of BigInteger

* avoid stackalloc

* external sign element

---------

Co-authored-by: kzrnm <gengesa@gmail.com>
2025-03-10 12:10:14 -07:00
Mirroring
d4015d6a9e Merge commit 'a104fda0f3' 2025-03-10 18:26:37 +00:00
dotnet-maestro[bot]
b64f47acec
[release/9.0-staging] Update dependencies from dotnet/hotreload-utils (#112394)
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20250210.2

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 9.0.0-alpha.0.25077.3 -> To Version 9.0.0-alpha.0.25110.2

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20250213.2

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 9.0.0-alpha.0.25077.3 -> To Version 9.0.0-alpha.0.25113.2

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20250224.3

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 9.0.0-alpha.0.25077.3 -> To Version 9.0.0-alpha.0.25124.3

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20250303.2

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 9.0.0-alpha.0.25077.3 -> To Version 9.0.0-alpha.0.25153.2

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
2025-03-10 11:19:49 -07:00
dotnet-maestro[bot]
b5f9b09410
[release/9.0-staging] Update dependencies from dotnet/icu (#112514)
* Update dependencies from https://github.com/dotnet/icu build 20250212.1

Microsoft.NETCore.Runtime.ICU.Transport
 From Version 9.0.0-rtm.25105.1 -> To Version 9.0.0-rtm.25112.1

* Update dependencies from https://github.com/dotnet/icu build 20250213.1

Microsoft.NETCore.Runtime.ICU.Transport
 From Version 9.0.0-rtm.25105.1 -> To Version 9.0.0-rtm.25113.1

* Update dependencies from https://github.com/dotnet/icu build 20250214.1

Microsoft.NETCore.Runtime.ICU.Transport
 From Version 9.0.0-rtm.25105.1 -> To Version 9.0.0-rtm.25114.1

* Update dependencies from https://github.com/dotnet/icu build 20250307.1

Microsoft.NETCore.Runtime.ICU.Transport
 From Version 9.0.0-rtm.25105.1 -> To Version 9.0.0-rtm.25157.1

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
2025-03-10 11:18:12 -07:00
dotnet-maestro[bot]
1bb31dca78
[release/9.0-staging] Update dependencies from dotnet/arcade (#112468)
* Update dependencies from https://github.com/dotnet/arcade build 20250211.5

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XliffTasks , Microsoft.DotNet.XUnitAssert , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.25077.4 -> To Version 9.0.0-beta.25111.5

* Make the workload sdk follow the sdk flow

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
2025-03-10 11:17:44 -07:00
dotnet-maestro[bot]
7a2ef65a23
Update dependencies from https://github.com/dotnet/cecil build 20250212.2 (#112515)
Microsoft.SourceBuild.Intermediate.cecil , Microsoft.DotNet.Cecil
 From Version 0.11.5-alpha.25102.5 -> To Version 0.11.5-alpha.25112.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2025-03-10 11:16:22 -07:00
dotnet-maestro[bot]
a104fda0f3
[release/9.0] Update dependencies from dotnet/emsdk (#112522)
* Update dependencies from https://github.com/dotnet/emsdk build 20250213.2

Microsoft.SourceBuild.Intermediate.emsdk , Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100 , Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport
 From Version 9.0.3-servicing.25105.2 -> To Version 9.0.3-servicing.25113.2

* Update dependencies from https://github.com/dotnet/emsdk build 20250214.2

Microsoft.SourceBuild.Intermediate.emsdk , Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100 , Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport
 From Version 9.0.3-servicing.25105.2 -> To Version 9.0.3-servicing.25114.2

Dependency coherency updates

runtime.linux-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.win-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.win-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.osx-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.osx-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.osx-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.osx-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.osx-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.osx-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools
 From Version 19.1.0-alpha.1.24575.1 -> To Version 19.1.0-alpha.1.25113.2 (parent: Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport

* Update dependencies from https://github.com/dotnet/emsdk build 20250307.2

Microsoft.SourceBuild.Intermediate.emsdk , Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100 , Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport
 From Version 9.0.3-servicing.25105.2 -> To Version 9.0.4-servicing.25157.2

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2025-03-10 11:15:48 -07:00
dotnet-maestro[bot]
5eddbbcc8a
Update dependencies from https://github.com/dotnet/runtime-assets build 20250213.2 (#112552)
Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
 From Version 9.0.0-beta.25071.2 -> To Version 9.0.0-beta.25113.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2025-03-10 11:15:05 -07:00
dotnet-maestro[bot]
38dd6030e9
Update dependencies from https://github.com/dotnet/xharness build 20250213.3 (#112627)
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
 From Version 9.0.0-prerelease.25103.3 -> To Version 9.0.0-prerelease.25113.3

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
2025-03-10 11:09:23 -07:00
dotnet-maestro[bot]
2a76f6f924
[release/9.0-staging] Update dependencies from dotnet/roslyn (#112835)
* Update dependencies from https://github.com/dotnet/roslyn build 20250223.1

Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.12.0-3.25105.5 -> To Version 4.12.0-3.25123.1

* Update dependencies from https://github.com/dotnet/roslyn build 20250224.2

Microsoft.SourceBuild.Intermediate.roslyn , Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.12.0-3.25105.5 -> To Version 4.12.0-3.25124.2

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
2025-03-10 11:08:32 -07:00
dotnet-maestro[bot]
08bad6edf3
Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20250223.3 (#112836)
Microsoft.CodeAnalysis.Analyzers , Microsoft.CodeAnalysis.NetAnalyzers
 From Version 3.11.0-beta1.25076.3 -> To Version 3.11.0-beta1.25123.3

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2025-03-10 11:06:48 -07:00
github-actions[bot]
67cbfaac4c
Update branding to 9.0.4 (#113226) (#113264)
Co-authored-by: vseanreesermsft <78103370+vseanreesermsft@users.noreply.github.com>
2025-03-10 11:05:25 -07:00
github-actions[bot]
34ed4b33bf
Update MsQuic library version (#113205)
Co-authored-by: ManickaP <mapichov@microsoft.com>
2025-03-10 09:57:06 +01:00
Alexander Köplinger
f4fd947a03
[release/9.0-staging] Remove --no-lock brew flag (#113281)
Backport of https://github.com/dotnet/runtime/pull/113280
2025-03-08 09:08:02 +01:00
Koundinya Veluri
a0eb8bf1e2
[9.0] Make counting of IO completion work items more precise on Windows (#112794)
* Stop counting work items from ThreadPoolTypedWorkItemQueue for ThreadPool.CompletedWorkItemCount (#106854)

* Stop counting work items from ThreadPoolTypedWorkItemQueue as completed work items

---------

Co-authored-by: Eduardo Manuel Velarde Polar <evelardepola@microsoft.com>
Co-authored-by: Koundinya Veluri <kouvel@users.noreply.github.com>

* Make counting of IO completion work items more precise on Windows

- Follow-up to https://github.com/dotnet/runtime/pull/106854. Issue: https://github.com/dotnet/runtime/issues/104284.
- Before the change, the modified test case often yields 5 or 6 completed work items, due to queue-processing work items that happen to not process any user work items. After the change, it always yields 4.
- Looks like it doesn't hurt to have more-precise counting, and there was a request to backport a fix to .NET 8, where it's more necessary to fix the issue

---------

Co-authored-by: Eduardo Velarde <32459232+eduardo-vp@users.noreply.github.com>
Co-authored-by: Eduardo Manuel Velarde Polar <evelardepola@microsoft.com>
2025-03-07 11:13:03 -08:00
Mirroring
fcb4e99c9d Merge commit '4408376420' 2025-03-07 17:42:22 +00:00
vseanreesermsft
4408376420
Update branding to 9.0.4 (#113226) 2025-03-07 09:32:53 -08:00
github-actions[bot]
296586bdb1
[release/9.0-staging] NativeAOT/Arm64: Do not overwrite gcinfo tracking registers for TLS (#112549)
* Do not overwrite gcrefs masks present in reg1/reg2 fields

* Temporary use debian 10

* Revert "Temporary use debian 10"

This reverts commit 269225f46b97d0d511510688504658b695e86822.

---------

Co-authored-by: Kunal Pathak <Kunal.Pathak@microsoft.com>
Co-authored-by: Jeff Schwartz <jeffschw@microsoft.com>
2025-03-06 15:18:45 -08:00
Stephen Toub
a5d80ca93d
Use invariant culture when formatting transfer capture in regex source generator (#113081) (#113150)
A balancing group can result in TransferCapture being emitted with a negative "capnum". If the compiler is running under a culture that uses something other than '-' as the negative sign, the resulting generated code will fail to compile.
2025-03-06 10:59:41 -05:00
github-actions[bot]
d082f40569
[release/9.0-staging] Fix TensorPrimitives.MultiplyAddEstimate for integers (#113094) 2025-03-04 21:48:47 -05:00
Aman Khalid
f18ca7da01
[release/9.0-staging] Backport "Ship CoreCLR packages in servicing releases" (#113026) 2025-03-04 13:26:04 -05:00
Koundinya Veluri
1ac12eac8e
Make CPU utilization checks in the thread pool configurable (#112791)
- On Windows, checking CPU utilization seems to involve a small amount of overhead, which can become noticeable or even significant in some scenarios. This change makes the intervals of time over which CPU utilization is computed configurable. Increasing the interval increases the period at which CPU utilization is updated. The same config var can also be used to disable CPU utilization checks and have features that use it behave as though CPU utilization is low.
- CPU utilization is used by the starvation heuristic and hill climbing. When CPU utilization is very high, the starvation heuristic reduces the rate of thread injection in starved cases. When CPU utilization is high, hill climbing avoids settling on higher thread count control values.
- CPU utilization is currently updated when the gate thread performs periodic activities, which happens typically every 500 ms when a worker thread is active. There is one gate thread per .NET process.
- In scenarios where there are many .NET processes running, and where many of them frequently but lightly use the thread pool, overall CPU usage may be relatively low, but the overhead from CPU utilization checks can bubble up to a noticeable portion of overall CPU usage. In a scenario involving 100s of .NET processes, it was seen that CPU utilization checks amount to 0.5-1% of overall CPU usage on the machine, which was considered significant.
2025-03-03 09:36:41 -08:00
github-actions[bot]
8a346d2b01
[release/9.0-staging] JIT: fix local assertion prop error for partial local comparisons (#112539)
* JIT: fix local assertion prop error for partial local comparisons

If a JTRUE comparison only involves part of a local value we cannot make assertions
about the local as a whole.

Fixes #111352.

* restrict to TYP_LONG locals

---------

Co-authored-by: Andy Ayers <andya@microsoft.com>
2025-02-28 10:01:12 -08:00
Elinor Fung
6a30014ecd
Fix getting resource when ResourceResolve returns assembly with resource that is an assembly ref (#112893)
When getting a resource where `ResourceResolve` handler returns an assembly with a manifest resource that is an assembly ref, we incorrectly resolved the reference on the original assembly instead of the assembly returned by the handler and then also looked for the resource on the original assembly again instead of using the referenced assembly.

This change includes a test for this case using IL. The manifest resource file (as opposed to assembly ref) case is already covered in libraries tests.
2025-02-27 15:36:45 -08:00
Steve Harter
a327dddfb0
[release/9.0-staging] Add support for LDAPTLS_CACERTDIR \ TrustedCertificateDirectory (#112531)
* Add support for LDAPTLS_CACERTDIR \ TrustedCertificateDirectory (#111877)

* Add CompatibilitySuppressions.xml

* Remove unwanted test changes that were ported from v10
2025-02-26 11:34:46 -08:00
github-actions[bot]
109f9575b6
Include PDB for all TfmRuntimeSpecificPackageFile (#112139)
Previously this would only include the PDB for the primary output which
missed any other additions to TfmRuntimeSpecificPackageFile - such as
those from references or packages.

Co-authored-by: Eric StJohn <ericstj@microsoft.com>
2025-02-21 17:03:58 -05:00
github-actions[bot]
881b4bde94
[mono][interp] Fix execution of delegate invoke wrapper with interpreter (#111700)
The wrapper was relatively recently changed to icall into mono_get_addr_compiled_method in order to obtain a native function pointer to call using calli. This is incorrect on interpreter where we expect an `InterpMethod*`. This commit adds a new opcode instead, that on jit it goes through the same icall path, while on interpeter in similarly computes the appropiate method to call.

On a separate track, it might be useful to investigate whether the necessary delegate invoke wrapper should have been present in the aot image and not be executed with the interpreter in the first place.

Co-authored-by: Vlad Brezae <brezaevlad@gmail.com>
Co-authored-by: Steve Pfister <steveisok@users.noreply.github.com>
2025-02-21 10:09:47 -05:00
github-actions[bot]
120e0b6a69
[mono][mini] Disable inlining if we encounter class initialization failure (#112005)
method_make_alwaysthrow_typeloadfailure replaces the entire method code with a throw of type load exception. This behaviour not only seem dubious, if it is triggered from inlining a method, that might never even get called, but it also does changes to the set of basic blocks that can lead to crashes later on during compilation.

Co-authored-by: Vlad Brezae <brezaevlad@gmail.com>
2025-02-21 08:49:32 -05:00
Stephen Toub
61d986c32e
Fix LINQ handling of iterator.Take(...).Last(...) (#112680) (#112714)
When the Take amount is larger than the number of elements in the source `Iterator<T>`, Last ends up throwing an exception and LastOrDefault ends up returning the default value, rather than returning the last value in the taken region.

As part of fixing this, I sured up the tests to try to cover more such sequences of operations. In doing so, the tests got a lot slower, so I tracked down and fixed places where we were doing a lot of unnecessary work.
2025-02-20 22:41:41 -05:00
github-actions[bot]
98c77e48e7
Remove unneeded DiagnosticSource content (#112708)
The IL link file was getting included as unnecessary content in transitive dependent projects which caused confusion.

Fixes #112110

Co-authored-by: Noah Falk <noahfalk@users.noreply.github.com>
2025-02-20 12:02:56 -08:00
github-actions[bot]
ec9ce26743
[release/9.0-staging] Move generation of SuggestedBindingRedirects.targets to inner build (#112487)
* Move generation of SuggestedBindingRedirects.targets to inner build

These targets depend on the AssemblyVersion of the library which is
specific to the inner-build of the library.  Generate them in the inner-build.

* Update src/libraries/System.Resources.Extensions/src/System.Resources.Extensions.csproj

---------

Co-authored-by: Eric StJohn <ericstj@microsoft.com>
2025-02-19 08:55:05 -08:00
github-actions[bot]
33a063585d
[release/9.0-staging] Fix case-insensitive JSON deserialization of enum member names (#112057)
* Fix case-insensitive deserialization of default enum values

* renaming

* Update comment

---------

Co-authored-by: Pranav Senthilnathan <pranas@microsoft.com>
2025-02-18 16:44:07 -08:00
Radek Zikmund
e08ac0ec15
Skip NegotiateStream_StreamToStream_Authentication_EmptyCredentials_Fails on WinSrv 2025 (#112473) 2025-02-13 10:24:59 +01:00
Matous Kozak
0eef239a81
[release/9.0-staging][iOS][globalization] Fix IndexOf on empty strings on iOS to return -1 (#112012)
* Fix IndexOf on empty strings on iOS to return -1
* disable new test for hybrid glob on browser
2025-02-13 09:31:01 +01:00