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

Merge 'dotnet/main' into ParamsCollections #72042

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
435 commits
Select commit Hold shift + click to select a range
b1142c5
Fix test now that devkit dependency loading happens in entry point
dibarbet Feb 1, 2024
9891173
Merge pull request #71853 from CyrusNajmabadi/backportRevert
arunchndr Feb 1, 2024
42a4cde
Merge pull request #71906 from dotnet/merges/release/dev17.9-to-relea…
dotnet-bot Feb 1, 2024
fa72fa6
Merge pull request #71907 from dotnet/merges/release/dev17.9-to-relea…
dotnet-bot Feb 1, 2024
4f2c5a2
Merge pull request #71908 from dotnet/merges/release/dev17.10-to-main
dotnet-bot Feb 1, 2024
2df7dde
Merge pull request #71910 from dotnet/merges/release/dev17.10-to-main
dotnet-bot Feb 1, 2024
0deb93a
Merge pull request #71894 from sharwell/unnecessary-box
sharwell Feb 1, 2024
8950faf
Workaround failure to bind reference in 17.9 Preview 2
sharwell Feb 1, 2024
4c0d1a0
Fixed the Go To Definition for ValueTuple
victor-pogor Jan 30, 2024
bb6ae28
Merge pull request #71897 from sharwell/disable-surround-p2
sharwell Feb 1, 2024
b014111
Merge remote-tracking branch 'upstream/main' into sourceTextAllocate
CyrusNajmabadi Feb 1, 2024
9c4b523
Merge remote-tracking branch 'upstream/main' into uniformity
CyrusNajmabadi Feb 1, 2024
98c2920
Merge branch 'main' into keepProjectCone
CyrusNajmabadi Feb 1, 2024
303f106
Simplify
CyrusNajmabadi Feb 1, 2024
e02b3dd
Merge branch 'main' into dev/shech/specifyNewtonsoftJsonVersion
Cosifne Feb 1, 2024
6d56ca4
Update src/Workspaces/Remote/ServiceHub/Host/RemoteWorkspace.Solution…
CyrusNajmabadi Feb 1, 2024
fd51297
Merge pull request #71886 from CyrusNajmabadi/sourceTextAllocate
CyrusNajmabadi Feb 1, 2024
c0ba83c
Inline methods
CyrusNajmabadi Feb 1, 2024
1123a8f
Cleanup
CyrusNajmabadi Feb 1, 2024
a27303a
Update src/Workspaces/Remote/ServiceHub/Host/RemoteWorkspace.Solution…
CyrusNajmabadi Feb 1, 2024
d05c50a
Merge branch 'inlineMethods' into keepProjectCone
CyrusNajmabadi Feb 1, 2024
2d640ec
Consistency
CyrusNajmabadi Feb 1, 2024
48a9211
Merge branch 'keepProjectCone' of https://github.com/CyrusNajmabadi/r…
CyrusNajmabadi Feb 1, 2024
c75a980
rename
CyrusNajmabadi Feb 1, 2024
1c7686e
Merge branch 'inlineMethods' into keepProjectCone
CyrusNajmabadi Feb 1, 2024
b8d1912
Merge pull request #71877 from CyrusNajmabadi/uniformity
CyrusNajmabadi Feb 1, 2024
70fc76f
Docs
CyrusNajmabadi Feb 1, 2024
c925e3d
Docs
CyrusNajmabadi Feb 1, 2024
80f4e50
Merge branch 'inlineMethods' into keepProjectCone
CyrusNajmabadi Feb 1, 2024
e7cae31
Merge pull request #71876 from Cosifne/dev/shech/specifyNewtonsoftJso…
Cosifne Feb 1, 2024
3d66710
Fix
CyrusNajmabadi Feb 1, 2024
5db5647
Rewrite test to not use MSBuildProjectLoader
jasonmalinowski Feb 1, 2024
19751d7
Report workspace messages for warnings/errors from the build hosts
jasonmalinowski Feb 1, 2024
2fd5578
Fix code that errantly assumed a paramarray parameter must be an array
CyrusNajmabadi Feb 1, 2024
46dbf62
Disallow UseConditionalExpression with unsafe or checked/unchecked bl…
Feb 1, 2024
9f45967
Merge pull request #71915 from CyrusNajmabadi/inlineMethods
CyrusNajmabadi Feb 1, 2024
5010358
Merge branch 'main' into keepProjectCone
CyrusNajmabadi Feb 1, 2024
de6f68a
Add a direct test to test MSBuildProjectLoader
jasonmalinowski Feb 1, 2024
196dd75
[71680] Added more tests, docs
victor-pogor Feb 2, 2024
a9f264d
[71680] Changed the implementation
victor-pogor Feb 2, 2024
105d6e7
Update `Lock` object feature status (#71889)
jjonescz Feb 2, 2024
14a7c76
Reduce allocations during NamespaceSymbol.LookupNestedNamespace (#71921)
ToddGrun Feb 2, 2024
a7bf684
PR feedback
CyrusNajmabadi Feb 2, 2024
019c459
PR feedback
CyrusNajmabadi Feb 2, 2024
22b333e
Merge pull request #71920 from CyrusNajmabadi/vbCrash
CyrusNajmabadi Feb 2, 2024
c304e1f
Disable complete statement in non-user code
sharwell Feb 2, 2024
e2e96c5
Do not remove necessary cast to System.Delegate when present
CyrusNajmabadi Feb 2, 2024
c492d7c
Prepare 17.10 snap
Cosifne Feb 2, 2024
dc40ba3
Merge remote-tracking branch 'upstream/main' into analyzer_assembly_l…
dibarbet Feb 2, 2024
baefbc9
Add a metadata reference instead of DLL reference to WindowsBase
sharwell Feb 2, 2024
e5ce64c
Merge pull request #71938 from CyrusNajmabadi/delegateCast
CyrusNajmabadi Feb 2, 2024
f0e3386
Remove unnecessary usage of generics
CyrusNajmabadi Feb 2, 2024
761b509
Simplify
CyrusNajmabadi Feb 2, 2024
64db736
Merge pull request #71826 from CyrusNajmabadi/keepProjectCone
CyrusNajmabadi Feb 2, 2024
d95a8dc
Merge pull request #71912 from victor-pogor/71684-gotodefinition-valu…
CyrusNajmabadi Feb 2, 2024
64e0eaa
Merge pull request #71936 from sharwell/disabled-code
sharwell Feb 2, 2024
9e4576d
Simplify serialization code
CyrusNajmabadi Feb 2, 2024
ce41e5d
in progress
CyrusNajmabadi Feb 2, 2024
8bd42a7
in progress
CyrusNajmabadi Feb 2, 2024
5b9096c
tests
CyrusNajmabadi Feb 2, 2024
5b05d6b
implement ReadEncoding
CyrusNajmabadi Feb 2, 2024
9b5e3e8
implement reading
CyrusNajmabadi Feb 2, 2024
ff2bada
in progress
CyrusNajmabadi Feb 2, 2024
ef74e90
Simplify
CyrusNajmabadi Feb 2, 2024
77c627c
In progress
CyrusNajmabadi Feb 2, 2024
84737e1
Delete more tests
CyrusNajmabadi Feb 2, 2024
0124c1a
Fix encoding
CyrusNajmabadi Feb 2, 2024
7ab59b3
Merge pull request #71942 from CyrusNajmabadi/removeGenerics
CyrusNajmabadi Feb 2, 2024
98fd2f9
Merge pull request #71830 from jasonmalinowski/change-apply-change-si…
jasonmalinowski Feb 2, 2024
0e6c4de
Merge pull request #71939 from Cosifne/dev/shech/17.10snap
Cosifne Feb 3, 2024
b14dc4d
Merge pull request #71881 from jasonmalinowski/switch-back-to-net6.0-…
jasonmalinowski Feb 3, 2024
7d82a84
Merge remote-tracking branch 'upstream/main' into simplifySerialization
CyrusNajmabadi Feb 3, 2024
8f5b85f
rename
CyrusNajmabadi Feb 3, 2024
ca1e57d
feedback
CyrusNajmabadi Feb 3, 2024
eea4b0f
Don't place array type kind in stream
CyrusNajmabadi Feb 3, 2024
df82650
nrt
CyrusNajmabadi Feb 3, 2024
e6b532d
nrt
CyrusNajmabadi Feb 3, 2024
ac87e04
NRT
CyrusNajmabadi Feb 3, 2024
85dccbb
simplify
CyrusNajmabadi Feb 3, 2024
b9c03b7
Simplify and inline
CyrusNajmabadi Feb 3, 2024
cbf8b72
increment
CyrusNajmabadi Feb 3, 2024
266b5c9
nrt
CyrusNajmabadi Feb 3, 2024
c1a6d46
Update src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Seri…
CyrusNajmabadi Feb 4, 2024
f74f7d6
make stringb ased
CyrusNajmabadi Feb 4, 2024
a683851
Update src/Analyzers/CSharp/Analyzers/UseCollectionExpression/CSharpU…
CyrusNajmabadi Feb 4, 2024
fa4572d
Revert
CyrusNajmabadi Feb 4, 2024
d8ee406
Merge branch 'simplifySerialization' of https://github.com/CyrusNajma…
CyrusNajmabadi Feb 4, 2024
ae071f2
fix
CyrusNajmabadi Feb 4, 2024
5de6755
Implement code folding for collection expression
victor-pogor Feb 4, 2024
f4d4743
Merge pull request #71944 from CyrusNajmabadi/simplifySerialization
CyrusNajmabadi Feb 4, 2024
d9272a3
Merge pull request #71951 from victor-pogor/71932-collection-expressi…
CyrusNajmabadi Feb 4, 2024
c9e6a8a
Merge branch 'main' into feedback
CyrusNajmabadi Feb 5, 2024
65ef2c8
Delete
CyrusNajmabadi Feb 5, 2024
e222ce2
Simplify
CyrusNajmabadi Feb 5, 2024
91d29dd
Simplify
CyrusNajmabadi Feb 5, 2024
98b123e
fix
CyrusNajmabadi Feb 5, 2024
4b818cf
fix
CyrusNajmabadi Feb 5, 2024
af15625
simplify
CyrusNajmabadi Feb 5, 2024
36116b1
Fix invariant-breaking parsing of errant case clauses in switch expre…
CyrusNajmabadi Feb 5, 2024
7051d92
Add tests
CyrusNajmabadi Feb 5, 2024
f35c96a
more tests
CyrusNajmabadi Feb 5, 2024
768a319
Add publishing configuration for vscode net8 branch
dibarbet Feb 5, 2024
2fb0ddb
Merge pull request #71962 from dotnet/dibarbet-patch-2
dibarbet Feb 5, 2024
49420e2
Merge pull request #71935 from CyrusNajmabadi/feedback
CyrusNajmabadi Feb 5, 2024
47431aa
Simplify compilation tracking
CyrusNajmabadi Feb 5, 2024
ef7f7cd
remove compilationinfo type
CyrusNajmabadi Feb 5, 2024
085ed1e
Renames
CyrusNajmabadi Feb 5, 2024
cdcf895
Review feedback
dibarbet Feb 5, 2024
f1b4c8e
Simplify
CyrusNajmabadi Feb 5, 2024
969b59c
inline method
CyrusNajmabadi Feb 5, 2024
e4d5adf
inline methods
CyrusNajmabadi Feb 5, 2024
f536ae1
Merge pull request #71909 from jasonmalinowski/log-buildhost-process-…
jasonmalinowski Feb 5, 2024
661d9e7
Renames and stronger typing
CyrusNajmabadi Feb 5, 2024
53e20b7
Wrapping
CyrusNajmabadi Feb 5, 2024
dc15aaf
Add intermediary compilation-tracker type
CyrusNajmabadi Feb 5, 2024
5c10f4f
Reverts
CyrusNajmabadi Feb 5, 2024
9b37250
REvert
CyrusNajmabadi Feb 5, 2024
51f4921
Merge branch 'trackerRefactoring' into compilationTrackerType
CyrusNajmabadi Feb 5, 2024
b48f138
make non-optional
CyrusNajmabadi Feb 5, 2024
3af4c67
make non-optional
CyrusNajmabadi Feb 5, 2024
b33b273
Merge branch 'trackerRefactoring' into compilationTrackerType
CyrusNajmabadi Feb 5, 2024
e4577ce
Make constructor with additional argument private
CyrusNajmabadi Feb 5, 2024
b52cef0
use a switch
CyrusNajmabadi Feb 5, 2024
fcecd83
remove unused parameters
CyrusNajmabadi Feb 5, 2024
7f51274
inline method
CyrusNajmabadi Feb 5, 2024
beaa8d1
Merge pull request #71965 from CyrusNajmabadi/optionalArg
CyrusNajmabadi Feb 6, 2024
a9aded3
Respond to VS LSP diagnostic breaking changes
dibarbet Feb 6, 2024
580129a
Merge pull request #71963 from CyrusNajmabadi/trackerRefactoring
CyrusNajmabadi Feb 6, 2024
652776c
Merge branch 'main' into compilationTrackerType
CyrusNajmabadi Feb 6, 2024
c08dabd
Prevent error propagations by misplaced semicolon in list parsing
aldelaro5 Feb 6, 2024
1e61317
Merge remote-tracking branch 'upstream/main' into trackerRefactoringLock
CyrusNajmabadi Feb 6, 2024
8796e76
Simplify code
CyrusNajmabadi Feb 6, 2024
552991f
Simplify
CyrusNajmabadi Feb 6, 2024
a47f41c
Simplify
CyrusNajmabadi Feb 6, 2024
86a0c9d
Simplify
CyrusNajmabadi Feb 6, 2024
dbd06d1
in progress
CyrusNajmabadi Feb 6, 2024
8dc1e19
in progress
CyrusNajmabadi Feb 6, 2024
0341f89
Docs
CyrusNajmabadi Feb 6, 2024
15514b9
Make transitions much more strongly typed
CyrusNajmabadi Feb 6, 2024
94c1a35
Strong type
CyrusNajmabadi Feb 6, 2024
7ec3dea
Add unit test to catch error propagation
aldelaro5 Feb 6, 2024
c72c5e0
Merge pull request #71966 from CyrusNajmabadi/trackerRefactoringLock
CyrusNajmabadi Feb 6, 2024
7748cd1
Merge remote-tracking branch 'upstream/main' into frozenState2
CyrusNajmabadi Feb 6, 2024
8b97b7f
Merge remote-tracking branch 'upstream/main' into compilationTrackerType
CyrusNajmabadi Feb 6, 2024
22cfa60
Add more rigorous unit tests
aldelaro5 Feb 6, 2024
613c0ee
Merge branch 'compilationTrackerType' into frozenState2
CyrusNajmabadi Feb 6, 2024
ef43b0f
Address additional VS LSP breaking changes
dibarbet Feb 6, 2024
f24265e
Add more tests with if and return statements
aldelaro5 Feb 6, 2024
9d629cb
Add comment back
CyrusNajmabadi Feb 6, 2024
743d190
Merge pull request #71964 from CyrusNajmabadi/compilationTrackerType
CyrusNajmabadi Feb 6, 2024
8dabfbc
Merge remote-tracking branch 'upstream/main' into frozenState2
CyrusNajmabadi Feb 6, 2024
5d390a6
Add file
CyrusNajmabadi Feb 6, 2024
bfe3adb
REmove
CyrusNajmabadi Feb 6, 2024
f9935c6
Enable implicit primary constructor parameter capture analyzer (#71905)
333fred Feb 6, 2024
8cdc0cc
Move SB metadata to intermediates (#71934)
ellahathaway Feb 6, 2024
a3e0355
Merge pull request #71974 from CyrusNajmabadi/moveFiles
CyrusNajmabadi Feb 6, 2024
43aca37
Bootstrap Framework should be CI only (#71979)
jaredpar Feb 6, 2024
dac8b19
Fix some comments in the Workspaces.MSBuild project file
jasonmalinowski Feb 6, 2024
591530f
Merge pull request #71972 from CyrusNajmabadi/frozenState2
CyrusNajmabadi Feb 6, 2024
6eb96ea
Beef up type inferrer
CyrusNajmabadi Feb 6, 2024
c74b31b
Fix central package versioning picking up Version.Details.xml
jasonmalinowski Feb 7, 2024
c3d3595
Merge pull request #71862 from dibarbet/analyzer_assembly_loading_vscode
dibarbet Feb 7, 2024
4e1e388
Merge pull request #71967 from dibarbet/vs_diagnostic_changes
dibarbet Feb 7, 2024
71092fe
Break out the IsFrozen flag to be an aspect of CompilationTrackerState.
CyrusNajmabadi Feb 6, 2024
0d4a461
Introduce new intermediary abstract type to represent the non-final s…
CyrusNajmabadi Feb 6, 2024
5196078
Extract helper methods for clarity
CyrusNajmabadi Feb 6, 2024
39cc204
Update src/Workspaces/Core/Portable/Workspace/Solution/SolutionCompil…
CyrusNajmabadi Feb 6, 2024
cd44a48
Break out the IsFrozen flag to be an aspect of CompilationTrackerState.
CyrusNajmabadi Feb 6, 2024
f39edc4
Fix nesting
CyrusNajmabadi Feb 7, 2024
8a0e014
Use captures to cleanup code
CyrusNajmabadi Feb 7, 2024
0170155
Move to a local function, and remove unnecessary helpers
CyrusNajmabadi Feb 7, 2024
6fe0e5e
Extract helper for clarity
CyrusNajmabadi Feb 7, 2024
1b7c316
add test
CyrusNajmabadi Feb 7, 2024
c77b6ca
Merge pull request #71982 from CyrusNajmabadi/typeInferrer
CyrusNajmabadi Feb 7, 2024
95f1624
[main] Update dependencies from dotnet/source-build-reference-package…
dotnet-maestro[bot] Feb 7, 2024
4d79f4d
CompilationOutputInfo.AssemblyPath should be a normalized path (#71975)
phil-allen-msft Feb 7, 2024
d2abc85
Seeing what breaks
CyrusNajmabadi Feb 7, 2024
031d78e
Make NoCompilationState into a singleton
CyrusNajmabadi Feb 7, 2024
f8cf395
Merge branch 'main' into frozen3
CyrusNajmabadi Feb 7, 2024
4cd098b
Merge pull request #71984 from jasonmalinowski/fix-source-build
jasonmalinowski Feb 7, 2024
df5e7bf
Use 'null' to represent initial tracker state
CyrusNajmabadi Feb 7, 2024
14bf1f9
Disallow ref kind mismatch for dynamic arguments in non-ComImport sce…
AlekseyTs Feb 7, 2024
f08bff2
Merge pull request #71992 from CyrusNajmabadi/nullCheck
CyrusNajmabadi Feb 7, 2024
cb4f2a0
Merge remote-tracking branch 'upstream/main' into parseSwitch
CyrusNajmabadi Feb 7, 2024
aaaf5a7
Add tests with trivia
CyrusNajmabadi Feb 7, 2024
735c29e
Add tests with trivia
CyrusNajmabadi Feb 7, 2024
66539a6
Merge remote-tracking branch 'upstream/main' into frozen3
CyrusNajmabadi Feb 8, 2024
f7b9765
Simplify input/output
CyrusNajmabadi Feb 8, 2024
c2c2912
use record
CyrusNajmabadi Feb 8, 2024
9fef311
Update src/Workspaces/Core/Portable/Workspace/Solution/SolutionCompil…
CyrusNajmabadi Feb 8, 2024
c969992
Update src/Workspaces/Core/Portable/Workspace/Solution/SolutionCompil…
CyrusNajmabadi Feb 8, 2024
2eeabfc
strong assert
CyrusNajmabadi Feb 8, 2024
1136962
Fix
CyrusNajmabadi Feb 8, 2024
ac2cce7
PR feedback
CyrusNajmabadi Feb 8, 2024
e4b57d3
Merge pull request #71993 from CyrusNajmabadi/removeInfo
CyrusNajmabadi Feb 8, 2024
c85b5ba
Merge remote-tracking branch 'upstream/main' into frozen3
CyrusNajmabadi Feb 8, 2024
e07dda9
cleanu
CyrusNajmabadi Feb 8, 2024
87e3c8f
Simplify
CyrusNajmabadi Feb 8, 2024
8b43624
Simplify
CyrusNajmabadi Feb 8, 2024
c0343cf
Merge branch 'main' into parseSwitch
CyrusNajmabadi Feb 8, 2024
49df118
Merge branch 'main' into makeInfoNull
CyrusNajmabadi Feb 8, 2024
a635415
Simplify instantiation of lsp options
CyrusNajmabadi Feb 8, 2024
63d2b77
Merge pull request #71712 from sdelarosbil/list-parsing-prevent-propa…
CyrusNajmabadi Feb 8, 2024
285aa56
Merge pull request #71960 from CyrusNajmabadi/parseSwitch
CyrusNajmabadi Feb 9, 2024
4e2ec88
Merge pull request #72009 from CyrusNajmabadi/lspRecords
CyrusNajmabadi Feb 9, 2024
e197320
Merge branch 'main' into makeInfoNull
CyrusNajmabadi Feb 9, 2024
8919a83
Merge remote-tracking branch 'upstream/main' into frozen3
CyrusNajmabadi Feb 9, 2024
7d5b6e6
Reduce allocations in ImmutableArrayExtensions.GetTypesFromMemberMap …
ToddGrun Feb 9, 2024
6897da2
Reduce dictionary resizes under NodeMapBuilder.AddToMap (#71995)
ToddGrun Feb 9, 2024
86e8e79
Modify CpsDiagnosticItemSourceProvider.CreateCollectionSource to be r…
ToddGrun Feb 9, 2024
ca315af
Merge remote-tracking branch 'upstream/main' into frozenBit
CyrusNajmabadi Feb 9, 2024
2296cb5
Merge pull request #71996 from CyrusNajmabadi/makeInfoNull
CyrusNajmabadi Feb 9, 2024
30026f7
Merge remote-tracking branch 'upstream/main' into frozenBit
CyrusNajmabadi Feb 9, 2024
ec0f507
Merge remote-tracking branch 'upstream/main' into frozen3
CyrusNajmabadi Feb 9, 2024
c3c51d8
Merge branch 'frozenBit' into frozen3
CyrusNajmabadi Feb 9, 2024
6118b7d
Update
CyrusNajmabadi Feb 9, 2024
a4e624c
Update
CyrusNajmabadi Feb 9, 2024
1e30d6f
Fixup
CyrusNajmabadi Feb 9, 2024
ec487b6
Fixup
CyrusNajmabadi Feb 9, 2024
78644fe
Disable flakey test
CyrusNajmabadi Feb 9, 2024
ba00e92
Merge pull request #71986 from CyrusNajmabadi/frozenBit
CyrusNajmabadi Feb 9, 2024
5faf3c1
Merge branch 'main' into frozen3
CyrusNajmabadi Feb 9, 2024
36dc773
Skip flakey test
CyrusNajmabadi Feb 9, 2024
e924f4f
Merge branch 'disableFlakeyTest' into frozen3
CyrusNajmabadi Feb 9, 2024
5d153ac
Avoid visiting reachable local functions with default state (#71679)
jjonescz Feb 9, 2024
43a9d7f
[main] Update dependencies from dotnet/source-build-externals (#71547)
dotnet-maestro[bot] Feb 9, 2024
7cbbb49
Merge pull request #72019 from CyrusNajmabadi/disableFlakeyTest
CyrusNajmabadi Feb 9, 2024
aa9a88c
Add missing dependencies (#72013)
mmitche Feb 9, 2024
98cdb15
Inline hints - do not produce tags if using lsp editor (#71985)
akhera99 Feb 9, 2024
daeef2d
Only request the necessary document and project in GraphBuilder.Popul…
ToddGrun Feb 9, 2024
9874926
Merge pull request #71981 from jasonmalinowski/fix-comments
jasonmalinowski Feb 9, 2024
77ac712
Merge remote-tracking branch 'upstream/main' into frozen3
CyrusNajmabadi Feb 9, 2024
40d34c8
Fix crash in 'remove unreachable code'
CyrusNajmabadi Feb 9, 2024
024f7ef
Fix null ref in convert-local-function
CyrusNajmabadi Feb 9, 2024
4357e19
Update
CyrusNajmabadi Feb 9, 2024
b2eaa8d
Reduce allocations in AbstractFormatEngine.Format (#72002)
ToddGrun Feb 9, 2024
ec9522b
Update
CyrusNajmabadi Feb 9, 2024
be5043b
Update
CyrusNajmabadi Feb 9, 2024
eef6927
Fix test
CyrusNajmabadi Feb 9, 2024
0b5b744
Merge pull request #72028 from CyrusNajmabadi/unreachableCrash
CyrusNajmabadi Feb 9, 2024
740cb44
Build bootstrap compiler in separate phase (#72001)
jaredpar Feb 9, 2024
43c78c7
Merge pull request #71976 from CyrusNajmabadi/frozen3
CyrusNajmabadi Feb 9, 2024
03a5476
Merge pull request #72029 from CyrusNajmabadi/convertLocalFunctionCrash
CyrusNajmabadi Feb 9, 2024
786333b
Fix crash with convert to record
CyrusNajmabadi Feb 9, 2024
119a140
Add argument check to help track down a crash
CyrusNajmabadi Feb 9, 2024
48ece0b
fix
CyrusNajmabadi Feb 9, 2024
e285c37
Merge pull request #72038 from CyrusNajmabadi/argCheck
CyrusNajmabadi Feb 10, 2024
2fa19b0
Merge pull request #72037 from CyrusNajmabadi/convertRecordCrash
CyrusNajmabadi Feb 10, 2024
18852b8
Merge remote-tracking branch 'dotnet/main' into ParamsCollections_20
AlekseyTs Feb 10, 2024
25414ee
Update test according to changes in ParamsCollections branch
AlekseyTs Feb 10, 2024
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: 2 additions & 0 deletions NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
<add key="dotnet7-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7-transport/nuget/v3/index.json" />
<add key="dotnet8" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json" />
<add key="dotnet8-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8-transport/nuget/v3/index.json" />
<add key="dotnet9" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json" />
<add key="dotnet9-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9-transport/nuget/v3/index.json" />
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
<add key="dotnet-libraries" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries/nuget/v3/index.json" />
<add key="dotnet-libraries-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries-transport/nuget/v3/index.json" />
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines-integration-corehost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ parameters:
- name: queueName
displayName: Queue Name
type: string
default: windows.vs2022preview.amd64.open
default: windows.vs2022preview.scout.amd64.open
values:
- windows.vs2022.amd64.open
- windows.vs2022.scout.amd64.open
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ parameters:
- name: queueName
displayName: Queue Name
type: string
default: windows.vs2022preview.amd64.open
default: windows.vs2022preview.scout.amd64.open
values:
- windows.vs2022.amd64.open
- windows.vs2022.scout.amd64.open
Expand Down
15 changes: 8 additions & 7 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,10 @@ stages:
steps:
- template: eng/pipelines/checkout-windows-task.yml

- script: eng/test-determinism.cmd -configuration Debug
- script: eng/make-bootstrap.cmd -name determinism
displayName: Build Bootstrap Compiler

- script: eng/test-determinism.cmd -configuration Debug -bootstrapDir $(Build.SourcesDirectory)/artifacts/bootstrap/determinism
displayName: Build - Validate determinism

- template: eng/pipelines/publish-logs.yml
Expand All @@ -445,12 +448,11 @@ stages:
steps:
- template: eng/pipelines/build-bootstrap.yml
parameters:
bootstrapName: Default
bootstrapToolset: AnyCpu
toolset: Default

- job: Correctness_Bootstrap_Build_Framework
dependsOn: Determine_Changes
condition: ne(variables['Build.Reason'], 'Pull Request')
condition: ne(variables['Build.Reason'], 'PullRequest')
pool: ${{ parameters.vs2022PreviewPool }}
timeoutInMinutes: 90
variables:
Expand All @@ -460,8 +462,7 @@ stages:
steps:
- template: eng/pipelines/build-bootstrap.yml
parameters:
bootstrapName: Framework
bootstrapToolset: Framework
toolset: Framework

- job: Correctness_TodoCheck
pool: ${{ parameters.ubuntuPool }}
Expand All @@ -484,7 +485,7 @@ stages:
steps:
- template: eng/pipelines/checkout-windows-task.yml

- powershell: .\eng\test-rebuild.ps1 -ci -configuration Release
- script: .\eng\test-rebuild.cmd -ci -configuration Release -bootstrap
displayName: Run BuildValidator

- task: PublishBuildArtifacts@1
Expand Down
2 changes: 1 addition & 1 deletion docs/Language Feature Status.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ efforts behind them.
| [Roles/Extensions](https://github.com/dotnet/csharplang/issues/5497) | [roles](https://github.com/dotnet/roslyn/tree/features/roles) | [In Progress](https://github.com/dotnet/roslyn/issues/66722) | [jcouv](https://github.com/jcouv) | [AlekseyTs](https://github.com/AlekseyTs), [jjonescz](https://github.com/jjonescz) | | [MadsTorgersen](https://github.com/MadsTorgersen) |
| [Escape character](https://github.com/dotnet/csharplang/issues/7400) | N/A | [In Progress](https://github.com/dotnet/roslyn/pull/70497) | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) | [jcouv](https://github.com/jcouv), [RikkiGibson](https://github.com/RikkiGibson) | | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) |
| [Method group natural type improvements](https://github.com/dotnet/csharplang/blob/main/proposals/method-group-natural-type-improvements.md) | main | In Progress | [jcouv](https://github.com/jcouv) | [AlekseyTs](https://github.com/AlekseyTs), [cston](https://github.com/cston) | | [jcouv](https://github.com/jcouv) |
| [Native lock](https://github.com/dotnet/csharplang/issues/7104) | main | [In Progress](https://github.com/dotnet/roslyn/pull/71716) | [jjonescz](https://github.com/jjonescz) | [cston](https://github.com/cston), [RikkiGibson](https://github.com/RikkiGibson) | | [stephentoub](https://github.com/stephentoub) |
| [`Lock` object](https://github.com/dotnet/csharplang/issues/7104) | [LockObject](https://github.com/dotnet/roslyn/tree/features/LockObject) | [In Progress](https://github.com/dotnet/roslyn/issues/71888) | [jjonescz](https://github.com/jjonescz) | [cston](https://github.com/cston), [RikkiGibson](https://github.com/RikkiGibson) | | [stephentoub](https://github.com/stephentoub) |
| Implicit indexer access in object initializers | main | [Merged into 17.9p3](https://github.com/dotnet/roslyn/pull/70649) | [jcouv](https://github.com/jcouv) | [AlekseyTs](https://github.com/AlekseyTs), [cston](https://github.com/cston) | | |

# C# 12.0
Expand Down
28 changes: 28 additions & 0 deletions docs/compilers/CSharp/Compiler Breaking Changes - DotNet 8.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# This document lists known breaking changes in Roslyn after .NET 7 all the way to .NET 8.

## Ref modifiers of dynamic arguments should be compatible with ref modifiers of corresponding parameters

***Introduced in Visual Studio 2022 version 17.10***

Ref modifiers of dynamic arguments should be compatible with ref modifiers of corresponding parameters
at compile time. This can cause an overload resolution involving dynamic arguments to fail at compile time
instead of runtime.

Previously, a mismatch was allowed at compile time, delaying the overload resolution failure to
runtime.

For example, the following code used to compile without an error, but was failing with
exception: "Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: The best overloaded method match for 'C.f(ref object)' has some invalid arguments"
It is going to produce a compilation error now.
```csharp
public class C
{
public void f(ref dynamic a)
{
}

public void M(dynamic d)
{
f(d); // error CS1620: Argument 1 must be passed with the 'ref' keyword
}
}
```

## Collection expression target type must have constructor and `Add` method

***Introduced in Visual Studio 2022 version 17.10***
Expand Down
4 changes: 3 additions & 1 deletion docs/contributing/Target Framework Strategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The roslyn repository produces components for a number of different products tha
- Source build: requires us to ship `$(NetCurrent)` and `$(NetPrevious)` in workspaces and below (presently `net9.0` and `net8.0` respectively)
- Visual Studio: requires us to ship `net472` for base IDE components and `$(NetVisualStudio)` (presently `net8.0`) for private runtime components.
- Visual Studio Code: expects us to ship against the same runtime as DevKit (presently `net7.0`) to avoid two runtime downloads.
- MSBuildWorkspace: requires to ship a process that must be usable on the lowest supported SDK (presently `net6.0`)

It is not reasonable for us to take the union of all TFM and multi-target every single project to them. That would add several hundred compilations to any build operation which would in turn negatively impact our developer throughput. Instead we attempt to use the TFM where needed. That keeps our builds smaller but increases complexity a bit as we end up shipping a mix of TFM for binaries across our layers.

Expand All @@ -22,7 +23,8 @@ Projects in our repository should include the following values in `<TargetFramew
4. `$(NetVSShared)`: code that needs to execute in both Visual Studio and VS Code but does not need to be source built.
5. `$(NetRoslynToolset)`: packages that ship the Roslyn toolset. The compiler often builds against multiple target frameworks. This property controls which of those frameworks are shipped in the toolset packages. This value will potentially change in source builds.
6. `$(NetRoslynAll)`: code, generally test utilities, that need to build for all .NET runtimes that we support.
7. `$(NetRoslyn)`:code that needs to execute on .NET but does not have any specific product deployment requirements. For example utilities that are used by our infra, compiler unit tests, etc ...
7. `$(NetRoslyn)`: code that needs to execute on .NET but does not have any specific product deployment requirements. For example utilities that are used by our infra, compiler unit tests, etc ...
8. `$(NetRoslynBuildHostNetCoreVersion)`: the target used for the .NET Core BuildHost process used by MSBuildWorkspace.

This properties `$(NetCurrent)`, `$(NetPrevious)` and `$(NetMinimum)` are not used in our project files because they change in ways that make it hard for us to maintain corect product deployments. Our product ships on VS and VS Code which are not captured by arcade `$(Net...)` macros. Further as the arcade properties change it's very easy for us to end up with duplicate entries in a `<TargetFarmeworks>` setting. Instead our repo uses the above values and when inside source build or VMR our properties are initialized with arcade properties.

Expand Down
44 changes: 24 additions & 20 deletions eng/Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<!-- Versions used by several individual references below -->
<RoslynDiagnosticsNugetPackageVersion>3.11.0-beta1.23364.2</RoslynDiagnosticsNugetPackageVersion>
<RoslynDiagnosticsNugetPackageVersion>3.11.0-beta1.24081.1</RoslynDiagnosticsNugetPackageVersion>
<MicrosoftCodeAnalysisNetAnalyzersVersion>8.0.0-preview.23468.1</MicrosoftCodeAnalysisNetAnalyzersVersion>
<MicrosoftCodeAnalysisTestingVersion>1.1.2-beta1.23411.1</MicrosoftCodeAnalysisTestingVersion>
<MicrosoftVisualStudioExtensibilityTestingVersion>0.1.187-beta</MicrosoftVisualStudioExtensibilityTestingVersion>
Expand All @@ -21,25 +21,28 @@
<MicrosoftWindowsDesktopAppRuntimePackagesVersion>8.0.0</MicrosoftWindowsDesktopAppRuntimePackagesVersion>
<xunitVersion>2.4.1</xunitVersion>
<SqliteVersion>2.1.0</SqliteVersion>
<MicrosoftVisualStudioExtensibilityVersion>17.9.43-preview-1</MicrosoftVisualStudioExtensibilityVersion>
</PropertyGroup>

<!--
MSBuild - need to use older packages when targeting net7.0 since the newer versions only support net472 and net8.0.
When tareting the latest .NET the version must also be lower or equal to one specified in
https://github.com/dotnet/sdk/blob/main/src/Layout/redist/minimumMSBuildVersion#L1
-->

<ItemGroup Condition="'$(DotnetBuildFromSource)' == 'true'">
<PackageVersion Include="Microsoft.Build" Version="17.3.2" />
<PackageVersion Include="Microsoft.Build.Framework" Version="17.3.2" />
<PackageVersion Include="Microsoft.Build.Tasks.Core" Version="17.3.2" />
</ItemGroup>
<ItemGroup Condition="'$(DotnetBuildFromSource)' != 'true' and '$(TargetFramework)' == 'net7.0'">

<ItemGroup Condition="'$(DotnetBuildFromSource)' != 'true' and '$(TargetFramework)' != 'net472'">
<PackageVersion Include="Microsoft.Build" Version="17.7.2" />
<PackageVersion Include="Microsoft.Build.Framework" Version="17.7.2" />
<PackageVersion Include="Microsoft.Build.Tasks.Core" Version="17.7.2" />
</ItemGroup>

<ItemGroup Condition="'$(DotnetBuildFromSource)' != 'true' and '$(TargetFramework)' != 'net7.0'">
<ItemGroup Condition="'$(DotnetBuildFromSource)' != 'true' and '$(TargetFramework)' == 'net472'">
<PackageVersion Include="Microsoft.Build" Version="17.9.0-preview-23551-05" />
<PackageVersion Include="Microsoft.Build.Framework" Version="17.9.0-preview-23551-05" />
<PackageVersion Include="Microsoft.Build.Tasks.Core" Version="17.9.0-preview-23551-05" />
Expand All @@ -54,8 +57,9 @@
<PackageVersion Include="Microsoft.VisualStudio.SDK" Version="17.9.35796-preview.1" />
<PackageVersion Include="Microsoft.Internal.VisualStudio.Shell.Framework" Version="17.9.35796-preview.1" />
<PackageVersion Include="Microsoft.ServiceHub.Client" Version="4.2.1017" />
<PackageVersion Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.9.2072-preview-3" />
<PackageVersion Include="Microsoft.VisualStudio.Extensibility.JsonGenerators.Sdk" Version="17.9.2072-preview-3" />
<PackageVersion Include="Microsoft.VisualStudio.Extensibility" Version="$(MicrosoftVisualStudioExtensibilityVersion)" />
<PackageVersion Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="$(MicrosoftVisualStudioExtensibilityVersion)" />
<PackageVersion Include="Microsoft.VisualStudio.Extensibility.JsonGenerators.Sdk" Version="$(MicrosoftVisualStudioExtensibilityVersion)" />
<PackageVersion Include="Microsoft.VSSDK.Debugger.VSDConfigTool" Version="17.0.1051901-preview" />
<PackageVersion Include="Microsoft.VisualStudio.ProjectSystem" Version="17.0.77-pre-g62a6cb5699" />
<PackageVersion Include="Microsoft.VisualStudio.Progression.CodeSchema" Version="15.8.27812-alpha" />
Expand Down Expand Up @@ -104,7 +108,7 @@
<PackageVersion Include="Microsoft.VisualStudio.Threading" Version="17.9.3-alpha" />
<PackageVersion Include="Microsoft.VisualStudio.Utilities.Internal" Version="16.3.56" />
<PackageVersion Include="Nerdbank.Streams" Version="2.10.69" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<PackageVersion Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" />
<PackageVersion Include="StreamJsonRpc" Version="2.17.9" />

<!-- TODO: workaround for https://github.com/dotnet/roslyn/issues/71377 -->
Expand Down Expand Up @@ -150,39 +154,39 @@
packages we will keep it untied to the RoslynDiagnosticsNugetPackageVersion we use for
other analyzers to ensure it stays on a release version.
-->
<PackageVersion Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" />
<PackageVersion Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0-preview.23468.1" />
<PackageVersion Include="Microsoft.CodeAnalysis.Analyzers" Version="$(MicrosoftCodeAnalysisAnalyzersVersion)" />
<PackageVersion Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="$(MicrosoftCodeAnalysisNetAnalyzersVersion)" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.CodeStyle" Version="$(CodeStyleAnalyzerVersion)" />
<PackageVersion Include="Microsoft.CodeAnalysis.VisualBasic.CodeStyle" Version="$(CodeStyleAnalyzerVersion)" />
<PackageVersion Include="Microsoft.CodeAnalysis.AnalyzerUtilities" Version="3.3.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.AnalyzerUtilities" Version="$(MicrosoftCodeAnalysisAnalyzerUtilitiesVersion)" />
<PackageVersion Include="Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers" Version="3.3.4-beta1.22504.1" />

<!--
Framework
-->
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="7.0.0" />
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="$(MicrosoftBclAsyncInterfacesVersion)" />
<PackageVersion Include="Microsoft.CSharp" Version="4.7.0" />
<PackageVersion Include="Microsoft.VisualBasic" Version="10.3.0" />
<PackageVersion Include="Microsoft.DiaSymReader" Version="2.0.0" />
<PackageVersion Include="Microsoft.DiaSymReader" Version="$(MicrosoftDiaSymReaderVersion)" />
<PackageVersion Include="Microsoft.DiaSymReader.Native" Version="17.0.0-beta1.21524.1" />
<PackageVersion Include="Microsoft.DiaSymReader.PortablePdb" Version="1.7.0-beta-21528-01" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
<PackageVersion Include="Microsoft.Extensions.Logging" Version="7.0.0" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.0" />
<PackageVersion Include="Microsoft.Extensions.Logging.Console" Version="7.0.0" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="$(MicrosoftExtensionsDependencyInjectionVersion)" />
<PackageVersion Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsLoggingVersion)" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="$(MicrosoftExtensionsLoggingAbstractionsVersion)" />
<PackageVersion Include="Microsoft.Extensions.Logging.Console" Version="$(MicrosoftExtensionsLoggingConsoleVersion)" />
<PackageVersion Include="Microsoft.Internal.Performance.CodeMarkers.DesignTime" Version="15.8.27812-alpha" />
<PackageVersion Include="Microsoft.NETFramework.ReferenceAssemblies.net472" Version="1.0.3" />
<PackageVersion Include="Microsoft.NETFramework.ReferenceAssemblies.net461" Version="1.0.3" />
<PackageVersion Include="Microsoft.NETFramework.ReferenceAssemblies.net451" Version="1.0.3" />
<PackageVersion Include="Microsoft.NETFramework.ReferenceAssemblies.net40" Version="1.0.3" />
<PackageVersion Include="Microsoft.NETFramework.ReferenceAssemblies.net20" Version="1.0.3" />
<PackageVersion Include="System.Buffers" Version="4.5.1" />
<PackageVersion Include="System.CommandLine" Version="2.0.0-beta4.23407.1" />
<PackageVersion Include="System.CommandLine" Version="$(SystemCommandLineVersion)" />
<PackageVersion Include="System.Configuration.ConfigurationManager" Version="7.0.0" />
<PackageVersion Include="System.Composition" Version="7.0.0" />
<PackageVersion Include="System.Composition" Version="$(SystemCompositionVersion)" />
<PackageVersion Include="System.ComponentModel.Composition" Version="7.0.0" />
<PackageVersion Include="System.IO.Hashing" Version="8.0.0" />
<PackageVersion Include="System.IO.Pipelines" Version="7.0.0" />
<PackageVersion Include="System.IO.Pipelines" Version="$(SystemIOPipelinesVersion)" />
<PackageVersion Include="System.IO.Pipes.AccessControl" Version="5.0.0" />
<PackageVersion Include="System.Memory" Version="4.5.5" />
<PackageVersion Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0" />
Expand All @@ -205,7 +209,7 @@
<PackageVersion Include="System.Reflection.Metadata" Version="$(SystemReflectionMetadataVersion)" />

<!-- Note: When updating SystemTextJsonVersion ensure that the version is no higher than what is used by MSBuild. -->
<PackageVersion Include="System.Text.Json" Version="7.0.3" />
<PackageVersion Include="System.Text.Json" Version="$(SystemTextJsonVersion)" />

<!-- Note: When updating SystemTextJsonVersion ensure that the version is no higher than what is used by MSBuild. -->
<PackageVersion Include="System.Threading.Channels" Version="7.0.0" />
Expand Down
Loading
Loading