Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1427 commits
Select commit Hold shift + click to select a range
1766659
Remove ExperimentalAttribute from ML-KEM where applicable
vcsjones Jul 24, 2025
1b243b7
Fix handling of late-discovered atomic lazy loops in compiler / sourc…
stephentoub Jul 24, 2025
7195086
Check DOTNET_HOST_* for host (COREHOST_*) tracing environment variabl…
elinor-fung Jul 24, 2025
4d631c9
Only run host tests for linux-x64 on Azure Linux helix queues (#118005)
elinor-fung Jul 24, 2025
587f703
fixing a bug in card mark stealing (#117968)
Maoni0 Jul 24, 2025
5c4ebcc
Lock over the same object to serialize access to the buffers (#117982)
kotlarmilos Jul 24, 2025
3c94a47
[wasm][coreclr] Get further in the runtime initialization (#116383)
radekdoulik Jul 24, 2025
831523d
Expand set of known header names and values (#117989)
MihaZupan Jul 24, 2025
167d862
Save and restore `Thread.CurrentThread._synchronizationContext` for s…
jakobbotsch Jul 24, 2025
d7f58ab
[browser] Check also corePdb to see if we have any pdb to start debug…
maraf Jul 24, 2025
92f6dec
Update mentionees for apple mobile (#118016)
ivanpovazan Jul 24, 2025
c8d2430
Expose UTF-8 support from FromHexString, TryToHexString, and TryToHex…
tannergooding Jul 24, 2025
3cd8c22
Platform dependency doc changes (#118024)
mthalman Jul 24, 2025
22a2c4d
arm64: Add remaining Sve2 Saturating functions (#117934)
jonathandavies-arm Jul 24, 2025
45f7fc4
Make IsAlive test reliable and re-enable it for crossgen2 (#117987)
kg Jul 24, 2025
e69e2b3
[PERF] Add release/10.0 to trigger branches in perf.yml (#117994)
LoopedBard3 Jul 24, 2025
078f8ca
Adding GetClrNotification cDAC API (#117737)
rcj1 Jul 24, 2025
c0f4c7d
Support auto-atomicity on {lazy} loops (#117943)
stephentoub Jul 24, 2025
dd7a848
[APX] Enable APX-EVEX.ZU for SETcc instructions (#117258)
Ruihan-Yin Jul 24, 2025
9e82819
Unquote primitive string values in JsonNode.ToString() (#117993)
PranavSenthilnathan Jul 24, 2025
2a7789d
Remove lifetime2 test and remove its crossgen2 test exclusion (#117995)
kg Jul 24, 2025
9da102b
Emit IsAotCompatible attribute metadata (#118008)
MichalStrehovsky Jul 24, 2025
2c76e74
skip validation in internal method desc fetching
max-charlamb Jul 24, 2025
bbb75c5
Merge remote-tracking branch 'origin/main' into cdac-symbol-reading-3
max-charlamb Jul 24, 2025
1e860a4
Move RuntimeAsync ifdef to env variable (#118011)
agocke Jul 24, 2025
27c8534
Fix GC stress log and analysis (#108655)
markples Jul 24, 2025
b20632e
Adding GetAppDomainData cDAC API (#117827)
rcj1 Jul 24, 2025
988fde5
Fix SearchValues asserts for WASM (#118030)
MihaZupan Jul 25, 2025
a65c2c2
Merge branch 'main' into cdac-symbol-reading-3
max-charlamb Jul 25, 2025
6e14d81
Print specific error when framework in runtimeconfig.json is missing …
elinor-fung Jul 25, 2025
a791373
[mono][aot] Prevent localloc in a loop during constrained gsharedvt c…
BrzVlad Jul 25, 2025
794a7ee
Remove active issue comment of a closed issue. (#117808)
ilonatommy Jul 25, 2025
15a290a
[LoongArch64] Adjust the order of genPopCalleeSavedRegisters() and in…
LuckyXu-HF Jul 25, 2025
b7db8f4
[clr-interp] Include clrinterpreter library in the iOS app bundle (#1…
kotlarmilos Jul 25, 2025
e1d6402
Allow stack size to be configured (#110455)
keegan-caruso Jul 25, 2025
6783779
[Android][CoreCLR] Use relative path instead of just the filename whe…
davidnguyen-tech Jul 25, 2025
1e7433e
Implement GC bridge VM support in NativeAOT (#117738)
jkoritzinsky Jul 25, 2025
e831ce8
JIT: Rework `*ComplexityExceeds` helpers to take caller-defined compl…
amanasifkhalid Jul 25, 2025
c58b659
JIT: Fix check for cast type for cast on top of address (#118019)
jakobbotsch Jul 25, 2025
09aa370
Add `LocalPath` property to `RuntimeFile` and `ResourceAssembly` for …
elinor-fung Jul 25, 2025
8433b62
ML-DSA certificate accessors for M.B.C. (#117907)
PranavSenthilnathan Jul 25, 2025
cf41052
KeyGen and OSSL support for managed Composite ML-DSA + RSA (#117856)
PranavSenthilnathan Jul 25, 2025
f27927a
Simplify lazy initialization by removing `Volatile.Read` (#117868)
xtqqczze Jul 25, 2025
c3d2576
Re-enable Method002 test on crossgen (#118035)
kg Jul 26, 2025
d58e9aa
Re-enable VarianceSafety tests on crossgen (#118036)
kg Jul 26, 2025
a2b08f1
Add XML documentation for 29 undocumented .NET 7.0 APIs (#117697)
Copilot Jul 26, 2025
7f96aef
Check source and destination spans overlap in TryNormalize method (#1…
tarekgh Jul 26, 2025
197f38a
Coalesce adjacent equivalent anchors (#118083)
stephentoub Jul 26, 2025
a8c169a
Replace nop regex loops with empty (#118079)
stephentoub Jul 26, 2025
82d6d46
Implement `Unsafe.IsAddressLessThanOrEqualTo` & `Unsafe.IsAddressGrea…
hamarb123 Jul 27, 2025
655836e
Fix Regex source generator multithreading issue (#118086)
MihaZupan Jul 27, 2025
c74a167
Remove capture groups from negative lookarounds (#118084)
stephentoub Jul 27, 2025
7a68903
Remove positive lookarounds that wrap only zero-width assertions (#11…
stephentoub Jul 28, 2025
dc6ac3a
Normalize some well-known negated sets (#118106)
stephentoub Jul 28, 2025
c87888a
[Android][CoreCLR] Add runtimeconfig.json support for test host (#117…
davidnguyen-tech Jul 28, 2025
5922fd3
[browser] fix JSExport in lazy loaded assembly (#117890)
pavelsavara Jul 28, 2025
ee8f12c
Update mentionees for the binaryformatter-migration label (#118082)
jeffhandley Jul 28, 2025
4e8a560
chore: remove redundant words in comment (#117310)
shangchenglumetro Jul 28, 2025
a166765
Support Notones in alternation reductions that merge sets (#118109)
stephentoub Jul 28, 2025
0fd7ca0
Add PackedSimd aliases for AddSaturate and SubtractSaturate (#118089)
lewing Jul 28, 2025
4580253
[wasi] Disable build in .NET 10 (#117936)
Copilot Jul 28, 2025
96b8cdc
arm64: Refactor Helpers.cs (#118125)
jonathandavies-arm Jul 28, 2025
028b30f
Further reduce loops around zero-width assertions (#118111)
stephentoub Jul 28, 2025
ffe8967
[cDAC] Implement `ISOSDacInterface::GetJumpThunkTarget` (#117781)
max-charlamb Jul 28, 2025
9df2042
[cDAC] Rename datadescriptor.h -> datadescriptor.inc (#118067)
max-charlamb Jul 28, 2025
307753a
Fix the issue that the test exits with cannot find Microsoft.Win32.Pr…
shimingsg Jul 28, 2025
5196f3e
Avoid extra boundary checks when preceeded/succeeded char set is know…
stephentoub Jul 28, 2025
26d4886
Fix compilation failure from regex source generator with some lazy lo…
stephentoub Jul 28, 2025
1aa2fd8
Tweak regex source gen for single char repeater (#118137)
stephentoub Jul 28, 2025
865d4e6
Cleanup for cert accessors (#118116)
PranavSenthilnathan Jul 28, 2025
27cc30f
Transform regex `X|` into `X?` and `|X` into `X??` (#118087)
stephentoub Jul 29, 2025
2d3bf38
Adding GetAppDomainName cDAC API (#117837)
rcj1 Jul 29, 2025
2db9fdf
Adding GetAssemblyLoadContext cDAC API (#117939)
rcj1 Jul 29, 2025
49f5984
Fix stack limits condition (#118077)
MichalStrehovsky Jul 29, 2025
a8fee60
Update DefaultStackSize to Thread_DefaultStackSize (#118076)
MichalStrehovsky Jul 29, 2025
2bbb5f1
Enable `Wasm.Build.Tests.WasmTemplateTests.RunWithDifferentAppBundleL…
ilonatommy Jul 29, 2025
18ae5dd
JIT: Remove `BBF_RUN_RARELY` (#118147)
amanasifkhalid Jul 29, 2025
9c714ff
Fix building with GVM_RESOLUTION_TRACE defined (#118160)
MichalStrehovsky Jul 29, 2025
55805ee
Don't do an invalid mask conversion optimization for conditional sele…
tannergooding Jul 29, 2025
be3060c
Update version branding to rc1 (#118002)
mmitche Jul 29, 2025
8ea8809
Remove warning for base type with RequiresUnreferencedCode (#117944)
sbomer Jul 29, 2025
3abbf99
JIT: Boost inversion for oversize loops with bounds checks (#118078)
amanasifkhalid Jul 29, 2025
f9fb081
Import illink.targets for ref projects (#118144)
sbomer Jul 29, 2025
64ccbad
Enable lookarounds to influence atomicity (#118153)
stephentoub Jul 29, 2025
97d9422
Simplify SVE unary test template (#118129)
snickolls-arm Jul 29, 2025
b6e34b8
[interp] Forcibly enable intrinsics when we encounter a must-expand c…
kg Jul 30, 2025
e9dd250
Don't use vfork on android (#118085)
BrzVlad Jul 30, 2025
cfe9056
Adjust Test_wait_interrupted_user_apc test timeout to handle deviatio…
lateralusX Jul 30, 2025
913c282
Fix broken debugger/debuggee startup handshake protocol on macOS26. (…
lateralusX Jul 30, 2025
fe3f59b
Fix missed places in dataflow analysis that introduce genericness (#1…
MichalStrehovsky Jul 30, 2025
123627b
[APX] fix a few emitter bugs. (#117791)
Ruihan-Yin Jul 30, 2025
02596ba
[wasm] Fix fragmentation caused by large objects allocation (#118099)
BrzVlad Jul 30, 2025
0cc6b0e
Add ETW nostack entries for DebugExceptionProcessing events (#118194)
tommcdon Jul 30, 2025
f7ef150
Enable alc stress (#117825)
mangod9 Jul 30, 2025
46ead26
[browser] disable UmaReadWriteGenericStringStructArray_ThrowsArgument…
pavelsavara Jul 30, 2025
73d13d9
Add external mu support to ML-DSA
bartonjs Jul 30, 2025
9713fda
Use IsAotCompatible for libraries (#118149)
sbomer Jul 30, 2025
2907a39
ML-DSA SignedCMS (#118088)
PranavSenthilnathan Jul 30, 2025
12a954f
Use UnzipEven for SearchValues<string> Teddy on Arm64 (#118110)
MihaZupan Jul 30, 2025
b5f8e98
Improve boundary handling in atomic tests (#118191)
stephentoub Jul 30, 2025
6454b4c
Conditionally set SYSTEM PATH in host install (#118092)
joeloff Jul 30, 2025
ac764af
Adding write capabilities and SetOtherNotificationFlags cDAC API (#11…
rcj1 Jul 30, 2025
abc4c65
Fix -msbuild build for Clr subset (#118206)
EgorBo Jul 31, 2025
260d02b
Do not look at unboxing bit when looking up constructed generic metho…
MichalStrehovsky Jul 31, 2025
ea076a5
Refactor handle kinds into a table and mark the static base address c…
SingleAccretion Jul 31, 2025
e79ed82
Partially revert "Combine cast => negate => compare on ARM64 #112944"…
EgorBo Jul 31, 2025
97ec362
arm64: Missing Sve2 Saturate functions (#118202)
jonathandavies-arm Jul 31, 2025
c37e685
Add a packed variant of single-value SearchValues<string> (#118108)
MihaZupan Jul 31, 2025
61126df
JIT: fix issue in conditional escape analysis (#118214)
AndyAyersMS Jul 31, 2025
2b52fb2
Tweak positive lookahead handling in CanBeMadeAtomic (#118221)
stephentoub Jul 31, 2025
1d8a341
[Android] Prevent race condition by synchronizing buffer access (#117…
kotlarmilos Jul 31, 2025
2d7c63b
Deduplicate base interfaces from another assembly in COM generator (#…
jtschuster Jul 31, 2025
51a4123
Default IsAotCompatible for ref projects (#118222)
sbomer Jul 31, 2025
2611ca5
Rename SecretKey to PrivateKey for SLH-DSA
bartonjs Jul 31, 2025
0720de0
Rename ManagedAssemblyLoadContext to AssemblyLoadContext (#118227)
jkotas Jul 31, 2025
211b051
Fix parallel merge with new usage of renamed method
bartonjs Jul 31, 2025
e1ebddf
Enable ConsoleMandel test (#116157)
kunalspathak Jul 31, 2025
50855d8
Disable Test_wait_interrupted_user_apc on NAOT due to no support for …
lateralusX Jul 31, 2025
48af0f9
Enable fixed DynamicGenerics test (#118199)
MichalStrehovsky Jul 31, 2025
e58b345
Rename NDirect -> PInvoke (#118228)
jkotas Aug 1, 2025
46648f3
Fix size calculation for derived explicit layout types with no fields…
jkoritzinsky Aug 1, 2025
f736e4f
Disable AdvSimd_ro test on native AOT (#118235)
MichalStrehovsky Aug 1, 2025
df9a908
Check return types in isCompatibleMethodGDV (#118027)
EgorBo Aug 1, 2025
cacb702
Simplify pragma suppressions in generated regex code (#118258)
stephentoub Aug 1, 2025
484c2b9
[wasm][bench] Fix startup templates build (#118272)
radekdoulik Aug 1, 2025
41c675e
Use BBF_IMPORTER for new blocks in helperexpansion.cpp (#116359)
EgorBo Aug 1, 2025
2cc52c2
[wasm] Fix sharing of wbarrier card between los object and wbarrier r…
BrzVlad Aug 1, 2025
e11a3d4
Revert "Remove custom allocator." (#117949)
ericstj Aug 1, 2025
1752b96
[RuntimeAsync] Tweak some reflection scenarios around async methods. …
VSadov Aug 1, 2025
78abe10
Adding GetThreadFromThinlockID cDAC API (#118187)
rcj1 Aug 1, 2025
bb20ad0
[EventPipe][User_Events] Add Provider name to metadata (#118294)
mdh1418 Aug 2, 2025
fae90a6
Implement alertable waits for WaitHandle to support APC handling in N…
Copilot Aug 2, 2025
6dc15b5
[LoongArch64] Handle LASX/LSX/FP context depending on ISA availabilit…
LuckyXu-HF Aug 2, 2025
9b694bf
Add support for patterns (#118267)
agocke Aug 2, 2025
5ed4079
[browser][AOT] active issue for AOT stack frames (#118287)
pavelsavara Aug 2, 2025
215a79a
Standardize netfx test helper for pem encoding (#118259)
PranavSenthilnathan Aug 2, 2025
1ae288b
Move a couple of WASM threading files to the shared partition (#118304)
SingleAccretion Aug 2, 2025
3f25a27
Refactor known folder GUIDs to use static properties (#118165)
xtqqczze Aug 3, 2025
9f3074c
Remove a few array allocations from enumeration (#118288)
stephentoub Aug 3, 2025
94c22bb
Fix: Assert failure: Thread::IsObjRefValid (#118307)
jkotas Aug 3, 2025
bebb613
Avoid redundant GetRVA calls when fetching IL header (#118318)
jkotas Aug 4, 2025
9732798
Regenerate reference assembly for System.Runtime.Serialization.Xml (#…
jkotas Aug 4, 2025
3876cec
[browser] improve HTTP abort test (#118274)
pavelsavara Aug 4, 2025
84b26c4
[NRBF] Allow the users to decode System.Nullable<UserStruct> (#118276)
adamsitnik Aug 4, 2025
e18042e
Automated bump of chrome version (#118308)
github-actions[bot] Aug 4, 2025
cd63792
[RISC-V] Optimize switch table (#117048)
tomeksowi Aug 4, 2025
35ffd43
[RISC-V] Use auipc for code addresses in INS_OPTS_C (#117196)
tomeksowi Aug 4, 2025
f9ce5db
Ignore missing SPMI data when printing string literals (#118303)
SingleAccretion Aug 4, 2025
7b8a1b4
Updating LSRA to prevent eGPR use as GC tracked regs. (#117991)
DeepakRajendrakumaran Aug 4, 2025
d34cad0
[wasm] Add missing properties to PropertiesThatTriggerRelinking for W…
Copilot Aug 4, 2025
8083ecc
[browser][WBT] Remove MT signalR tests (#118323)
ilonatommy Aug 4, 2025
e7e75c5
[RISC-V] Add pseudo instruction `not` and replace `xori` when immedia…
credo-quia-absurdum Aug 4, 2025
9a824e3
Update lead for System.ClientModel (#118326)
jeffhandley Aug 4, 2025
adeda17
arm64: Split GenerateHWIntrinsicTests_Arm.cs into smaller files (#118…
jonathandavies-arm Aug 4, 2025
cb001f3
JIT: fix retyping of some storeinds during object stack allocation (#…
AndyAyersMS Aug 4, 2025
e205dae
Do async validation only from > 2.4, i.e. 2.4.1+ (#118339)
ManickaP Aug 4, 2025
3ef8cf5
Rename SecretKey to PrivateKey for ML-DSA
bartonjs Aug 4, 2025
f981bc2
Augment regex source generator's DescribeSet to better describe commo…
stephentoub Aug 4, 2025
bed7000
Simplify/fix loop descriptions in regex source generator (#118341)
stephentoub Aug 4, 2025
89e2ee2
Correct typo in framework-design-guidelines-digest.md
glyphstalker Aug 4, 2025
cb44822
Use `nint` for native-sized integers in `Marshal` (#118335)
xtqqczze Aug 4, 2025
e911894
Add trim/aot analyzer warnings for transitive references (#118180)
sbomer Aug 4, 2025
d50bb8e
EC-DSA Composite ML-DSA for net8+ (#118232)
PranavSenthilnathan Aug 4, 2025
53aa2bc
Pull latest Composite ML-DSA test vectors (#118325)
PranavSenthilnathan Aug 4, 2025
420e22a
Merge remote-tracking branch 'origin/main' into cdac-symbol-reading-3
max-charlamb Aug 4, 2025
636f559
Use (Un)ManagedValuesSource.Length as length condition in marshalling…
jtschuster Aug 4, 2025
a44f532
Remove pinned XunitAnalyzersVersion from Versions.props (#118241)
akoeplinger Aug 4, 2025
bca7bfa
Fix thread abort issue with funceval (#118354)
janvorli Aug 4, 2025
a483fd3
Use `nint` for native-sized integers in `Interlocked` (#118336)
xtqqczze Aug 4, 2025
56b2a2a
Use `nint` for native-sized integers in `Volatile` (#118360)
xtqqczze Aug 5, 2025
0549417
Use minipal_hires_ticks() as random seed (#118362)
jkotas Aug 5, 2025
2471117
Update ActiveIssue references for Android in MutexTests (#118343)
kotlarmilos Aug 5, 2025
8da0ed4
Always tamper the signature in the data area
bartonjs Aug 5, 2025
ab58a81
[Apple mobile] Disable iOS.Simulator.LibraryMode.Test on simulator (#…
kotlarmilos Aug 5, 2025
0686df9
Fix perf bug in RegexCompiler when handling .*? (#118373)
stephentoub Aug 5, 2025
e1fbcdc
Do not reset size of TailCallArgBuffer (#118365)
jkotas Aug 5, 2025
dc32986
Disable timing out test on OSX (#118392)
ManickaP Aug 5, 2025
824fdb1
JIT: Remove redundant normalizing casts when passing and returning st…
jakobbotsch Aug 5, 2025
34574d7
Add tests for singlefile bundles with non-ascii characters (#118281)
jtschuster Aug 5, 2025
63783f5
[mono][infra] Increase fullAOT LLVM CI timeout (#118378)
matouskozak Aug 5, 2025
1bfcb85
Handle 'lib' variants in ModuleNameVariations to generate DirectPInvo…
jtschuster Aug 5, 2025
67541ba
JIT: Always compute loop iteration estimate in loop inversion if we h…
amanasifkhalid Aug 5, 2025
d84ca95
JIT: Fix ARM64 emitter tests (#117768)
amanasifkhalid Aug 5, 2025
1dd74ea
Fix reading Zip64 end of central directory locator (#118239)
rzikm Aug 5, 2025
0ce54a5
[wasm][AOT] fix codegen for small structs on stack (#118355)
pavelsavara Aug 5, 2025
d9be719
Remove 2GB allocations from MemoryStream_SeekOverflow_Throws. (#118400)
vcsjones Aug 5, 2025
dfb2850
Remove some uses of dynamic from HardwareIntrinsic test code (#118273)
snickolls-arm Aug 5, 2025
1b45b1b
Replace `native sized` -> `native-sized` (#118402)
xtqqczze Aug 5, 2025
565b6d3
Replace NET8_0_OR_GREATER with NET across all source files (#118363)
Copilot Aug 5, 2025
e399fff
Fix xUnit1041 in pri1 runtime tests (#118412)
akoeplinger Aug 6, 2025
b8ed7bb
Managed Composite ML-DSA + ECDSA for netfx (#118356)
PranavSenthilnathan Aug 6, 2025
1722487
Add tests for assembly resolution downgrading via extension mechanism…
Copilot Aug 6, 2025
5faa346
Introduce MetadataEEType node halfway between Constructed and Necessa…
MichalStrehovsky Aug 6, 2025
dc341ae
Increase default stack guard on x86 Windows (#118277)
gregg-miskelly Aug 6, 2025
2432268
Fix constrained call corner cases (#111178)
MichalStrehovsky Aug 6, 2025
cda16fd
Fix socket test (#118403)
ManickaP Aug 6, 2025
25c3d90
Add default StaticWebAssetMakeReferencedAssetOriginalItemSpecAbsolute…
Copilot Aug 6, 2025
d000ce2
JIT: Fix RISC-V emitter build (#118407)
amanasifkhalid Aug 6, 2025
e1feed8
[clr-interp] Implement missing support for startup path (#118404)
kotlarmilos Aug 6, 2025
0f7b74b
SVE: Remove unsigned implementation of ShiftRightArithmeticNarrowingS…
snickolls-arm Aug 6, 2025
0787787
Restore registers at the head of chains of contained nodes (#118430)
a74nh Aug 6, 2025
9f22923
Restore temp register in switch table (#118439)
tomeksowi Aug 6, 2025
82f0bd1
[RISC-V] Replace addi, addiw with mov, sext.w when immediate is zero …
credo-quia-absurdum Aug 6, 2025
3057101
Rename some files compiled for netstandard21 (#118435)
xtqqczze Aug 6, 2025
e7e3cc2
Allow two display names for Sydney time zone (#118329)
matouskozak Aug 6, 2025
df500bd
Use `OrderedDictionary<TKey,TValue>.TryGetValue Method` on more targe…
xtqqczze Aug 6, 2025
6916150
Remove further uses of dynamic from HardwareIntrinsic test code (#118…
snickolls-arm Aug 6, 2025
8c7de74
Remove redundant `#if NET` directives from .NET-only files (#118424)
Copilot Aug 6, 2025
a3df2a8
Implement NoSEH flag setting for crossgened modules in ILLink (#117779)
Copilot Aug 6, 2025
fdf73d8
Implement type name resolution for ILLink analyzer
sbomer Aug 6, 2025
4da283c
[mono][debugger] Fix assertion when stepping (#118458)
thaystg Aug 6, 2025
6b4936e
Use module as ID for debugger module cache instead of domain assembly…
tommcdon Aug 6, 2025
8b08265
Remove List<T>.Enumerator.MoveNextRare (#118425)
stephentoub Aug 6, 2025
386cb8d
JIT: create inferred GDVs for enumerator var uses that lack PGO (#118…
AndyAyersMS Aug 7, 2025
a42ac91
[Json] Avoid ReadOnlySequence with Stream deserializing (#118408)
BrennanConroy Aug 7, 2025
8fdfa4f
Remove unnecessary length check in Guid parsing (#118181)
PranavSenthilnathan Aug 7, 2025
b622b6b
Merge PriorityQueue.Enumerator.MoveNextRare into MoveNext and use Thr…
Copilot Aug 7, 2025
0234029
Fix interpreter helper and stack size computation (#118477)
janvorli Aug 7, 2025
f1be1df
Return false in PropagateNeverToRuntime for BBJ_THROW blocks (#118280)
EgorBo Aug 7, 2025
5371f13
[cDAC] Refactor datadescriptor infrastructure (#118453)
max-charlamb Aug 7, 2025
f868efe
Allow MethodDesc::GetILHeader to work correctly under rejit scenarios…
tommcdon Aug 7, 2025
c993ba2
JIT: Refine asserts for RMW check in crc32 and hw intrinsic codegen (…
jakobbotsch Aug 7, 2025
23eb944
resolve copilot comments
max-charlamb Aug 7, 2025
80b8c6d
Merge remote-tracking branch 'origin/main' into cdac-symbol-reading-3
max-charlamb Aug 7, 2025
0bb2f6e
[EventPipe] Fix user_events metadata label scope (#118474)
mdh1418 Aug 7, 2025
ac85d6f
Fix static virtual methods for delegate creation (#118470)
davidwrighton Aug 7, 2025
eace168
[main] Source code updates from dotnet/dotnet (#117845)
dotnet-maestro[bot] Aug 7, 2025
b5c07d4
Fix few startup path issues with interpreter (#118448)
janvorli Aug 7, 2025
de93e0a
Update JIT interface to help reduce shared stubs (#118462)
AaronRobinsonMSFT Aug 7, 2025
5c5ed27
[clr-interp] Intrinic handling for Delegate Invoke methods (#118406)
davidwrighton Aug 7, 2025
66519b1
Make host tests clear out host tracing variables by default (#118419)
elinor-fung Aug 7, 2025
ca9b916
Update RapidJSON (#118432)
am11 Aug 7, 2025
dc00334
Diagnostic changes to R2R for issues #106675 and #108255 (#118370)
kg Aug 7, 2025
d104e3e
[clr-interp] Fix issues found in the startup path with the interprete…
davidwrighton Aug 7, 2025
c2e7c99
Update to zlib-ng 2.2.5 (#118457)
ericstj Aug 7, 2025
96b3285
Eliminate NextCallReturnAddress call followed by CEE_POP (#118500)
janvorli Aug 7, 2025
d61ca90
[clr-interp] Handle some forms of unboxing stub (#118501)
davidwrighton Aug 8, 2025
a53ffc1
Remove mentions of long removed function. (#118509)
AaronRobinsonMSFT Aug 8, 2025
4bbd32d
[clr-interp] Fix INTOP_CGT_UN_I8 (#118511)
davidwrighton Aug 8, 2025
f23d779
Fix rebuilding mono aot cross compiler when building locally (#118445)
akoeplinger Aug 8, 2025
bbe64d0
JIT: postorder local assertion prop for fieldwise block op indirs (#1…
AndyAyersMS Aug 8, 2025
54e7818
Fix unhandled exception reporting corner cases (#118450)
janvorli Aug 8, 2025
19e2ae0
SPMI: Assert map exists in `repGetCookieForPInvokeCalliSig` (#118524)
jakobbotsch Aug 8, 2025
5688eab
Update System.Numerics.Tensors PACKAGE.md to reflect current library …
Copilot Aug 8, 2025
e22ee70
[cDAC] Change pointer data to be compile-time constant (#118543)
max-charlamb Aug 8, 2025
3d2665f
Merge branch 'main' into cdac-symbol-reading-3
max-charlamb Aug 8, 2025
0a558fa
fix issue with properly reporting method instances
max-charlamb Aug 11, 2025
ec33a87
fix
max-charlamb Aug 11, 2025
e5b1ba8
fix DAC returning incorrect status code and match behavior in cDAC
max-charlamb Aug 11, 2025
2a7cbc3
resolve errors around unused variables
max-charlamb Aug 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 2 additions & 2 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
]
},
"microsoft.dotnet.xharness.cli": {
"version": "10.0.0-prerelease.25225.1",
"version": "10.0.0-prerelease.25330.2",
"commands": [
"xharness"
]
},
"microsoft.visualstudio.slngen.tool": {
"version": "11.1.0",
"version": "12.0.15",
"commands": [
"slngen"
]
Expand Down
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ csharp_space_between_square_brackets = false
# License header
file_header_template = Licensed to the .NET Foundation under one or more agreements.\nThe .NET Foundation licenses this file to you under the MIT license.

[src/libraries/System.Net.Http/src/System/Net/Http/{SocketsHttpHandler/Http3RequestStream.cs,BrowserHttpHandler/BrowserHttpHandler.cs}]
# disable CA2025, the analyzer throws a NullReferenceException when processing this file: https://github.com/dotnet/roslyn-analyzers/issues/7652
dotnet_diagnostic.CA2025.severity = none

# C++ Files
[*.{cpp,h,in}]
curly_bracket_next_line = true
Expand Down
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Users referenced in this file will automatically be requested as reviewers for PRs that modify the given paths.
# See https://help.github.com/articles/about-code-owners/

/src/libraries/Common/src/Interop/ @dotnet/platform-deps-team
/src/libraries/Common/src/System/Net/Http/aspnetcore/ @dotnet/http
/src/libraries/Common/tests/Tests/System/Net/aspnetcore/ @dotnet/http

Expand Down
313 changes: 313 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,313 @@
**Any code you commit SHOULD compile, and new and existing tests related to the change SHOULD pass.**

You MUST make your best effort to ensure your changes satisfy those criteria before committing. If for any reason you were unable to build or test the changes, you MUST report that. You MUST NOT claim success unless all builds and tests pass as described above.

You MUST refer to the [Building & Testing in dotnet/runtime](#building--testing-in-dotnetruntime) instructions and use the commands and approaches specified there before attempting your own suggestions.

You MUST follow all code-formatting and naming conventions defined in [`.editorconfig`](/.editorconfig).

In addition to the rules enforced by `.editorconfig`, you SHOULD:

- Prefer file-scoped namespace declarations and single-line using directives.
- Ensure that the final return statement of a method is on its own line.
- Use pattern matching and switch expressions wherever possible.
- Use `nameof` instead of string literals when referring to member names.
- Always use `is null` or `is not null` instead of `== null` or `!= null`.
- Trust the C# null annotations and don't add null checks when the type system says a value cannot be null.
- Prefer `?.` if applicable (e.g. `scope?.Dispose()`).
- Use `ObjectDisposedException.ThrowIf` where applicable.
- When adding new unit tests, strongly prefer to add them to existing test code files rather than creating new code files.
- If you add new code files, ensure they are listed in the csproj file (if other files in that folder are listed there) so they build.
- When running tests, if possible use filters and check test run counts, or look at test logs, to ensure they actually ran.
- Do not finish work with any tests commented out or disabled that were not previously commented out or disabled.
- When writing tests, do not emit "Act", "Arrange" or "Assert" comments.

---

# Building & Testing in dotnet/runtime

- [1. Prerequisites](#1-prerequisites)
- [1.1. Determine Affected Components](#11-determine-affected-components)
- [1.2. Baseline Setup](#12-baseline-setup)
- [2. Iterative Build and Test Strategy](#2-iterative-build-and-test-strategy)
- [2.1. Success Criteria](#21-success-criteria)
- [3. CoreCLR (CLR) Workflow](#3-coreclr-clr-workflow)
- [4. Mono Runtime Workflow](#4-mono-runtime-workflow)
- [5. Libraries Workflow](#5-libraries-workflow)
- [5.1. How To: Identify Affected Libraries](#51-how-to-identify-affected-libraries)
- [5.2. How To: Build and Test Specific Library](#52-how-to-build-and-test-specific-library)
- [6. WebAssembly (WASM) Libraries Workflow](#6-webassembly-wasm-libraries-workflow)
- [7. Host Workflow](#7-host-workflow)
- [8. Additional Notes](#8-additional-notes)
- [8.1. Troubleshooting](#81-troubleshooting)
- [8.2. Windows Command Equivalents](#82-windows-command-equivalents)
- [8.3. References](#83-references)

## 1. Prerequisites

These steps need to be done **before** applying any changes.

### 1.1. Determine Affected Components

Identify which components will be impacted by the changes. If in doubt, analyze the paths of the files to be updated:

- **CoreCLR (CLR):** Changes in `src/coreclr/` or `src/tests/`
- **Mono Runtime:** Changes in `src/mono/`
- **Libraries:** Changes in `src/libraries/`
- **WASM/WASI Libraries:** Changes in `src/libraries/` *and* the affected library targets WASM or WASI *and* the changes are included for the target (see below for details).
- **Host:** Changes in `src/native/corehost/`, `src/installer/managed/`, or `src/installer/tests/`
- If none above apply, it is most possibly an infra-only or a docs-only change. Skip build and test steps.

**WASM/WASI Library Change Detection**

A change is considered WASM/WASI-relevant if:

- The relevant `.csproj` contains explicit Browser/WASM or WASI targets (look for `<TargetFrameworks>`, `$(TargetPlatformIdentifier)`, or `Condition` attributes referencing `browser` or `wasi`, as well as `TARGET_BROWSER` or `TARGET_WASI` constants), **and**
- The changed file is not excluded from the build for that platform in any way with a `Condition` attribute on `<ItemGroup>` or `<Compile>`.

---

### 1.2. Baseline Setup

Before applying any changes, ensure you have a full successful build of the needed runtime+libraries as a baseline.

1. Checkout `main` branch

2. From the repository root, run the build depending on the affected component. If multiple components are affected, subsequently run and verify the builds for all of them.
- **CoreCLR (CLR):** `./build.sh clr+libs+host`
- **Mono Runtime:** `./build.sh mono+libs`
- **Libraries:** `./build.sh clr+libs -rc release`
- **WASM/WASI Libraries:** `./build.sh mono+libs -os browser`
- **Host:** `./build.sh clr+libs+host -rc release -lc release`

3. Verify the build completed without error.
- _If the baseline build failed, report the failure and don't proceed with the changes._

4. From the repository root:
- Configure PATH: `export PATH="$(pwd)/.dotnet:$PATH"`
- Verify SDK Version: `dotnet --version` should match `sdk.version` in `global.json`.

5. Switch back to the working branch.

---

## 2. Iterative Build and Test Strategy

1. Apply the intended changes

2. **Attempt Build.** If the build fails, attempt to fix and retry the step (up to 5 attempts).

3. **Attempt Test.**
- If a test _build_ fails, attempt to fix and retry the step (up to 5 attempts).
- If a test _run_ fails,
- Determine if the problem is in the test or in the source
- If the problem is in the test, attempt to fix and retry the step (up to 5 attempts).
- If the problem is in the source, reconsider the full changeset, attempt to fix and repeat the workflow.

4. **Workflow Iteration:**
- Repeat build and test up to 5 cycles.
- If issues persist after 5 workflow cycles, report failure.
- If the same error persists after each fix attempt, do not repeat the same fix. Instead, escalate or report with full logs.

When retrying, attempt different fixes and adjust based on the build/test results.

### 2.1. Success Criteria

- **Build:**
- Completes without errors.
- Any non-zero exit code from build commands is considered a failure.

- **Tests:**
- All tests must pass (zero failures).
- Any non-zero exit code from test commands is considered a failure.

- **Workflow:**
- On success: Report completion
- Otherwise: Report error(s) with logs for diagnostics.
- Collect logs from `artifacts/log/` and the console output for both build and test steps.
- Attach relevant log files or error snippets when reporting failures.

---

## 3. CoreCLR (CLR) Workflow

From the repository root:

- Build:
`./build.sh clr`

- Run tests:
`cd src/tests && ./build.sh && ./run.sh`

- More info can be found in the dedicated workflow docs:
- [Building CoreCLR Guide](/docs/workflow/building/coreclr/README.md)
- [Building and Running CoreCLR Tests](/docs/workflow/testing/coreclr/testing.md)

---

## 4. Mono Runtime Workflow

From the repository root:

- Build:
`./build.sh mono+libs`

- Run tests:

```bash
./build.sh clr.host
cd src/tests
./build.sh mono debug /p:LibrariesConfiguration=debug
./run.sh
```

- More info can be found in the dedicated workflow docs:
- [Building Mono](/docs/workflow/building/mono/README.md)
- [Running test suites using Mono](/docs/workflow/testing/mono/testing.md)

---

## 5. Libraries Workflow

From the repository root:

- Build all libraries:
`./build.sh libs -rc release`

- Run all tests for libraries:
`./build.sh libs.tests -test -rc release`

- Build a specific library:
- Refer to the section [5.2. How To: Build and Test Specific Library](#52-how-to-build-and-test-specific-library) below.

- Test a specific library:
- Refer to the sections [5.1. How To: Identify Affected Libraries](#51-how-to-identify-affected-libraries) and [5.2. How To: Build and Test Specific Library](#52-how-to-build-and-test-specific-library) below.

- More info can be found in the dedicated workflow docs:
- [Build Libraries](/docs/workflow/building/libraries/README.md)
- [Testing Libraries](/docs/workflow/testing/libraries/testing.md)

### 5.1. How To: Identify Affected Libraries

For each changed file under `src/libraries/`, find the matching library and its test project(s).
Most libraries use:

- Source: `src/libraries/<LibraryName>/src/<LibraryName>.csproj`

- Tests (single):
- `src/libraries/<LibraryName>/tests/<LibraryName>.Tests.csproj`
- OR `src/libraries/<LibraryName>/tests/<LibraryName>.Tests/<LibraryName>.Tests.csproj`

- Tests (multiple types):
- `src/libraries/<LibraryName>/tests/FunctionalTests/<LibraryName>.Functional.Tests.csproj`
- `src/libraries/<LibraryName>/tests/UnitTests/<LibraryName>.Unit.Tests.csproj`
- Or similar.

---

### 5.2. How To: Build and Test Specific Library

If only one library is affected:

1. **Navigate to the library directory:**
`cd src/libraries/<LibraryName>`

2. **Build the library:**
`dotnet build`

3. **Build and run all test projects:**

- For each discovered `*.Tests.csproj` in the `tests` subdirectory:
`dotnet build /t:test ./tests/<TestProject>.csproj`

- *Adjust path as needed. If in doubt, search with `find tests -name '*.csproj'`.*

- `dotnet build /t:test` is generally preferred over `dotnet test`

---

## 6. WebAssembly (WASM) Libraries Workflow

From the repository root:

- Build:
`./build.sh libs -os browser`

- Run tests:
`./build.sh libs.tests -test -os browser`

- More info can be found in the dedicated workflow docs:
- [Build libraries for WebAssembly](/docs/workflow/building/libraries/webassembly-instructions.md)
- [Testing Libraries on WebAssembly](/docs/workflow/testing/libraries/testing-wasm.md)

---

## 7. Host Workflow

From the repository root:

- Build:
`./build.sh host -rc release -lc release`

- Run all tests:
`./build.sh host.tests -rc release -lc release -test`

- More info can be found in the dedicated workflow docs:
- [Building and running host tests](/docs/workflow/testing/host/testing.md)

---

## 8. Additional Notes

### 8.1. Troubleshooting

- **Shared Framework Missing**

- If the build fails with an error "The shared framework must be built before the local targeting pack can be consumed.", build both the runtime (clr or mono) and the libs.
E.g., from the repo root, run `./build.sh clr+libs -rc release` if working on Libraries on CoreCLR. To find the applicable command, refer to the section [1.2. Baseline Setup](#12-baseline-setup).

- **Testhost Is Missing**

- If a test run fails with errors indicating a missing testhost, such as:
- "Failed to launch testhost with error: System.IO.FileNotFoundException", or
- "artifacts/bin/testhost/... No such file or directory",
that means some of the prerequisites were not built.

- To resolve, build both the appropriate runtime (clr or mono) and the libs as a single command before running tests.
E.g., from the repo root, run `./build.sh clr+libs -rc release` before testing Libraries on CoreCLR. To find the applicable command, refer to the section [1.2. Baseline Setup](#12-baseline-setup).

- **Build Timeout**

- Do not fail or cancel initial `./build.sh` builds due to timeout unless at least 40 minutes have elapsed.
A full `clr+libs` build from scratch can take up to 32 minutes or more on some systems.

- Only wait for long-running `./build.sh` commands if they continue to produce output.
If there is no output for 5 minutes, assume the build is stuck and fail early.

- **Target Does Not Exist**

- Avoid specifying a target framework when building unless explicitly asked.
Build should identify and select the appropriate `$(NetCoreAppCurrent)` automatically.

---

### 8.2. Windows Command Equivalents

- Use `build.cmd` instead of `build.sh` on Windows.
- Set PATH: `set PATH=%CD%\.dotnet;%PATH%`
- All other commands are similar unless otherwise noted.

---

### 8.3. References

- [`.editorconfig`](/.editorconfig)
- [Building CoreCLR Guide](/docs/workflow/building/coreclr/README.md)
- [Building and Running CoreCLR Tests](/docs/workflow/testing/coreclr/testing.md)
- [Building Mono](/docs/workflow/building/mono/README.md)
- [Running test suites using Mono](/docs/workflow/testing/mono/testing.md)
- [Build Libraries](/docs/workflow/building/libraries/README.md)
- [Testing Libraries](/docs/workflow/testing/libraries/testing.md)
- [Build libraries for WebAssembly](/docs/workflow/building/libraries/webassembly-instructions.md)
- [Testing Libraries on WebAssembly](/docs/workflow/testing/libraries/testing-wasm.md)
- [Building and running host tests](/docs/workflow/testing/host/testing.md)
2 changes: 1 addition & 1 deletion .github/policies/binaryformatter-migration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ configuration:
- adamsitnik
- bartonjs
- jeffhandley
- terrajobst
- JeremyKuhne
replyTemplate: >-
Tagging subscribers to 'binaryformatter-migration': ${mentionees}
assignMentionees: False
Loading