Skip to content

Commit c6dfd02

Browse files
authored
Merge branch 'main' into extensions (#78278)
2 parents 60aa9aa + dec563e commit c6dfd02

File tree

5,431 files changed

+542413
-246016
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,431 files changed

+542413
-246016
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ dotnet_diagnostic.IDE0055.severity = warning
154154
# https://github.com/dotnet/roslyn-analyzers/issues/7436 - False positives from valid GetDeclaredSymbol calls
155155
dotnet_diagnostic.RS1039.severity = none
156156

157-
# These xUnit analyzers were disabled temporarily to let us move to the
157+
# These xUnit analyzers were disabled temporarily to let us move to the
158158
# new xUnit and get past several component governance issues. The
159159
# following issue tracks enabling them
160160
#

.git-blame-ignore-revs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ f125c2664d3bffb59536f4d3dfee7fa5323c7721
1515
32e21b64138876a065081ab4bbe15b1fbea12316
1616
8ab847ca4cbe30baeb0e5d1cbd68ba40385b01ae
1717
077012c5bc43649fc705698859143226e48686cf
18+
# Converting to file scoped namespaces on 3/26/2025.
19+
98d41b80f6a192230c045a6576e2a283a407980b
1820

.github/CODEOWNERS

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Automatically request reviews when a pull request changes any owned files
2-
# More information: https://github.com/blog/2392-introducing-code-owners
2+
3+
# More information: https://github.com/blog/2392-introducing-code-owners
34

45
*.yml @dotnet/roslyn-infrastructure
56
.github/ @dotnet/roslyn-infrastructure
@@ -15,15 +16,20 @@ scripts/ @dotnet/roslyn-infrastructure
1516
src/Analyzers/ @dotnet/roslyn-ide
1617
src/CodeStyle/ @dotnet/roslyn-ide
1718
src/Compilers/ @dotnet/roslyn-compiler
19+
1820
# Both IDE and Compiler traits are in this file, so we don't want to ping each other for changes to just this file.
21+
1922
# Technically this means that if someone changes _just_ this file no reviewers will be tagged, but this isn't likely
23+
2024
# to happen.
25+
2126
src/Compilers/Test/Core/Traits/Traits.cs
2227
src/EditorFeatures/ @dotnet/roslyn-ide
2328
src/Features/ @dotnet/roslyn-ide
2429
src/Interactive/ @dotnet/roslyn-interactive
2530
src/LanguageServer/ @dotnet/roslyn-ide
2631
src/NuGet/ @dotnet/roslyn-infrastructure
32+
src/RoslynAnalyzers/ @dotnet/roslyn-ide
2733
src/Scripting/ @dotnet/roslyn-interactive
2834
src/Setup/ @dotnet/roslyn-infrastructure
2935
src/Tools/AnalyzerRunner @dotnet/roslyn-ide

.github/policies/resourceManagement.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,39 @@ configuration:
290290
then:
291291
- removeLabel:
292292
label: untriaged
293+
294+
- description: Add breaking change doc instructions to issue
295+
if:
296+
- payloadType: Issues
297+
- labelAdded:
298+
label: breaking-change
299+
then:
300+
- addReply:
301+
reply: >-
302+
Refer to the [.NET SDK breaking change guidelines](https://github.com/dotnet/sdk/blob/main/documentation/project-docs/breaking-change-guidelines.md#required-process-for-all-net-sdk-breaking-changes)
303+
304+
- description: Add breaking change instructions to PR.
305+
if:
306+
- payloadType: Pull_Request
307+
- labelAdded:
308+
label: breaking-change
309+
then:
310+
- addLabel:
311+
label: needs-breaking-change-doc-created
312+
- addReply:
313+
reply: >-
314+
Added `needs-breaking-change-doc-created` label because this PR has the `breaking-change` label.
315+
316+
317+
When you commit this breaking change:
318+
319+
320+
1. [ ] Create and link to this PR and the issue a matching issue in the dotnet/docs repo using the [breaking change documentation template](https://aka.ms/dotnet/docs/new-breaking-change-issue), then remove this `needs-breaking-change-doc-created` label.
321+
322+
2. [ ] Ask a committer to mail the `.NET SDK Breaking Change Notification` email list.
323+
293324
325+
You can refer to the [.NET SDK breaking change guidelines](https://github.com/dotnet/sdk/blob/main/documentation/project-docs/breaking-change-guidelines.md)
326+
294327
onFailure:
295328
onSuccess:

.github/workflows/main-merge.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
name: Inter-branch merge
44
on:
5-
schedule:
6-
# Create a merge every 3 hours (works only for merges from `main`, others would need a `push` trigger).
7-
- cron: '0 */3 * * *'
5+
# schedule:
6+
# # Create a merge every 3 hours (works only for merges from `main`, others would need a `push` trigger).
7+
# - cron: '0 */3 * * *'
88
workflow_dispatch:
99
inputs:
1010
configuration_file_branch:

.vscode/launch.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,51 @@
6262
"stopAtEntry": false,
6363
"console": "internalConsole"
6464
},
65+
{
66+
"name": "Launch Microsoft.Build.Tasks.CodeAnalysis.dll via MSBuild.exe (netfx)",
67+
"type": "clr",
68+
"request": "launch",
69+
"preLaunchTask": "build toolset",
70+
"program": "C:/Program Files/Microsoft Visual Studio/2022/Preview/MSBuild/Current/Bin/amd64/MSBuild.exe",
71+
"args": [
72+
"-restore",
73+
"-p:RoslynTargetsPath=${workspaceFolder}/artifacts/bin/Microsoft.Net.Compilers.Toolset.Package/Debug/tasks/net472",
74+
],
75+
// A simple project that can be used to debug the build tasks against.
76+
"cwd": "${workspaceFolder}/src/Tools/Source/CompilerGeneratorTools/Source/BoundTreeGenerator",
77+
"stopAtEntry": false,
78+
"console": "internalConsole"
79+
},
80+
{
81+
"name": "Launch Microsoft.Build.Tasks.CodeAnalysis.dll via MSBuild.exe (netcore)",
82+
"type": "clr",
83+
"request": "launch",
84+
"preLaunchTask": "build toolset",
85+
"program": "C:/Program Files/Microsoft Visual Studio/2022/Preview/MSBuild/Current/Bin/amd64/MSBuild.exe",
86+
"args": [
87+
"-restore",
88+
"-p:RoslynTargetsPath=${workspaceFolder}/artifacts/bin/Microsoft.Net.Compilers.Toolset.Package/Debug/tasks/netcore",
89+
],
90+
// A simple project that can be used to debug the build tasks against.
91+
"cwd": "${workspaceFolder}/src/Tools/Source/CompilerGeneratorTools/Source/BoundTreeGenerator",
92+
"stopAtEntry": false,
93+
"console": "internalConsole"
94+
},
95+
{
96+
"name": "Launch Microsoft.Build.Tasks.CodeAnalysis.dll via dotnet build",
97+
"type": "coreclr",
98+
"request": "launch",
99+
"preLaunchTask": "build toolset",
100+
"program": "dotnet",
101+
"args": [
102+
"build",
103+
"-p:RoslynTargetsPath=${workspaceFolder}/artifacts/bin/Microsoft.Net.Compilers.Toolset.Package/Debug/tasks/netcore",
104+
],
105+
// A simple project that can be used to debug the build tasks against.
106+
"cwd": "${workspaceFolder}/src/Tools/Source/CompilerGeneratorTools/Source/BoundTreeGenerator",
107+
"stopAtEntry": false,
108+
"console": "internalConsole"
109+
},
65110
{
66111
"name": ".NET Core Launch (console)",
67112
"type": "coreclr",

.vscode/tasks.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,18 @@
9797
"problemMatcher": "$msCompile",
9898
"group": "build"
9999
},
100+
{
101+
"label": "build toolset",
102+
"type": "shell",
103+
"command": "dotnet",
104+
"args": [
105+
"build",
106+
"-p:GenerateFullPaths=true",
107+
"${workspaceFolder}/src/NuGet/Microsoft.Net.Compilers.Toolset/AnyCpu/Microsoft.Net.Compilers.Toolset.Package.csproj"
108+
],
109+
"problemMatcher": "$msCompile",
110+
"group": "build"
111+
},
100112
{
101113
"label": "msbuild current project",
102114
"type": "shell",

0 commit comments

Comments
 (0)