Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant allocations from JsonSerializerOptions.GetConverter calls #65897

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
704 commits
Select commit Hold shift + click to select a range
016b381
Merge in 'release/6.0' changes
dotnet-bot Oct 19, 2021
263945a
[release/6.0] Fix stable builds for some transport packages (#60635)
mmitche Oct 19, 2021
1acd487
Merge in 'release/6.0' changes
dotnet-bot Oct 19, 2021
80ed1bd
[release/6.0] Don't special case "Experimental" projects (#60643)
github-actions[bot] Oct 19, 2021
18cec8b
Merge in 'release/6.0' changes
dotnet-bot Oct 19, 2021
c86a857
[release/6.0] Update dependencies from dotnet/icu dotnet/emsdk dotnet…
dotnet-maestro[bot] Oct 20, 2021
467c326
Merge in 'release/6.0' changes
dotnet-bot Oct 20, 2021
6f41165
[release/6.0] Tweak workload build to use _GenerateMsiVersionString t…
github-actions[bot] Oct 20, 2021
e638db9
Merge in 'release/6.0' changes
dotnet-bot Oct 20, 2021
8da5835
[release/6.0] Update dependencies from dotnet/icu dotnet/emsdk (#60684)
dotnet-maestro[bot] Oct 21, 2021
de75159
[release/6.0] Create a parent CMake project for building app bundles …
github-actions[bot] Oct 21, 2021
bf20df1
[release/6.0] [wasm][debugger] Fix loading a non wasm page and then r…
github-actions[bot] Oct 22, 2021
4822e3c
Update dependencies from https://github.com/dotnet/arcade build 20211…
dotnet-maestro[bot] Oct 22, 2021
8470979
Merge in 'release/6.0' changes
dotnet-bot Oct 23, 2021
c5a20f9
update branding to 6.0.1 (#61176)
Anipik Nov 5, 2021
c61ea3d
Fix dump generation issues for VS4Mac (#61063)
mikem8361 Nov 9, 2021
f9c4b56
[mono/win] Increase stack size (reserve) to 8MB (#60561)
github-actions[bot] Nov 9, 2021
e4d74c5
DotNetHost packages are not created during source-build (#60577)
github-actions[bot] Nov 9, 2021
396717f
[release/6.0] Revise descriptions of VS workloads, and add missing on…
github-actions[bot] Nov 9, 2021
76805ed
[release/6.0] Disable package validation in source-build for reliabil…
dagood Nov 9, 2021
da3adc5
Disable a couple of pen tests on Windows (#60746) (#60789)
safern Nov 9, 2021
8a8769c
Merge in 'release/6.0' changes
dotnet-bot Nov 9, 2021
9c60882
[release/6.0] Don't create a COM weak reference if the object is an a…
github-actions[bot] Nov 9, 2021
13709ae
Fix incorrect CCW decoding in GetObjectForCCW (#61193) (#61341)
tommcdon Nov 9, 2021
0a29b0f
Only run source-index on main branch. (#61271)
alexperovich Nov 9, 2021
f3b00d8
Merge in 'release/6.0' changes
dotnet-bot Nov 9, 2021
a023d00
Merge in 'release/6.0' changes
dotnet-bot Nov 9, 2021
64ee39e
[release/6.0] Fix for InformationalVersion (#61240)
github-actions[bot] Nov 9, 2021
cf7d517
Credential fixes (#61114) (#61372)
Nov 9, 2021
3eaa3b5
Merge in 'release/6.0' changes
dotnet-bot Nov 9, 2021
08e0023
[release/6.0][wasm] Change dotnet.wasm link optimization (#60632)
radekdoulik Nov 10, 2021
e1b589c
[release/6.0.x] Add System.Diagnostics.StackFrame.GetMethodInfoFromNa…
mikem8361 Nov 10, 2021
0fc8e74
Merge in 'release/6.0' changes
dotnet-bot Nov 10, 2021
f851930
Merge in 'release/6.0' changes
dotnet-bot Nov 10, 2021
f30e7fa
[release/6.0.1] add support for macOS 12 (#61028)
wfurt Nov 10, 2021
279e896
Merge in 'release/6.0' changes
dotnet-bot Nov 10, 2021
e04877c
Remove pre-release version iteration (#61438)
mmitche Nov 11, 2021
d774aef
Merge in 'release/6.0' changes
dotnet-bot Nov 11, 2021
e746950
The 6.0 branch is no longer pre-release (#61442)
omajid Nov 11, 2021
66ccfaf
Merge in 'release/6.0' changes
dotnet-bot Nov 11, 2021
b1a832f
Update the ref pack version to 6.0.0 for apicompat (#61429)
Anipik Nov 11, 2021
e8c7c04
Allow nfloat to be in the ObjCRuntime namespace, and make it work for…
github-actions[bot] Nov 11, 2021
a0175b4
Merge in 'release/6.0' changes
dotnet-bot Nov 11, 2021
2d92b8b
Merge in 'release/6.0' changes
dotnet-bot Nov 11, 2021
9b58e44
Preserve last error in call-counting stubs (#60887)
github-actions[bot] Nov 11, 2021
76890f9
Merge in 'release/6.0' changes
dotnet-bot Nov 11, 2021
8881fcf
[wasm] Allow enums in unmanaged callbacks. (#61393)
github-actions[bot] Nov 12, 2021
165bb6b
Merge in 'release/6.0' changes
dotnet-bot Nov 12, 2021
278057b
Support unseekable filestream when ReadAllBytes[Async] (#58434) (#61410)
adamsitnik Nov 12, 2021
2022b39
Merge in 'release/6.0' changes
dotnet-bot Nov 12, 2021
443ab80
[mono][interp] Fix GetType called on ptr constrained to Nullable` (#6…
BrzVlad Nov 12, 2021
a6124ae
Merge in 'release/6.0' changes
dotnet-bot Nov 12, 2021
c074993
[release/6.0] Fix: add missed open curly (#61332)
github-actions[bot] Nov 12, 2021
6de4589
Merge in 'release/6.0' changes
dotnet-bot Nov 12, 2021
09e3dcb
[release/6.0] Fix UnobservedTaskException from SemaphoreSlim.WaitAsyn…
github-actions[bot] Nov 15, 2021
357c80a
Merge in 'release/6.0' changes
dotnet-bot Nov 15, 2021
0c78d80
[release/6.0] Update dependencies from dotnet/arcade (#61422)
dotnet-maestro[bot] Nov 15, 2021
f130d26
Merge in 'release/6.0' changes
dotnet-bot Nov 15, 2021
39ecea6
Fix race condition with cancellation tokens in Read/Flush operations …
davidfowl Nov 15, 2021
f9d02c2
Merge in 'release/6.0' changes
dotnet-bot Nov 15, 2021
2165555
Stabilize upgrade codes for host msi (#61606)
NikolaMilosavljevic Nov 16, 2021
7280473
Merge in 'release/6.0' changes
dotnet-bot Nov 16, 2021
fd61aef
[release/6.0] Provide locations for src-gen diagnostic output (#61614)
layomia Nov 16, 2021
5b7875a
Merge in 'release/6.0' changes
dotnet-bot Nov 16, 2021
1aaf3bf
[release/6.0] Disable activation host tests that fail with a 6.0 RC2 …
safern Nov 16, 2021
32a62c9
Merge in 'release/6.0' changes
dotnet-bot Nov 16, 2021
c91170a
HostFactoryResolver - Increase default timeout and add env var option…
maryamariyan Nov 17, 2021
c1e9122
[release/6.0] Disable native ports package validation (#61697)
safern Nov 17, 2021
f35d5b0
Merge in 'release/6.0' changes
dotnet-bot Nov 17, 2021
479322e
Merge in 'release/6.0' changes
dotnet-bot Nov 17, 2021
756a3c0
Merge remote-tracking branch 'upstream/release/6.0' into internal/rel…
mmitche Nov 17, 2021
bfdc5e9
Merge branch 'internal/release/6.0' of https://dev.azure.com/dnceng/i…
mmitche Nov 17, 2021
e9036b0
[release/6.0] Add packaging changes for System.Text.Json (#61703)
safern Nov 17, 2021
3a25a7f
Merge in 'release/6.0' changes
dotnet-bot Nov 17, 2021
1d2c30d
Fix re-initialization of hash objects on CNG.
vcsjones Dec 4, 2021
71af4f5
Fix whitespace
vcsjones Dec 4, 2021
cfb9e77
Update branding to 6.0.2 (#62493)
vseanreesermsft Dec 8, 2021
33b5cd1
Merge in 'release/6.0' changes
dotnet-bot Dec 8, 2021
1208ca1
Clear list of OOB packages built on 6.0 (#62610)
safern Dec 13, 2021
91c0c3e
Merge in 'release/6.0' changes
dotnet-bot Dec 13, 2021
17fcde6
Merge commit '3a25a7f1cc446b60678ed25c9d829420d6321eba' into internal…
vseanreesermsft Dec 14, 2021
309879d
Backport all CI matrix changes from 7.0 to reelase/6.0 (#62538)
Dec 15, 2021
19531cf
Merge in 'release/6.0' changes
dotnet-bot Dec 15, 2021
b2f42fa
Don't run the JIT formatting job in release/6.0 (#61485)
BruceForstall Dec 15, 2021
923ec4d
[release/6.0] Disable poisoning for large structs (#61601)
github-actions[bot] Dec 15, 2021
fb56c4c
[release/6.0] disable sending NT Authority in TLS handshake if specif…
github-actions[bot] Dec 15, 2021
3263455
Merge in 'release/6.0' changes
dotnet-bot Dec 15, 2021
de9467c
Check for time-sensitive work when worker thread starvation is ongoin…
kouvel Dec 15, 2021
17d15a1
Merge in 'release/6.0' changes
dotnet-bot Dec 15, 2021
8f06e33
Environment variable should override property for gcServer. (#61969)
github-actions[bot] Dec 15, 2021
b5305cb
The DestroyStructure API passes null to the IL marshaller for managed…
github-actions[bot] Dec 15, 2021
a3d65fd
Merge in 'release/6.0' changes
dotnet-bot Dec 15, 2021
5d465ac
[release/6.0] [HTTP] Scavenge fix (#62008)
github-actions[bot] Dec 15, 2021
9c341f4
[release/6.0] Allow runtimeconfig StartupHooks and Environment Startu…
github-actions[bot] Dec 15, 2021
a4f5b78
[release/6.0] Fix calling NLS with Cultures has alternative sort name…
github-actions[bot] Dec 15, 2021
b772c4a
Merge in 'release/6.0' changes
dotnet-bot Dec 15, 2021
24a7935
Fix method HttpHeadersNonValidated uses to get HeaderDescriptor (#62194)
github-actions[bot] Dec 15, 2021
3bb0e55
Merge in 'release/6.0' changes
dotnet-bot Dec 15, 2021
229abfc
[release/6.0] Port #58410: Fix zero initialization use of "initReg" (…
BruceForstall Dec 15, 2021
2ffa172
[release/6.0] Use 1ES pool instead of deprecated windows image in "Pu…
github-actions[bot] Dec 15, 2021
7585d47
Merge in 'release/6.0' changes
dotnet-bot Dec 15, 2021
59d7056
Merge in 'release/6.0' changes
dotnet-bot Dec 15, 2021
3b394a2
Merge pull request #62789 from vseanreesermsft/internal-merge-6.0-202…
safern Dec 15, 2021
de46fa4
Merge pull request #62403 from dotnet/backport/pr-62397-to-release/6.0
safern Dec 15, 2021
bcadac5
Merge in 'release/6.0' changes
dotnet-bot Dec 15, 2021
6c4fc3b
Merge in 'release/6.0' changes
dotnet-bot Dec 15, 2021
e1f08db
[release/6.0] Cache LastAccessed during MemoryCache compaction (#62286)
eerhardt Dec 15, 2021
47dd46e
Backport PR 60983 (#62283)
thaystg Dec 15, 2021
e6f0fe3
Merge in 'release/6.0' changes
dotnet-bot Dec 15, 2021
2e0a367
Backporting part of pr 62278 (#62543)
thaystg Dec 15, 2021
d71a66d
Merge in 'release/6.0' changes
dotnet-bot Dec 15, 2021
38be174
Merge in 'release/6.0' changes
dotnet-bot Dec 15, 2021
48d8d30
<EnablePreviewFeatures> for HttpStress (#60682)
github-actions[bot] Dec 15, 2021
df64b93
[release/6.0] [HTTP/3] Fixed stress (#60723)
antonfirsov Dec 15, 2021
8d63400
Merge in 'release/6.0' changes
dotnet-bot Dec 15, 2021
7ac45bd
Protecting send message to debugger if it's disables (#62210)
github-actions[bot] Dec 15, 2021
cd08c36
Merge in 'release/6.0' changes
dotnet-bot Dec 15, 2021
44c8586
[release/6.0] Fixes #62167. WriteAsync may truncate data if called af…
github-actions[bot] Dec 16, 2021
2ab0eff
Merge in 'release/6.0' changes
dotnet-bot Dec 16, 2021
e42d12f
Update dependencies from https://github.com/dotnet/arcade build 20211…
dotnet-maestro[bot] Dec 16, 2021
59d91e9
Merge in 'release/6.0' changes
dotnet-bot Dec 16, 2021
c89dd63
Include Microsoft.NETCore.App.Ref pack as part of 6.0.2 release (#62859)
safern Dec 16, 2021
f5ca66e
Merge in 'release/6.0' changes
dotnet-bot Dec 16, 2021
bbd29a6
Fix Microsoft.VisualBasic.Core file version (#62848) (#62908)
safern Dec 16, 2021
58a13b7
Merge in 'release/6.0' changes
dotnet-bot Dec 16, 2021
423936a
[release/6.0] Fixing regression for AuthType.Anonymous which leads t…
github-actions[bot] Dec 16, 2021
fc77ea6
Merge in 'release/6.0' changes
dotnet-bot Dec 16, 2021
f76382a
Fix createdump failure on MacOS Monterey version 12.0.1. (#62548)
mikem8361 Dec 17, 2021
6a1bf49
Merge in 'release/6.0' changes
dotnet-bot Dec 17, 2021
818daa9
RPM package needs to create host symlink (#62925)
NikolaMilosavljevic Dec 17, 2021
c9e0054
Merge in 'release/6.0' changes
dotnet-bot Dec 17, 2021
67b110e
[release/6.0] Fixing a possible null reference error in WebSocket def…
github-actions[bot] Dec 23, 2021
3e71e1e
Merge in 'release/6.0' changes
dotnet-bot Dec 23, 2021
3b71fd8
[release/6.0] Don't create multiple large files at the same time (#63…
jozkee Dec 31, 2021
1415c71
Merge in 'release/6.0' changes
dotnet-bot Dec 31, 2021
816653e
[release/6.0] Use Ubuntu 18.04 and dotnet-buildtools-prereq docker im…
github-actions[bot] Jan 3, 2022
2282b00
[release/6.0] Add runtime-community.yml pipeline and add s390x job (#…
directhex Jan 3, 2022
6f1e03f
[release/6.0] Do not promote struct locals with holes (#62738)
github-actions[bot] Jan 3, 2022
bf5c4ec
Merge in 'release/6.0' changes
dotnet-bot Jan 3, 2022
5c543c7
Merge in 'release/6.0' changes
dotnet-bot Jan 3, 2022
7d82ac7
[wasm][release/6.0] Reduce number of calls to setTimer (#62705)
maraf Jan 3, 2022
f66e95c
Merge in 'release/6.0' changes
dotnet-bot Jan 3, 2022
bdd6647
fix issue where HTTP2 connection could be scavenged but not disposed …
github-actions[bot] Jan 3, 2022
6dbf89d
Merge in 'release/6.0' changes
dotnet-bot Jan 3, 2022
45d1f9e
Update dependencies from https://github.com/dotnet/arcade build 20211…
dotnet-maestro[bot] Jan 3, 2022
064d131
Merge in 'release/6.0' changes
dotnet-bot Jan 3, 2022
f86caa5
[release/6.0] Fix build with Clang 13 (#63314)
janvorli Jan 4, 2022
531c3fb
Merge in 'release/6.0' changes
dotnet-bot Jan 4, 2022
51b6749
[release/6.0] bump sourcebuild leg timeout (#63298)
safern Jan 5, 2022
9348c0f
Merge in 'release/6.0' changes
dotnet-bot Jan 5, 2022
dc6a86d
Fix bug where we reference the entry #0 in the pinned plug queue (#60…
cshung Jan 6, 2022
4f01ff5
Fix named mutexes on OSX to work between arm64 and emulated x64 proce…
kouvel Jan 6, 2022
fcd07dc
Merge in 'release/6.0' changes
dotnet-bot Jan 6, 2022
b71484c
Unify the FlushProcessWriteBuffers mechanism for macOS arm64 / x64 (#…
github-actions[bot] Jan 6, 2022
b484b69
Merge in 'release/6.0' changes
dotnet-bot Jan 6, 2022
898f09a
[release/6.0] Change macOS activatin injection failure handling (#63393)
janvorli Jan 6, 2022
d9163ed
Merge in 'release/6.0' changes
dotnet-bot Jan 6, 2022
1c2501d
[release/6.0] Fix XXHash for stripe size (#61923)
github-actions[bot] Jan 6, 2022
72fb99c
Merge in 'release/6.0' changes
dotnet-bot Jan 6, 2022
25d2a1f
[release/6.0] Making user secrets optional by default (#62917)
github-actions[bot] Jan 6, 2022
84d8fd3
Merge in 'release/6.0' changes
dotnet-bot Jan 6, 2022
201673a
[release/6.0] WinHttp: always read HTTP/2 streams to the end (#63346)
github-actions[bot] Jan 7, 2022
73f902f
[release/6.0] Fix setting timestamp on Windows on readonly files (#62…
adamsitnik Jan 7, 2022
8abc8fc
[release/6.0] Undo breaking change in 6.0 in environment variable con…
github-actions[bot] Jan 7, 2022
639c1b9
Merge in 'release/6.0' changes
dotnet-bot Jan 7, 2022
48e8304
Merge in 'release/6.0' changes
dotnet-bot Jan 7, 2022
a8b733b
[release/6.0] Ensure UserSecretsIdAttribute is added to assembly (#63…
eerhardt Jan 7, 2022
bf4854f
Merge in 'release/6.0' changes
dotnet-bot Jan 7, 2022
d575a6f
[release/6.0] Add explicit null-check for tailcalls to VSD (#62769)
github-actions[bot] Jan 7, 2022
0d4706a
Merge in 'release/6.0' changes
dotnet-bot Jan 7, 2022
dc56b08
[release/6.0] Port test-only test fixes (#63507)
danmoseley Jan 7, 2022
ad8231c
Merge in 'release/6.0' changes
dotnet-bot Jan 7, 2022
abe7d08
[release/6.0] Fix System.Object serialization with custom number hand…
github-actions[bot] Jan 8, 2022
3e07e04
Merge in 'release/6.0' changes
dotnet-bot Jan 8, 2022
039ab90
Fix bugs with generation for ctor param default values (#62798) (#63493)
layomia Jan 8, 2022
5af5538
Suppress warnings about [Obsolete] member usage in JSON src-gen'd cod…
github-actions[bot] Jan 8, 2022
26b0a12
[release/6.0] Fix TimeSpan support in sourcegen (#62191)
github-actions[bot] Jan 8, 2022
3e05a74
Merge in 'release/6.0' changes
dotnet-bot Jan 8, 2022
a9723f3
Include properties on records for (de)serialization in source-gen (#6…
github-actions[bot] Jan 8, 2022
4d8bebc
[wasm] Backport build improvements, and fixes from #61581 (#62757)
radical Jan 8, 2022
46fc58e
Merge in 'release/6.0' changes
dotnet-bot Jan 8, 2022
dfcba66
disable tests unstable on Windows 11 (#63527)
github-actions[bot] Jan 8, 2022
4c50598
Merge in 'release/6.0' changes
dotnet-bot Jan 8, 2022
4fd8dc2
Merge in 'release/6.0' changes
dotnet-bot Jan 8, 2022
42bbedf
Merge in 'release/6.0' changes
dotnet-bot Jan 8, 2022
a16c322
[release/6.0] Suppress SendPacketsElement_FileStreamMultiPartMixed_Mu…
github-actions[bot] Jan 8, 2022
2b2f871
Merge in 'release/6.0' changes
dotnet-bot Jan 8, 2022
749c02b
[release/6.0] Fix GENERIC_MATH_FEATURE by making sure we always choos…
safern Jan 10, 2022
b974f5c
Merge in 'release/6.0' changes
dotnet-bot Jan 10, 2022
7a26492
Fix NETStandard library using JSON source gen (#63520)
ericstj Jan 10, 2022
3f6d8fa
Make delegates unsupported by JsonSerializer (#63514)
github-actions[bot] Jan 10, 2022
f528972
Merge in 'release/6.0' changes
dotnet-bot Jan 10, 2022
04a5836
[release/6.0] 1388 xml serializer assembly load context awareness (#6…
github-actions[bot] Jan 10, 2022
7780d28
Fix custom JsonConverterFactories not working with transitive type/pr…
github-actions[bot] Jan 10, 2022
27eb94b
Merge in 'release/6.0' changes
dotnet-bot Jan 10, 2022
56c11f2
Merge in 'release/6.0' changes
dotnet-bot Jan 10, 2022
beedfae
[release/6.0] Build all packages when in source-build (#63653)
safern Jan 13, 2022
5e9fd16
Merge in 'release/6.0' changes
dotnet-bot Jan 13, 2022
fe7335c
[release/6.0] Use "read" to fetch misaligned 64bit values from bundle…
github-actions[bot] Jan 13, 2022
d8f7045
Merge in 'release/6.0' changes
dotnet-bot Jan 13, 2022
3c2d2a1
Fix the MacOS remote unwinder for VS4Mac (#63405)
mikem8361 Jan 13, 2022
71075a0
Merge in 'release/6.0' changes
dotnet-bot Jan 13, 2022
6de5c5b
[wasm][debugger] Missing test files (#63148)
thaystg Jan 14, 2022
839cdfb
Merge in 'release/6.0' changes
dotnet-bot Jan 14, 2022
bbfc15c
[release/6.0] Fix Crossgen2 bug #61104 and add regression test (#64027)
github-actions[bot] Jan 20, 2022
116a09f
Update branding to 6.0.3 (#64644)
vseanreesermsft Feb 3, 2022
af845cd
[release/6.0] Update helix queues (#64721)
safern Feb 5, 2022
2299c9f
backport 62601 (#62816)
thaystg Feb 7, 2022
d3213e3
[release/6.0] Support Single-file executable in Windows 7 (#63533)
NN--- Feb 7, 2022
c4c4bc9
[source-build][mono] Do not build Microsoft.NET.Runtime.MonoTargets.S…
github-actions[bot] Feb 7, 2022
caaf788
[release/6.0] [wasm][debugger] Fixing error after receiving loaded_fi…
thaystg Feb 7, 2022
2453f0d
serialize SendPacketsAsync tests (#63888)
antonfirsov Feb 7, 2022
5efff44
[release/6.0] Update SAN test to account for OpenSSL 3 changes (#63951)
github-actions[bot] Feb 7, 2022
4c8a389
Fix OpenSSL 3 reporting an OutOfMemoryException for missing private k…
vcsjones Feb 7, 2022
5ab70d3
Fix OpenSSL version check in GetAlpnSupport (#64032)
github-actions[bot] Feb 7, 2022
2e71ad4
[release/6.0] Fix crash when VS4Mac is debugging VS4Mac arm64 (#64086)
mikem8361 Feb 7, 2022
3b0b34c
Catch all exceptions (#64192)
github-actions[bot] Feb 7, 2022
2caf6fb
[release/6.0] Fix exception propagation over HW exception frame on ma…
github-actions[bot] Feb 7, 2022
2168e52
Make sure that shared memory object name meets the length requirement…
adamsitnik Feb 7, 2022
78ca1be
make sure OpenSSL is initialized before Tls13Supported code runs (#64…
wfurt Feb 7, 2022
3535b89
Fix profiling objectsallocatedbyclass (#63814) (#64284)
davmason Feb 7, 2022
1a6cadf
[release/6.0] add RID for Alpine 3.15 (#64304)
wfurt Feb 7, 2022
7ff14a3
Fix Xamarin assembly names in HttpClientHandler (#64391)
github-actions[bot] Feb 7, 2022
3105078
Temporarily disable EC file import tests (#64414)
github-actions[bot] Feb 7, 2022
9271e5a
[release/6.0] Fix DateOnly and TimeOnly Formatting using interpolated…
github-actions[bot] Feb 7, 2022
c849005
[release/6.0] [mono] Fix downcast check in Array.CopySlow (#64479)
github-actions[bot] Feb 7, 2022
8f7dff3
[release/6.0] Fix ReadyToRun loading on Apple Silicon (#64104)
jgiannuzzi Feb 7, 2022
39f85a4
[AOT] Use `.short` directive instead of `.hword` (#64637)
github-actions[bot] Feb 7, 2022
50b230e
[release/6.0] [mobile] Add extra HttpClientHandler linker substitutio…
github-actions[bot] Feb 7, 2022
4164efb
[release/6.0] Avoid deadlock with ConfigurationManager (#63816)
halter73 Feb 7, 2022
dbda62f
[release/6.0] [Mono] Fix potential crash when handling image load eve…
github-actions[bot] Feb 8, 2022
69edc60
[release/6.0] Add alignment to mapped field stream (#64559)
github-actions[bot] Feb 8, 2022
53ca85f
[release/6.0] Update dependencies from dotnet/arcade (#64749)
dotnet-maestro[bot] Feb 8, 2022
373c15f
Merge commit '839cdfb0ecca5e0be3dbccd926e7651ef50fdf10' into internal…
vseanreesermsft Feb 8, 2022
7a62f17
Merge release/6.0-maui branch back into release/6.0 (#64687)
akoeplinger Feb 8, 2022
3334f3b
[release/6.0] Fix Logging source generator failures with various synt…
maryamariyan Feb 9, 2022
1856eaa
Merge pull request #64998 from vseanreesermsft/internal-merge-6.0-202…
mmitche Feb 10, 2022
4fde4c1
Disable ILVerify for source build (#65082)
github-actions[bot] Feb 10, 2022
2f324b3
[release/6.0] [mono] Remove OP_FCONV_TO_U opcode (#64914)
github-actions[bot] Feb 11, 2022
98ac457
Fix race condition in InteropSyncBlock for ComWrappers map.
AaronRobinsonMSFT Feb 11, 2022
826c3d7
[release/6.0] Expand System.Runtime.InteropServices.NFloat to support…
github-actions[bot] Feb 11, 2022
a5a0004
[wasm] Remove USE_ZLIB=1 and include the sources instead (#64907)
akoeplinger Feb 11, 2022
3d345e0
[release/6.0] Update dependencies from dotnet/arcade dotnet/emsdk dot…
dotnet-maestro[bot] Feb 12, 2022
6c9b451
Merge pull request #65215 from dotnet/backport/pr-65214-to-release/6.0
jeffschwMSFT Feb 14, 2022
5e65919
[release/6.0] Port ICU tests fix for server core x86 (#65038)
safern Feb 14, 2022
6dd808f
[release/6.0] Fix long directory path test (#64955)
safern Feb 14, 2022
542d168
Revert "[release/6.0] Fix ReadyToRun loading on Apple Silicon (#64104)"
mangod9 Feb 23, 2022
48e7d76
Merge pull request #65794 from dotnet/revert_r2rmacos
jeffschwMSFT Feb 23, 2022
3ba4b3f
Port of #60580 (#65811)
mangod9 Feb 23, 2022
b5c85f7
Fix default converter reallocation on each call to JsonSerializerOpti…
eiriktsarpalis Feb 25, 2022
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<Import Project="$(RepositoryEngineeringDir)SubsetValidation.targets" />

<!-- Upfront restore hooks -->
<Import Project="$(RepositoryEngineeringDir)restore\docs.targets" Condition="'$(DotNetBuildFromSource)' != 'true'" />
<Import Project="$(RepositoryEngineeringDir)restore\docs.targets" />
<Import Project="$(RepositoryEngineeringDir)restore\optimizationData.targets" Condition="'$(DotNetBuildFromSource)' != 'true'" />

<Target Name="BuildLocalTasks"
Expand Down
22 changes: 15 additions & 7 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@
<NetCoreAppCurrentToolTargetFrameworkMoniker>$(NetCoreAppCurrentIdentifier),Version=v$(NetCoreAppToolCurrentVersion)</NetCoreAppCurrentToolTargetFrameworkMoniker>
<MicrosoftNetCoreAppFrameworkName>Microsoft.NETCore.App</MicrosoftNetCoreAppFrameworkName>
<NetCoreAppCurrentBrandName>.NET $(NetCoreAppCurrentVersion)</NetCoreAppCurrentBrandName>

<NetFrameworkToolCurrent>net472</NetFrameworkToolCurrent>
<!-- Don't build for NETFramework during source-build. -->
<NetFrameworkToolCurrent Condition="'$(DotNetBuildFromSource)' == 'true'" />
</PropertyGroup>

<PropertyGroup>
Expand All @@ -72,7 +76,7 @@

<AppleAppBuilderDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'AppleAppBuilder', 'Debug', '$(NetCoreAppToolCurrent)'))</AppleAppBuilderDir>
<AndroidAppBuilderDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'AndroidAppBuilder', 'Debug', '$(NetCoreAppToolCurrent)', 'publish'))</AndroidAppBuilderDir>
<WasmAppBuilderDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'WasmAppBuilder', 'Debug', '$(NetCoreAppToolCurrent)', 'publish'))</WasmAppBuilderDir>
<WasmAppBuilderDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'WasmAppBuilder', 'Debug', '$(NetCoreAppToolCurrent)'))</WasmAppBuilderDir>
<WasmBuildTasksDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'WasmBuildTasks', 'Debug', '$(NetCoreAppToolCurrent)', 'publish'))</WasmBuildTasksDir>
<WorkloadBuildTasksDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'WorkloadBuildTasks', 'Debug', '$(NetCoreAppToolCurrent)', 'publish'))</WorkloadBuildTasksDir>
<MonoAOTCompilerDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'MonoAOTCompiler', 'Debug', '$(NetCoreAppToolCurrent)'))</MonoAOTCompilerDir>
Expand Down Expand Up @@ -206,6 +210,10 @@
<MicrosoftNetCoreAppRuntimePackNativeDir>$([MSBuild]::NormalizeDirectory('$(MicrosoftNetCoreAppRuntimePackRidDir)', 'native'))</MicrosoftNetCoreAppRuntimePackNativeDir>
</PropertyGroup>

<PropertyGroup>
<DotNetHostBinDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', '$(OutputRid).$(Configuration)', 'corehost'))</DotNetHostBinDir>
</PropertyGroup>

<!--Feature switches -->
<PropertyGroup>
<EnableNgenOptimization Condition="'$(EnableNgenOptimization)' == '' and ('$(Configuration)' == 'Release' or '$(Configuration)' == 'Checked')">true</EnableNgenOptimization>
Expand Down Expand Up @@ -251,14 +259,12 @@
<PackageReleaseNotes>https://go.microsoft.com/fwlink/?LinkID=799421</PackageReleaseNotes>
<!-- Indicates this is not an officially supported release. Release branches should set this to false. -->
<!-- Keep it in sync with PRERELEASE in eng/native/configureplatform.cmake -->
<IsPrerelease>true</IsPrerelease>
<IsExperimentalAssembly>$(MSBuildProjectName.Contains('Experimental'))</IsExperimentalAssembly>
<IsPrerelease>false</IsPrerelease>
<IsPrivateAssembly>$(MSBuildProjectName.Contains('Private'))</IsPrivateAssembly>
<!-- Experimental packages should not be stable -->
<SuppressFinalPackageVersion Condition="'$(SuppressFinalPackageVersion)' == '' and ($(IsExperimentalAssembly) or $(IsPrivateAssembly))">true</SuppressFinalPackageVersion>
<IsShippingAssembly Condition="$(IsExperimentalAssembly)">false</IsShippingAssembly>
<!-- Private packages should not be stable -->
<SuppressFinalPackageVersion Condition="'$(SuppressFinalPackageVersion)' == '' and $(IsPrivateAssembly)">true</SuppressFinalPackageVersion>
<!-- We don't want Private packages to be shipped to NuGet.org -->
<IsShippingPackage Condition="$(MSBuildProjectName.Contains('Private')) or $(IsExperimentalAssembly)">false</IsShippingPackage>
<IsShippingPackage Condition="$(IsPrivateAssembly)">false</IsShippingPackage>
<PlaceholderFile>$(RepositoryEngineeringDir)_._</PlaceholderFile>
</PropertyGroup>

Expand All @@ -270,6 +276,8 @@
<!-- Enables Strict mode for Roslyn compiler -->
<Features>strict;nullablePublicOnly</Features>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- Warnings to always disable -->
<NoWarn>$(NoWarn),CS8969</NoWarn>
<!-- Always pass portable to override arcade sdk which uses embedded for local builds -->
<DebugType>portable</DebugType>
<DebugSymbols>true</DebugSymbols>
Expand Down
9 changes: 7 additions & 2 deletions NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
</fallbackPackageFolders>
<packageSources>
<clear />
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
<!-- Begin: Package sources from dotnet-emsdk -->
<add key="darc-pub-dotnet-emsdk-ee0a97a" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-ee0a97a0/nuget/v3/index.json" />
<!-- End: Package sources from dotnet-emsdk -->
<!-- Begin: Package sources from dotnet-wcf -->
<!-- End: Package sources from dotnet-wcf -->
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
<!--
'src/test/PrepareTestAssets/PrepareTestAssets.proj' generates a NuGet.config file using this
one as a template. The following line is a marker to insert the test restore sources.
Expand All @@ -17,8 +24,6 @@
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
<add key="dotnet6" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" />
<add key="dotnet6-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6-transport/nuget/v3/index.json" />
<!-- Used for dotnet pack task -->
<add key="nuget-build" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/nuget-build/nuget/v3/index.json" />
<!-- Used for the Rich Navigation indexing task -->
<add key="richnav" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vs-buildservices/nuget/v3/index.json" />
</packageSources>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions docs/design/features/intel-cet-dotnet6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# .NET 6 compatibility with Intel CET shadow stacks (early preview on Windows)

Intel�s [Control-flow Enforcement Technology (CET)](https://newsroom.intel.com/editorials/intel-cet-answers-call-protect-common-malware-threats/) is a security feature available in some newer Intel and AMD processors. It adds capabilities to the hardware that protect against some common types of attacks involving control-flow hijacking. With CET shadow stacks, the processor and operating system can track the control flow of calls and returns in a thread in the shadow stack in addition to the data stack, and detect unintended changes to the control flow. The shadow stack is protected from application code memory accesses and helps to defend against attacks involving return-oriented programming (ROP). Windows offers [Hardware-enforced Stack Protection](https://techcommunity.microsoft.com/t5/windows-kernel-internals/understanding-hardware-enforced-stack-protection/ba-p/1247815) for CET shadow stack compatibility and is available as an early preview in [Windows Insider preview builds (Dev channel)](https://insider.windows.com/en-us/understand-flighting).

## Opting into CET shadow stack compatibility

CET compatibility in .NET 6 is available as an early preview. In order to receive the security benefits of CET shadow stacks in .NET applications, ensure the following to opt into the feature for an executable:
- Verify that your processor supports Intel CET. There are Intel and AMD processors currently available with the feature.
- Get a recent build of Windows that has Hardware-enforced Stack Protection. The latest versions from [Windows Insider preview builds (Dev channel)](https://insider.windows.com/en-us/understand-flighting) have the feature.
- Install [.NET 6](https://dotnet.microsoft.com/download/dotnet) RC1 or a more recent release
- Build or publish your application targeting framework `net6.0` and runtime `win-x64`
- Open the Windows Security app
- Inside the "App & browser control" pane, select "Explicit protection settings"
- Under the "Program settings" tab, select "Add program to customize" and "Add by program name"
- Enter the file name of your application�s executable file and select "Add"
- Select the following options and select "Apply":

![Hardware-enforced Stack Protection settings](images/intel-cet-dotnet6-fig1.png)
- See the [Developer Guidance for Hardware-enforced Stack Protection](https://techcommunity.microsoft.com/t5/windows-kernel-internals/developer-guidance-for-hardware-enforced-stack-protection/ba-p/2163340) for more details
- Task Manager�s Details tab has a new column "Hardware-enforced Stack Protection" that shows the compatibility level of a running process. If CET shadow stacks are enabled for the process, the column for the application should say "Compatible modules only".

## Limitations

CET shadow stack compatibility in .NET is under development and will be available as an early preview from .NET 6 RC1 as an opt-in for x64 applications. Aside from a notable limitation, most run-time scenarios should work as expected. There are plans for expanding the compatibility for .NET 7 and to have it be enabled by default on supported hardware for Windows x64 applications.

For a .NET 6 application that is opted into CET shadow stack compatibility, managed or mixed-mode debugging through Visual Studio may not work as expected, and may cause the application to crash. Some basic features such as expression evaluation (including autos, locals, watch list expressions, quick watch, etc.) and stepping through code are currently incompatible with CET shadow stacks. Native debugging through Visual Studio and WinDbg/SOS should continue to work as expected with CET shadow stacks enabled for the application being debugged.

When opted in as above, CET shadow stacks are enabled in compatibility mode. .NET 6 is not compatible with strict mode, support for strict mode is planned for .NET 7.

For .NET 6 applications, CET shadow stack compatibility is available to try for Windows x64 applications. Support for the feature on Linux is pending.
31 changes: 31 additions & 0 deletions eng/MultiTargetRoslynComponent.targets.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<Project>
<Target Name="_{TargetPrefix}GatherAnalyzers">

<ItemGroup>
<_{TargetPrefix}Analyzer Include="@(Analyzer)" Condition="'%(Analyzer.NuGetPackageId)' == '{NuGetPackageId}'" />
</ItemGroup>
</Target>

<Target Name="_{TargetPrefix}AnalyzerMultiTargeting"
Condition="'$(SupportsRoslynComponentVersioning)' != 'true'"
AfterTargets="ResolvePackageDependenciesForBuild;ResolveNuGetPackageAssets"
DependsOnTargets="_{TargetPrefix}GatherAnalyzers">

<ItemGroup>
<!-- Remove our analyzers targeting roslyn4.x -->
<Analyzer Remove="@(_{TargetPrefix}Analyzer)"
Condition="$([System.String]::Copy('%(_{TargetPrefix}Analyzer.Identity)').IndexOf('roslyn4')) &gt;= 0"/>
</ItemGroup>
</Target>

<Target Name="_{TargetPrefix}RemoveAnalyzers"
Condition="'$({DisableSourceGeneratorPropertyName})' == 'true'"
AfterTargets="ResolvePackageDependenciesForBuild;ResolveNuGetPackageAssets"
DependsOnTargets="_{TargetPrefix}GatherAnalyzers">

<!-- Remove all our analyzers -->
<ItemGroup>
<Analyzer Remove="@(_{TargetPrefix}Analyzer)" />
</ItemGroup>
</Target>
</Project>
3 changes: 3 additions & 0 deletions eng/Publishing.props
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<Project>
<!-- TODO: Consolidate the Publishing.props files into here. -->
<PropertyGroup>
<PublishingVersion>3</PublishingVersion>
</PropertyGroup>
</Project>
7 changes: 2 additions & 5 deletions eng/SourceBuild.props
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,11 @@
<PropertyGroup>
<InnerBuildArgs>$(InnerBuildArgs) --arch $(TargetRidPlatform)</InnerBuildArgs>
<InnerBuildArgs>$(InnerBuildArgs) --configuration $(Configuration)</InnerBuildArgs>
<InnerBuildArgs>$(InnerBuildArgs) --ci</InnerBuildArgs>
<InnerBuildArgs>$(InnerBuildArgs) --allconfigurations</InnerBuildArgs>
<InnerBuildArgs Condition="'$(SourceBuildNonPortable)' == 'true'">$(InnerBuildArgs) --allconfigurations</InnerBuildArgs>
<InnerBuildArgs>$(InnerBuildArgs) --verbosity $(LogVerbosity)</InnerBuildArgs>
<InnerBuildArgs>$(InnerBuildArgs) --nodereuse false</InnerBuildArgs>
<InnerBuildArgs>$(InnerBuildArgs) --warnAsError false</InnerBuildArgs>
<InnerBuildArgs>$(InnerBuildArgs) --cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE</InnerBuildArgs>
<InnerBuildArgs>$(InnerBuildArgs) /p:MicrosoftNetFrameworkReferenceAssembliesVersion=1.0.0</InnerBuildArgs>
<InnerBuildArgs>$(InnerBuildArgs) /p:ContinuousIntegrationBuild=true</InnerBuildArgs>
<InnerBuildArgs>$(InnerBuildArgs) /p:MicrosoftNetFrameworkReferenceAssembliesVersion=1.0.2</InnerBuildArgs>
<InnerBuildArgs>$(InnerBuildArgs) /p:PackageRid=$(TargetRid)</InnerBuildArgs>
<InnerBuildArgs>$(InnerBuildArgs) /p:NoPgoOptimize=true</InnerBuildArgs>
<InnerBuildArgs>$(InnerBuildArgs) /p:KeepNativeSymbols=true</InnerBuildArgs>
Expand Down
Loading