Skip to content

Commit ceed1c5

Browse files
authored
Change occurrences of master to main (#747)
1 parent 0092458 commit ceed1c5

File tree

7 files changed

+8
-9
lines changed

7 files changed

+8
-9
lines changed

.vsts-ci.yml

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ variables:
1111

1212
# Branches that trigger a build on commit
1313
trigger:
14-
- master
1514
- main
1615

1716
stages:

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
| Branch | Status |
44
|:------:|:------:|
55
|dev16.0.x|[![Build Status](https://dnceng.visualstudio.com/public/_apis/build/status/dotnet/roslyn-sdk/public-CI?branchName=dev16.0.x&label=build)](https://dnceng.visualstudio.com/public/_build/latest?definitionId=137&branchName=dev16.0.x)|
6-
|master|[![Build Status](https://dnceng.visualstudio.com/public/_apis/build/status/dotnet/roslyn-sdk/public-CI?branchName=master&label=build)](https://dnceng.visualstudio.com/public/_build/latest?definitionId=137&branchName=master)|
6+
|main|[![Build Status](https://dnceng.visualstudio.com/public/_apis/build/status/dotnet/roslyn-sdk/public-CI?branchName=main&label=build)](https://dnceng.visualstudio.com/public/_build/latest?definitionId=137&branchName=main)|
77

88
# What is the Roslyn-SDK?
99

samples/CSharp/SourceGenerators/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
These samples are for an in-progress feature of Roslyn. As such they may change or break as the feature is developed, and no level of support is implied.
55

6-
For more infomation on the Source Generators feature, see the [design document](https://github.com/dotnet/roslyn/blob/master/docs/features/source-generators.md).
6+
For more infomation on the Source Generators feature, see the [design document](https://github.com/dotnet/roslyn/blob/main/docs/features/source-generators.md).
77

88
Prerequisites
99
-----

src/VisualStudio.Roslyn.SDK/Roslyn.SDK/ProjectTemplates/CSharp/Diagnostic/Analyzer/DiagnosticAnalyzer.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class $saferootidentifiername$Analyzer : DiagnosticAnalyzer
1616
public const string DiagnosticId = "$saferootidentifiername$";
1717

1818
// You can change these strings in the Resources.resx file. If you do not want your analyzer to be localize-able, you can use regular strings for Title and MessageFormat.
19-
// See https://github.com/dotnet/roslyn/blob/master/docs/analyzers/Localizing%20Analyzers.md for more on localization
19+
// See https://github.com/dotnet/roslyn/blob/main/docs/analyzers/Localizing%20Analyzers.md for more on localization
2020
private static readonly LocalizableString Title = new LocalizableResourceString(nameof(Resources.AnalyzerTitle), Resources.ResourceManager, typeof(Resources));
2121
private static readonly LocalizableString MessageFormat = new LocalizableResourceString(nameof(Resources.AnalyzerMessageFormat), Resources.ResourceManager, typeof(Resources));
2222
private static readonly LocalizableString Description = new LocalizableResourceString(nameof(Resources.AnalyzerDescription), Resources.ResourceManager, typeof(Resources));
@@ -32,7 +32,7 @@ public override void Initialize(AnalysisContext context)
3232
context.EnableConcurrentExecution();
3333

3434
// TODO: Consider registering other actions that act on syntax instead of or in addition to symbols
35-
// See https://github.com/dotnet/roslyn/blob/master/docs/analyzers/Analyzer%20Actions%20Semantics.md for more information
35+
// See https://github.com/dotnet/roslyn/blob/main/docs/analyzers/Analyzer%20Actions%20Semantics.md for more information
3636
context.RegisterSymbolAction(AnalyzeSymbol, SymbolKind.NamedType);
3737
}
3838

src/VisualStudio.Roslyn.SDK/Roslyn.SDK/ProjectTemplates/CSharp/Diagnostic/CodeFix/CodeFixProvider.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public sealed override ImmutableArray<string> FixableDiagnosticIds
2525

2626
public sealed override FixAllProvider GetFixAllProvider()
2727
{
28-
// See https://github.com/dotnet/roslyn/blob/master/docs/analyzers/FixAllProvider.md for more information on Fix All Providers
28+
// See https://github.com/dotnet/roslyn/blob/main/docs/analyzers/FixAllProvider.md for more information on Fix All Providers
2929
return WellKnownFixAllProviders.BatchFixer;
3030
}
3131

src/VisualStudio.Roslyn.SDK/Roslyn.SDK/ProjectTemplates/VisualBasic/Diagnostic/Analyzer/DiagnosticAnalyzer.vb

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Public Class $saferootidentifiername$Analyzer
1515
Public Const DiagnosticId = "$saferootidentifiername$"
1616

1717
' You can change these strings in the Resources.resx file. If you do not want your analyzer to be localize-able, you can use regular strings for Title and MessageFormat.
18-
' See https://github.com/dotnet/roslyn/blob/master/docs/analyzers/Localizing%20Analyzers.md for more on localization
18+
' See https://github.com/dotnet/roslyn/blob/main/docs/analyzers/Localizing%20Analyzers.md for more on localization
1919
Private Shared ReadOnly Title As LocalizableString = New LocalizableResourceString(NameOf(My.Resources.AnalyzerTitle), My.Resources.ResourceManager, GetType(My.Resources.Resources))
2020
Private Shared ReadOnly MessageFormat As LocalizableString = New LocalizableResourceString(NameOf(My.Resources.AnalyzerMessageFormat), My.Resources.ResourceManager, GetType(My.Resources.Resources))
2121
Private Shared ReadOnly Description As LocalizableString = New LocalizableResourceString(NameOf(My.Resources.AnalyzerDescription), My.Resources.ResourceManager, GetType(My.Resources.Resources))
@@ -34,7 +34,7 @@ Public Class $saferootidentifiername$Analyzer
3434
context.EnableConcurrentExecution()
3535

3636
' TODO: Consider registering other actions that act on syntax instead of or in addition to symbols
37-
' See https://github.com/dotnet/roslyn/blob/master/docs/analyzers/Analyzer%20Actions%20Semantics.md for more information
37+
' See https://github.com/dotnet/roslyn/blob/main/docs/analyzers/Analyzer%20Actions%20Semantics.md for more information
3838
context.RegisterSymbolAction(AddressOf AnalyzeSymbol, SymbolKind.NamedType)
3939
End Sub
4040

src/VisualStudio.Roslyn.SDK/Roslyn.SDK/ProjectTemplates/VisualBasic/Diagnostic/CodeFix/CodeFixProvider.vb

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Public Class $saferootidentifiername$CodeFixProvider
2424
End Property
2525

2626
Public NotOverridable Overrides Function GetFixAllProvider() As FixAllProvider
27-
' See https://github.com/dotnet/roslyn/blob/master/docs/analyzers/FixAllProvider.md for more information on Fix All Providers
27+
' See https://github.com/dotnet/roslyn/blob/main/docs/analyzers/FixAllProvider.md for more information on Fix All Providers
2828
Return WellKnownFixAllProviders.BatchFixer
2929
End Function
3030

0 commit comments

Comments
 (0)