Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
446 commits
Select commit Hold shift + click to select a range
044249d
Simpli
CyrusNajmabadi May 30, 2025
79a50ab
Simplify
CyrusNajmabadi May 30, 2025
5deaa5c
Simplify
CyrusNajmabadi May 30, 2025
01f14ba
docs
CyrusNajmabadi May 30, 2025
f239377
docs
CyrusNajmabadi May 30, 2025
a5d7d5f
Clear
CyrusNajmabadi May 30, 2025
eef276b
Update src/Workspaces/Core/Portable/FindSymbols/Shared/AbstractSyntax…
CyrusNajmabadi May 30, 2025
2ee3bb8
Remove method
CyrusNajmabadi May 30, 2025
511b0cc
Merge branch 'removeProgression' of https://github.com/CyrusNajmabadi…
CyrusNajmabadi May 30, 2025
47e9703
Merge branch 'removeProgression' into removeProgressionContextMenuWork
CyrusNajmabadi May 30, 2025
8506a18
Merge remote-tracking branch 'upstream/main' into removeProgression
CyrusNajmabadi May 30, 2025
3f27218
Merge branch 'removeProgression' into removeProgressionContextMenuWork
CyrusNajmabadi May 30, 2025
90a3c53
Fix ILBuilder visualization (#78764)
333fred May 30, 2025
ffb4dcc
Remove EditorFeaturesWpf TestComposition (#78769)
ToddGrun May 30, 2025
63c55df
Fix crash when determining if on header of invalid if-statement (#78757)
CyrusNajmabadi May 30, 2025
713cd56
Move off of Progression for solution explorer. (#78714)
CyrusNajmabadi May 30, 2025
2ca4e2a
Fix renames across different extensions
CyrusNajmabadi May 30, 2025
a41e4f2
Merge remote-tracking branch 'upstream/main' into removeProgressionCo…
CyrusNajmabadi May 30, 2025
2122e97
Add docs
CyrusNajmabadi May 30, 2025
edefec3
Add docs
CyrusNajmabadi May 30, 2025
3e0d8db
Update src/VisualStudio/Core/Def/PackageRegistration.pkgdef
CyrusNajmabadi May 30, 2025
d0dee3b
Explicitly reset
CyrusNajmabadi May 30, 2025
c68bd41
Reset state
CyrusNajmabadi May 30, 2025
3e8f832
Add docs
CyrusNajmabadi May 30, 2025
0798403
Simplify
CyrusNajmabadi May 30, 2025
c3d83f2
Revert
CyrusNajmabadi May 30, 2025
25b0a37
Simplify
CyrusNajmabadi May 30, 2025
0481cef
Simplify
CyrusNajmabadi May 30, 2025
644ea88
Docs
CyrusNajmabadi May 30, 2025
1b6c967
Update src/VisualStudio/Core/Def/Commands.vsct
CyrusNajmabadi May 30, 2025
1c054b7
Update src/VisualStudio/Core/Impl/SolutionExplorer/SymbolTree/SymbolI…
CyrusNajmabadi May 30, 2025
316612f
Simplify
CyrusNajmabadi May 30, 2025
a10761e
Simplify
CyrusNajmabadi May 30, 2025
9084345
multi notify
CyrusNajmabadi May 30, 2025
fd96dc9
only if it changed
CyrusNajmabadi May 30, 2025
de80ac5
Don't move backwards
CyrusNajmabadi May 30, 2025
b3804f1
Update progression work to have context menu. (#78754)
CyrusNajmabadi May 30, 2025
9b7fa6d
Merge branch 'main' into removeProgressionMaps
CyrusNajmabadi May 30, 2025
6dd4424
Docs
CyrusNajmabadi May 30, 2025
d7173af
Update src/VisualStudio/Core/Impl/SolutionExplorer/SymbolTree/SymbolT…
CyrusNajmabadi May 30, 2025
c38ed43
Ensure sln load uses project absolute paths
dibarbet May 30, 2025
04ae488
lint
CyrusNajmabadi May 30, 2025
8edf1c0
Move off of a linear walk in solution-explorer symbol tree updates. (…
CyrusNajmabadi May 30, 2025
c81a4e8
Rename field to make it clearer what it's used for
jasonmalinowski May 30, 2025
efbbe24
Don't refresh dynamic files under a lock
jasonmalinowski May 30, 2025
cec6fcc
Fix cast before we unsubscribe
jasonmalinowski May 30, 2025
15406f5
Adjust implementation to respect diagnostic flag and update tests
dibarbet May 30, 2025
0b121e1
Don't refresh dynamic files under a lock (#78775)
jasonmalinowski May 31, 2025
670cd85
Remove workarounds for bugs that have been fixed
jasonmalinowski May 31, 2025
75dba06
Remove a workaround we had for an old version of Copilot
jasonmalinowski May 31, 2025
17629fa
Switch return to continue
jasonmalinowski May 31, 2025
cc42ab1
Fix cast before we unsubscribe (#78776)
jasonmalinowski May 31, 2025
a528f84
Switch return to continue (#78781)
jasonmalinowski May 31, 2025
0cb851f
Fixed multi-variable declaration support in RemoveUnnecessarySuppress…
John-Leitch Jun 1, 2025
d054c4a
Removed whitespace.
John-Leitch Jun 1, 2025
b147a16
Simplified TestRemoveDiagnosticSuppression_Attribute_MultiVariableDec…
John-Leitch Jun 1, 2025
a73dcb9
Merge branch 'remove-diagnostic-suppression-fix' of https://github.co…
John-Leitch Jun 1, 2025
9d9bec0
Merge branch 'main' into nullProp
CyrusNajmabadi Jun 1, 2025
4097076
Expanded remove unnecessary suppression tests, removed unnecessary lo…
John-Leitch Jun 2, 2025
0415f65
Directly create virtual project when dotnet run-api is missing for now
RikkiGibson Jun 2, 2025
ca392a2
Fixed crash in `RemoveUnnecessarySuppressions` caused by multi-variab…
CyrusNajmabadi Jun 2, 2025
30ddabb
Avoid dereferencing null CheckConstraintsArgs.CurrentCompilation (#78…
AlekseyTs Jun 2, 2025
73e1466
Remove a workaround we had for an old version of Copilot (#78780)
jasonmalinowski Jun 2, 2025
c5dafa2
Remove workarounds for bugs that have been fixed (#78779)
jasonmalinowski Jun 2, 2025
729bd2f
Ensure sln load uses project absolute paths (#78772)
dibarbet Jun 2, 2025
f5faea9
Updates to unblock dartlab pipeline (#78793)
akhera99 Jun 2, 2025
69ff992
Directly create virtual project when dotnet run-api is missing for no…
dibarbet Jun 2, 2025
5f01fe7
Add main to main-vs-deps flow (#78798)
akhera99 Jun 3, 2025
0fd64c3
EnC: Simplify diagnostic reporting (#78708)
tmat Jun 3, 2025
917401d
Refactoring of extension methods in source packages (#78620)
tmat Jun 3, 2025
fc59bd4
Fix VB remove-imports not showing up
CyrusNajmabadi Jun 3, 2025
2489a20
add the schedule back to main-merge (#78807)
akhera99 Jun 3, 2025
6badbad
Fix VB remove-imports not showing up (#78806)
CyrusNajmabadi Jun 3, 2025
228059e
Fix LSP references for using alias
dibarbet Jun 4, 2025
824116a
Clean up HasDuplicates extension method (#78808)
tmat Jun 4, 2025
b4cffe6
Extensions: Do not consider extension block methods as entry points, …
Jun 4, 2025
ef33d32
Decouple EditorFeatures.Test.Utilities from VS services
jasonmalinowski Jun 4, 2025
3f34ede
Extensions: mark skeleton type with 'specialname' (#78690)
Jun 4, 2025
ebc3d56
Fix await completion in an async iterator
CyrusNajmabadi Jun 4, 2025
6c492e1
Extensions: fix lowering of implicit conversion on receiver in patter…
Jun 4, 2025
faa4f25
Add test
CyrusNajmabadi Jun 4, 2025
a15f64a
Decouple EditorFeatures.Test.Utilities from VS services (#78821)
jasonmalinowski Jun 4, 2025
e31b7b1
Find metadata reference for alias
dibarbet Jun 5, 2025
07fafbf
Add a fallback path when launching the BuildHost
JoeRobich Jun 5, 2025
05dc220
refactor
JoeRobich Jun 5, 2025
d726464
Added notes to update GetBuildHostPath if packaging changes
JoeRobich Jun 5, 2025
569c152
Update comments
JoeRobich Jun 5, 2025
9d0162e
Add heuristic for the loaded from nuget package scenario
JoeRobich Jun 5, 2025
70435cc
Fix corruption of sliding text window when trying to peek backwards. …
CyrusNajmabadi Jun 5, 2025
f5a1f7f
Track changed text instead of clearing immediate window.
JoeRobich Jun 5, 2025
a821574
EnC: Partial solution updates (#78744)
tmat Jun 5, 2025
f111c95
Fix LSP references for using alias (#78819)
dibarbet Jun 5, 2025
4e84a1e
Restore some parts of the progression api some legacy components (lik…
CyrusNajmabadi Jun 5, 2025
c415697
Add a fallback path when launching the BuildHost (#78826)
JoeRobich Jun 5, 2025
5936721
Remove unused internal APIs
CyrusNajmabadi Jun 5, 2025
84ecec4
Remove unused internal APIs
CyrusNajmabadi Jun 5, 2025
7b99480
Remove unused internal APIs
CyrusNajmabadi Jun 5, 2025
96a578e
Remove unused internal APIs
CyrusNajmabadi Jun 5, 2025
3f07307
Make static
CyrusNajmabadi Jun 5, 2025
a64ee51
Simplify
CyrusNajmabadi Jun 5, 2025
7f76879
Restore some parts of the progression api some legacy components (lik…
CyrusNajmabadi Jun 5, 2025
f276bf7
Track changed text instead of clearing immediate window. (#78831)
JoeRobich Jun 5, 2025
2451f90
Avoid ignored directive errors in disabled regions (#78158)
jjonescz Jun 5, 2025
535a849
Extensions: use specific tracking issues for different areas (#78834)
Jun 6, 2025
df87e95
Extensions: relax inferrability rule (#78758)
Jun 6, 2025
656c077
Remove blank line output from the node writer proportional to the num…
333fred Jun 6, 2025
e083be9
Revert "Refactoring of extension methods in source packages (#78620)"…
333fred Jun 6, 2025
3f2b592
Switch off of mutlidictionary (#78851)
333fred Jun 6, 2025
24fa679
Switch behavior of "Go to definition" and "Go to implementation" for …
DoctorKrolic Jun 7, 2025
a7af017
Fix LSP tests
DoctorKrolic Jun 7, 2025
43676e9
Fix peek test
DoctorKrolic Jun 8, 2025
e220432
Switch to existing helpers for multi-dictionary use
CyrusNajmabadi Jun 8, 2025
c854a27
call TryGetValue to get dictionary entry (#78863)
RikkiGibson Jun 8, 2025
9ee7f1e
Merge remote-tracking branch 'upstream/main' into multiDictionary
CyrusNajmabadi Jun 9, 2025
806d389
Merge branch 'main' into useSimpleLambdas
CyrusNajmabadi Jun 9, 2025
8965e7b
Merge branch 'main' into openNameOf
CyrusNajmabadi Jun 9, 2025
c15e1cc
Merge branch 'main' into nullProp
CyrusNajmabadi Jun 9, 2025
37eb0ad
Switch to existing helpers for multi-dictionary use (#78862)
CyrusNajmabadi Jun 9, 2025
0f1d8be
Fix await completion in an async iterator (#78823)
CyrusNajmabadi Jun 9, 2025
500f4de
Remove more progression code
CyrusNajmabadi Jun 9, 2025
31a4417
Remove more progression code
CyrusNajmabadi Jun 9, 2025
e6e1aab
Remove more progression code
CyrusNajmabadi Jun 9, 2025
b183828
Remove more progression code
CyrusNajmabadi Jun 9, 2025
b34eebe
Remove more progression code
CyrusNajmabadi Jun 9, 2025
5254561
Remove more progression code
CyrusNajmabadi Jun 9, 2025
7269ba6
Remove more progression code
CyrusNajmabadi Jun 9, 2025
0145348
Remove more progression code
CyrusNajmabadi Jun 9, 2025
4f87104
Add VSTypeScriptAsynchronousTaggerProvider2 for TypeScript that avoid…
tmat Jun 9, 2025
f908b3d
Remove more progression code
CyrusNajmabadi Jun 9, 2025
905d6b5
Remove more progression code
CyrusNajmabadi Jun 9, 2025
07655c6
Remove more progression code
CyrusNajmabadi Jun 9, 2025
8eb9ca6
Remove more progression code
CyrusNajmabadi Jun 9, 2025
f650a15
Switch behavior of "Go to definition" and "Go to implementation" for …
CyrusNajmabadi Jun 9, 2025
2dac129
Merge remote-tracking branch 'upstream/main' into removeMoreProgression
CyrusNajmabadi Jun 9, 2025
5d591c0
Fix build break (#78870)
CyrusNajmabadi Jun 9, 2025
a8ca1b5
Merge branch 'main' into removeMoreProgression
CyrusNajmabadi Jun 9, 2025
deeb7b3
Merge branch 'main' into nullProp
CyrusNajmabadi Jun 9, 2025
80187cd
Merge branch 'main' into openNameOf
CyrusNajmabadi Jun 9, 2025
c12454a
Merge branch 'main' into useSimpleLambdas
CyrusNajmabadi Jun 9, 2025
540285c
Add more ETW events to trace assembly loading (#78840)
chsienki Jun 9, 2025
70e036b
Introduce EA layer for TS to integrate with classification
CyrusNajmabadi Jun 9, 2025
c4062db
Simplify
CyrusNajmabadi Jun 9, 2025
3065f1e
Add CommandLineResource API (#78679)
tmat Jun 9, 2025
27ae586
Revert "Revert "Refactoring of extension methods in source packages (…
tmat Jun 9, 2025
574935d
Fix
tmat Jun 9, 2025
4aabb1b
Revert "Fix"
tmat Jun 9, 2025
d273205
Revert "Revert "Revert "Refactoring of extension methods in source pa…
tmat Jun 9, 2025
8505455
Merge branch 'main' into nullProp
CyrusNajmabadi Jun 10, 2025
04fa8f1
Merge branch 'main' into removeMoreProgression
CyrusNajmabadi Jun 10, 2025
83ef886
Lint
CyrusNajmabadi Jun 10, 2025
3cca8a0
Remove all progression code
CyrusNajmabadi Jun 10, 2025
dd8332e
Revert
CyrusNajmabadi Jun 10, 2025
c8b0dba
remove code
CyrusNajmabadi Jun 10, 2025
c3ef107
Fix
CyrusNajmabadi Jun 10, 2025
a38d156
Reduce allocations under ContextMutableIntervalTree (#78885)
ToddGrun Jun 10, 2025
66634f8
Reduce allocations in the ImageElementConverter and ImageIdConverter …
ToddGrun Jun 10, 2025
2d946d2
Introduce EA layer for TS to integrate with classification (#78877)
CyrusNajmabadi Jun 10, 2025
97acb39
Fix issue serializing null options in VB
CyrusNajmabadi Jun 10, 2025
87e0fde
Yield in task continuation to prevent stack overflow
CyrusNajmabadi Jun 10, 2025
aeaadd6
Move to .NET 10 Preview 5
jaredpar Jun 10, 2025
bb40d37
Merge remote-tracking branch 'upstream/main' into openNameOf
CyrusNajmabadi Jun 10, 2025
5976356
Merge branch 'dev/jaredpar/net10' into openNameOf
CyrusNajmabadi Jun 10, 2025
df4be31
Merge remote-tracking branch 'upstream/main' into useSimpleLambdas
CyrusNajmabadi Jun 10, 2025
0bdc1bc
Merge branch 'dev/jaredpar/net10' into useSimpleLambdas
CyrusNajmabadi Jun 10, 2025
91729b5
Merge remote-tracking branch 'upstream/main' into nullProp
CyrusNajmabadi Jun 10, 2025
bb66b4e
Merge branch 'dev/jaredpar/net10' into nullProp
CyrusNajmabadi Jun 10, 2025
b88b8a1
Remove RemoteControl workaround
CyrusNajmabadi Jun 10, 2025
94ffc8d
Lint response
CyrusNajmabadi Jun 10, 2025
059aa82
Lint response
CyrusNajmabadi Jun 10, 2025
14f9001
Lint response
CyrusNajmabadi Jun 10, 2025
f6a3a31
Lint response
CyrusNajmabadi Jun 10, 2025
8b95984
Lint response
CyrusNajmabadi Jun 10, 2025
5aaba99
Fix issue with not resetting valueLength (#78890)
ToddGrun Jun 10, 2025
ec414bd
remove unused method
jaredpar Jun 10, 2025
d82524e
Lint response
CyrusNajmabadi Jun 10, 2025
e8eb04b
Merge branch 'dev/jaredpar/net10' of http://github.com/dotnet/roslyn …
CyrusNajmabadi Jun 10, 2025
c231ed7
Lint response
CyrusNajmabadi Jun 10, 2025
2b36d01
fix compiler side
jaredpar Jun 10, 2025
ac25d70
Simplify workspace hookup in syntactic tagger
CyrusNajmabadi Jun 10, 2025
80525e7
Move
CyrusNajmabadi Jun 10, 2025
faf1ae4
Switch to ITextBuffer2
CyrusNajmabadi Jun 10, 2025
43962c1
REvert
CyrusNajmabadi Jun 10, 2025
fc3ce08
REvert
CyrusNajmabadi Jun 10, 2025
782b429
Update src/EditorFeatures/Core/InlineDiagnostics/AbstractDiagnosticsT…
CyrusNajmabadi Jun 10, 2025
ff8d587
Update src/EditorFeatures/Core/StringIndentation/StringIndentationTag…
CyrusNajmabadi Jun 10, 2025
5a63c9f
Update src/EditorFeatures/Core/Tagging/AsynchronousViewportTaggerProv…
CyrusNajmabadi Jun 10, 2025
08bd5a0
REvert
CyrusNajmabadi Jun 10, 2025
2d9fdaa
Merge branch 'removeWorkspaceRegistration' of https://github.com/Cyru…
CyrusNajmabadi Jun 10, 2025
8086115
Merge branch 'dev/jaredpar/net10' of http://github.com/dotnet/roslyn …
CyrusNajmabadi Jun 10, 2025
168eec4
Remove RemoteControl workaround (#78907)
CyrusNajmabadi Jun 10, 2025
f6b496e
Merge branch 'dev/jaredpar/net10' into useSimpleLambdas
CyrusNajmabadi Jun 10, 2025
62673c9
Merge branch 'dev/jaredpar/net10' into openNameOf
CyrusNajmabadi Jun 10, 2025
ee2a59b
Merge branch 'dev/jaredpar/net10' into nullProp
CyrusNajmabadi Jun 10, 2025
d08a14c
Yield in task continuation to prevent stack overflow (#78902)
CyrusNajmabadi Jun 10, 2025
510dd78
Remove all progression code. (#78888)
CyrusNajmabadi Jun 10, 2025
9d75bf2
remove more workspace registration code
CyrusNajmabadi Jun 10, 2025
345c918
Simplify workspace hookup in syntactic tagger (#78909)
CyrusNajmabadi Jun 11, 2025
a7fa681
Move to .NET 10 Preview 5 (#78906)
jaredpar Jun 11, 2025
772bcc9
Merge branch 'main' into openNameOf
CyrusNajmabadi Jun 11, 2025
840d235
Merge branch 'main' into removeMoreWorkspaceRegistration
CyrusNajmabadi Jun 11, 2025
82ec3b5
Merge branch 'main' into useSimpleLambdas
CyrusNajmabadi Jun 11, 2025
128e99c
Merge branch 'main' into nullProp
CyrusNajmabadi Jun 11, 2025
dea4092
Fix
CyrusNajmabadi Jun 11, 2025
6a09280
Update to using unbound nameof(X<>) expressions (#78731)
CyrusNajmabadi Jun 11, 2025
a8808be
Update to using simple untyped lambdas (#78732)
CyrusNajmabadi Jun 11, 2025
d785549
Update code to use null propagation (#78733)
CyrusNajmabadi Jun 11, 2025
7087d2d
Fix issue serializing null options in VB (#78895)
CyrusNajmabadi Jun 11, 2025
5936530
Remove more workspace registration hookup code. (#78910)
CyrusNajmabadi Jun 11, 2025
a1d33d1
Inline Hints - do not allow double click for collection expression ty…
akhera99 Jun 11, 2025
8bcf516
Add tests
CyrusNajmabadi Jun 11, 2025
f77d2b7
Revert "Update code to use null propagation (#78733)"
RikkiGibson Jun 12, 2025
1ab27c2
Revert "Move to .NET 10 Preview 5 (#78906)"
RikkiGibson Jun 12, 2025
c88b853
fix warning
RikkiGibson Jun 12, 2025
cddbe0b
Revert "Update to using unbound nameof(X<>) expressions (#78731)"
RikkiGibson Jun 12, 2025
71cc05d
Revert "Update to using simple untyped lambdas (#78732)"
RikkiGibson Jun 12, 2025
0256a95
Use net9 sdk (#78928)
RikkiGibson Jun 12, 2025
40da9cb
Fix OOP crash issue with copilot change analysis
CyrusNajmabadi Jun 12, 2025
9f7d5c5
Re-enable IDE0051 (#78919)
jaredpar Jun 12, 2025
225e7f2
Extensions: address some follow-up comments (#78847)
Jun 12, 2025
347786a
Pass missing Hot Reload result properties (#78929)
tmat Jun 12, 2025
c1f9c09
Fix deadlock if an MSBuild task is writing to stdout
jasonmalinowski Jun 12, 2025
650ec49
Revert
CyrusNajmabadi Jun 12, 2025
a50f310
Collect stats
CyrusNajmabadi Jun 12, 2025
345419e
Extensions: allow cref references to extension members (#78735)
Jun 12, 2025
c42e474
Fix deadlock if an MSBuild task is writing to stdout (#78927)
jasonmalinowski Jun 12, 2025
c6ef6e8
Fix scoped variance checks involving ref struct interface implementat…
RikkiGibson Jun 12, 2025
2f32bf8
Fix OOP crash issue with copilot change analysis (#78931)
CyrusNajmabadi Jun 12, 2025
c38b3ce
Remove now unused Progression references and related hacks
jasonmalinowski Jun 13, 2025
8656b47
Expose a couple of things to Razor
davidwengier Jun 13, 2025
a766830
Remove more unneeded references
jasonmalinowski Jun 13, 2025
f10f6f8
Obsolete api
CyrusNajmabadi Jun 13, 2025
b0a00ec
Obsolete api (#78950)
CyrusNajmabadi Jun 13, 2025
9a2e1b5
[main] Source code updates from dotnet/dotnet (#78805)
dotnet-maestro[bot] Jun 13, 2025
641a850
Merge branch 'main' into extensionConstraints
CyrusNajmabadi Jun 13, 2025
6332862
Code simplification
CyrusNajmabadi Jun 13, 2025
a3cd8e7
Specify single reducer
CyrusNajmabadi Jun 13, 2025
2a9e58b
Simplify
CyrusNajmabadi Jun 13, 2025
76f7f40
Add test
CyrusNajmabadi Jun 13, 2025
4276652
Only add annotations to potential references
CyrusNajmabadi Jun 13, 2025
09585f0
:Extract type
CyrusNajmabadi Jun 13, 2025
38e7dac
Docs
CyrusNajmabadi Jun 13, 2025
fd69b21
move up
CyrusNajmabadi Jun 13, 2025
fb72d38
Add a layer of constraint filtering for 'add import for extension met…
CyrusNajmabadi Jun 13, 2025
1d0d8a5
Expose `IsIterator` as a public API (#78813)
DoctorKrolic Jun 13, 2025
6ae6778
Do not make unnecessarily simplification changes in sync-namespace. (…
CyrusNajmabadi Jun 13, 2025
18d08b0
Update enum values
davidwengier Jun 14, 2025
83ca22e
PR Feedback
davidwengier Jun 14, 2025
f8eb8e5
Expose a couple of things to Razor (#78949)
davidwengier Jun 14, 2025
96e969a
Delete unused package references (#78958)
jasonmalinowski Jun 16, 2025
057349d
Merge remote-tracking branch 'upstream/main' into merge-main
333fred Jun 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 5 additions & 4 deletions .github/workflows/main-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

name: Inter-branch merge
on:
# schedule:
# # Create a merge every 3 hours (works only for merges from `main`, others would need a `push` trigger).
# - cron: '0 */3 * * *'
schedule:
# Create a merge every 3 hours (works only for merges from `main`, others would need a `push` trigger).
- cron: '0 */3 * * *'
workflow_dispatch:
inputs:
configuration_file_branch:
Expand All @@ -21,5 +21,6 @@ jobs:
if: github.repository == 'dotnet/roslyn'
uses: dotnet/arcade/.github/workflows/inter-branch-merge-base.yml@main
with:
configuration_file_path: 'eng/config/branch-merge.jsonc'
configuration_file_path: 'eng/config/main-to-main-vs-deps-branch-merge.jsonc'
configuration_file_branch: ${{ inputs.configuration_file_branch || 'main' }}

7 changes: 5 additions & 2 deletions Roslyn.sln
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31319.15
# Visual Studio Version 18
VisualStudioVersion = 18.0.10623.112 main
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RoslynDeployment", "src\Deployment\RoslynDeployment.csproj", "{600AF682-E097-407B-AD85-EE3CED37E680}"
EndProject
Expand Down Expand Up @@ -2207,8 +2207,11 @@ Global
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\VisualBasicWorkspaceExtensions.projitems*{57ca988d-f010-4bf2-9a2e-07d6dcd2ff2c}*SharedItemsImports = 5
src\Analyzers\CSharp\Tests\CSharpAnalyzers.UnitTests.projitems*{58969243-7f59-4236-93d0-c93b81f569b3}*SharedItemsImports = 13
src\Dependencies\Collections\Microsoft.CodeAnalysis.Collections.projitems*{5f8d2414-064a-4b3a-9b42-8e2a04246be5}*SharedItemsImports = 5
src\Dependencies\Contracts\Microsoft.CodeAnalysis.Contracts.projitems*{5f8d2414-064a-4b3a-9b42-8e2a04246be5}*SharedItemsImports = 5
src\Dependencies\PooledObjects\Microsoft.CodeAnalysis.PooledObjects.projitems*{5f8d2414-064a-4b3a-9b42-8e2a04246be5}*SharedItemsImports = 5
src\Dependencies\Threading\Microsoft.CodeAnalysis.Threading.projitems*{5f8d2414-064a-4b3a-9b42-8e2a04246be5}*SharedItemsImports = 5
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CompilerExtensions.projitems*{5f8d2414-064a-4b3a-9b42-8e2a04246be5}*SharedItemsImports = 5
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Microsoft.CodeAnalysis.Extensions.projitems*{5f8d2414-064a-4b3a-9b42-8e2a04246be5}*SharedItemsImports = 5
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\WorkspaceExtensions.projitems*{5f8d2414-064a-4b3a-9b42-8e2a04246be5}*SharedItemsImports = 5
src\Analyzers\Core\CodeFixes\CodeFixes.projitems*{5ff1e493-69cc-4d0b-83f2-039f469a04e1}*SharedItemsImports = 5
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\WorkspaceExtensions.projitems*{5ff1e493-69cc-4d0b-83f2-039f469a04e1}*SharedItemsImports = 5
Expand Down
5 changes: 0 additions & 5 deletions eng/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@
<PackageVersion Include="Microsoft.VisualStudio.Extensibility.JsonGenerators.Sdk" Version="17.12.2037-preview3" />
<PackageVersion Include="Microsoft.VSSDK.Debugger.VSDConfigTool" Version="17.13.1100801-preview" />
<PackageVersion Include="Microsoft.VisualStudio.ProjectSystem" Version="17.0.77-pre-g62a6cb5699" />
<PackageVersion Include="Microsoft.VisualStudio.Progression.CodeSchema" Version="15.8.27812-alpha" />
<PackageVersion Include="Microsoft.VisualStudio.Progression.Common" Version="15.8.27812-alpha" />
<PackageVersion Include="Microsoft.VisualStudio.Progression.Interfaces" Version="15.8.27812-alpha" />
<PackageVersion Include="Microsoft.VisualStudio.CallHierarchy.Package.Definitions" Version="15.8.27812-alpha" />
<PackageVersion Include="Microsoft.VisualStudio.CodeAnalysis.Sdk.UI" Version="15.8.27812-alpha" />
<PackageVersion Include="Microsoft.VisualStudio.Language.CallHierarchy" Version="15.8.27812-alpha" />
Expand Down Expand Up @@ -99,14 +96,12 @@
<PackageVersion Include="Microsoft.VisualStudio.CoreUtility" Version="17.13.226" />
<PackageVersion Include="Microsoft.VisualStudio.Editor" Version="17.13.226" />
<PackageVersion Include="Microsoft.VisualStudio.ImageCatalog" Version="17.13.40008" />
<PackageVersion Include="Microsoft.VisualStudio.Imaging.Interop.14.0.DesignTime" Version="17.13.40008" />
<PackageVersion Include="Microsoft.VisualStudio.Language" Version="17.13.226" />
<PackageVersion Include="Microsoft.VisualStudio.Language.NavigateTo.Interfaces" Version="17.13.226" />
<PackageVersion Include="Microsoft.VisualStudio.Language.StandardClassification" Version="17.13.226" />
<PackageVersion Include="Microsoft.VisualStudio.LanguageServer.Client" Version="17.13.33" />
<PackageVersion Include="Microsoft.VisualStudio.RemoteControl" Version="16.3.52" />
<PackageVersion Include="Microsoft.VisualStudio.RpcContracts" Version="17.13.7" />
<PackageVersion Include="Microsoft.VisualStudio.Shell.15.0" Version="17.13.40008" />
<PackageVersion Include="Microsoft.VisualStudio.Telemetry" Version="17.14.8" />
<PackageVersion Include="Microsoft.VisualStudio.Text.Data" Version="17.13.226" />
<PackageVersion Include="Microsoft.VisualStudio.Text.Logic" Version="17.13.226" />
Expand Down
2 changes: 1 addition & 1 deletion eng/Version.Details.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Dependencies>
<Source Uri="https://github.com/dotnet/dotnet" Mapping="roslyn" Sha="57b0396ae0d21b9f0dfe0d208c57822fb88f9a8d" BarId="269724" />
<Source Uri="https://github.com/dotnet/dotnet" Mapping="roslyn" Sha="25bec1af21db71468c5c2c3a588dd54d0e058e9d" BarId="271417" />
<ProductDependencies>
<!-- RoslynAnalyzers reference older builds of Roslyn and this is necessary for SourceBuild. -->
<Dependency Name="Microsoft.CodeAnalysis" Version="3.11.0">
Expand Down
2 changes: 1 addition & 1 deletion eng/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ function TestUsingRunTests() {
}

} elseif ($testVsi) {
$args += " --timeout 110"
$args += " --timeout 220"
$args += " --runtime both"
$args += " --sequential"
$args += " --include '\.IntegrationTests'"
Expand Down
9 changes: 9 additions & 0 deletions eng/config/PublishData.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,15 @@
"insertionCreateDraftPR": false
},
"main": {
"nugetKind": [
"Shipping",
"NonShipping"
],
"vsBranch": "main",
"insertionCreateDraftPR": true,
"insertionTitlePrefix": "[Validation]"
},
"main-vs-deps": {
"nugetKind": [
"Shipping",
"NonShipping"
Expand Down
9 changes: 0 additions & 9 deletions eng/config/branch-merge.jsonc

This file was deleted.

3 changes: 0 additions & 3 deletions eng/config/globalconfigs/Common.globalconfig
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ dotnet_diagnostic.VSTHRD010.severity = none
# VSTHRD110: Observe result of async calls
dotnet_diagnostic.VSTHRD110.severity = none

# Workaround for old Microsoft.VisualStudio.Progression.* packages: https://github.com/dotnet/roslyn/issues/71404
dotnet_diagnostic.VSIXCompatibility1001.severity = none

dotnet_diagnostic.HAA0101.severity = none
dotnet_diagnostic.HAA0102.severity = none
dotnet_diagnostic.HAA0201.severity = none
Expand Down
10 changes: 10 additions & 0 deletions eng/config/main-to-main-vs-deps-branch-merge.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Used by .github/workflows/main-merge.yml
{
"merge-flow-configurations": {
// Merge any main changes to main-vs-deps.
"main": {
"MergeToBranch": "main-vs-deps",
"ExtraSwitches": "-QuietComments"
}
}
}
4 changes: 1 addition & 3 deletions eng/targets/Settings.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@

<VSSDKTargetPlatformRegRootSuffix>RoslynDev</VSSDKTargetPlatformRegRootSuffix>

<!-- Workaround for old Microsoft.VisualStudio.Progression.* packages -->
<NoWarn>$(NoWarn);VSIXCompatibility1001</NoWarn>

<!-- TODO: https://github.com/dotnet/roslyn/issues/71667 -->
<NoWarn>$(NoWarn);NU1507</NoWarn>

Expand Down Expand Up @@ -120,6 +117,7 @@
<MicrosoftCodeAnalysisLanguageServerKey>002400000480000094000000060200000024000052534131000400000100010009f3c8fcb7cb2592cc6e6d3646d4d9a2bda9e7a243d357bc17a5a06f50ed0dae74a343cd9538fe45bbc90a3f7cbecb23558205e3b246b69f7f7730e520460d560da1c68cda9e2256e3b801629e2dc1fd588b1681aaf4f2c98abcfc50086ecbcd55f76f7dbaf018e708527d8ae3a2714b3ec9b62bd9aaf56cf55b3ffc9eee31aa</MicrosoftCodeAnalysisLanguageServerKey>
<MicrosoftCodeAnalysisCompilerDeveloperSDKKey>00240000048000009400000006020000002400005253413100040000010001005984d9e99e5722bb74ddbb59972bff1a2fd9e0ccb2d50e09ef85e39ec4a4e4bf2de896997de1af164be0558cdd5a50a283b9353fc4e5ccc1c87363e6e7d87af7bec8ca40281596fc8f5b5aad9904230f6f3892f8dde382cee7ba9854004d86ce93834a86b42ebdd0faf86d9fa6d935e05aed68cb4d828cea77df028739aaa9dc</MicrosoftCodeAnalysisCompilerDeveloperSDKKey>
<CopilotKey>002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293</CopilotKey>
<AIToolsKey>$(MicrosoftSharedPublicKey)</AIToolsKey>
</PropertyGroup>

<!--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -759,62 +759,78 @@ private async Task<bool> ProcessSuppressMessageAttributesAsync(
continue;
}

var symbols = SemanticFacts.GetDeclaredSymbols(semanticModel, node, cancellationToken);
foreach (var symbol in symbols)
// In the case of declaration nodes that can have more than one symbol e.g. fields and events,
// the attributes are shared between then. Given this, we only need to inspect the first symbol
// of the node.
var symbol = SemanticFacts
.GetDeclaredSymbols(semanticModel, node, cancellationToken)
.FirstOrDefault();

// If we somehow do not have a symbol, we can't do anything. Otherwise, check if our symbol is
// a partial definition. If it is, skip it in favor of checking the implementation.
if (symbol is null or
IMethodSymbol { IsPartialDefinition: true } or
IPropertySymbol { IsPartialDefinition: true })
{
switch (symbol?.Kind)
{
// Local SuppressMessageAttributes are only applicable for types and members.
case SymbolKind.NamedType:
case SymbolKind.Method:
case SymbolKind.Field:
case SymbolKind.Property:
case SymbolKind.Event:
break;

default:
continue;
}
continue;
}

// Skip already processed symbols from partial declarations
var isPartial = symbol.Locations.Length > 1;
if (isPartial && !processedPartialSymbols.Add(symbol))
{
switch (symbol?.Kind)
{
// Local SuppressMessageAttributes are only applicable for types and members.
case SymbolKind.NamedType:
case SymbolKind.Method:
case SymbolKind.Field:
case SymbolKind.Property:
case SymbolKind.Event:
break;

default:
continue;
}
}

// Skip already processed symbols from partial declarations
var isPartial = symbol.Locations.Length > 1;

foreach (var attribute in symbol.GetAttributes())
if (isPartial && !processedPartialSymbols.Add(symbol))
{
continue;
}

foreach (var attribute in symbol.GetAttributes())
{
if (attribute.ApplicationSyntaxReference != null &&
TryGetSuppressedDiagnosticId(attribute, suppressMessageAttributeType, out var id, out var category))
{
if (attribute.ApplicationSyntaxReference != null &&
TryGetSuppressedDiagnosticId(attribute, suppressMessageAttributeType, out var id, out var category))
// Ignore unsupported IDs and those excluded through user option.
if (!IsSupportedAnalyzerDiagnosticId(id) ||
userIdExclusions.Contains(id, StringComparer.OrdinalIgnoreCase) ||
category?.Length > 0 && userCategoryExclusions.Contains(category, StringComparer.OrdinalIgnoreCase))
{
continue;
}

if (!idToSuppressMessageAttributesMap.TryGetValue(id, out var nodesForId))
{
// Ignore unsupported IDs and those excluded through user option.
if (!IsSupportedAnalyzerDiagnosticId(id) ||
userIdExclusions.Contains(id, StringComparer.OrdinalIgnoreCase) ||
category?.Length > 0 && userCategoryExclusions.Contains(category, StringComparer.OrdinalIgnoreCase))
{
continue;
}

if (!idToSuppressMessageAttributesMap.TryGetValue(id, out var nodesForId))
{
nodesForId = [];
idToSuppressMessageAttributesMap.Add(id, nodesForId);
}

var attributeNode = await attribute.ApplicationSyntaxReference.GetSyntaxAsync(cancellationToken).ConfigureAwait(false);
nodesForId.Add(attributeNode);

// Initialize the attribute node as unnecessary at the start of the algorithm.
// Later processing will identify attributes which are indeed responsible for suppressing diagnostics
// and mark them as used.
// NOTE: For attributes on partial symbols with multiple declarations, we conservatively
// consider them as used and avoid unnecessary attribute analysis because that would potentially
// require analysis across multiple files, which can be expensive from a performance standpoint.
suppressMessageAttributesToIsUsedMap.Add(attributeNode, isPartial);
nodesForId = [];
idToSuppressMessageAttributesMap.Add(id, nodesForId);
}

var attributeNode = await attribute.ApplicationSyntaxReference.GetSyntaxAsync(cancellationToken).ConfigureAwait(false);
nodesForId.Add(attributeNode);

// Initialize the attribute node as unnecessary at the start of the algorithm.
// Later processing will identify attributes which are indeed responsible for suppressing diagnostics
// and mark them as used.
// NOTE: For attributes on partial symbols with multiple declarations, we conservatively
// consider them as used and avoid unnecessary attribute analysis because that would potentially
// require analysis across multiple files, which can be expensive from a performance standpoint.
suppressMessageAttributesToIsUsedMap.Add(attributeNode, isPartial);
}
}

// Individual variables within a variable declaration cannot be decorated with distinct attributes, so we
// should avoid looking at any of the subsequent symbols for this node as they will be the same.
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1323,5 +1323,17 @@ End Namespace
parseOptions:=TestOptions.Regular,
compilationOptions:=TestOptions.ReleaseExe.WithGlobalImports({GlobalImport.Parse("System"), GlobalImport.Parse("Goo"), GlobalImport.Parse("Bar")}))
End Function

<Fact, WorkItem("https://github.com/dotnet/roslyn/issues/78799")>
Public Async Function TestExplicitSelectionOfFullImportStatement() As Task
Await TestAsync(
"[|Imports System.Collections.Generic|]

Class C
End Class",
"Class C
End Class",
TestOptions.Regular)
End Function
End Class
End Namespace
4 changes: 2 additions & 2 deletions src/Compilers/CSharp/Portable/Binder/Binder.ValueChecks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3029,13 +3029,13 @@ private bool CheckInvocationArgMixingWithUpdatedRules(
}
}

inferDeclarationExpressionValEscape();
inferDeclarationExpressionValEscape(argsOpt, localScopeDepth, escapeValues);

mixableArguments.Free();
escapeValues.Free();
return valid;

void inferDeclarationExpressionValEscape()
void inferDeclarationExpressionValEscape(ImmutableArray<BoundExpression> argsOpt, SafeContext localScopeDepth, ArrayBuilder<EscapeValue> escapeValues)
{
// find the widest scope that arguments could safely escape to.
// use this scope as the inferred STE of declaration expressions.
Expand Down
2 changes: 1 addition & 1 deletion src/Compilers/CSharp/Portable/Binder/Binder_Conversions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2286,7 +2286,7 @@ private static void CheckParameterModifierMismatchMethodConversion(SyntaxNode sy
return;
}

if (SourceMemberContainerTypeSymbol.RequiresValidScopedOverrideForRefSafety(delegateMethod))
if (SourceMemberContainerTypeSymbol.RequiresValidScopedOverrideForRefSafety(delegateMethod, lambdaOrMethod.TryGetThisParameter(out var thisParameter) ? thisParameter : null))
{
SourceMemberContainerTypeSymbol.CheckValidScopedOverride(
delegateMethod,
Expand Down
Loading