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 main into features/FirstClassSpan #75077

Merged
merged 1,694 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1694 commits
Select commit Hold shift + click to select a range
b37c19f
Revert "Merge pull request #75089 from dotnet/darc-release/dev16.11-v…
Cosifne Sep 20, 2024
d0ad1e7
Merge pull request #75178 from dotnet/merges/release/dev16.11-vs-deps…
dotnet-bot Sep 20, 2024
d799b05
Merge pull request #75134 from aoyangyou/dev/aoyang/fixRenameButton
Cosifne Sep 20, 2024
0fa2c0d
Merge pull request #75187 from dotnet/merges/release/dev17.6-to-relea…
dotnet-bot Sep 20, 2024
433ae40
Better Collection Expression Conversion From Expression (#74993)
333fred Sep 20, 2024
f5a882a
Merge pull request #75189 from dotnet/merges/release/dev17.8-to-relea…
dotnet-bot Sep 21, 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
40fe659
Merge pull request #75192 from dotnet/merges/release/dev17.10-to-rele…
dotnet-bot Sep 21, 2024
54fd790
Test EnC document diagnostics in non-host workspace (#75140)
tmat Sep 21, 2024
f2554ee
Merge pull request #75193 from dotnet/merges/release/dev17.11-to-rele…
dotnet-bot Sep 21, 2024
1dfe530
Localized file check-in by OneLocBuild Task: Build definition ID 327:…
dotnet-bot Sep 21, 2024
2415011
Localized file check-in by OneLocBuild Task: Build definition ID 327:…
dotnet-bot Sep 21, 2024
92045be
Localized file check-in by OneLocBuild Task: Build definition ID 327:…
dotnet-bot Sep 21, 2024
798a046
Localized file check-in by OneLocBuild Task: Build definition ID 327:…
dotnet-bot Sep 21, 2024
5e3fc3d
Localized file check-in by OneLocBuild Task: Build definition ID 327:…
dotnet-bot Sep 21, 2024
fd2bdf9
Localized file check-in by OneLocBuild Task: Build definition ID 327:…
dotnet-bot Sep 21, 2024
e8610d0
Localized file check-in by OneLocBuild Task: Build definition ID 327:…
dotnet-bot Sep 21, 2024
bf444f9
Localized file check-in by OneLocBuild Task: Build definition ID 327:…
dotnet-bot Sep 21, 2024
2837afe
Localized file check-in by OneLocBuild Task: Build definition ID 327:…
dotnet-bot Sep 21, 2024
972340b
Localized file check-in by OneLocBuild Task: Build definition ID 327:…
dotnet-bot Sep 21, 2024
11ec861
Localized file check-in by OneLocBuild Task: Build definition ID 327:…
dotnet-bot Sep 21, 2024
6da59e9
VisitCollectionBuilderCollectionExpression - Ensure target of a sprea…
AlekseyTs Sep 23, 2024
6bd260d
Merge pull request #75195 from dotnet/locfiles/705eb26e-d250-40fc-aad…
Cosifne Sep 23, 2024
637b4e3
small fix
dibarbet Sep 23, 2024
85f8f08
fix f# language info
dibarbet Sep 23, 2024
5ef52ae
Merge pull request #75150 from dibarbet/connection_lost
dibarbet Sep 23, 2024
b778358
Fix navigable item sg URIs
dibarbet Sep 23, 2024
5aceebc
Field-backed properties: definite assignment (#75116)
cston Sep 23, 2024
119675c
Collapse new UI when rename starts
Cosifne Sep 23, 2024
8194b6d
Disable all options in old UI
Cosifne Sep 23, 2024
f9bd2ab
Pass parameters
Cosifne Sep 23, 2024
ca3a486
Use session's state
Cosifne Sep 24, 2024
f5a1e51
Unify the visibility to viewModel
Cosifne Sep 24, 2024
ed773f3
Allow <code> in DocComments to render as a block in Hover response
JoeRobich Sep 24, 2024
a18ae6f
Update dependencies from https://github.com/dotnet/source-build-refer…
dotnet-maestro[bot] Sep 24, 2024
a83de8e
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Sep 24, 2024
c9c3ca7
Introduce Quick Info presentation model in the Features layer
DustinCampbell Sep 17, 2024
f05390c
Add helpers to convert QuickInfo presentation elements to LSP elements
DustinCampbell Sep 17, 2024
d594024
Add helpers to convert presentation elements to VS adornments
DustinCampbell Sep 17, 2024
59b4479
Introduce NavigationActionFactory in IntellisenseQuickInfoBuilderContext
DustinCampbell Sep 17, 2024
b0c46a8
Move IntellisenseQuickInfoBuilderContext to Features layer and rename
DustinCampbell Sep 17, 2024
e7c2899
Rename OnTheFlyDocsElement to OnTheFlyDocsInfo
DustinCampbell Sep 17, 2024
888d075
Move EditorFeaturesOnTheFlyDocsElement to Features layer and rename
DustinCampbell Sep 17, 2024
912ae5a
Move remaining navigation action logic into NavigationActionFactory
DustinCampbell Sep 17, 2024
9a1c3b1
Clean up IndentationHelper
DustinCampbell Sep 17, 2024
b649f1e
Rewrite BuildInteractiveTextElements
DustinCampbell Sep 19, 2024
030efe6
Move TaggedTextExtensions to Features layer
DustinCampbell Sep 19, 2024
2cf6fcb
Move Quick Info's BuildInteractiveContentAsync to Features layer
DustinCampbell Sep 19, 2024
2b0aa54
Clean up and reduce allocations in QuickInfoContentBuilder
DustinCampbell Sep 19, 2024
bcac320
Push logic to compute VS image Id from glyphs to Features layer
DustinCampbell Sep 20, 2024
0f49c9f
Move helpers that convert to Roslyn LSP elements to language server
DustinCampbell Sep 20, 2024
581f55c
Remove ILspHoverResultCreationService
DustinCampbell Sep 23, 2024
0d92e27
Remove ILspReferencesResultCreationService
DustinCampbell Sep 23, 2024
a086f84
Remove ILspSymbolInformationCreationService
DustinCampbell Sep 24, 2024
18c234b
Remove ILspCompletionResultCreationService
DustinCampbell Sep 24, 2024
8aed954
Merge pull request #74856 from dotnet/darc-release/dev17.10-b89e796a-…
Cosifne 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
fcdc545
Fix diagnostics to get TextDocument instead of Document
dibarbet 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
8901af8
Add GetHoverAsync(...) to ExternalAccess.Razor
DustinCampbell Sep 24, 2024
76c324f
Add GetCompletionListAsync and ResolveCompletionItemAsync to Razor EA
DustinCampbell Sep 24, 2024
a1fb88d
Fix formatting
DustinCampbell 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
2546fb0
Merge remote-tracking branch 'upstream/release/dev17.11' into merges/…
Cosifne Sep 25, 2024
4aebda6
Merge pull request #75220 from dotnet/merges/release/dev17.10-to-rele…
dotnet-bot Sep 25, 2024
8fd0208
NRT
CyrusNajmabadi Sep 25, 2024
4da55b7
Merge pull request #75139 from dibarbet/ignore_file_changes
dibarbet Sep 25, 2024
1ae9aa5
Merge pull request #75239 from dotnet/merges/release/dev17.11-to-rele…
dotnet-bot Sep 25, 2024
ff6ec8d
Udate LSIF source generator tests to expect new URI
dibarbet Sep 25, 2024
43d56b6
Stabilize lsp source generator forking test
dibarbet Sep 25, 2024
4a0901d
Stabilize workspace diagnostic tests
dibarbet Jun 20, 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
206199f
Move Glyph.GetVsImageData() extension method to LanguageServer.Protocol
DustinCampbell Sep 25, 2024
a60dd72
Return FrozenDictionary from CreateGlyphToElementMap
DustinCampbell Sep 25, 2024
bdebb57
Merge pull request #75228 from cston/merge-field-keyword
cston Sep 25, 2024
58c8106
Do not fork when source generator document is unchanged and add tests
dibarbet 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
cb3b74a
Failed to perform coherency update for one or more dependencies.
dotnet-maestro[bot] Sep 26, 2024
a2326af
Fix
CyrusNajmabadi Sep 26, 2024
d19d61f
NRT
CyrusNajmabadi Sep 26, 2024
6b18ebe
Add owrkitem
CyrusNajmabadi Sep 26, 2024
3e688ca
Fix crash when converting properties to methods
CyrusNajmabadi 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
87b859f
Update shared handler methods to take IGlobalOptionService
DustinCampbell Sep 26, 2024
51842c9
Remove unnecessary commented code
DustinCampbell Sep 26, 2024
c02384a
Add support for inlining declarations in top level code
CyrusNajmabadi Sep 26, 2024
b7b74aa
Merge branch 'main' into razor-cohosting-hover
DustinCampbell 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
6d9ce9b
update configs for snap
akhera99 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
755208d
Detect more fluent cases for converting collection expressions
CyrusNajmabadi Sep 26, 2024
ee2f69d
Add workitem
CyrusNajmabadi Sep 26, 2024
e665f0d
Merge branch 'main' into primaryConstructorCompletion
CyrusNajmabadi Sep 26, 2024
4e8140f
Fix
CyrusNajmabadi Sep 26, 2024
dc21958
Short term field keyword nullable analysis (#75246)
RikkiGibson Sep 26, 2024
74281d2
Merge branch 'main' into dev/ankitakhera/snap_17_13_p1
akhera99 Sep 26, 2024
fcc527e
in progress
CyrusNajmabadi 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
7d557bf
Fixes
CyrusNajmabadi Sep 26, 2024
b809320
Renames
CyrusNajmabadi Sep 26, 2024
8d137de
in progress
CyrusNajmabadi Sep 26, 2024
16e62ef
in progress
CyrusNajmabadi Sep 26, 2024
630649e
in progress
CyrusNajmabadi Sep 26, 2024
2cf3055
Fix test
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
93a5ed9
Merge pull request #75273 from akhera99/merge_main_to_release17.12
JoeRobich Sep 27, 2024
f8debf3
Merge pull request #75263 from akhera99/dev/ankitakhera/snap_17_13_p1
JoeRobich Sep 27, 2024
2860edf
Localized file check-in by OneLocBuild Task: Build definition ID 327:…
dotnet-bot Sep 27, 2024
2eab9ed
Localized file check-in by OneLocBuild Task: Build definition ID 327:…
dotnet-bot Sep 27, 2024
86bd303
Localized file check-in by OneLocBuild Task: Build definition ID 327:…
dotnet-bot Sep 27, 2024
926a1d5
Merge pull request #75275 from dotnet/merges/release/dev17.12-to-main
dotnet-bot Sep 27, 2024
53c4588
Do not load CodeStyle analyzers added by the SDK
JoeRobich Sep 26, 2024
71bec2e
Review feedback
JoeRobich Sep 26, 2024
23f900a
Merge pull request #75250 from dotnet/dev/jorobich/discard-codestyle-…
JoeRobich Sep 27, 2024
3da6b6d
Merge pull request #74090 from dibarbet/fix_flaky_diag_test
dibarbet Sep 27, 2024
4d5055c
file scoped namespace
dibarbet Sep 27, 2024
969d66b
SynthesizedHotReloadExceptionSymbol (#74625)
tmat Sep 27, 2024
e5d4dea
generics
CyrusNajmabadi Sep 27, 2024
0913d4b
Revert "Updates content exclusion for on-the-fly-docs (#75172)" (#75279)
333fred Sep 27, 2024
6d7524c
Cleanup sg URI serialization and deserialization
dibarbet Sep 27, 2024
5d9233e
in progress
CyrusNajmabadi Sep 27, 2024
6d10181
Rename handler from file -> document
dibarbet Sep 27, 2024
d0b2618
in progress
CyrusNajmabadi Sep 27, 2024
2495ba8
Strange
CyrusNajmabadi Sep 27, 2024
80ef9d0
in progress
CyrusNajmabadi Sep 27, 2024
9762535
in progress
CyrusNajmabadi Sep 27, 2024
d6b32a3
in progress
CyrusNajmabadi Sep 27, 2024
4f0f6ba
in progress
CyrusNajmabadi Sep 27, 2024
dea5c81
Fix
CyrusNajmabadi Sep 27, 2024
072425f
in progress
CyrusNajmabadi Sep 27, 2024
0bcb997
Fix
CyrusNajmabadi Sep 27, 2024
24611ad
Fix
CyrusNajmabadi Sep 27, 2024
80538fa
Fix test
CyrusNajmabadi Sep 27, 2024
c7304ec
Fix test
CyrusNajmabadi Sep 27, 2024
dc8b07d
Merge pull request #75256 from CyrusNajmabadi/useMethodCrash
CyrusNajmabadi Sep 27, 2024
0ae4ccb
unitfy
CyrusNajmabadi Sep 27, 2024
9fbea8d
renames
CyrusNajmabadi Sep 27, 2024
e378dea
renames
CyrusNajmabadi Sep 27, 2024
447c664
Merge pull request #75254 from CyrusNajmabadi/encapFieldCrash
CyrusNajmabadi Sep 27, 2024
dc3df50
Enable Policheck (#75281)
jaredpar Sep 27, 2024
ba2f19a
Revert "Updates content exclusion for on-the-fly-docs (#75172)" (#752…
akhera99 Sep 27, 2024
dd3b7a2
Field-backed properties: additional tests (#75283)
cston Sep 27, 2024
2d75ef8
Localized file check-in by OneLocBuild Task: Build definition ID 327:…
dotnet-bot Sep 27, 2024
89b6958
Use common helper method
DoctorKrolic Sep 28, 2024
f32cabd
Localized file check-in by OneLocBuild Task: Build definition ID 327:…
dotnet-bot Sep 29, 2024
2e5075b
Update LanguageServer references
emmanuel-ferdman Sep 29, 2024
315f62b
Merge pull request #75287 from DoctorKrolic/use-common-helper
CyrusNajmabadi Sep 29, 2024
699495b
Merge pull request #75290 from emmanuel-ferdman/main
dibarbet Sep 30, 2024
d979bbd
Merge pull request #74687 from raulsntos/fix-67558
sharwell Sep 30, 2024
58d1a4e
don't mess with user caret in smart rename
olegtk Sep 30, 2024
acec6ee
add comment
olegtk Sep 30, 2024
fc5687b
Merge branch 'main' into razor-cohosting-hover
DustinCampbell Sep 30, 2024
5bf36f9
Merge pull request #75258 from CyrusNajmabadi/inlineDeclarationTopLevel
CyrusNajmabadi Sep 30, 2024
7c66b29
Merge pull request #75226 from DustinCampbell/razor-cohosting-hover
DustinCampbell Sep 30, 2024
be06af6
Merge pull request #75274 from dotnet/locfiles/6ee925b8-d672-4590-983…
Cosifne Sep 30, 2024
56ce4d1
Merge pull request #75294 from olegtk/dev/olegtk/DontStompOnUserCaret…
Cosifne Sep 30, 2024
0c6667d
Merge pull request #75213 from Cosifne/dev/shech/RenameProgressUIHookUp
Cosifne Sep 30, 2024
e2f7d00
remove normalization of hint path (already handled in compiler)
dibarbet Sep 30, 2024
51c16fb
improve comment
dibarbet Sep 30, 2024
f7bb7b6
Merge pull request #75277 from dotnet/merges/release/dev17.12-to-main
dotnet-bot Sep 30, 2024
4770657
Switch to a threadlocal storage to prevent locks
CyrusNajmabadi Sep 30, 2024
caf4583
Simplify
CyrusNajmabadi Sep 30, 2024
727f6c6
Simpler
CyrusNajmabadi Sep 30, 2024
646c980
use ref
CyrusNajmabadi Sep 30, 2024
3c1810f
Merge pull request #74855 from dotnet/darc-main-5bd008d3-61c6-4d05-b3…
Cosifne Sep 30, 2024
d972d95
stoub
CyrusNajmabadi Sep 30, 2024
ba7fe35
Disallow declaration of indexers in absence of proper DefaultMemberAt…
AlekseyTs Sep 30, 2024
3a58fb1
Merge remote-tracking branch 'upstream/main' into merges/release/dev1…
Cosifne Sep 30, 2024
e56f996
Merge pull request #75267 from CyrusNajmabadi/moreFluentCases
CyrusNajmabadi Sep 30, 2024
a6844a8
Simplify code
CyrusNajmabadi Sep 30, 2024
5345f61
Merge remote-tracking branch 'upstream/main' into moreFluentCases
CyrusNajmabadi Sep 30, 2024
18bc3eb
Use common type
CyrusNajmabadi Sep 30, 2024
3c8fe83
Merge pull request #75299 from dotnet/merges/release/dev17.12-to-main
dotnet-bot Sep 30, 2024
2aa7643
Bump razor for serialization changes (#75282)
ryzngard Sep 30, 2024
88c4e43
Clarify the bug template to request a code snippet (#75306)
jcouv Sep 30, 2024
efcb72e
Fix TSA tooling (#75307)
jaredpar Sep 30, 2024
8b0b65c
Merge pull request #75297 from CyrusNajmabadi/threadLocal
CyrusNajmabadi Sep 30, 2024
c5bc3a0
Fix the path to the proposal (#75302)
BillWagner Sep 30, 2024
a889f14
Update dependencies from https://github.com/dotnet/source-build-exter…
dotnet-maestro[bot] Oct 1, 2024
2f2dbce
Merge pull request #74853 from dotnet/darc-main-998b55e5-cf6e-4a39-ad…
Cosifne Oct 1, 2024
8d8276d
Support long chains of `else if` statements (#74317)
cston Oct 1, 2024
2bb413e
Make types in Workspace layer sealed
CyrusNajmabadi Oct 1, 2024
1bfd558
Make types in Features layer sealed
CyrusNajmabadi Oct 1, 2024
6af5ab6
EnC: Allow reordering members (#75257)
tmat Oct 1, 2024
92fcee1
Merge pull request #75303 from CyrusNajmabadi/moreFluentCases
CyrusNajmabadi Oct 1, 2024
244b7e5
Use manual recursion for binary patterns (#75212)
333fred Oct 1, 2024
ccf6969
Fix ambiguity parsing collection in conditional expressions
CyrusNajmabadi Oct 1, 2024
8762f47
Docs
CyrusNajmabadi Oct 1, 2024
3caa5ac
Improve error reporting when reading bad metadata during EnC (#75304)
tmat Oct 1, 2024
00dab12
Use primary constructor
Cosifne Oct 1, 2024
6e61230
Inline a call
Cosifne Oct 2, 2024
1cd3100
Fixes comparison of VB XML literals (#75301)
tmat Oct 2, 2024
cead4e2
Consider `params` and default values when inferring unique method sig…
jjonescz Oct 2, 2024
a04ce8c
Merge release/dev17.12 to main (#75331)
dotnet-bot Oct 2, 2024
6cff56e
Fixes
CyrusNajmabadi Oct 2, 2024
1d873a4
Merge pull request #75321 from CyrusNajmabadi/makeSealed
CyrusNajmabadi Oct 2, 2024
e80e09c
Add workitems
CyrusNajmabadi Oct 2, 2024
537bf65
Add real world test
CyrusNajmabadi Oct 2, 2024
ef1d608
Merge remote-tracking branch 'upstream/main' into collectionParsingAm…
CyrusNajmabadi Oct 2, 2024
cdbd430
Docs
CyrusNajmabadi Oct 2, 2024
a62ab0c
Simplify
CyrusNajmabadi Oct 2, 2024
46b1698
in progress
CyrusNajmabadi Oct 2, 2024
7f5b399
Fix tests
CyrusNajmabadi Oct 2, 2024
24177dd
Simplify
CyrusNajmabadi Oct 2, 2024
db4a836
using var _
CyrusNajmabadi Oct 2, 2024
948ccac
Merge pull request #75328 from CyrusNajmabadi/collectionParsingAmbiguity
CyrusNajmabadi Oct 2, 2024
b97b3a0
Merge pull request #75180 from dibarbet/source_gen_vscode
dibarbet Oct 2, 2024
8e4dab3
Merge pull request #75336 from Cosifne/dev/shech/PrimaryContrcutor
Cosifne Oct 3, 2024
0d41e66
Allow accessing ref fields through rvalues (#75316)
jjonescz Oct 3, 2024
dcb3058
Merge branch 'main' into features/FirstClassSpan
jjonescz Oct 3, 2024
bfa5b15
Fixup tests after merge
jjonescz Oct 3, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ about: Report a bug in Roslyn
2.
3.

A minimal repro, with source-code provided, is ideal. Using [sharplab](https://sharplab.io/) is preferred for compiler/language issues whenever possible.
A minimal repro, with source-code provided, is ideal. Most compiler/language issues can be distilled into a snippet that can be pasted into [sharplab](https://sharplab.io/).

**Diagnostic Id**:

Expand Down
91 changes: 68 additions & 23 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ where:
configuration:
resourceManagementConfiguration:
scheduledSearches:

- description: Close "Need More Info" Issues
frequencies:
- hourly:
Expand All @@ -23,8 +24,12 @@ configuration:
- closeIssue
- addReply:
reply: "Closing this issue as we've seen no reply to the request for more information. If you are able to get the requested information, please add it to the issue and we will retriage it. "

eventResponderTasks:
- if:

- description: Auto-approve auto-merge PRs
triggerOnOwnActions: false
if:
- payloadType: Pull_Request
- isPullRequest
- labelAdded:
Expand All @@ -38,9 +43,10 @@ configuration:
then:
- approvePullRequest:
comment: Auto-approval
description: Auto-approve auto-merge PRs

- description: Auto-approve maestro PRs
triggerOnOwnActions: false
- if:
if:
- payloadType: Pull_Request
- isPullRequest
- isActivitySender:
Expand All @@ -55,9 +61,10 @@ configuration:
then:
- approvePullRequest:
comment: Auto-approve
description: Auto-approve maestro PRs
triggerOnOwnActions: false
- if:

- description: Milestone tracking
triggerOnOwnActions: true
if:
- payloadType: Pull_Request
- isPullRequest
- or:
Expand All @@ -72,9 +79,10 @@ configuration:
then:
- addMilestone:
milestone: Next
description: Milestone tracking
triggerOnOwnActions: true
- if:

- description: Auto-approve OneLoc PRs
triggerOnOwnActions: false
if:
- payloadType: Pull_Request
- isPullRequest
- isActivitySender:
Expand All @@ -88,9 +96,10 @@ configuration:
then:
- addLabel:
label: auto-merge
description: Auto-approve OneLoc PRs

- description: Remove "Need More Info" on comment
triggerOnOwnActions: false
- if:
if:
- payloadType: Issue_Comment
- isIssue
- isOpen
Expand All @@ -101,9 +110,10 @@ configuration:
label: untriaged
- removeLabel:
label: Need More Info
description: Remove "Need More Info" on comment

- description: Label Community Pull Requests
triggerOnOwnActions: false
- if:
if:
- payloadType: Pull_Request
- isPullRequest
- isAction:
Expand Down Expand Up @@ -142,13 +152,45 @@ configuration:
then:
- addLabel:
label: Community
description: Label Community Pull Requests

- description: Adds "VSCode" tag on PRs which may affect C# extension.
triggerOnOwnActions: false
if:
- payloadType: Pull_Request
- isPullRequest
- filesMatchPattern:
pattern: 'src/(Analyzers|CodeStyle|Features|LanguageServer|Workspaces)/.*\.(cs|vb)$'
matchAny: true
- and:
- not:
isActivitySender:
user: dotnet-bot
issueAuthor: False
- not:
isActivitySender:
user: github-actions
issueAuthor: False
- or:
- isAction:
action: Opened
- isAction:
action: Synchronize
- and:
- not:
hasLabel:
label: VSCode
then:
- addLabel:
label: VSCode

- description: Add "Needs UX Triage" on PRs
triggerOnOwnActions: false
- if:
if:
- payloadType: Pull_Request
- isPullRequest
- filesMatchPattern:
pattern: '[xX][aA][mM][lL]$'
pattern: '.*\.[xX][aA][mM][lL]$'
matchAny: true
- and:
- not:
hasLabel:
Expand Down Expand Up @@ -187,12 +229,15 @@ configuration:
then:
- addLabel:
label: Needs UX Triage
description: Add "Needs UX Triage" on PRs

- description: Adds "Needs API Review" on PRs that touch public APIs
triggerOnOwnActions: false
- if:
if:
- payloadType: Pull_Request
- isPullRequest
- filesMatchPattern:
pattern: .*/PublicAPI\.(Shipped|Unshipped)\.txt
pattern: '.*/PublicAPI\.(Shipped|Unshipped)\.txt'
matchAny: true
- not:
isActivitySender:
user: dotnet-bot
Expand All @@ -214,9 +259,10 @@ configuration:
label: Needs API Review
- addReply:
reply: This PR modifies public API files. Please follow the instructions at https://github.com/dotnet/roslyn/blob/main/docs/contributing/API%20Review%20Process.md for ensuring all public APIs are reviewed before merging.
description: Adds "Needs API Review" on PRs that touch public APIs

- description: Close automatically generated PR tagger issues
triggerOnOwnActions: false
- if:
if:
- payloadType: Issues
- isIssue
- hasLabel:
Expand All @@ -226,7 +272,6 @@ configuration:
isRegex: False
then:
- closeIssue
description: Close automatically generated PR tagger issues
triggerOnOwnActions: false

onFailure:
onSuccess:
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
.packages/
.nuget/
.complog/
/MSBuild_Logs/

# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
!packages/*/build/
Expand Down
10 changes: 9 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,13 @@
"azure-pipelines.customSchemaFile": ".vscode/dnceng-schema.json",
"dotnet.defaultSolution": "Roslyn.sln",
"dotnet.completion.showCompletionItemsFromUnimportedNamespaces": true,
"dotnet.testWindow.disableAutoDiscovery": true
"dotnet.testWindow.disableAutoDiscovery": true,
"dotnet.testWindow.disableBuildOnRefresh": true,
"cSpell.words": [
"Nerdbank",
"NETCOREAPP",
"Unregistration",
"Unregistrations",
"Xunit"
]
}
35 changes: 18 additions & 17 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 Expand Up @@ -145,7 +146,7 @@
"build",
"-c",
"Debug",
"src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/Microsoft.CodeAnalysis.LanguageServer.csproj"
"src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/Microsoft.CodeAnalysis.LanguageServer.csproj"
],
"problemMatcher": "$msCompile",
"group": "build"
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.
Loading