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

Snap for 17.12 P3 #75273

Merged
merged 576 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
576 commits
Select commit Hold shift + click to select a range
8e19a10
Fix
CyrusNajmabadi Aug 29, 2024
2cadd1c
Simplify
CyrusNajmabadi Aug 29, 2024
c39d594
Merge pull request #74933 from mgoertz-msft/dev/mgoertz/color
dibarbet Aug 29, 2024
d8786e3
Merge pull request #74942 from CyrusNajmabadi/removeFolder
CyrusNajmabadi Aug 29, 2024
5349b2b
WithCancellation
CyrusNajmabadi Aug 29, 2024
268b43e
Don't have the syncer actually cause the remote side to be created
CyrusNajmabadi Aug 29, 2024
1787d41
Ensure cancellation is synchronous
CyrusNajmabadi Aug 29, 2024
64ba4d8
Simpler
CyrusNajmabadi Aug 29, 2024
f58fdda
Break into parts
CyrusNajmabadi Aug 29, 2024
a6f7559
Update src/VisualStudio/Core/Def/Remote/VisualStudioRemoteHostClientP…
CyrusNajmabadi Aug 29, 2024
11e97be
Update src/Workspaces/Remote/ServiceHub/Services/ProcessTelemetry/Rem…
CyrusNajmabadi Aug 29, 2024
95bd317
Simplify
CyrusNajmabadi Aug 29, 2024
c824c47
Simplify
CyrusNajmabadi Aug 29, 2024
8036f30
Simplify
CyrusNajmabadi Aug 29, 2024
fb5489a
Simplify
CyrusNajmabadi Aug 29, 2024
642af4d
Simplify
CyrusNajmabadi Aug 29, 2024
ccbc6ea
Simplify
CyrusNajmabadi Aug 29, 2024
281b383
Wrap
CyrusNajmabadi Aug 29, 2024
f4809a3
REvert
CyrusNajmabadi Aug 29, 2024
2834b34
REvert
CyrusNajmabadi Aug 29, 2024
ea415c3
REvert
CyrusNajmabadi Aug 29, 2024
2c190c4
REvert
CyrusNajmabadi Aug 29, 2024
bcaf720
REvert
CyrusNajmabadi Aug 29, 2024
3c4758f
REvert
CyrusNajmabadi Aug 29, 2024
253c5b6
REvert
CyrusNajmabadi Aug 29, 2024
014e61c
REvert
CyrusNajmabadi Aug 29, 2024
37a19ab
Simplify
CyrusNajmabadi Aug 29, 2024
10f9b1e
Field-backed properties: readonly backing field (#74922)
cston Aug 29, 2024
5b96069
Add optional value
Cosifne Aug 30, 2024
1d49eb0
Merge pull request #74944 from CyrusNajmabadi/waitForLoad
CyrusNajmabadi Aug 30, 2024
2805273
Merge pull request #74948 from CyrusNajmabadi/synchronousCancel
CyrusNajmabadi Aug 30, 2024
a4aa0b7
Merge branch 'main' into mergeMainIntoField
CyrusNajmabadi Aug 30, 2024
a68093b
Merge remote-tracking branch 'upstream/main' into mergeMainIntoField
CyrusNajmabadi Aug 30, 2024
a61e789
Add 'field' keyword recommender
CyrusNajmabadi Aug 30, 2024
17c6298
Docs
CyrusNajmabadi Aug 30, 2024
fbb9634
Simplify
CyrusNajmabadi Aug 30, 2024
9907b79
Collection expressions: use conversion to check for ICollection<T> fo…
cston Aug 30, 2024
e9152c0
Fixes
CyrusNajmabadi Aug 30, 2024
62270ae
Simplify
CyrusNajmabadi Aug 30, 2024
d4a3602
Add tests
CyrusNajmabadi Aug 30, 2024
ea16097
classification
CyrusNajmabadi Aug 30, 2024
b26088a
in progress
CyrusNajmabadi Aug 30, 2024
9ab0ffe
Merge pull request #74955 from CyrusNajmabadi/mergeMainIntoField
CyrusNajmabadi Aug 30, 2024
1f21f90
in progress
CyrusNajmabadi Aug 30, 2024
ca4f838
fix
CyrusNajmabadi Aug 30, 2024
f126e91
Move more
CyrusNajmabadi Aug 30, 2024
e21071f
in progress
CyrusNajmabadi Aug 30, 2024
80882c1
Fix layering
CyrusNajmabadi Aug 30, 2024
0ee9423
Fixes
CyrusNajmabadi Aug 30, 2024
de44b14
Tests
CyrusNajmabadi Aug 30, 2024
0304ab1
Tests
CyrusNajmabadi Aug 30, 2024
3de525a
More tests
CyrusNajmabadi Aug 30, 2024
5549b10
More tests
CyrusNajmabadi Aug 30, 2024
d385a5f
More tests
CyrusNajmabadi Aug 30, 2024
7a4dacb
More tests
CyrusNajmabadi Aug 30, 2024
e9a4f91
Fix tests
CyrusNajmabadi Aug 30, 2024
08b50e8
Merge pull request #74956 from CyrusNajmabadi/recommendField2
CyrusNajmabadi Aug 30, 2024
c5d6d27
building
CyrusNajmabadi Aug 30, 2024
efe946f
share code
CyrusNajmabadi Aug 30, 2024
02b9a11
Remoive
CyrusNajmabadi Aug 30, 2024
8f1bbea
Remoive
CyrusNajmabadi Aug 30, 2024
743d0ce
Remoive
CyrusNajmabadi Aug 30, 2024
20e8927
Remoive
CyrusNajmabadi Aug 30, 2024
2dee181
Remoive
CyrusNajmabadi Aug 30, 2024
8f32abb
Remoive
CyrusNajmabadi Aug 30, 2024
080e217
Remoive
CyrusNajmabadi Aug 30, 2024
cd81fe7
Update src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/Wor…
CyrusNajmabadi Aug 30, 2024
6e25f38
ublblock
CyrusNajmabadi Aug 30, 2024
1ecf196
Update PublishData after vs snap
dibarbet Aug 30, 2024
7f4f21c
Use ignore case to fix analyzer reloadong in devkit
dibarbet Aug 30, 2024
2932b83
Update PublishData.json
dibarbet Aug 30, 2024
291b5df
Merge pull request #74961 from dotnet/dibarbet-patch-1
dibarbet Aug 30, 2024
a4822c7
Merge pull request #74963 from dibarbet/fix_analyzer_reloading_devkit
dibarbet Aug 31, 2024
cb6ef38
Add ProjectInfo.WithId public API (#74664)
tmat Aug 31, 2024
8e763eb
Fix
CyrusNajmabadi Aug 31, 2024
ac1968d
Add NFW tracking to Solution.RemoveProjectReference (#74965)
ToddGrun Aug 31, 2024
5cba0ce
Merge pull request #74958 from CyrusNajmabadi/codeStyle
CyrusNajmabadi Aug 31, 2024
b19ecd7
Move to the real System.ValueTuple ref (#74936)
jaredpar Sep 2, 2024
935befe
Allow ref enumerators in async/iterator methods (#74800)
jjonescz Sep 2, 2024
c6a0795
Optimize single spread collection expression for `List<T>` (#74769)
DoctorKrolic Sep 3, 2024
5b1d55d
Expose Go To Impl and Spell Check to Razor
davidwengier Sep 3, 2024
4619ed7
Partial properties: duplicate membersByName before merging accessors …
cston Sep 3, 2024
3bd322d
[main] Update dependencies from dotnet/arcade (#74835)
dotnet-maestro[bot] Sep 3, 2024
a59061f
Revert "Load analyzers and generators in isolated ALCs in our OOP pro…
333fred Sep 4, 2024
077642f
Merge pull request #74978 from davidwengier/CohostImplemenationAndSpe…
davidwengier Sep 4, 2024
82ea19e
Mark "ref struct interfaces" as shipped in C# 13 (#74991)
jcouv Sep 4, 2024
9fbfe9f
Merge pull request #74985 from dotnet/revert-74780-isolatedALC
333fred Sep 4, 2024
7831d50
Ignore workspaces that do not have IEditAndContinueWorkspaceService (…
tmat Sep 4, 2024
979d7b2
Find first potential editorconfig when trying to synchronize (#74986)
ryzngard Sep 4, 2024
9f86520
Avoid BuildHost crash in Mono due to missing types (#74994)
jaredpar Sep 5, 2024
3b7995d
Remove toolset compiler workarounds (#74990)
jjonescz Sep 5, 2024
71134f1
Re-enable double-to-integer conversion tests (#74980)
jjonescz Sep 5, 2024
07d7a21
Fix typo incremental-generators.cookbook.md (#74642)
elisauhura Sep 5, 2024
2ff1a47
Fixup partial property API usage (#74951)
RikkiGibson Sep 5, 2024
8ce8103
Remove debug-only assert method (#74996)
333fred Sep 5, 2024
1ac3ea0
Fix exception case in compiler resolver (#75000)
jaredpar Sep 5, 2024
d662cde
[main] Update dependencies from dotnet/arcade (#74988)
dotnet-maestro[bot] Sep 5, 2024
fa052dc
cleanup
olegtk Sep 5, 2024
43fbad7
CodeQL suppressions (#75003)
jaredpar Sep 5, 2024
6ad9d42
Fix IOperation debugging experience (#74997)
jjonescz Sep 6, 2024
1ce264c
Test attribute function pointer execution on net9 (#74999)
jjonescz Sep 6, 2024
139f845
Remove the cancellation token from the calculation of InProgressState…
ToddGrun Sep 6, 2024
8ea8ce9
fix unit test
olegtk Sep 6, 2024
f71c569
Make sure the solution snapshot has all source-generated documents up…
tmat Sep 6, 2024
fa7bb6d
Convert RudeEditDiagnostic to Diagnostic in EmitSolutionUpdateAsync
tmat Sep 7, 2024
bd5c00e
Fix typo in ProjectCodeModelFactory.ProcessNextDocumentBatchAsync (#7…
ToddGrun Sep 8, 2024
80c329b
Preserve trailing trivia when replacing method with property
Sep 9, 2024
b449a7c
Preserve trailing trivia when replacing method with property
Sep 9, 2024
bbcec65
Merge pull request #75027 from Orachor/missing-eol
CyrusNajmabadi Sep 9, 2024
2985e58
Use numbered lists in `IOperation` documentation (#75016)
DoctorKrolic Sep 9, 2024
dca25b1
Use ordinal ignore case for opening pdb source documents
dibarbet Sep 9, 2024
fd1cc2d
Merge pull request #75030 from dibarbet/fix_comparison
dibarbet Sep 9, 2024
059bf86
Make LSP conversion methods static
davidwengier Sep 10, 2024
61469cc
Move helper methods to ProtocolConversions
davidwengier Sep 10, 2024
8ff1ae3
Promote the single bool out of capabilities, and doc
davidwengier Sep 10, 2024
a69841b
Handle infinite cycles through params collection initializers (#74899)
jjonescz Sep 10, 2024
85ec699
Report source generator failures in Hot Reload diagnostics (#75029)
tmat Sep 10, 2024
d975a01
Expose sourcelink option to VSCode
dibarbet Sep 10, 2024
e731081
Fix issue where closing sourcelink document threw if not opened
dibarbet Sep 10, 2024
59b5770
Fix error opening the same sourcelink file
dibarbet Sep 10, 2024
7274c18
Merge pull request #75044 from dibarbet/expose_source_link_option
dibarbet Sep 10, 2024
3bfa347
Field-backed properties: support partial properties with auto-impleme…
cston Sep 10, 2024
3aa6e3b
Merge pull request #75046 from dibarbet/fix_sourcelink_not_opened
dibarbet Sep 10, 2024
aaa2668
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Sep 11, 2024
dc87898
Update comment
davidwengier Sep 11, 2024
3f63a01
Allow access to Roslyn diagnostics from Razor
davidwengier Sep 11, 2024
9941c1f
Allow suppressing nullability warnings in more ref scenarios (#74498)
jjonescz Sep 11, 2024
6de8947
Remove MS.CA.Test.Resources.Proprietary PackageReference (#75037)
jaredpar Sep 11, 2024
21efe0e
Configure release/vscode branch for nuget publishing
dibarbet Sep 11, 2024
7b75058
Semantic snippets: handle case with inline statement snippets before …
DoctorKrolic Sep 11, 2024
d25d215
Fix preview refresh on selection for enum flags checkboxes
dibarbet Sep 11, 2024
fcafea5
Merge pull request #75053 from dibarbet/fix_preview_checkbox
dibarbet Sep 11, 2024
dbe7583
Merge pull request #75059 from dotnet/dibarbet-patch-1
dibarbet Sep 11, 2024
58da55d
Add a test observing lack of an issue. (#75057)
AlekseyTs Sep 11, 2024
09ef0c0
docs: Correct SDK version in documentation to match global.json (#75038)
deepakrathore33 Sep 11, 2024
a453504
Merge branch 'main' of https://github.com/dotnet/roslyn into dev/oleg…
olegtk Sep 11, 2024
ece0b48
Lock translation of strings used to demonstrate identifier naming styles
JoeRobich Sep 12, 2024
0654505
Fix stack adjustment when emitting stackalloc (#75042)
jjonescz Sep 12, 2024
4889ef7
Log messages for Test Results
JoeRobich Sep 12, 2024
eaa213f
Merge pull request #75065 from dotnet/dev/jorobich/lock-translation
JoeRobich Sep 12, 2024
1803abf
Remove newlines between test run information sections
JoeRobich Sep 12, 2024
2149908
Remove additional Gitter link (#75086)
333fred Sep 12, 2024
82776b5
Include initial filter node when searching for nodes to order modifiers
dibarbet Sep 12, 2024
20376a8
Merge pull request #75084 from dotnet/dev/jorobich/more-test-logging
JoeRobich Sep 12, 2024
64ba034
Remove buggy IsPublic method from TypeAttributesExtensions (#75081)
akoeplinger Sep 12, 2024
32dd4cc
BindAttributeCore - use proper binder to avoid an attribute binding c…
AlekseyTs Sep 12, 2024
c737a04
Merge pull request #75092 from dibarbet/order_modifiers_vscode
dibarbet Sep 12, 2024
5dccb29
fix tests
olegtk Sep 13, 2024
814c61c
Move some emit tests from Emit2 to Emit3 to avoid hitting UserString …
tmat Sep 13, 2024
5a39d0a
Disallow ref assignment to ternary or another ref assignment (#75076)
jjonescz Sep 13, 2024
214d43a
Switch to new VMR control set (#75056)
mmitche Sep 13, 2024
483c6ad
Adjust an assert in EmitArgument (#75067)
AlekseyTs Sep 13, 2024
199c241
Fix typo in RequestTelemetryLogger.UpdateTelemetryData (#75050)
ToddGrun Sep 13, 2024
f2ac8ee
Use the latest version of ILasm and enable a test not supported by th…
AlekseyTs Sep 13, 2024
df4ae6b
Keep `try` syntax in async exception rewriting (#75070)
jcouv Sep 13, 2024
bb1ecd7
remove unused using
olegtk Sep 13, 2024
d3b0bf2
Avoid duplicate synthesized interface members (#73730)
jjonescz Sep 16, 2024
ecf750e
Remove some obsolete build properties (#75096)
mmitche Sep 16, 2024
5f81b82
fix button
aoyangyou Sep 16, 2024
cfcba06
Merge branch 'main' of https://github.com/aoyangyou/roslyn into dev/a…
aoyangyou Sep 16, 2024
876ea36
Merge pull request #75102 from davidwengier/RazorDiagnostics
davidwengier Sep 16, 2024
99c359f
add comments
aoyangyou Sep 16, 2024
7b7951a
Do not attempt to report EnC diagnostics for non-host workspaces (#75…
tmat Sep 16, 2024
c4203b8
ExcludeFromSourceBuild->ExcludeFromSourceOnlyBuild (#75136)
mmitche Sep 17, 2024
6a59e0f
Fix SyntaxFactory.XmlSeeAlsoElement href overloads (#75052)
bricelam Sep 17, 2024
149c24c
Exclude identifiers in misplaced attributes from identifier map (#75100)
jcouv Sep 17, 2024
fd9e6d3
Yield before performing Go To Definition work
sharwell Sep 17, 2024
657260b
Ignore irrelevant exceptions when reporting LSP server NFW
dibarbet Mar 11, 2024
7d45565
Use abstract refresh queue for semantic tokens
dibarbet Sep 17, 2024
a182892
Adjust IsMetadataVirtual assertion in MethodToClassRewriter (#75066)
jcouv Sep 17, 2024
2c8a815
Properly iterate through an inline array used as a spread element. (#…
AlekseyTs Sep 18, 2024
9fe9c65
Check for source only properties before tool restore (#75161)
mmitche Sep 18, 2024
77f8c13
Remove unnecessary NETCOREAPP3_1
JoeRobich Sep 19, 2024
f869d0f
Merge pull request #75164 from dotnet/JoeRobich-patch-1
JoeRobich Sep 19, 2024
2b40221
Fix the OOM error in scripting tests (#75163)
jaredpar Sep 19, 2024
3cc1b19
Use MSBuild globs to determine which file changes are relevant
dibarbet Sep 16, 2024
fcbf0e1
Fix test analyzer reference to create checksums properly
dibarbet Sep 19, 2024
37ba9ee
Test allocations (#75171)
jaredpar Sep 19, 2024
611b665
cleanup project file watcher
dibarbet Sep 19, 2024
05f09e1
Merge pull request #74903 from olegtk/dev/olegtk/BetterRenameContentE…
Cosifne Sep 19, 2024
78a6fed
Remove ResultId from RelatedDocumentsHandler
genlu Sep 19, 2024
0dd4ad7
Move Ref assemblies forward (#75173)
jaredpar Sep 19, 2024
4d21882
Merge pull request #75176 from genlu/removeResultId
genlu Sep 19, 2024
33f853a
Merge pull request #74953 from dotnet/dev/shech/makePrNumberAndCommit…
Cosifne Sep 20, 2024
7d088bc
More test allocation improvements (#75177)
jaredpar Sep 20, 2024
3380c3b
Merge pull request #75149 from sharwell/yield-before-work
sharwell Sep 20, 2024
d799b05
Merge pull request #75134 from aoyangyou/dev/aoyang/fixRenameButton
Cosifne Sep 20, 2024
433ae40
Better Collection Expression Conversion From Expression (#74993)
333fred Sep 20, 2024
4ec81cb
Add more better conversions tests (#75188)
333fred Sep 21, 2024
31d9464
Include workspace kind in error message for easier diagnostics (#75137)
tmat Sep 21, 2024
54fd790
Test EnC document diagnostics in non-host workspace (#75140)
tmat Sep 21, 2024
6da59e9
VisitCollectionBuilderCollectionExpression - Ensure target of a sprea…
AlekseyTs Sep 23, 2024
637b4e3
small fix
dibarbet Sep 23, 2024
5ef52ae
Merge pull request #75150 from dibarbet/connection_lost
dibarbet Sep 23, 2024
5aceebc
Field-backed properties: definite assignment (#75116)
cston Sep 23, 2024
ed773f3
Allow <code> in DocComments to render as a block in Hover response
JoeRobich Sep 24, 2024
fa6b731
Merge branch 'main' into merges/release/dev17.12-to-main
Cosifne Sep 24, 2024
3cb182f
Merge pull request #74848 from dotnet/merges/release/dev17.12-to-main
dotnet-bot Sep 24, 2024
03f4130
Fix null dereference in GetAssemblyReferenceAlias (#75094)
AlekseyTs Sep 24, 2024
14b8958
Add Hover test for code block in DocComments
JoeRobich Sep 24, 2024
bd5499a
Update src/LanguageServer/ProtocolUnitTests/Hover/HoverTests.cs
JoeRobich Sep 24, 2024
7b43a18
Fix regression of parsing `with` expression in conditional expression…
DoctorKrolic Sep 24, 2024
e5ab3f6
merge `allows ref struct` constraint and ref struct interfaces into o…
WeihanLi Sep 24, 2024
ea092b5
docs: fix C# 13 proposal link (#75207)
WeihanLi Sep 24, 2024
09052a0
Merge remote-tracking branch 'upstream/main' into features/field-keyword
cston Sep 24, 2024
2bb756e
Merge pull request #75227 from cston/field-merge-main
cston Sep 25, 2024
f1b2823
Field-backed properties: interface properties (#75219)
cston Sep 25, 2024
1c00142
Merge remote-tracking branch 'upstream/features/field-keyword' into main
cston Sep 25, 2024
acd83f7
Merge pull request #75215 from dotnet/dev/jorobich/fix-code-hover
JoeRobich Sep 25, 2024
4415d43
Do not simplify type name to a type with the EditorBrowsable attribut…
CyrusNajmabadi Sep 25, 2024
79b9490
Add workitem
CyrusNajmabadi Sep 25, 2024
00518a6
Including source
CyrusNajmabadi Sep 25, 2024
54cf613
Fix issue removing unnecessary cast in user defined interpolation han…
CyrusNajmabadi Sep 25, 2024
c69c5c5
Revert
CyrusNajmabadi Sep 25, 2024
788d7e6
Revert
CyrusNajmabadi Sep 25, 2024
8fd0208
NRT
CyrusNajmabadi Sep 25, 2024
4da55b7
Merge pull request #75139 from dibarbet/ignore_file_changes
dibarbet Sep 25, 2024
901e141
Merge pull request #75235 from CyrusNajmabadi/simplifyEditorBrowsable
CyrusNajmabadi Sep 25, 2024
c3b069a
Merge pull request #75236 from CyrusNajmabadi/interpolatedCast
CyrusNajmabadi Sep 25, 2024
196aa84
Fix crash in 'use collection initializer'
CyrusNajmabadi Sep 25, 2024
0a3a54b
Simplify
CyrusNajmabadi Sep 25, 2024
bdebb57
Merge pull request #75228 from cston/merge-field-keyword
cston Sep 25, 2024
9b173a8
Merge remote-tracking branch 'origin/main' into merges/release/dev17.…
JoeRobich Sep 26, 2024
1ed3c1b
Merge pull request #75225 from dotnet/merges/release/dev17.12-to-main
dotnet-bot Sep 26, 2024
80d8d73
Merge pull request #75251 from dotnet/merges/release/dev17.12-to-main
dotnet-bot Sep 26, 2024
06fccd5
Merge pull request #75242 from CyrusNajmabadi/useCollectionCrash
CyrusNajmabadi Sep 26, 2024
2f6b493
Updates content exclusion for on-the-fly-docs (#75172)
akhera99 Sep 26, 2024
dfdbecd
Preserve comment when converting to collection expression
CyrusNajmabadi Sep 26, 2024
ce4d56c
Disable use-expression-body for lambdas with PP directives in them
CyrusNajmabadi Sep 26, 2024
70cb1f8
Add work item
CyrusNajmabadi Sep 26, 2024
24691d1
Support converting to collection expression when overloads would not …
CyrusNajmabadi Sep 26, 2024
a38dc2c
Update src/Analyzers/CSharp/Analyzers/UseCollectionExpression/UseColl…
CyrusNajmabadi Sep 26, 2024
75c9dff
Revert
CyrusNajmabadi Sep 26, 2024
29222f1
Merge branch 'collectionOverload' of https://github.com/CyrusNajmabad…
CyrusNajmabadi Sep 26, 2024
a1e7a8c
Add test demonstrating a scenario now works
CyrusNajmabadi Sep 26, 2024
305d4f3
Fix completion lists in primary constructor parameter lists
CyrusNajmabadi Sep 26, 2024
f29fd07
Merge pull request #75261 from CyrusNajmabadi/lambdaExpressionBody
CyrusNajmabadi Sep 26, 2024
0b058f2
Upgrade xUnit (#75068)
jaredpar Sep 26, 2024
8d798b4
Merge pull request #75264 from CyrusNajmabadi/collectionOverload
CyrusNajmabadi Sep 26, 2024
e242567
Merge pull request #75265 from CyrusNajmabadi/addTest
CyrusNajmabadi Sep 26, 2024
e665f0d
Merge branch 'main' into primaryConstructorCompletion
CyrusNajmabadi Sep 26, 2024
dc21958
Short term field keyword nullable analysis (#75246)
RikkiGibson Sep 26, 2024
0815c1a
Add telemetry
Cosifne Sep 26, 2024
56755eb
Change value to 672
Cosifne Sep 26, 2024
f0405bc
Remove comma
Cosifne Sep 26, 2024
3414f2b
Prevent IDE0290 (convert to primary constructor) in ref struct (#73869)
GiovanniBraconi Sep 26, 2024
b809320
Renames
CyrusNajmabadi Sep 26, 2024
08a8a44
Merge pull request #75259 from CyrusNajmabadi/useCollectionComment
CyrusNajmabadi Sep 26, 2024
607e864
Merge pull request #75269 from Cosifne/dev/shech/RenameOptionTelemtry
Cosifne Sep 26, 2024
e3d78dd
Merge pull request #75266 from CyrusNajmabadi/primaryConstructorCompl…
CyrusNajmabadi Sep 26, 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
  •  
  •  
  •  
15 changes: 14 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,19 @@ dotnet_public_api_analyzer.require_api_files = true
# Workaround for https://github.com/dotnet/roslyn/issues/70570
dotnet_diagnostic.IDE0055.severity = warning

# These xUnit analyzers were disabled temporarily to let us move to the
# new xUnit and get past several component governance issues. The
# following issue tracks enabling them
#
# https://github.com/dotnet/roslyn/issues/75093
dotnet_diagnostic.xUnit1012.severity = none
dotnet_diagnostic.xUnit1030.severity = none
dotnet_diagnostic.xUnit1031.severity = none
dotnet_diagnostic.xUnit2005.severity = none
dotnet_diagnostic.xUnit2020.severity = none
dotnet_diagnostic.xUnit2023.severity = none
dotnet_diagnostic.xUnit2029.severity = none

# CSharp code style settings:
[*.cs]
# Newline settings
Expand Down Expand Up @@ -300,4 +313,4 @@ dotnet_diagnostic.RS0057.severity = error
dotnet_diagnostic.RS0058.severity = error
dotnet_diagnostic.RS0059.severity = error
dotnet_diagnostic.RS0060.severity = error
dotnet_diagnostic.RS0061.severity = error
dotnet_diagnostic.RS0061.severity = error
33 changes: 17 additions & 16 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,6 @@
"problemMatcher": "$msCompile",
"group": "build"
},
{
"label": "build with analyzers",
"command": "./build.sh",
"type": "shell",
"args": [
"--runAnalyzers"
],
"windows": {
"command": "${workspaceFolder}/build.cmd",
"args": [
"-runAnalyzers"
],
},
"problemMatcher": "$msCompile",
"group": "build"
},
{
"label": "build csc",
"command": "dotnet",
Expand All @@ -49,6 +33,7 @@
"msbuild",
"-p:RunAnalyzersDuringBuild=false",
"-p:GenerateFullPaths=true",
"-tl:off",
"src/Compilers/CSharp/csc/AnyCpu/csc.csproj"
],
"problemMatcher": "$msCompile",
Expand All @@ -62,6 +47,7 @@
"build",
"-p:RunAnalyzersDuringBuild=false",
"-p:GenerateFullPaths=true",
"-tl:off",
"Compilers.slnf"
],
"problemMatcher": "$msCompile",
Expand All @@ -75,6 +61,21 @@
"build",
"-p:RunAnalyzersDuringBuild=false",
"-p:GenerateFullPaths=true",
"-tl:off",
"Roslyn.sln"
],
"problemMatcher": "$msCompile",
"group": "build"
},
{
"label": "build Roslyn.sln with analyzers",
"command": "dotnet",
"type": "shell",
"args": [
"build",
"-p:RunAnalyzersDuringBuild=true",
"-p:GenerateFullPaths=true",
"-tl:off",
"Roslyn.sln"
],
"problemMatcher": "$msCompile",
Expand Down
3 changes: 1 addition & 2 deletions Directory.Build.rsp
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# Workaround for https://github.com/dotnet/sdk/issues/41791
-p:_IsDisjointMSBuildVersion=false
# This file intentionally left blank to avoid accidental import during build.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ If you are interested in fixing issues and contributing directly to the code bas

The Roslyn community can be found on [GitHub Discussions](https://github.com/dotnet/roslyn/discussions), where you can ask questions, voice ideas, and share your projects.

To chat with other community members, you can join the Roslyn [Discord](https://discord.com/invite/tGJvv88) or [Gitter](https://gitter.im/dotnet/roslyn).
To chat with other community members, you can join the Roslyn channel on the [CSharp Community Discord](https://discord.com/invite/tGJvv88).

Our [Code of Conduct](CODE-OF-CONDUCT.md) applies to all Roslyn community channels and has adopted the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).

Expand Down
8 changes: 4 additions & 4 deletions azure-pipelines-integration-dartlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ resources:
parameters:
- name: prNumber
type: string
default: ''
default: 'None'
- name: sha
type: string
default: ''
default: 'None'

variables:
- name: XUNIT_LOGS
Expand All @@ -41,7 +41,7 @@ variables:
value: true

stages:
- ${{ if ne(parameters.prNumber, '') }}:
- ${{ if ne(parameters.prNumber, 'None') }}:
- stage: GitHubCommentFirst
jobs:
- job: GitHubCommentFirstJob
Expand Down Expand Up @@ -98,7 +98,7 @@ stages:
lspEditor: false
skipCheckout: true

- ${{ if ne(parameters.prNumber, '') }}:
- ${{ if ne(parameters.prNumber, 'None') }}:
- stage: GitHubCommentCompleted
condition: always()
dependsOn: VSIntegration
Expand Down
7 changes: 0 additions & 7 deletions azure-pipelines-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,7 @@ schedules:
always: true # Run even if there have been no source code changes since the last successful scheduled run
batch: false # Do not run the pipeline if the previously scheduled run is in-progress

# The variables `_DotNetArtifactsCategory` and `_DotNetValidationArtifactsCategory` are required for proper publishing of build artifacts. See https://github.com/dotnet/roslyn/pull/38259
variables:
- name: _DotNetArtifactsCategory
value: .NETCore
- name: _DotNetValidationArtifactsCategory
value: .NETCoreValidation
- group: DotNet-Roslyn-SDLValidation-Params
- name: Codeql.Enabled
value: true
Expand Down Expand Up @@ -308,8 +303,6 @@ extends:
/p:RepositoryName=$(Build.Repository.Name)
/p:VisualStudioDropName=$(VisualStudio.DropName)
/p:DotNetSignType=$(SignType)
/p:PublishToSymbolServer=true
/p:DotNetArtifactsCategory=$(_DotNetArtifactsCategory)
/p:DotnetPublishUsingPipelines=true
/p:IgnoreIbcMergeErrors=true
/p:GenerateSbom=true
Expand Down
7 changes: 0 additions & 7 deletions azure-pipelines-pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,7 @@ parameters:
type: boolean
default: false

# The variables `_DotNetArtifactsCategory` and `_DotNetValidationArtifactsCategory` are required for proper publishing of build artifacts. See https://github.com/dotnet/roslyn/pull/38259
variables:
- name: _DotNetArtifactsCategory
value: .NETCore
- name: _DotNetValidationArtifactsCategory
value: .NETCoreValidation
- group: DotNet-Roslyn-SDLValidation-Params
- group: DotNet-Roslyn-Insertion-Variables
- name: Codeql.Enabled
Expand Down Expand Up @@ -253,8 +248,6 @@ extends:
/p:RepositoryName=$(Build.Repository.Name)
/p:VisualStudioDropName=$(VisualStudio.DropName)
/p:DotNetSignType=$(SignType)
/p:PublishToSymbolServer=true
/p:DotNetArtifactsCategory=$(_DotNetArtifactsCategory)
/p:DotnetPublishUsingPipelines=true
/p:IgnoreIbcMergeErrors=true
/p:GenerateSbom=true
Expand Down
2 changes: 2 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,8 @@ stages:
- powershell: eng/build.ps1 -configuration Release -prepareMachine -ci -build -pack -publish -sign -binaryLogName Build.binlog /p:DotnetPublishUsingPipelines=true
displayName: Build

# While this task is not executed in the official build, this serves as a PR check for whether symbol exclusions
# are properly set up.
- task: PowerShell@2
displayName: Publish Symbols Dry-Run
inputs:
Expand Down
10 changes: 5 additions & 5 deletions docs/Language Feature Status.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@ efforts behind them.
| Feature | Branch | State | Developer | Reviewer | IDE Buddy | LDM Champ |
| ------- | ------ | ----- | --------- | -------- | --------- | --------- |
| [First-class Span Types](https://github.com/dotnet/csharplang/issues/7905) | [FirstClassSpan](https://github.com/dotnet/roslyn/tree/features/FirstClassSpan) | [In Progress](https://github.com/dotnet/roslyn/issues/73445) | [jjonescz](https://github.com/jjonescz) | [cston](https://github.com/cston), [333fred](https://github.com/333fred) | | [333fred](https://github.com/333fred), [stephentoub](https://github.com/stephentoub) |
| [Semi-auto-properties](https://github.com/dotnet/csharplang/issues/140) | [semi-auto-props](https://github.com/dotnet/roslyn/tree/features/semi-auto-props) | [In Progress](https://github.com/dotnet/roslyn/issues/57012) | [Youssef1313](https://github.com/Youssef1313) | [333fred](https://github.com/333fred), [RikkiGibson](https://github.com/RikkiGibson) | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) |
| [`field` keyword in properties](https://github.com/dotnet/csharplang/issues/140) | [field-keyword](https://github.com/dotnet/roslyn/tree/features/field-keyword) | [In Progress](https://github.com/dotnet/roslyn/issues/57012) | [Youssef1313](https://github.com/Youssef1313), [cston](https://github.com/cston) | [333fred](https://github.com/333fred), [RikkiGibson](https://github.com/RikkiGibson) | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) |
| [Default in deconstruction](https://github.com/dotnet/roslyn/pull/25562) | [decon-default](https://github.com/dotnet/roslyn/tree/features/decon-default) | [In Progress](https://github.com/dotnet/roslyn/issues/25559) | [jcouv](https://github.com/jcouv) | [gafter](https://github.com/gafter) | | [jcouv](https://github.com/jcouv) |
| [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) | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) | [MadsTorgersen](https://github.com/MadsTorgersen) |
| [Ref Struct Interfaces](https://github.com/dotnet/csharplang/issues/7608) | [RefStructInterfaces](https://github.com/dotnet/roslyn/tree/features/RefStructInterfaces) | [Merged into 17.11p2](https://github.com/dotnet/roslyn/issues/72124) | [AlekseyTs](https://github.com/AlekseyTs) | [cston](https://github.com/cston), [jjonescz](https://github.com/jjonescz) | [ToddGrun](https://github.com/ToddGrun) | [agocke](https://github.com/agocke), [jaredpar](https://github.com/jaredpar) |

# C# 13.0

| Feature | Branch | State | Developer | Reviewer | IDE Buddy | LDM Champ |
| ------- | ------ | ----- | --------- | -------- | --------- | --------- |
| [Escape character](https://github.com/dotnet/csharplang/issues/7400) | N/A | [Merged into 17.9p1](https://github.com/dotnet/roslyn/pull/70497) | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) | [jcouv](https://github.com/jcouv), [RikkiGibson](https://github.com/RikkiGibson) | (no IDE impact) | [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 | [Merged into 17.9p2](https://github.com/dotnet/roslyn/issues/69432) | [jcouv](https://github.com/jcouv) | [AlekseyTs](https://github.com/AlekseyTs), [cston](https://github.com/cston) | (no IDE impact) | [jcouv](https://github.com/jcouv) |
| [Method group natural type improvements](https://github.com/dotnet/csharplang/blob/main/proposals/csharp-13.0/method-group-natural-type-improvements.md) | main | [Merged into 17.9p2](https://github.com/dotnet/roslyn/issues/69432) | [jcouv](https://github.com/jcouv) | [AlekseyTs](https://github.com/AlekseyTs), [cston](https://github.com/cston) | (no IDE impact) | [jcouv](https://github.com/jcouv) |
| [`Lock` object](https://github.com/dotnet/csharplang/issues/7104) | [LockObject](https://github.com/dotnet/roslyn/tree/features/LockObject) | [Merged into 17.10p2](https://github.com/dotnet/roslyn/issues/71888) | [jjonescz](https://github.com/jjonescz) | [cston](https://github.com/cston), [RikkiGibson](https://github.com/RikkiGibson) | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) (needs IDE fixer) | [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) | (no IDE impact) | |
| [Params-collections](https://github.com/dotnet/csharplang/issues/7700) | main | [Merged to 17.10p3](https://github.com/dotnet/roslyn/issues/71137) | [AlekseyTs](https://github.com/AlekseyTs) | [RikkiGibson](https://github.com/RikkiGibson), [333fred](https://github.com/333fred) | [akhera99](https://github.com/akhera99) (needs IDE fixer) | [MadsTorgersen](https://github.com/MadsTorgersen), [AlekseyTs](https://github.com/AlekseyTs) |
| [Ref/unsafe in iterators/async](https://github.com/dotnet/csharplang/blob/main/proposals/ref-unsafe-in-iterators-async.md) | [RefInAsync](https://github.com/dotnet/roslyn/tree/features/RefInAsync) | [Merged into 17.11p2](https://github.com/dotnet/roslyn/issues/72662) | [jjonescz](https://github.com/jjonescz) | [AlekseyTs](https://github.com/AlekseyTs), [cston](https://github.com/cston) | (no IDE impact) | |
| [`allows ref struct` constraint](https://github.com/dotnet/csharplang/issues/7608) | [RefStructInterfaces](https://github.com/dotnet/roslyn/tree/features/RefStructInterfaces) | [Merged into 17.11p2](https://github.com/dotnet/roslyn/issues/72124) | [AlekseyTs](https://github.com/AlekseyTs) | [cston](https://github.com/cston), [jjonescz](https://github.com/jjonescz) | [ToddGrun](https://github.com/ToddGrun) | [agocke](https://github.com/agocke), [jaredpar](https://github.com/jaredpar) |
| [Ref/unsafe in iterators/async](https://github.com/dotnet/csharplang/blob/main/proposals/csharp-13.0/ref-unsafe-in-iterators-async.md) | [RefInAsync](https://github.com/dotnet/roslyn/tree/features/RefInAsync) | [Merged into 17.11p2](https://github.com/dotnet/roslyn/issues/72662) | [jjonescz](https://github.com/jjonescz) | [AlekseyTs](https://github.com/AlekseyTs), [cston](https://github.com/cston) | (no IDE impact) | |
| [Overload Resolution Priority](https://github.com/dotnet/csharplang/issues/7706) | main | [Merged to 17.12p1](https://github.com/dotnet/roslyn/issues/74131) | [333fred](https://github.com/333fred) | [jcouv](https://github.com/jcouv), [cston](https://github.com/cston) | Not yet assigned | [333fred](https://github.com/333fred) |
| [Partial properties](https://github.com/dotnet/csharplang/issues/6420) | [partial-properties](https://github.com/dotnet/roslyn/tree/features/partial-properties) | [Merged into 17.11p3](https://github.com/dotnet/roslyn/issues/73090) | [RikkiGibson](https://github.com/RikkiGibson) | [jcouv](https://github.com/jcouv), [333fred](https://github.com/333fred) | [Cosifne](https://github.com/Cosifne) | [333fred](https://github.com/333fred), [RikkiGibson](https://github.com/RikkiGibson) |
| [Ref Struct Interfaces/`allows ref struct` constraint](https://github.com/dotnet/csharplang/issues/7608) | [RefStructInterfaces](https://github.com/dotnet/roslyn/tree/features/RefStructInterfaces) | [Merged into 17.11p2](https://github.com/dotnet/roslyn/issues/72124) | [AlekseyTs](https://github.com/AlekseyTs) | [cston](https://github.com/cston), [jjonescz](https://github.com/jjonescz) | [ToddGrun](https://github.com/ToddGrun) | [agocke](https://github.com/agocke), [jaredpar](https://github.com/jaredpar) |
| [Collection expression better conversion from expression](https://github.com/dotnet/csharplang/issues/8374) | main | [Merged into 17.12p3](https://github.com/dotnet/roslyn/pull/74993) | [333fred](https://github.com/333fred) | [cston](https://github.com/cston), [AlekseyTs](https://github.com/AlekseyTs) | (no IDE impact) | [333fred](https://github.com/333fred), [CyrusNajmabadi](https://github.com/CyrusNajmabadi) |

# C# 12.0

Expand Down
49 changes: 49 additions & 0 deletions docs/compilers/CSharp/Compiler Breaking Changes - DotNet 9.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,52 @@ unsafe class C // unsafe context
```

You can work around the break simply by adding the `unsafe` modifier to the local function.

## Collection expression breaking changes with overload resolution in C# 13 and newer

***Introduced in Visual Studio 2022 Version 17.12 and newer when using C# 13+***

There are a few changes in collection expression binding in C# 13. Most of these are turning ambiguities into successful compilations,
but a couple are breaking changes that either result in a new compilation error, or are a behavior breaking change. They are detailed
below.

### Empty collection expressions no longer use whether an API is a span to tiebreak on overloads

When an empty collection expression is provided to an overloaded method, and there isn't a clear element type, we no longer use whether
an API takes a `ReadOnlySpan<T>` or a `Span<T>` to decide whether to prefer that API. For example:

```cs
class C
{
static void M(ReadOnlySpan<int> ros) {}
static void M(Span<object> s) {}

static void Main()
{
M([]); // C.M(ReadOnlySpan<int>) in C# 12, error in C# 13.
}
}
```

### Exact element type is preferred over all else

In C# 13, we prefer an exact element type match, looking at conversions from expressions. This can result in a behavior change when involving
constants:

```cs
class C
{
static void M1(ReadOnlySpan<byte> ros) {}
static void M1(Span<int> s) {}

static void M2(ReadOnlySpan<string> ros) {}
static void M2(Span<CustomInterpolatedStringHandler> ros) {}

static void Main()
{
M1([1]); // C.M(ReadOnlySpan<byte>) in C# 12, C.M(Span<int>) in C# 13

M2([$"{1}"]); // C.M(ReadOnlySpan<string>) in C# 12, C.M(Span<CustomInterpolatedStringHandler>) in C# 13
}
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Particularly for developers who aren't experienced with .NET Core development on
1. Install [VS Code](https://code.visualstudio.com/Download)
- After you install VS Code, install the [C# extension](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp)
- Important tip: You can look up editor commands by name by hitting *Ctrl+Shift+P*, or by hitting *Ctrl+P* and typing a `>` character. This will help you get familiar with editor commands mentioned below. On a Mac, use *⌘* instead of *Ctrl*.
1. Install the [.NET 8.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) which matches the `sdk.version` property in [global.json](../../global.json#L3)
1. Install the [.NET 9.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/9.0) which matches the `sdk.version` property in [global.json](../../global.json#L3)
3. You can build from VS Code by running the *Run Build Task* command, then selecting an appropriate task such as *build* or *build current project* (the latter builds the containing project for the current file you're viewing in the editor).
4. You can run tests from VS Code by opening a test class in the editor, then using the *Run Tests in Context* and *Debug Tests in Context* editor commands. You may want to bind these commands to keyboard shortcuts that match their Visual Studio equivalents (**Ctrl+R, T** for *Run Tests in Context* and **Ctrl+R, Ctrl+T** for *Debug Tests in Context*).
5. You can launch a new VS Code instance with the language server from your current code by running the "launch vscode with language server" task.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The minimal required version of .NET Framework is 4.7.2.
- Ensure C# and Visual Basic, MSBuild, and .NET Core are included in the selected individual components
- Ensure "Use previews of the .NET Core SDK" is checked in Tools -> Options -> Environment -> Preview Features
- Restart Visual Studio
1. Install the [.NET 8.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) which matches the `sdk.version` property in [global.json](../../global.json#L3)
1. Install the [.NET 9.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/9.0) which matches the `sdk.version` property in [global.json](../../global.json#L3)
1. [PowerShell 5.0 or newer](https://docs.microsoft.com/en-us/powershell/scripting/setup/installing-windows-powershell). If you are on Windows 10, you are fine; you'll only need to upgrade if you're on earlier versions of Windows. The download link is under the ["Upgrading existing Windows PowerShell"](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-windows-powershell?view=powershell-6#upgrading-existing-windows-powershell) heading.
1. Run Restore.cmd
1. Open Roslyn.sln
Expand Down
Loading
Loading