diff --git a/.gitignore b/.gitignore
index 3fe9dd0d8..9b845092f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,6 +14,7 @@ OpenCover.Symbols/
.nuget/NuGet.exe
build/nuget/
*.log
+StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/
# Visual Studio performance tools
*.psess
diff --git a/NuGet.config b/NuGet.config
index 10f1a4c5d..e72a4de73 100644
--- a/NuGet.config
+++ b/NuGet.config
@@ -5,6 +5,7 @@
+
diff --git a/StyleCop.Analyzers/Directory.Build.props b/StyleCop.Analyzers/Directory.Build.props
index 6769b4846..0dfa64be9 100644
--- a/StyleCop.Analyzers/Directory.Build.props
+++ b/StyleCop.Analyzers/Directory.Build.props
@@ -13,6 +13,7 @@
10enable99
+ true
@@ -46,11 +47,15 @@
-
-
+
+
+
+
+
+
diff --git a/StyleCop.Analyzers/Directory.Build.targets b/StyleCop.Analyzers/Directory.Build.targets
index 862c5c1c8..f3adcdfc6 100644
--- a/StyleCop.Analyzers/Directory.Build.targets
+++ b/StyleCop.Analyzers/Directory.Build.targets
@@ -1,21 +1,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/LayoutRules/SA1500CodeFixProvider.cs b/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/LayoutRules/SA1500CodeFixProvider.cs
index 2ab1bc062..b16c739be 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/LayoutRules/SA1500CodeFixProvider.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/LayoutRules/SA1500CodeFixProvider.cs
@@ -18,6 +18,7 @@ namespace StyleCop.Analyzers.LayoutRules
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Text;
using StyleCop.Analyzers.Helpers;
+ using StyleCop.Analyzers.Lightup;
using StyleCop.Analyzers.Settings.ObjectModel;
///
@@ -165,6 +166,7 @@ private static bool IsAccessorWithSingleLineBlock(SyntaxToken previousToken, Syn
{
case SyntaxKind.GetKeyword:
case SyntaxKind.SetKeyword:
+ case SyntaxKindEx.InitKeyword:
case SyntaxKind.AddKeyword:
case SyntaxKind.RemoveKeyword:
break;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/LayoutRules/SA1513CodeFixProvider.cs b/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/LayoutRules/SA1513CodeFixProvider.cs
index 1b38f0f3f..bea1d10e9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/LayoutRules/SA1513CodeFixProvider.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/LayoutRules/SA1513CodeFixProvider.cs
@@ -65,7 +65,8 @@ private static async Task GetTransformedDocumentAsync(Document docum
diagnostics.Select(diagnostic => root.FindToken(diagnostic.Location.SourceSpan.End)),
(originalToken, rewrittenToken) =>
{
- var newTrivia = rewrittenToken.LeadingTrivia.Insert(0, SyntaxFactory.CarriageReturnLineFeed);
+ var endOfLineTrivia = rewrittenToken.GetPrecedingEndOfLineTrivia();
+ var newTrivia = rewrittenToken.LeadingTrivia.Insert(0, endOfLineTrivia);
return rewrittenToken.WithLeadingTrivia(newTrivia);
});
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/LayoutRules/SA1516CodeFixProvider.cs b/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/LayoutRules/SA1516CodeFixProvider.cs
index 73c5bcfb7..b8d7940fa 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/LayoutRules/SA1516CodeFixProvider.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/LayoutRules/SA1516CodeFixProvider.cs
@@ -152,6 +152,11 @@ private static SyntaxNode GetRelevantNode(SyntaxNode innerNode)
return currentNode;
}
+ if (currentNode is ExternAliasDirectiveSyntax)
+ {
+ return currentNode;
+ }
+
currentNode = currentNode.Parent;
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/MaintainabilityRules/SA1402CodeFixProvider.cs b/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/MaintainabilityRules/SA1402CodeFixProvider.cs
index 00b26af1c..2f1d0740e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/MaintainabilityRules/SA1402CodeFixProvider.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/MaintainabilityRules/SA1402CodeFixProvider.cs
@@ -90,6 +90,8 @@ private static async Task GetTransformedSolutionAsync(Document documen
case SyntaxKind.InterfaceDeclaration:
case SyntaxKind.EnumDeclaration:
case SyntaxKind.DelegateDeclaration:
+ case SyntaxKindEx.RecordDeclaration:
+ case SyntaxKindEx.RecordStructDeclaration:
nodesToRemoveFromExtracted.Add(child);
break;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/NamingRules/RenameToUpperCaseCodeFixProvider.cs b/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/NamingRules/RenameToUpperCaseCodeFixProvider.cs
index 4269ea96a..e7581fc74 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/NamingRules/RenameToUpperCaseCodeFixProvider.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/NamingRules/RenameToUpperCaseCodeFixProvider.cs
@@ -59,6 +59,12 @@ public override async Task RegisterCodeFixesAsync(CodeFixContext context)
{
var token = root.FindToken(diagnostic.Location.SourceSpan.Start);
var tokenText = token.ValueText.TrimStart('_');
+ if (tokenText == string.Empty)
+ {
+ // Skip this one, since we can't create a new identifier from this
+ continue;
+ }
+
var baseName = char.ToUpper(tokenText[0]) + tokenText.Substring(1);
var newName = baseName;
var memberSyntax = RenameHelper.GetParentDeclaration(token);
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/ReadabilityRules/SA1130CodeFixProvider.cs b/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/ReadabilityRules/SA1130CodeFixProvider.cs
index 3e386e6f7..616797082 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/ReadabilityRules/SA1130CodeFixProvider.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/ReadabilityRules/SA1130CodeFixProvider.cs
@@ -72,7 +72,7 @@ private static async Task CanFixAsync(CodeFixContext context, Diagnostic d
private static SyntaxNode ReplaceWithLambda(SemanticModel semanticModel, AnonymousMethodExpressionSyntax anonymousMethod)
{
var parameterList = anonymousMethod.ParameterList;
- SyntaxNode lambdaExpression;
+ ExpressionSyntax lambdaExpression;
SyntaxToken arrowToken;
if (parameterList == null)
@@ -91,16 +91,17 @@ private static SyntaxNode ReplaceWithLambda(SemanticModel semanticModel, Anonymo
case SyntaxKind.AddAssignmentExpression:
case SyntaxKind.SubtractAssignmentExpression:
- var list = GetAssignmentArgumentList(semanticModel, anonymousMethod);
-
- if (list == null)
{
- return null;
+ var list = GetAssignmentArgumentList(semanticModel, anonymousMethod);
+ if (list == null)
+ {
+ return null;
+ }
+
+ argumentList = list.Value;
+ break;
}
- argumentList = list.Value;
- break;
-
case SyntaxKind.ArrowExpressionClause:
case SyntaxKind.ReturnStatement:
argumentList = GetMemberReturnTypeArgumentList(semanticModel, anonymousMethod);
@@ -110,6 +111,18 @@ private static SyntaxNode ReplaceWithLambda(SemanticModel semanticModel, Anonymo
}
break;
+
+ case SyntaxKind.CastExpression:
+ {
+ var list = GetCastTypeArgumentList(semanticModel, anonymousMethod);
+ if (list == null)
+ {
+ return null;
+ }
+
+ argumentList = list.Value;
+ break;
+ }
}
List parameters = GenerateUniqueParameterNames(semanticModel, anonymousMethod, argumentList);
@@ -165,6 +178,13 @@ private static SyntaxNode ReplaceWithLambda(SemanticModel semanticModel, Anonymo
lambdaExpression = SyntaxFactory.ParenthesizedLambdaExpression(anonymousMethod.AsyncKeyword, parameterListSyntax, arrowToken, anonymousMethod.Body);
}
+ if (anonymousMethod.Parent.IsKind(SyntaxKind.CastExpression))
+ {
+ // In this case, the lambda needs enclosing parenthesis to be syntactically correct
+ lambdaExpression = SyntaxFactory.ParenthesizedExpression(lambdaExpression);
+ }
+
+ // TODO: No tests require this annotation. Can it be removed?
return lambdaExpression
.WithAdditionalAnnotations(Formatter.Annotation);
}
@@ -213,6 +233,21 @@ private static ImmutableArray GetMemberReturnTypeArgumentList(SemanticMo
return !(((IMethodSymbol)enclosingSymbol).ReturnType is INamedTypeSymbol returnType) ? ImmutableArray.Empty : returnType.DelegateInvokeMethod.Parameters.Select(ps => ps.Name).ToImmutableArray();
}
+ private static ImmutableArray? GetCastTypeArgumentList(SemanticModel semanticModel, AnonymousMethodExpressionSyntax anonymousMethod)
+ {
+ var castExpression = (CastExpressionSyntax)anonymousMethod.Parent;
+
+ var symbol = semanticModel.GetSymbolInfo(castExpression.Type);
+ var namedTypeSymbol = symbol.Symbol as INamedTypeSymbol;
+ var parameters = namedTypeSymbol?.DelegateInvokeMethod?.Parameters;
+ if (parameters == null)
+ {
+ return null;
+ }
+
+ return parameters.Value.Select(ps => ps.Name).ToImmutableArray();
+ }
+
private static List GenerateUniqueParameterNames(SemanticModel semanticModel, AnonymousMethodExpressionSyntax anonymousMethod, ImmutableArray argumentNames)
{
var parameters = new List();
@@ -306,7 +341,7 @@ protected override async Task FixAllInDocumentAsync(FixAllContext fi
return rewrittenNode;
}
- return newNode;
+ return newNode.WithoutFormatting();
});
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/ReadabilityRules/SA1133CodeFixProvider.cs b/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/ReadabilityRules/SA1133CodeFixProvider.cs
index eee338e00..ebb9a6a56 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/ReadabilityRules/SA1133CodeFixProvider.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/ReadabilityRules/SA1133CodeFixProvider.cs
@@ -116,7 +116,9 @@ protected override async Task FixAllInDocumentAsync(FixAllContext fi
var syntaxRoot = await document.GetSyntaxRootAsync(fixAllContext.CancellationToken).ConfigureAwait(false);
var settings = SettingsHelper.GetStyleCopSettings(document.Project.AnalyzerOptions, syntaxRoot.SyntaxTree, fixAllContext.CancellationToken);
- var nodes = diagnostics.Select(diagnostic => syntaxRoot.FindNode(diagnostic.Location.SourceSpan, getInnermostNodeForTie: true).FirstAncestorOrSelf());
+ // 🐉 Need to eagerly evaluate this with ToList() to ensure nodes are not garbage collected between the
+ // call to TrackNodes and subsequent enumeration.
+ var nodes = diagnostics.Select(diagnostic => syntaxRoot.FindNode(diagnostic.Location.SourceSpan, getInnermostNodeForTie: true).FirstAncestorOrSelf()).ToList();
var newRoot = syntaxRoot.TrackNodes(nodes);
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/GeneratorSyntaxExtensions.cs b/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/GeneratorSyntaxExtensions.cs
index ad25f4aa3..58e151ec8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/GeneratorSyntaxExtensions.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/GeneratorSyntaxExtensions.cs
@@ -3,7 +3,6 @@
namespace StyleCop.Analyzers.CodeGeneration
{
- using System;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
@@ -13,7 +12,7 @@ public static TSyntax WithLeadingBlankLine(this TSyntax syntax)
where TSyntax : SyntaxNode
{
return syntax.WithLeadingTrivia(SyntaxFactory.TriviaList(
- SyntaxFactory.PreprocessingMessage(Environment.NewLine)));
+ SyntaxFactory.PreprocessingMessage(XmlSyntaxFactory.CrLf)));
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/OperationLightupGenerator.cs b/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/OperationLightupGenerator.cs
index 681559ea6..091b5b68c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/OperationLightupGenerator.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/OperationLightupGenerator.cs
@@ -16,7 +16,6 @@ namespace StyleCop.Analyzers.CodeGeneration
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
- using Microsoft.CodeAnalysis.Text;
[Generator]
internal sealed class OperationLightupGenerator : IIncrementalGenerator
@@ -579,7 +578,7 @@ private void GenerateOperationInterface(in SourceProductionContext context, Inte
.WithTrailingTrivia(
SyntaxFactory.CarriageReturnLineFeed);
- context.AddSource(node.WrapperName + ".g.cs", SourceText.From(wrapperNamespace.ToFullString(), Encoding.UTF8));
+ context.AddSource(node.WrapperName + ".g.cs", wrapperNamespace.GetText(Encoding.UTF8));
}
private void GenerateOperationWrapperHelper(in SourceProductionContext context, ImmutableArray wrapperTypes)
@@ -740,20 +739,20 @@ private void GenerateOperationWrapperHelper(in SourceProductionContext context,
SyntaxFactory.Trivia(SyntaxFactory.DocumentationComment(
SyntaxFactory.XmlText(" "),
SyntaxFactory.XmlSummaryElement(
- SyntaxFactory.XmlNewLine(Environment.NewLine),
+ SyntaxFactory.XmlText(XmlSyntaxFactory.XmlCarriageReturnLineFeedWithContinuation),
SyntaxFactory.XmlText(" Gets the type that is wrapped by the given wrapper."),
- SyntaxFactory.XmlNewLine(Environment.NewLine),
+ SyntaxFactory.XmlText(XmlSyntaxFactory.XmlCarriageReturnLineFeedWithContinuation),
SyntaxFactory.XmlText(" ")),
- SyntaxFactory.XmlNewLine(Environment.NewLine),
+ SyntaxFactory.XmlText(XmlSyntaxFactory.XmlCarriageReturnLineFeedWithContinuation),
SyntaxFactory.XmlText(" "),
SyntaxFactory.XmlParamElement(
"wrapperType",
SyntaxFactory.XmlText("Type of the wrapper for which the wrapped type should be retrieved.")),
- SyntaxFactory.XmlNewLine(Environment.NewLine),
+ SyntaxFactory.XmlText(XmlSyntaxFactory.XmlCarriageReturnLineFeedWithContinuation),
SyntaxFactory.XmlText(" "),
SyntaxFactory.XmlReturnsElement(
SyntaxFactory.XmlText("The wrapped type, or null if there is no info.")),
- SyntaxFactory.XmlNewLine(Environment.NewLine).WithoutTrailingTrivia()))));
+ SyntaxFactory.XmlText(XmlSyntaxFactory.XmlCarriageReturnLineFeedWithContinuation).WithoutTrailingTrivia()))));
var wrapperHelperClass = SyntaxFactory.ClassDeclaration(
attributeLists: default,
@@ -787,7 +786,7 @@ private void GenerateOperationWrapperHelper(in SourceProductionContext context,
.WithTrailingTrivia(
SyntaxFactory.CarriageReturnLineFeed);
- context.AddSource("OperationWrapperHelper.g.cs", SourceText.From(wrapperNamespace.ToFullString(), Encoding.UTF8));
+ context.AddSource("OperationWrapperHelper.g.cs", wrapperNamespace.GetText(Encoding.UTF8));
}
private void GenerateOperationKindEx(in SourceProductionContext context, ImmutableArray wrapperTypes)
@@ -840,7 +839,7 @@ private void GenerateOperationKindEx(in SourceProductionContext context, Immutab
.WithTrailingTrivia(
SyntaxFactory.CarriageReturnLineFeed);
- context.AddSource("OperationKindEx.g.cs", SourceText.From(wrapperNamespace.ToFullString(), Encoding.UTF8));
+ context.AddSource("OperationKindEx.g.cs", wrapperNamespace.GetText(Encoding.UTF8));
}
private sealed class DocumentData
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/SyntaxLightupGenerator.cs b/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/SyntaxLightupGenerator.cs
index 9a2348610..7c656a034 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/SyntaxLightupGenerator.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/SyntaxLightupGenerator.cs
@@ -4,7 +4,6 @@
namespace StyleCop.Analyzers.CodeGeneration
{
using System;
- using System.Collections;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
@@ -18,7 +17,6 @@ namespace StyleCop.Analyzers.CodeGeneration
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
- using Microsoft.CodeAnalysis.Text;
[Generator]
internal sealed class SyntaxLightupGenerator : IIncrementalGenerator
@@ -859,7 +857,7 @@ private void GenerateSyntaxWrapper(in SourceProductionContext context, SyntaxDat
.WithTrailingTrivia(
SyntaxFactory.CarriageReturnLineFeed);
- context.AddSource(nodeData.WrapperName + ".g.cs", SourceText.From(wrapperNamespace.ToFullString(), Encoding.UTF8));
+ context.AddSource(nodeData.WrapperName + ".g.cs", wrapperNamespace.GetText(Encoding.UTF8));
}
private void GenerateSyntaxWrapperHelper(in SourceProductionContext context, ImmutableArray wrapperTypes)
@@ -1198,20 +1196,20 @@ private void GenerateSyntaxWrapperHelper(in SourceProductionContext context, Imm
SyntaxFactory.Trivia(SyntaxFactory.DocumentationComment(
SyntaxFactory.XmlText(" "),
SyntaxFactory.XmlSummaryElement(
- SyntaxFactory.XmlNewLine(Environment.NewLine),
+ SyntaxFactory.XmlText(XmlSyntaxFactory.XmlCarriageReturnLineFeedWithContinuation),
SyntaxFactory.XmlText(" Gets the type that is wrapped by the given wrapper."),
- SyntaxFactory.XmlNewLine(Environment.NewLine),
+ SyntaxFactory.XmlText(XmlSyntaxFactory.XmlCarriageReturnLineFeedWithContinuation),
SyntaxFactory.XmlText(" ")),
- SyntaxFactory.XmlNewLine(Environment.NewLine),
+ SyntaxFactory.XmlText(XmlSyntaxFactory.XmlCarriageReturnLineFeedWithContinuation),
SyntaxFactory.XmlText(" "),
SyntaxFactory.XmlParamElement(
"wrapperType",
SyntaxFactory.XmlText("Type of the wrapper for which the wrapped type should be retrieved.")),
- SyntaxFactory.XmlNewLine(Environment.NewLine),
+ SyntaxFactory.XmlText(XmlSyntaxFactory.XmlCarriageReturnLineFeedWithContinuation),
SyntaxFactory.XmlText(" "),
SyntaxFactory.XmlReturnsElement(
SyntaxFactory.XmlText("The wrapped type, or null if there is no info.")),
- SyntaxFactory.XmlNewLine(Environment.NewLine).WithoutTrailingTrivia()))));
+ SyntaxFactory.XmlText(XmlSyntaxFactory.XmlCarriageReturnLineFeedWithContinuation).WithoutTrailingTrivia()))));
var wrapperHelperClass = SyntaxFactory.ClassDeclaration(
attributeLists: default,
@@ -1246,7 +1244,7 @@ private void GenerateSyntaxWrapperHelper(in SourceProductionContext context, Imm
.WithTrailingTrivia(
SyntaxFactory.CarriageReturnLineFeed);
- context.AddSource("SyntaxWrapperHelper.g.cs", SourceText.From(wrapperNamespace.ToFullString(), Encoding.UTF8));
+ context.AddSource("SyntaxWrapperHelper.g.cs", wrapperNamespace.GetText(Encoding.UTF8));
}
private sealed class SyntaxData
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/XmlSyntaxFactory.cs b/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/XmlSyntaxFactory.cs
new file mode 100644
index 000000000..4dc254249
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/XmlSyntaxFactory.cs
@@ -0,0 +1,15 @@
+// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
+// Licensed under the MIT License. See LICENSE in the project root for license information.
+
+namespace StyleCop.Analyzers.CodeGeneration
+{
+ using Microsoft.CodeAnalysis;
+ using Microsoft.CodeAnalysis.CSharp;
+
+ internal static class XmlSyntaxFactory
+ {
+ public const string CrLf = "\r\n";
+
+ public static SyntaxToken XmlCarriageReturnLineFeedWithContinuation { get; } = SyntaxFactory.XmlTextNewLine(CrLf, continueXmlDocumentationComment: true);
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Status.Generator/CodeFixStatus.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Status.Generator/CodeFixStatus.cs
index 9200eef6d..63611241d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Status.Generator/CodeFixStatus.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Status.Generator/CodeFixStatus.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Status.Generator
{
///
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Status.Generator/FixAllStatus.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Status.Generator/FixAllStatus.cs
index d469a3131..6a88d18a9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Status.Generator/FixAllStatus.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Status.Generator/FixAllStatus.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Status.Generator
{
///
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Status.Generator/StyleCop.Analyzers.Status.Generator.csproj b/StyleCop.Analyzers/StyleCop.Analyzers.Status.Generator/StyleCop.Analyzers.Status.Generator.csproj
index 4eb030226..203ffd6b8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Status.Generator/StyleCop.Analyzers.Status.Generator.csproj
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Status.Generator/StyleCop.Analyzers.Status.Generator.csproj
@@ -4,6 +4,7 @@
net472Exe
+ falsetrue
@@ -24,7 +25,7 @@
-
+
\ No newline at end of file
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/AnalyzerConfigurationTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/AnalyzerConfigurationTestsCSharp10.cs
index a76c186d7..e4a868e59 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/AnalyzerConfigurationTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/AnalyzerConfigurationTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10
{
using StyleCop.Analyzers.Test.CSharp9;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/CSharp10InheritdocCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/CSharp10InheritdocCodeFixProviderUnitTests.cs
index 5720a3c76..be49bc8d6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/CSharp10InheritdocCodeFixProviderUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/CSharp10InheritdocCodeFixProviderUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/CSharp10NoXmlFileHeaderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/CSharp10NoXmlFileHeaderUnitTests.cs
index b20a0b281..50c0f5ea6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/CSharp10NoXmlFileHeaderUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/CSharp10NoXmlFileHeaderUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1600CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1600CSharp10UnitTests.cs
index 78dfce33a..e4648e986 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1600CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1600CSharp10UnitTests.cs
@@ -22,9 +22,6 @@ protected override DiagnosticResult[] GetExpectedResultTestRegressionMethodGloba
// /0/Test0.cs(4,1): error CS0106: The modifier 'public' is not valid for this item
DiagnosticResult.CompilerError("CS0106").WithSpan(4, 1, 4, 7).WithArguments("public"),
- // /0/Test0.cs(4,1): error CS8320: Feature 'top-level statements' is not available in C# 7.2. Please use language version 9.0 or greater.
- DiagnosticResult.CompilerError("CS8320").WithSpan(4, 1, 4, 29).WithArguments("top-level statements", "9.0"),
-
// /0/Test0.cs(4,1): error CS8805: Program using top-level statements must be an executable.
DiagnosticResult.CompilerError("CS8805").WithSpan(4, 1, 4, 29),
};
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1601CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1601CSharp10UnitTests.cs
index d4e8d6b1e..67b1a7f30 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1601CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1601CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1602CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1602CSharp10UnitTests.cs
index 1251d838d..0f97c05ff 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1602CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1602CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1603CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1603CSharp10UnitTests.cs
index 59a9313d7..1821a5b78 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1603CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1603CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1604CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1604CSharp10UnitTests.cs
index 0b820de8a..e71be88a5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1604CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1604CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1605CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1605CSharp10UnitTests.cs
index d09ff0ea5..fc98945e5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1605CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1605CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1606CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1606CSharp10UnitTests.cs
index 0e345346d..3fad9bc64 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1606CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1606CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1607CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1607CSharp10UnitTests.cs
index a63a708c7..3dd027d97 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1607CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1607CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1608CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1608CSharp10UnitTests.cs
index b6702c45d..fda2bfc57 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1608CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1608CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1609CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1609CSharp10UnitTests.cs
index e1f816963..2604ea029 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1609CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1609CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1610CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1610CSharp10UnitTests.cs
index 05740e9c2..a96bae98e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1610CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1610CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1611CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1611CSharp10UnitTests.cs
index 7bcff16fe..0455d457c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1611CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1611CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1612CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1612CSharp10UnitTests.cs
index 4639fe8d8..4c9f49ebe 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1612CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1612CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1613CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1613CSharp10UnitTests.cs
index ad65c50f1..afe768d14 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1613CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1613CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1614CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1614CSharp10UnitTests.cs
index 6345bc715..c770787c4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1614CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1614CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1615CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1615CSharp10UnitTests.cs
index 45421d908..073c8848d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1615CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1615CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1616CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1616CSharp10UnitTests.cs
index c135665dc..dd9dce0a9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1616CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1616CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1617CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1617CSharp10UnitTests.cs
index 3deae0e32..fe97d6efd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1617CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1617CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1618CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1618CSharp10UnitTests.cs
index 495b4ddf7..324495cf1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1618CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1618CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1619CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1619CSharp10UnitTests.cs
index adab9397a..44be57cc7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1619CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1619CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1620CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1620CSharp10UnitTests.cs
index bf10ddda9..b0e0ea48b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1620CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1620CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1621CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1621CSharp10UnitTests.cs
index 026eed385..acea801fb 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1621CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1621CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1622CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1622CSharp10UnitTests.cs
index 8a2a17f67..c6c146320 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1622CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1622CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1623CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1623CSharp10UnitTests.cs
index 6c00cceae..e49c9cda8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1623CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1623CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1624CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1624CSharp10UnitTests.cs
index 10217558a..aca6ca957 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1624CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1624CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1625CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1625CSharp10UnitTests.cs
index b9cf9aad7..d4a6f0f5d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1625CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1625CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1626CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1626CSharp10UnitTests.cs
index 82e400fe5..0c6d273b5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1626CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1626CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1627CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1627CSharp10UnitTests.cs
index 6111ad1cf..6294d7539 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1627CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1627CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1628CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1628CSharp10UnitTests.cs
index 5158873fc..d1f20ab97 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1628CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1628CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1629CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1629CSharp10UnitTests.cs
index 60e4746e8..e74913e65 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1629CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1629CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1630CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1630CSharp10UnitTests.cs
index 00276b748..267699eb7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1630CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1630CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1631CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1631CSharp10UnitTests.cs
index 90444e3f0..fa3994b07 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1631CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1631CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1632CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1632CSharp10UnitTests.cs
index ef91fe313..4e0706545 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1632CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1632CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1633CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1633CSharp10UnitTests.cs
index fcd44ead9..4ea8d9fc9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1633CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1633CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1634CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1634CSharp10UnitTests.cs
index c473f09cc..d8cf582e8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1634CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1634CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1635CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1635CSharp10UnitTests.cs
index bb2d3ac1a..cd1db67a8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1635CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1635CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1636CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1636CSharp10UnitTests.cs
index 39f83330d..23fd973fc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1636CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1636CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1637CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1637CSharp10UnitTests.cs
index 4fef30a41..db351887a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1637CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1637CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1638CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1638CSharp10UnitTests.cs
index 2c8c81807..a97e8ba81 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1638CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1638CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1639CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1639CSharp10UnitTests.cs
index 0868a4ff0..3cf459c95 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1639CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1639CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1640CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1640CSharp10UnitTests.cs
index 1d44adcb6..35d2ec8d2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1640CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1640CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1641CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1641CSharp10UnitTests.cs
index f14e0ef16..8e30291fd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1641CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1641CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1642CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1642CSharp10UnitTests.cs
index b8d9744be..4d0f62cb0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1642CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1642CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1643CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1643CSharp10UnitTests.cs
index f9da535ab..2416ff7d2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1643CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1643CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1644CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1644CSharp10UnitTests.cs
index 7bb0595df..7cdd668a6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1644CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1644CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1645CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1645CSharp10UnitTests.cs
index 19b31d535..86ef4c8a7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1645CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1645CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1646CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1646CSharp10UnitTests.cs
index db3b04186..9083e529b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1646CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1646CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1647CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1647CSharp10UnitTests.cs
index 4e8ea32ef..cb25e2401 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1647CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1647CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1648CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1648CSharp10UnitTests.cs
index 14fe916d0..d3f0f9344 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1648CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1648CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1650CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1650CSharp10UnitTests.cs
index e7cb43fbc..24cb65eb7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1650CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1650CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1651CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1651CSharp10UnitTests.cs
index 571529cb3..3dc71740e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1651CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1651CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/HelperTests/SymbolNameHelpersCSharp10Tests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/HelperTests/SymbolNameHelpersCSharp10Tests.cs
index 64e27f3be..e53bb6f86 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/HelperTests/SymbolNameHelpersCSharp10Tests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/HelperTests/SymbolNameHelpersCSharp10Tests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.HelperTests
{
using StyleCop.Analyzers.Test.CSharp9.HelperTests;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1500CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1500CSharp10UnitTests.cs
index cfacd1c78..8af90ef7f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1500CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1500CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1501CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1501CSharp10UnitTests.cs
index e87eb835f..6c7a94a1e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1501CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1501CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1502CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1502CSharp10UnitTests.cs
index e2483c839..e0dd0684f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1502CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1502CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1503CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1503CSharp10UnitTests.cs
index c2e721cee..93a843df6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1503CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1503CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1504CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1504CSharp10UnitTests.cs
index a2be69682..50484fe30 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1504CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1504CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1505CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1505CSharp10UnitTests.cs
index c83277ebb..53f95679c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1505CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1505CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1506CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1506CSharp10UnitTests.cs
index b38e57436..94186cfad 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1506CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1506CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1507CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1507CSharp10UnitTests.cs
index 35dc08a71..8d3510481 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1507CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1507CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1508CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1508CSharp10UnitTests.cs
index 0d7c0ae02..5aeb58dfd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1508CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1508CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1509CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1509CSharp10UnitTests.cs
index 9b7c1607a..e4a4adcc5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1509CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1509CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1510CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1510CSharp10UnitTests.cs
index ce685568f..a8e894c52 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1510CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1510CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1511CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1511CSharp10UnitTests.cs
index c9cbd4edc..ae42e4685 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1511CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1511CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1512CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1512CSharp10UnitTests.cs
index dee925a03..512af2022 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1512CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1512CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1513CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1513CSharp10UnitTests.cs
index 4ef22f711..6450cab83 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1513CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1513CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1514CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1514CSharp10UnitTests.cs
index 369c2715f..d18ac3384 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1514CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1514CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1515CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1515CSharp10UnitTests.cs
index f6c01b3c8..6d0b8fe44 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1515CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1515CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516CSharp10UnitTests.cs
index 2dce70f8e..f6020b139 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516CSharp10UnitTests.cs
@@ -1,13 +1,243 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
+ using System.Threading;
+ using System.Threading.Tasks;
+ using Microsoft.CodeAnalysis;
+ using Microsoft.CodeAnalysis.CSharp;
+ using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
+ using Xunit;
+ using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
+ StyleCop.Analyzers.LayoutRules.SA1516ElementsMustBeSeparatedByBlankLine,
+ StyleCop.Analyzers.LayoutRules.SA1516CodeFixProvider>;
public class SA1516CSharp10UnitTests : SA1516CSharp9UnitTests
{
+ ///
+ /// Verifies that SA1516 is reported for usings and extern alias outside a file scoped namespace.
+ ///
+ /// A representing the asynchronous unit test.
+ [Fact]
+ [WorkItem(3512, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3512")]
+ public async Task TestThatDiagnosticIIsReportedOnUsingsAndExternAliasOutsideFileScopedNamespaceAsync()
+ {
+ var testCode = @"extern alias corlib;
+[|using|] System;
+using System.Linq;
+using a = System.Collections;
+[|namespace|] Foo;
+";
+
+ var fixedCode = @"extern alias corlib;
+
+using System;
+using System.Linq;
+using a = System.Collections;
+
+namespace Foo;
+";
+
+ await VerifyCSharpFixAsync(testCode, fixedCode).ConfigureAwait(false);
+ }
+
+ ///
+ /// Verifies that SA1516 is reported for usings inside a file scoped namespace.
+ ///
+ /// A representing the asynchronous unit test.
+ [Fact]
+ [WorkItem(3512, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3512")]
+ public async Task TestThatDiagnosticIIsReportedOnSpacingWithUsingsInsideFileScopedNamespaceAsync()
+ {
+ var testCode = @"namespace Foo;
+[|using|] System;
+using System.Linq;
+using a = System.Collections;
+";
+
+ var fixedCode = @"namespace Foo;
+
+using System;
+using System.Linq;
+using a = System.Collections;
+";
+
+ await VerifyCSharpFixAsync(testCode, fixedCode).ConfigureAwait(false);
+ }
+
+ ///
+ /// Verifies that SA1516 is reported for member declarations inside a file scoped namespace.
+ ///
+ /// A representing the asynchronous unit test.
+ [Fact]
+ [WorkItem(3512, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3512")]
+ public async Task TestThatDiagnosticIIsReportedOnMemberDeclarationsInsideFileScopedNamespaceAsync()
+ {
+ var testCode = @"namespace Foo;
+[|public|] class Bar
+{
+}
+[|public|] enum Foobar
+{
+}
+";
+
+ var fixedCode = @"namespace Foo;
+
+public class Bar
+{
+}
+
+public enum Foobar
+{
+}
+";
+
+ await VerifyCSharpFixAsync(testCode, fixedCode).ConfigureAwait(false);
+ }
+
+ ///
+ /// Verifies that SA1516 is reported for usings and member declarations inside a file scoped namespace.
+ ///
+ /// A representing the asynchronous unit test.
+ [Fact]
+ [WorkItem(3512, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3512")]
+ public async Task TestThatDiagnosticIIsReportedOnUsingsAndMemberDeclarationsInsideFileScopedNamespaceAsync()
+ {
+ var testCode = @"namespace Foo;
+[|using|] System;
+using System.Linq;
+using a = System.Collections;
+[|public|] class Bar
+{
+}
+[|public|] enum Foobar
+{
+}
+";
+
+ var fixedCode = @"namespace Foo;
+
+using System;
+using System.Linq;
+using a = System.Collections;
+
+public class Bar
+{
+}
+
+public enum Foobar
+{
+}
+";
+
+ await VerifyCSharpFixAsync(testCode, fixedCode).ConfigureAwait(false);
+ }
+
+ ///
+ /// Verifies that SA1516 is reported extern alias inside a file scoped namespace.
+ ///
+ /// A representing the asynchronous unit test.
+ [Fact]
+ [WorkItem(3512, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3512")]
+ public async Task TestThatDiagnosticIIsReportedOnExternAliasInsideFileScopedNamespaceAsync()
+ {
+ var testCode = @"namespace Foo;
+[|extern|] alias corlib;
+";
+
+ var fixedCode = @"namespace Foo;
+
+extern alias corlib;
+";
+
+ await VerifyCSharpFixAsync(testCode, fixedCode).ConfigureAwait(false);
+ }
+
+ ///
+ /// Verifies that SA1516 is reported extern alias and usings inside a file scoped namespace.
+ ///
+ /// A representing the asynchronous unit test.
+ [Fact]
+ [WorkItem(3512, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3512")]
+ public async Task TestThatDiagnosticIIsReportedOnExternAliasAndUsingsInsideFileScopedNamespaceAsync()
+ {
+ var testCode = @"namespace Foo;
+[|extern|] alias corlib;
+[|using|] System;
+using System.Linq;
+using a = System.Collections;
+";
+
+ var fixedCode = @"namespace Foo;
+
+extern alias corlib;
+
+using System;
+using System.Linq;
+using a = System.Collections;
+";
+
+ await VerifyCSharpFixAsync(testCode, fixedCode).ConfigureAwait(false);
+ }
+
+ ///
+ /// Verifies that SA1516 is reported extern alias, usings and member declarations
+ /// inside a file scoped namespace.
+ ///
+ /// A representing the asynchronous unit test.
+ [Fact]
+ [WorkItem(3512, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3512")]
+ public async Task TestThatDiagnosticIIsReportedOnExternAliasUsingsAndMemberDeclarationsInsideFileScopedNamespaceAsync()
+ {
+ var testCode = @"namespace Foo;
+[|extern|] alias corlib;
+[|using|] System;
+using System.Linq;
+using a = System.Collections;
+[|public|] class Bar
+{
+}
+[|public|] enum Foobar
+{
+}
+";
+
+ var fixedCode = @"namespace Foo;
+
+extern alias corlib;
+
+using System;
+using System.Linq;
+using a = System.Collections;
+
+public class Bar
+{
+}
+
+public enum Foobar
+{
+}
+";
+
+ await VerifyCSharpFixAsync(testCode, fixedCode).ConfigureAwait(false);
+ }
+
+ private static Task VerifyCSharpFixAsync(string testCode, string fixedCode)
+ {
+ var test = new CSharpTest
+ {
+ ReferenceAssemblies = ReferenceAssemblies.Net.Net60,
+ TestState =
+ {
+ Sources = { testCode },
+ },
+ FixedCode = fixedCode,
+ };
+
+ return test.RunAsync(CancellationToken.None);
+ }
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516CSharp10UsingGroupsUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516CSharp10UsingGroupsUnitTests.cs
index e54cc61da..bfbee6adc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516CSharp10UsingGroupsUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516CSharp10UsingGroupsUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1517CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1517CSharp10UnitTests.cs
index 3c9891fde..c4945e303 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1517CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1517CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1518CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1518CSharp10UnitTests.cs
index 3025c7fec..33afe0039 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1518CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1518CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1519CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1519CSharp10UnitTests.cs
index 6b6e9b53d..253ad90b1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1519CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1519CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1520CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1520CSharp10UnitTests.cs
index 1eb71131b..d085b2c80 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1520CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1520CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp10.cs
index 4974eb220..74af8fa3e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ArgumentSyntaxExtensionsTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ArgumentSyntaxExtensionsTestsCSharp10.cs
index 1606cf123..66b78e49b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ArgumentSyntaxExtensionsTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ArgumentSyntaxExtensionsTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp10.cs
index 55b0cbdcf..db490fc18 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp10.cs
index 05cfba615..d5ac4b7f5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp10.cs
index a4e7724db..740179906 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstantPatternSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstantPatternSyntaxWrapperTestsCSharp10.cs
index a35b4f6e2..95506e8cd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstantPatternSyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstantPatternSyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp10.cs
index bfa6646fe..98a67053f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CrefParameterSyntaxExtensionsTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CrefParameterSyntaxExtensionsTestsCSharp10.cs
index d7305f58f..8ed43d0ba 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CrefParameterSyntaxExtensionsTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CrefParameterSyntaxExtensionsTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp10.cs
index 9ca6fd4b0..61f726b30 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp10.cs
index d88111af8..ddc1e3d22 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp10.cs
index 24c560ef7..a535b52c1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp10.cs
index 6dbce450d..393b1d3d4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp10.cs
index 802293506..9a642b441 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp10.cs
index 877c35000..e1e74719d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LanguageVersionExTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LanguageVersionExTestsCSharp10.cs
index 7e4dcd668..5f2b2ab47 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LanguageVersionExTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LanguageVersionExTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LightupHelpersTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LightupHelpersTestsCSharp10.cs
index b94fd9682..c07648855 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LightupHelpersTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LightupHelpersTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp10.cs
index 412eec6b5..d6e299a69 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/MethodKindExTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/MethodKindExTestsCSharp10.cs
index 3e9ae1008..0c7ffd54a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/MethodKindExTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/MethodKindExTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/OperationKindExTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/OperationKindExTestsCSharp10.cs
index 60d585f9a..c1bb9e3a1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/OperationKindExTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/OperationKindExTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp10.cs
index 9497f97a9..ff7ec5b44 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/PatternSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/PatternSyntaxWrapperTestsCSharp10.cs
index b7387b53c..d60422b69 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/PatternSyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/PatternSyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefExpressionSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefExpressionSyntaxWrapperTestsCSharp10.cs
index d20ad17cc..62a8b79e1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefExpressionSyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefExpressionSyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefTypeSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefTypeSyntaxWrapperTestsCSharp10.cs
index cc96fbfed..f73a5054d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefTypeSyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefTypeSyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp10.cs
index 7cb9a9b73..688b38d90 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp10.cs
index 6b34b05b7..9e760f531 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp10.cs
index 8094553c3..bc3224d21 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp10.cs
index 04c66472d..67826119c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxKindExTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxKindExTestsCSharp10.cs
index 68468bc9b..95b669bff 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxKindExTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxKindExTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperHelperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperHelperTestsCSharp10.cs
index b15b004a5..60ac4bb42 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperHelperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperHelperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperTestsCSharp10.cs
index 7a2bc6592..90ca82070 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp10.cs
index 6e0148493..b80ea806d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleElementSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleElementSyntaxWrapperTestsCSharp10.cs
index cd7928e01..e2fb75904 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleElementSyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleElementSyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleExpressionSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleExpressionSyntaxWrapperTestsCSharp10.cs
index 88ed447d3..ea09f9148 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleExpressionSyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleExpressionSyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleTypeSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleTypeSyntaxWrapperTestsCSharp10.cs
index e55657a92..1183581b2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleTypeSyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleTypeSyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/VariableDesignationSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/VariableDesignationSyntaxWrapperTestsCSharp10.cs
index abfc8358a..6d584ee3b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/VariableDesignationSyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/VariableDesignationSyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/WhenClauseSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/WhenClauseSyntaxWrapperTestsCSharp10.cs
index 1b0ed590b..d1890cddb 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/WhenClauseSyntaxWrapperTestsCSharp10.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/WhenClauseSyntaxWrapperTestsCSharp10.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1119CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1119CSharp10UnitTests.cs
index 2e56b7c82..b5b775d75 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1119CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1119CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1400CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1400CSharp10UnitTests.cs
index f6020df4b..63368a81c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1400CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1400CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1401CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1401CSharp10UnitTests.cs
index b330c8223..3a707f3a5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1401CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1401CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForDelegateUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForDelegateUnitTests.cs
index bc44b843d..2aaa60273 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForDelegateUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForDelegateUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForEnumUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForEnumUnitTests.cs
index 15f96fedd..f8b888329 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForEnumUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForEnumUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForInterfaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForInterfaceUnitTests.cs
index ef39db8b2..95775bf35 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForInterfaceUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForInterfaceUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordClassUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordClassUnitTests.cs
new file mode 100644
index 000000000..581a44735
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordClassUnitTests.cs
@@ -0,0 +1,16 @@
+// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
+// Licensed under the MIT License. See LICENSE in the project root for license information.
+
+namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.MaintainabilityRules;
+
+ public class SA1402CSharp10ForRecordClassUnitTests : SA1402ForBlockDeclarationUnitTestsBase
+ {
+ public override string Keyword => "record class";
+
+ protected override string SettingKeyword => "class";
+
+ protected override bool IsConfiguredAsTopLevelTypeByDefault => true;
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordStructUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordStructUnitTests.cs
new file mode 100644
index 000000000..a1c205454
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordStructUnitTests.cs
@@ -0,0 +1,16 @@
+// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
+// Licensed under the MIT License. See LICENSE in the project root for license information.
+
+namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.MaintainabilityRules;
+
+ public class SA1402CSharp10ForRecordStructUnitTests : SA1402ForBlockDeclarationUnitTestsBase
+ {
+ public override string Keyword => "record struct";
+
+ protected override string SettingKeyword => "struct";
+
+ protected override bool IsConfiguredAsTopLevelTypeByDefault => false;
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordUnitTests.cs
new file mode 100644
index 000000000..016434091
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordUnitTests.cs
@@ -0,0 +1,11 @@
+// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
+// Licensed under the MIT License. See LICENSE in the project root for license information.
+
+namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
+
+ public class SA1402CSharp10ForRecordUnitTests : SA1402CSharp9ForRecordUnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForStructUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForStructUnitTests.cs
index 2388788a2..3061cc3f0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForStructUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForStructUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1403CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1403CSharp10UnitTests.cs
index 35942d235..a9c86494b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1403CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1403CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1404CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1404CSharp10UnitTests.cs
index dd9b86ba8..0deae8537 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1404CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1404CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1405CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1405CSharp10UnitTests.cs
index a41a71717..898366ece 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1405CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1405CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1406CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1406CSharp10UnitTests.cs
index a59c6d920..f310c58ab 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1406CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1406CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1407CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1407CSharp10UnitTests.cs
index 7f3fc6e47..f23297d13 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1407CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1407CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1408CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1408CSharp10UnitTests.cs
index e63b7e566..e3e2693a9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1408CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1408CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1409CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1409CSharp10UnitTests.cs
index 6ea39f85e..9e8972d41 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1409CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1409CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1410CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1410CSharp10UnitTests.cs
index 22af9b271..acb56ac94 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1410CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1410CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1411CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1411CSharp10UnitTests.cs
index e3b086339..41a07e13e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1411CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1411CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1412CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1412CSharp10UnitTests.cs
index ec3b55749..cf78cfc9c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1412CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1412CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1413CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1413CSharp10UnitTests.cs
index 8bd070c4b..6e4df4004 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1413CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1413CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1301CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1301CSharp10UnitTests.cs
index 7fcff1da7..1bb60941b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1301CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1301CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1302CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1302CSharp10UnitTests.cs
index d947ab61c..0e2a39469 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1302CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1302CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1303CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1303CSharp10UnitTests.cs
index 9e244958a..63ef27bf7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1303CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1303CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1304CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1304CSharp10UnitTests.cs
index e8eed1af9..324a15874 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1304CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1304CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1305CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1305CSharp10UnitTests.cs
index 7f123b9a7..72ef4d341 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1305CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1305CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1306CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1306CSharp10UnitTests.cs
index b20736848..4bf087e4a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1306CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1306CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1307CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1307CSharp10UnitTests.cs
index fffe7afd7..dfc4e2d05 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1307CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1307CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1308CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1308CSharp10UnitTests.cs
index 8b4e307c0..44ab2e164 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1308CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1308CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1309CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1309CSharp10UnitTests.cs
index 886acb48e..4aabba92d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1309CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1309CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1310CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1310CSharp10UnitTests.cs
index 3722a2e52..0d4e0fb34 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1310CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1310CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1311CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1311CSharp10UnitTests.cs
index 5d853d9c9..aa20f243b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1311CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1311CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1312CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1312CSharp10UnitTests.cs
index ee07ddf86..762277b77 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1312CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1312CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1313CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1313CSharp10UnitTests.cs
index 02173ad14..d099245cb 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1313CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1313CSharp10UnitTests.cs
@@ -7,7 +7,6 @@ namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using System.Threading;
using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.CSharp;
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
using StyleCop.Analyzers.Test.Verifiers;
using Xunit;
@@ -43,7 +42,7 @@ public R(int a, int b)
}}
";
- await new CSharpTest(LanguageVersion.CSharp10)
+ await new CSharpTest()
{
ReferenceAssemblies = GenericAnalyzerTest.ReferenceAssembliesNet60,
TestCode = testCode,
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1314CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1314CSharp10UnitTests.cs
index b8720f4f7..075c7af5f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1314CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1314CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1316CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1316CSharp10UnitTests.cs
index 2a956fa5d..ba4bfe758 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1316CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1316CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SX1309CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SX1309CSharp10UnitTests.cs
index 0d3f39d99..32e53a6cc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SX1309CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SX1309CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SX1309SCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SX1309SCSharp10UnitTests.cs
index c1c1e2970..75bf957d9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SX1309SCSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SX1309SCSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs
index a9b39b6b8..67055d1ae 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderGroupSeparationUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderGroupSeparationUnitTests.cs
index 78758fca2..1725fcf55 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderGroupSeparationUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderGroupSeparationUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderRegressionUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderRegressionUnitTests.cs
index c6d7fffbe..9e611a740 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderRegressionUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderRegressionUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderUnitTests.cs
index 11df6d5d6..1a230a859 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1203CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1203CSharp10UnitTests.cs
index eb9713227..6dc18f932 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1203CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1203CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1205CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1205CSharp10UnitTests.cs
index aa0a08543..88386a516 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1205CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1205CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CSharp10CodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CSharp10CodeFixProviderUnitTests.cs
index a496b8d2d..8b0f773be 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CSharp10CodeFixProviderUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CSharp10CodeFixProviderUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CSharp10UnitTests.cs
index 6f8acbb26..c61447536 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1207CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1207CSharp10UnitTests.cs
index 5ddcb28ab..3c3f7fe97 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1207CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1207CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1212CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1212CSharp10UnitTests.cs
index 63bd9844e..76048823a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1212CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1212CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1213CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1213CSharp10UnitTests.cs
index f66e7ff3d..21b24bc6c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1213CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1213CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1214CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1214CSharp10UnitTests.cs
index bab91953e..55db320e6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1214CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1214CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1215CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1215CSharp10UnitTests.cs
index b1a964eb7..13b705939 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1215CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1215CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1100CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1100CSharp10UnitTests.cs
index e008546d8..3657ae719 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1100CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1100CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1101CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1101CSharp10UnitTests.cs
index 6d5bd0724..33b092d9e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1101CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1101CSharp10UnitTests.cs
@@ -5,7 +5,6 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using System.Threading;
using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.CSharp;
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
using StyleCop.Analyzers.Test.Verifiers;
using Xunit;
@@ -30,7 +29,7 @@ public bool Method(Test arg)
}
}";
- await new CSharpTest(LanguageVersion.CSharp10)
+ await new CSharpTest()
{
ReferenceAssemblies = GenericAnalyzerTest.ReferenceAssembliesNet60,
TestCode = testCode,
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1102CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1102CSharp10UnitTests.cs
index b3c68bd07..86babe1e8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1102CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1102CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1103CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1103CSharp10UnitTests.cs
index 078728c9d..4af5c9679 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1103CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1103CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1104CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1104CSharp10UnitTests.cs
index 8a892eedb..45d572981 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1104CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1104CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1105CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1105CSharp10UnitTests.cs
index a512bf43e..63ac7b392 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1105CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1105CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1106CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1106CSharp10UnitTests.cs
index 93fee4905..1fd3814c5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1106CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1106CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1107CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1107CSharp10UnitTests.cs
index 92977e230..057d7ac97 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1107CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1107CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1108CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1108CSharp10UnitTests.cs
index 56e5ed66f..4b33e0a1e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1108CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1108CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1109CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1109CSharp10UnitTests.cs
index 4376921f2..98cc55578 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1109CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1109CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1110CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1110CSharp10UnitTests.cs
index b7162db1c..35259f35f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1110CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1110CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1111CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1111CSharp10UnitTests.cs
index 1020f1da8..53a3dd3f0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1111CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1111CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1112CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1112CSharp10UnitTests.cs
index 73156f636..68994e055 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1112CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1112CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1113CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1113CSharp10UnitTests.cs
index d7aff67f1..289d414ee 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1113CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1113CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1114CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1114CSharp10UnitTests.cs
index 4a19df55f..b9aa3a896 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1114CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1114CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1115CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1115CSharp10UnitTests.cs
index 9981c6344..0aed603e1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1115CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1115CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1116CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1116CSharp10UnitTests.cs
index 8e184850b..6f8005f83 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1116CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1116CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1117CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1117CSharp10UnitTests.cs
index c84da6dd5..46446319b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1117CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1117CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1118CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1118CSharp10UnitTests.cs
index 468059cb7..3de516241 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1118CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1118CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1120CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1120CSharp10UnitTests.cs
index 0f5fd381b..c7320329d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1120CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1120CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1122CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1122CSharp10UnitTests.cs
index f591852fb..6114a5af3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1122CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1122CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1123CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1123CSharp10UnitTests.cs
index dfe0a4e69..11fb3e6ee 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1123CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1123CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1124CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1124CSharp10UnitTests.cs
index b068882bc..594c5ac75 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1124CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1124CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1125CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1125CSharp10UnitTests.cs
index 6202c0393..9c5dc8053 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1125CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1125CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1126CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1126CSharp10UnitTests.cs
index cba19f7b5..5644b9126 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1126CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1126CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1127CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1127CSharp10UnitTests.cs
index 985f28c6a..1599e83d4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1127CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1127CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1128CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1128CSharp10UnitTests.cs
index c8968e8ac..d987dd80d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1128CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1128CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1130CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1130CSharp10UnitTests.cs
index 724c52bb7..3260f9d97 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1130CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1130CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1131CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1131CSharp10UnitTests.cs
index 853a5db71..4177bde62 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1131CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1131CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1132CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1132CSharp10UnitTests.cs
index 42716216f..1f427a4a9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1132CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1132CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1133CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1133CSharp10UnitTests.cs
index 5bfdb1df3..1f93c0c3a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1133CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1133CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1134CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1134CSharp10UnitTests.cs
index f5a886000..6e0983aff 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1134CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1134CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1136CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1136CSharp10UnitTests.cs
index 2289b99d6..5ab41b0d4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1136CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1136CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1139CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1139CSharp10UnitTests.cs
index 40e124175..82b3c4779 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1139CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1139CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SX1101CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SX1101CSharp10UnitTests.cs
index d1beb4e40..fd664e80e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SX1101CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SX1101CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Settings/SettingsCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Settings/SettingsCSharp10UnitTests.cs
index 3fcfeef57..6b8f8868c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Settings/SettingsCSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Settings/SettingsCSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Settings
{
using StyleCop.Analyzers.Test.CSharp9.Settings;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Settings/SettingsFileCodeFixProviderCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Settings/SettingsFileCodeFixProviderCSharp10UnitTests.cs
index f9fc673fd..5155846e9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Settings/SettingsFileCodeFixProviderCSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Settings/SettingsFileCodeFixProviderCSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.Settings
{
using StyleCop.Analyzers.Test.CSharp9.Settings;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1000CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1000CSharp10UnitTests.cs
index fb987fa3a..b4d151b43 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1000CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1000CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1001CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1001CSharp10UnitTests.cs
index d83ba6c73..768392a22 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1001CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1001CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1002CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1002CSharp10UnitTests.cs
index 3ef958bf1..94322d3ff 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1002CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1002CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1003CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1003CSharp10UnitTests.cs
index 8f8aa111b..46e6c4501 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1003CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1003CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1004CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1004CSharp10UnitTests.cs
index b2308b8c1..bde5ebbce 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1004CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1004CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1005CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1005CSharp10UnitTests.cs
index cf21832a1..465b8fa49 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1005CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1005CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1006CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1006CSharp10UnitTests.cs
index 2929db4e2..d75904267 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1006CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1006CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1007CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1007CSharp10UnitTests.cs
index ddcc94b77..c451421ea 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1007CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1007CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1008CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1008CSharp10UnitTests.cs
index a007194f0..19682c78e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1008CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1008CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1009CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1009CSharp10UnitTests.cs
index 84ef3d5a8..30050c786 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1009CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1009CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1010CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1010CSharp10UnitTests.cs
index f39e58cbe..eefa78401 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1010CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1010CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1011CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1011CSharp10UnitTests.cs
index e654fef83..74a196933 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1011CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1011CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1012CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1012CSharp10UnitTests.cs
index 30fd52ba5..2d293f8ec 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1012CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1012CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1014CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1014CSharp10UnitTests.cs
index bded4b583..13f887527 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1014CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1014CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1015CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1015CSharp10UnitTests.cs
index 1072d59ab..8a9a87fd8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1015CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1015CSharp10UnitTests.cs
@@ -1,13 +1,44 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
+ using System.Threading;
+ using System.Threading.Tasks;
+ using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
+ using Xunit;
+ using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
+ StyleCop.Analyzers.SpacingRules.SA1015ClosingGenericBracketsMustBeSpacedCorrectly,
+ StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>;
public class SA1015CSharp10UnitTests : SA1015CSharp9UnitTests
{
+ [Fact]
+ [WorkItem(3624, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3624")]
+ public async Task TestLambdaWithExplicitGenericReturnTypeAsync()
+ {
+ const string testCode = @"using System.Threading.Tasks;
+
+public class TestClass
+{
+ public void TestMethod()
+ {
+ var _ = Task|](int x) => Task.FromResult(x);
+ }
+}";
+
+ const string fixedCode = @"using System.Threading.Tasks;
+
+public class TestClass
+{
+ public void TestMethod()
+ {
+ var _ = Task (int x) => Task.FromResult(x);
+ }
+}";
+
+ await VerifyCSharpFixAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ }
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1016CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1016CSharp10UnitTests.cs
index e05aa2b2d..fc5978065 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1016CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1016CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1017CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1017CSharp10UnitTests.cs
index e62a66600..fc05be503 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1017CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1017CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1018CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1018CSharp10UnitTests.cs
index 8ab7a5d41..b49b6b6a3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1018CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1018CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1019CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1019CSharp10UnitTests.cs
index f770862f9..e40122fb1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1019CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1019CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1020CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1020CSharp10UnitTests.cs
index a838f39ca..6e47fad3f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1020CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1020CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1021CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1021CSharp10UnitTests.cs
index 5745bee2a..0fd46c3fd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1021CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1021CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1022CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1022CSharp10UnitTests.cs
index 9ba84a8fe..7b05c1658 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1022CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1022CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1023CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1023CSharp10UnitTests.cs
index 06a15945e..38d0649f6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1023CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1023CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1024CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1024CSharp10UnitTests.cs
index 0bc21f31e..9104d2f2e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1024CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1024CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1025CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1025CSharp10UnitTests.cs
index 58834182b..88530c859 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1025CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1025CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1026CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1026CSharp10UnitTests.cs
index 471813ff6..ed82a6b32 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1026CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1026CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027AlternateIndentationCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027AlternateIndentationCSharp10UnitTests.cs
index c295e44b7..0ba22b89f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027AlternateIndentationCSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027AlternateIndentationCSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027CSharp10UnitTests.cs
index 7f44578f7..0057b519f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027UseTabsCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027UseTabsCSharp10UnitTests.cs
index ac93fbe64..09f54a633 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027UseTabsCSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027UseTabsCSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1028CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1028CSharp10UnitTests.cs
index 1d13ee0fd..d50920433 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1028CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1028CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpecialRules/SA0001CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpecialRules/SA0001CSharp10UnitTests.cs
index f5866553b..065373a6b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpecialRules/SA0001CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpecialRules/SA0001CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpecialRules
{
using StyleCop.Analyzers.Test.CSharp9.SpecialRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpecialRules/SA0002CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpecialRules/SA0002CSharp10UnitTests.cs
index 306abf3ec..13513a76c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpecialRules/SA0002CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpecialRules/SA0002CSharp10UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp10.SpecialRules
{
using StyleCop.Analyzers.Test.CSharp9.SpecialRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/StyleCop.Analyzers.Test.CSharp10.csproj b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/StyleCop.Analyzers.Test.CSharp10.csproj
index fef1d1b58..fdf190e99 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/StyleCop.Analyzers.Test.CSharp10.csproj
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/StyleCop.Analyzers.Test.CSharp10.csproj
@@ -3,6 +3,7 @@
net472
+ falsetruetrue
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/AnalyzerConfigurationTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/AnalyzerConfigurationTestsCSharp11.cs
index fff300a6c..b19535852 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/AnalyzerConfigurationTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/AnalyzerConfigurationTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11
{
using StyleCop.Analyzers.Test.CSharp10;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/CSharp11InheritdocCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/CSharp11InheritdocCodeFixProviderUnitTests.cs
index 40cc288a2..3d945b440 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/CSharp11InheritdocCodeFixProviderUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/CSharp11InheritdocCodeFixProviderUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/CSharp11NoXmlFileHeaderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/CSharp11NoXmlFileHeaderUnitTests.cs
index 0ccae9b19..3ada085f4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/CSharp11NoXmlFileHeaderUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/CSharp11NoXmlFileHeaderUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1600CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1600CSharp11UnitTests.cs
index a03ad140c..d91a79b20 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1600CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1600CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1601CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1601CSharp11UnitTests.cs
index ffd62e083..fad47d24d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1601CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1601CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1602CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1602CSharp11UnitTests.cs
index 8a56097d9..21f284aa6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1602CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1602CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1603CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1603CSharp11UnitTests.cs
index 66dd55be8..ea2e4b9c4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1603CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1603CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1604CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1604CSharp11UnitTests.cs
index 96dc604bb..02d940485 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1604CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1604CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1605CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1605CSharp11UnitTests.cs
index e151ed844..bd46fdc8d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1605CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1605CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1606CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1606CSharp11UnitTests.cs
index 0e94a23f0..2d7b74975 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1606CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1606CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1607CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1607CSharp11UnitTests.cs
index f1f003715..09f2aa2b7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1607CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1607CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1608CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1608CSharp11UnitTests.cs
index 6aa4c2e25..17f877db5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1608CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1608CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1609CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1609CSharp11UnitTests.cs
index 9375b62b4..0d9e65528 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1609CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1609CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1610CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1610CSharp11UnitTests.cs
index 0494910d6..d4b54f44e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1610CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1610CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1611CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1611CSharp11UnitTests.cs
index 7268a9d6a..3b9a5f79a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1611CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1611CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1612CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1612CSharp11UnitTests.cs
index 629564239..d2f93dbaa 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1612CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1612CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1613CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1613CSharp11UnitTests.cs
index 9ebba6bd2..afad0d437 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1613CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1613CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1614CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1614CSharp11UnitTests.cs
index 9141ccddc..028dd9e8f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1614CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1614CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1615CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1615CSharp11UnitTests.cs
index 82b05d13a..1e85e039f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1615CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1615CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1616CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1616CSharp11UnitTests.cs
index 812d6c605..e83b5e364 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1616CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1616CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1617CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1617CSharp11UnitTests.cs
index 442544f0a..9dd2ef101 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1617CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1617CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1618CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1618CSharp11UnitTests.cs
index e23cdff6e..1a7e27873 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1618CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1618CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1619CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1619CSharp11UnitTests.cs
index 8e29b015e..ee4a26082 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1619CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1619CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1620CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1620CSharp11UnitTests.cs
index d082b4e41..3fa02b77c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1620CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1620CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1621CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1621CSharp11UnitTests.cs
index 1f3f1adcb..cee3b69c2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1621CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1621CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1622CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1622CSharp11UnitTests.cs
index f3d7efc58..2a10ccf8e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1622CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1622CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1623CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1623CSharp11UnitTests.cs
index 129a97a2d..71d9c821d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1623CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1623CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1624CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1624CSharp11UnitTests.cs
index 6c1f1e67d..eaa0b8030 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1624CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1624CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1625CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1625CSharp11UnitTests.cs
index 13e9eb343..0e8b33b9c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1625CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1625CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1626CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1626CSharp11UnitTests.cs
index cfc5f0411..d75093842 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1626CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1626CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1627CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1627CSharp11UnitTests.cs
index cc7ceacab..49e53ac69 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1627CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1627CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1628CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1628CSharp11UnitTests.cs
index 298a151b0..a05691c01 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1628CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1628CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1629CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1629CSharp11UnitTests.cs
index a90bcc74f..b5a690337 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1629CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1629CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1630CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1630CSharp11UnitTests.cs
index 075a47539..ccb42bbad 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1630CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1630CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1631CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1631CSharp11UnitTests.cs
index 30463bd17..d76c6cb65 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1631CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1631CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1632CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1632CSharp11UnitTests.cs
index ac89e01c7..3fa186631 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1632CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1632CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1633CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1633CSharp11UnitTests.cs
index e8956a019..748be23ec 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1633CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1633CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1634CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1634CSharp11UnitTests.cs
index 6a7badec5..0bbd8b742 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1634CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1634CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1635CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1635CSharp11UnitTests.cs
index 89ab4c418..593016a51 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1635CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1635CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1636CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1636CSharp11UnitTests.cs
index 0a6857131..e7e16e4f6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1636CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1636CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1637CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1637CSharp11UnitTests.cs
index 05dd373e6..a0fc6a707 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1637CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1637CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1638CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1638CSharp11UnitTests.cs
index ff9f9a36b..a7d256f50 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1638CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1638CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1639CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1639CSharp11UnitTests.cs
index 28b0ea440..8eda690bd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1639CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1639CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1640CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1640CSharp11UnitTests.cs
index 17889d66d..194fce61f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1640CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1640CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1641CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1641CSharp11UnitTests.cs
index fc8ccf87d..b5e4794d5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1641CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1641CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1642CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1642CSharp11UnitTests.cs
index 1332b29e2..59fb29bd3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1642CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1642CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1643CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1643CSharp11UnitTests.cs
index 5c1f26787..4c4c9b9bd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1643CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1643CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1644CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1644CSharp11UnitTests.cs
index e3ef2d942..bf152b530 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1644CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1644CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1645CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1645CSharp11UnitTests.cs
index 4d40589f2..86e45053d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1645CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1645CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1646CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1646CSharp11UnitTests.cs
index f09d93cd6..d04c9907f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1646CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1646CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1647CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1647CSharp11UnitTests.cs
index 768d78f9b..28b2f10ca 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1647CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1647CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1648CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1648CSharp11UnitTests.cs
index 76cc0c863..96aba9aa4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1648CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1648CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1649CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1649CSharp11UnitTests.cs
index 15af018b6..ab042651a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1649CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1649CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1650CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1650CSharp11UnitTests.cs
index 973fc7bb2..9169107de 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1650CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1650CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1651CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1651CSharp11UnitTests.cs
index 7392ddee6..9f13fe453 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1651CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1651CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/HelperTests/SymbolNameHelpersCSharp11Tests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/HelperTests/SymbolNameHelpersCSharp11Tests.cs
index b897f2e08..b3aea1161 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/HelperTests/SymbolNameHelpersCSharp11Tests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/HelperTests/SymbolNameHelpersCSharp11Tests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.HelperTests
{
using StyleCop.Analyzers.Test.CSharp10.HelperTests;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1500CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1500CSharp11UnitTests.cs
index a706d7ca7..56c55a4d6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1500CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1500CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1501CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1501CSharp11UnitTests.cs
index b40b319b6..5b2df85ee 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1501CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1501CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1502CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1502CSharp11UnitTests.cs
index 3755d2643..7c007a9c5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1502CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1502CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1503CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1503CSharp11UnitTests.cs
index bdcfbd276..0f95ec972 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1503CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1503CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1504CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1504CSharp11UnitTests.cs
index c3360892f..af8b707d6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1504CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1504CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1505CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1505CSharp11UnitTests.cs
index f879d5fd8..82e5a9ff1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1505CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1505CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1506CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1506CSharp11UnitTests.cs
index 117e5f1cf..39eaadcbf 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1506CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1506CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1507CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1507CSharp11UnitTests.cs
index 76e186df3..4a289ff99 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1507CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1507CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1508CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1508CSharp11UnitTests.cs
index dec641a45..bf99e7f8f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1508CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1508CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1509CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1509CSharp11UnitTests.cs
index afc75fa5d..6fda202c2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1509CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1509CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1510CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1510CSharp11UnitTests.cs
index a7bf314af..91dc3aea7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1510CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1510CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1511CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1511CSharp11UnitTests.cs
index c8592606e..c7907d961 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1511CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1511CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1512CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1512CSharp11UnitTests.cs
index c1fb89bdc..16109df0b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1512CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1512CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1513CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1513CSharp11UnitTests.cs
index d6a821c29..e85c03973 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1513CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1513CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1514CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1514CSharp11UnitTests.cs
index 44ea4304a..dc21cb6ce 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1514CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1514CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1515CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1515CSharp11UnitTests.cs
index 16a924b2d..592c332a0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1515CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1515CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1516CSharp11UsingGroupsUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1516CSharp11UsingGroupsUnitTests.cs
index 5a5d99684..adff9cda6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1516CSharp11UsingGroupsUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1516CSharp11UsingGroupsUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1517CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1517CSharp11UnitTests.cs
index 0a6b69895..c74ed62c7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1517CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1517CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1518CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1518CSharp11UnitTests.cs
index 623b37ca7..4073d93e1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1518CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1518CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1519CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1519CSharp11UnitTests.cs
index 2a03375a8..17caa61ac 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1519CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1519CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1520CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1520CSharp11UnitTests.cs
index 5d2f43955..2e15f78b1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1520CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1520CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp11.cs
index feb0484dd..ddc503b90 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ArgumentSyntaxExtensionsTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ArgumentSyntaxExtensionsTestsCSharp11.cs
index 90f60603b..d482ce927 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ArgumentSyntaxExtensionsTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ArgumentSyntaxExtensionsTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp11.cs
index 54bb81c81..7f6b9d467 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp11.cs
index 9296af9a7..508c5a090 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp11.cs
index 7577fc65f..dec1d95ef 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstantPatternSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstantPatternSyntaxWrapperTestsCSharp11.cs
index 930e00643..fa7fd4fdb 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstantPatternSyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstantPatternSyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp11.cs
index 2d9556182..184d05488 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CrefParameterSyntaxExtensionsTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CrefParameterSyntaxExtensionsTestsCSharp11.cs
index 44363e91b..f5206b97b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CrefParameterSyntaxExtensionsTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CrefParameterSyntaxExtensionsTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp11.cs
index d7d98248f..91eb1bd8e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp11.cs
index 432324c22..3fda4579b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp11.cs
index 82350ea69..ea3ea8cd6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp11.cs
index fc9cc966f..909367639 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp11.cs
index 74656296d..bb4b33d84 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp11.cs
index 785286e2d..0f9a76303 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LanguageVersionExTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LanguageVersionExTestsCSharp11.cs
index 7a0d11ceb..ac3b75d9e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LanguageVersionExTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LanguageVersionExTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LightupHelpersTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LightupHelpersTestsCSharp11.cs
index 0c05fee87..78e8b20a6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LightupHelpersTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LightupHelpersTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp11.cs
index 6e920328d..a4f1b18f3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/MethodKindExTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/MethodKindExTestsCSharp11.cs
index 7176044a5..ddef70979 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/MethodKindExTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/MethodKindExTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/OperationKindExTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/OperationKindExTestsCSharp11.cs
index b98fe86e6..44aa9f927 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/OperationKindExTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/OperationKindExTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp11.cs
index f91002d0b..a8cc54366 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/PatternSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/PatternSyntaxWrapperTestsCSharp11.cs
index 538ff4a9c..334f157e6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/PatternSyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/PatternSyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefExpressionSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefExpressionSyntaxWrapperTestsCSharp11.cs
index bbc1cd269..786ec6a1c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefExpressionSyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefExpressionSyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefTypeSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefTypeSyntaxWrapperTestsCSharp11.cs
index bb84a5908..eb21fef41 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefTypeSyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefTypeSyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp11.cs
index 45f1b9710..92d3eb363 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp11.cs
index 5368a5114..c0cfb0def 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp11.cs
index 732954ab9..d1832e618 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp11.cs
index 0315fcb1e..6c5937234 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxKindExTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxKindExTestsCSharp11.cs
index 2e8ca6c77..311475faf 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxKindExTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxKindExTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperHelperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperHelperTestsCSharp11.cs
index 6a0840ea8..23c29001d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperHelperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperHelperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperTestsCSharp11.cs
index 0dc0225fe..1f927ff1f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp11.cs
index 32aadbdbd..89da776b4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleElementSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleElementSyntaxWrapperTestsCSharp11.cs
index 1319bbba2..1f1728586 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleElementSyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleElementSyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleExpressionSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleExpressionSyntaxWrapperTestsCSharp11.cs
index 3926ac255..606644438 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleExpressionSyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleExpressionSyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleTypeSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleTypeSyntaxWrapperTestsCSharp11.cs
index 1e91fd682..5d18abb3b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleTypeSyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleTypeSyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/VariableDesignationSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/VariableDesignationSyntaxWrapperTestsCSharp11.cs
index 8e75e9008..9445782d1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/VariableDesignationSyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/VariableDesignationSyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/WhenClauseSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/WhenClauseSyntaxWrapperTestsCSharp11.cs
index f8027248e..138d42e57 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/WhenClauseSyntaxWrapperTestsCSharp11.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/WhenClauseSyntaxWrapperTestsCSharp11.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Lightup
{
using StyleCop.Analyzers.Test.CSharp10.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1400CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1400CSharp11UnitTests.cs
index 2f4ed78f6..04bf2048a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1400CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1400CSharp11UnitTests.cs
@@ -1,13 +1,28 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
+ using System.Threading;
+ using System.Threading.Tasks;
+ using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
+ using StyleCop.Analyzers.Test.Helpers;
+ using Xunit;
+ using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
+ StyleCop.Analyzers.MaintainabilityRules.SA1400AccessModifierMustBeDeclared,
+ StyleCop.Analyzers.MaintainabilityRules.SA1400CodeFixProvider>;
public class SA1400CSharp11UnitTests : SA1400CSharp10UnitTests
{
+ [Theory]
+ [MemberData(nameof(CommonMemberData.BaseTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))]
+ [WorkItem(3588, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3588")]
+ public async Task TestTypeDeclarationWithFileModifierAsync(string typeName)
+ {
+ var testCode = $@"file {typeName} TypeName {{ }}";
+
+ await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ }
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1401CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1401CSharp11UnitTests.cs
index 3e791a11b..5d1e06e7a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1401CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1401CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForClassUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForClassUnitTests.cs
index a38ffbba5..db39e118a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForClassUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForClassUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForDelegateUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForDelegateUnitTests.cs
index 663fa015f..526517e71 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForDelegateUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForDelegateUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForEnumUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForEnumUnitTests.cs
index 6c489a476..6541aa3e8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForEnumUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForEnumUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForInterfaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForInterfaceUnitTests.cs
index 5f3d5a653..d8a9ecc19 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForInterfaceUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForInterfaceUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForRecordClassUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForRecordClassUnitTests.cs
new file mode 100644
index 000000000..1093a91a7
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForRecordClassUnitTests.cs
@@ -0,0 +1,11 @@
+// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
+// Licensed under the MIT License. See LICENSE in the project root for license information.
+
+namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
+
+ public class SA1402CSharp11ForRecordClassUnitTests : SA1402CSharp10ForRecordClassUnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForRecordStructUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForRecordStructUnitTests.cs
new file mode 100644
index 000000000..f00c50e26
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForRecordStructUnitTests.cs
@@ -0,0 +1,11 @@
+// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
+// Licensed under the MIT License. See LICENSE in the project root for license information.
+
+namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
+
+ public class SA1402CSharp11ForRecordStructUnitTests : SA1402CSharp10ForRecordStructUnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForRecordUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForRecordUnitTests.cs
new file mode 100644
index 000000000..5be511172
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForRecordUnitTests.cs
@@ -0,0 +1,11 @@
+// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
+// Licensed under the MIT License. See LICENSE in the project root for license information.
+
+namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
+
+ public class SA1402CSharp11ForRecordUnitTests : SA1402CSharp10ForRecordUnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForStructUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForStructUnitTests.cs
index b4019d80c..8c475b0f7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForStructUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForStructUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1403CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1403CSharp11UnitTests.cs
index 15e109c6b..62f7f7b8d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1403CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1403CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1404CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1404CSharp11UnitTests.cs
index c29cc90d0..33b11f91a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1404CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1404CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1405CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1405CSharp11UnitTests.cs
index c337e60b1..e97de49a9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1405CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1405CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1406CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1406CSharp11UnitTests.cs
index 8b1107c1c..4d3312637 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1406CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1406CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1407CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1407CSharp11UnitTests.cs
index 37103f87a..ce4c18458 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1407CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1407CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1408CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1408CSharp11UnitTests.cs
index 5ae64f853..81e7856ce 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1408CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1408CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1409CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1409CSharp11UnitTests.cs
index 402ca6a9c..3edfcc759 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1409CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1409CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1410CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1410CSharp11UnitTests.cs
index 7ad769dac..b24f3e72c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1410CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1410CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1411CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1411CSharp11UnitTests.cs
index 089905035..3c23c1b76 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1411CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1411CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1412CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1412CSharp11UnitTests.cs
index 51d6e1c7a..7d47c43c8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1412CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1412CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1413CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1413CSharp11UnitTests.cs
index 9db9261b7..c8eaebf36 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1413CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1413CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1301CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1301CSharp11UnitTests.cs
index 7e861a687..b5233cdb6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1301CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1301CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1302CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1302CSharp11UnitTests.cs
index 7fc26541e..82b8fdb69 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1302CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1302CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1303CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1303CSharp11UnitTests.cs
index a3d6b77cc..4daf58dfc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1303CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1303CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1304CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1304CSharp11UnitTests.cs
index 420719c58..3991e50a8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1304CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1304CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1305CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1305CSharp11UnitTests.cs
index ddd65df6d..435fa0578 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1305CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1305CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1306CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1306CSharp11UnitTests.cs
index 97c91eec3..1d5a5790e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1306CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1306CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1307CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1307CSharp11UnitTests.cs
index ea163aa02..534c85ace 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1307CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1307CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1308CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1308CSharp11UnitTests.cs
index 1aa316b31..6eb5cd80d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1308CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1308CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1309CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1309CSharp11UnitTests.cs
index 4b411990a..92009171d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1309CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1309CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1310CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1310CSharp11UnitTests.cs
index 5942dbfa8..f14d9b064 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1310CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1310CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1311CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1311CSharp11UnitTests.cs
index 66978c69e..12d396f2e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1311CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1311CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1312CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1312CSharp11UnitTests.cs
index 29c74fcc6..711b67e97 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1312CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1312CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1313CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1313CSharp11UnitTests.cs
index 45f45c39c..b290ef32f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1313CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1313CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1314CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1314CSharp11UnitTests.cs
index db24ca2b3..fff722b13 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1314CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1314CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1316CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1316CSharp11UnitTests.cs
index 4260df848..d5429f946 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1316CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1316CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SX1309CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SX1309CSharp11UnitTests.cs
index 4b8303613..39c811dc0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SX1309CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SX1309CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SX1309SCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SX1309SCSharp11UnitTests.cs
index 5625a0d2b..e05b47747 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SX1309SCSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SX1309SCSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs
index 66f685d75..ebed4859e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderGroupSeparationUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderGroupSeparationUnitTests.cs
index c483671c3..858746476 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderGroupSeparationUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderGroupSeparationUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderRegressionUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderRegressionUnitTests.cs
index 12be10a5f..926e61b08 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderRegressionUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderRegressionUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderUnitTests.cs
index d5177a893..3aee3b4d2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11OutsideNamespaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11OutsideNamespaceUnitTests.cs
index 3efe93de9..b598a834d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11OutsideNamespaceUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11OutsideNamespaceUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11PreserveUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11PreserveUnitTests.cs
index 1c8c9a3e5..7e1177e72 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11PreserveUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11PreserveUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11UnitTests.cs
index da668d3b2..55bb69b6a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1201CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1201CSharp11UnitTests.cs
index 3dc0afbbf..c9ef7279d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1201CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1201CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1202CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1202CSharp11UnitTests.cs
index 27a63794b..e94976768 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1202CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1202CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1203CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1203CSharp11UnitTests.cs
index d4797b375..73b8d1256 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1203CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1203CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1204CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1204CSharp11UnitTests.cs
index 1fdec1045..01423c890 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1204CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1204CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1205CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1205CSharp11UnitTests.cs
index 206b257bf..b8bf6d9b6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1205CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1205CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CSharp11CodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CSharp11CodeFixProviderUnitTests.cs
index 67cdeafc6..53cefd548 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CSharp11CodeFixProviderUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CSharp11CodeFixProviderUnitTests.cs
@@ -1,13 +1,59 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
+ using System.Threading;
+ using System.Threading.Tasks;
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
+ using StyleCop.Analyzers.Test.Verifiers;
+ using Xunit;
+ using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
+ StyleCop.Analyzers.OrderingRules.SA1206DeclarationKeywordsMustFollowOrder,
+ StyleCop.Analyzers.OrderingRules.SA1206CodeFixProvider>;
public class SA1206CSharp11CodeFixProviderUnitTests : SA1206CSharp10CodeFixProviderUnitTests
{
+ [Fact]
+ [WorkItem(3589, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3589")]
+ public async Task VerifyFileKeywordReorderingInClassDeclarationAsync()
+ {
+ var testCode = $"static unsafe {{|#0:file|}} class TestClass {{}}";
+ var fixedTestCode = $"file static unsafe class TestClass {{}}";
+
+ var expected = Diagnostic().WithLocation(0).WithArguments("file", "unsafe");
+ await VerifyCSharpFixAsync(testCode, expected, fixedTestCode, CancellationToken.None).ConfigureAwait(false);
+ }
+
+ [Fact]
+ [WorkItem(3527, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3527")]
+ public async Task VerifyRequiredKeywordReorderingInPropertiesAndFieldsAsync()
+ {
+ var testCode = @"
+internal struct SomeStruct
+{
+ required {|#0:public|} int Prop { get; set; }
+ required {|#1:public|} int Field;
+}";
+
+ var fixedCode = @"
+internal struct SomeStruct
+{
+ public required int Prop { get; set; }
+ public required int Field;
+}";
+
+ await new CSharpTest()
+ {
+ ReferenceAssemblies = GenericAnalyzerTest.ReferenceAssembliesNet70,
+ TestCode = testCode,
+ FixedCode = fixedCode,
+ ExpectedDiagnostics =
+ {
+ Diagnostic().WithLocation(0).WithArguments("public", "required"),
+ Diagnostic().WithLocation(1).WithArguments("public", "required"),
+ },
+ }.RunAsync(CancellationToken.None).ConfigureAwait(false);
+ }
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CSharp11UnitTests.cs
index 42b058e61..c6af4d666 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1207CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1207CSharp11UnitTests.cs
index 4620b3e20..83e3f801c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1207CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1207CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1208CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1208CSharp11UnitTests.cs
index ca0e92739..ca089edcd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1208CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1208CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1209CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1209CSharp11UnitTests.cs
index e892a202c..ed58e5111 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1209CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1209CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1210CSharp11CombinedSystemDirectivesUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1210CSharp11CombinedSystemDirectivesUnitTests.cs
index 276f89b14..3d8e109f3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1210CSharp11CombinedSystemDirectivesUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1210CSharp11CombinedSystemDirectivesUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1210CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1210CSharp11UnitTests.cs
index 3f0599d10..914555d91 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1210CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1210CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1211CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1211CSharp11UnitTests.cs
index a063e4e93..a23ddca16 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1211CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1211CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1212CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1212CSharp11UnitTests.cs
index 98be29960..0cc0c2915 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1212CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1212CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1213CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1213CSharp11UnitTests.cs
index 082a44886..de3753269 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1213CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1213CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1214CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1214CSharp11UnitTests.cs
index 9c17b9db2..85a90d65f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1214CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1214CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1215CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1215CSharp11UnitTests.cs
index 39bf2a252..6f3ad179f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1215CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1215CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1216CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1216CSharp11UnitTests.cs
index 2206528a2..24fae55eb 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1216CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1216CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1217CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1217CSharp11UnitTests.cs
index c714f16cd..cfa7f7359 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1217CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1217CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1100CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1100CSharp11UnitTests.cs
index b059a0e35..e4ab11171 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1100CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1100CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1102CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1102CSharp11UnitTests.cs
index 43378d2a9..d37611c96 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1102CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1102CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1103CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1103CSharp11UnitTests.cs
index b940c752a..beace2cd5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1103CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1103CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1104CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1104CSharp11UnitTests.cs
index 467283cf6..46f4753ea 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1104CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1104CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1105CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1105CSharp11UnitTests.cs
index 4a257616c..6fee7d6ad 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1105CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1105CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1106CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1106CSharp11UnitTests.cs
index cf4ea8615..0005eb96e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1106CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1106CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1107CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1107CSharp11UnitTests.cs
index 6f00f5c20..fb5e94360 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1107CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1107CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1108CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1108CSharp11UnitTests.cs
index 7c85a9f2c..ffbec6922 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1108CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1108CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1109CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1109CSharp11UnitTests.cs
index 01e7eb655..ed53e3c42 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1109CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1109CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1110CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1110CSharp11UnitTests.cs
index 6224658c2..ecfa59e9d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1110CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1110CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1111CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1111CSharp11UnitTests.cs
index 5ee209bef..b621a7000 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1111CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1111CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1112CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1112CSharp11UnitTests.cs
index 655456b56..d78ccc0a1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1112CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1112CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1113CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1113CSharp11UnitTests.cs
index 481a38474..a0a7a0fcb 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1113CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1113CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1114CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1114CSharp11UnitTests.cs
index d16845284..b7f0bb429 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1114CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1114CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1115CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1115CSharp11UnitTests.cs
index f3609315b..2b3c0e509 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1115CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1115CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1116CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1116CSharp11UnitTests.cs
index 1ac196e08..9f08ba84e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1116CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1116CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1117CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1117CSharp11UnitTests.cs
index 898f2cdec..534a5eed0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1117CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1117CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1118CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1118CSharp11UnitTests.cs
index 7d74a0916..392524ee4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1118CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1118CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1120CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1120CSharp11UnitTests.cs
index a2f8606ea..776aa5fc4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1120CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1120CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1121CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1121CSharp11UnitTests.cs
index 3969fdf19..4390688b5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1121CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1121CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1122CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1122CSharp11UnitTests.cs
index 8a598e2fc..7d0370134 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1122CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1122CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1123CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1123CSharp11UnitTests.cs
index 29ce992db..e40c3a9e9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1123CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1123CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1124CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1124CSharp11UnitTests.cs
index c42181b73..22f1a55a6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1124CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1124CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1125CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1125CSharp11UnitTests.cs
index 1a0db7c1c..ca5955e73 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1125CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1125CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1126CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1126CSharp11UnitTests.cs
index 1da803702..8061834e7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1126CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1126CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1127CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1127CSharp11UnitTests.cs
index 8067f779d..1013963e4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1127CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1127CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1128CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1128CSharp11UnitTests.cs
index e06e95e3d..614cb7d70 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1128CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1128CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1129CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1129CSharp11UnitTests.cs
index 2dcc773bf..df87c3139 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1129CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1129CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1130CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1130CSharp11UnitTests.cs
index f4febe13c..3aa9ef91f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1130CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1130CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1131CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1131CSharp11UnitTests.cs
index 57385c8bc..061920d77 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1131CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1131CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1132CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1132CSharp11UnitTests.cs
index ca5978030..39a6c4b09 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1132CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1132CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1133CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1133CSharp11UnitTests.cs
index 640913178..f2bfb3711 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1133CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1133CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1134CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1134CSharp11UnitTests.cs
index b73646706..700d5c868 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1134CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1134CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1135CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1135CSharp11UnitTests.cs
index 52bf8b937..3436675ba 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1135CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1135CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1136CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1136CSharp11UnitTests.cs
index 89d43f49f..d9f8f2f3b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1136CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1136CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1137CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1137CSharp11UnitTests.cs
index 7d275916a..175bbb5d6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1137CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1137CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1139CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1139CSharp11UnitTests.cs
index 900daaf36..4eef6198a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1139CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1139CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SX1101CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SX1101CSharp11UnitTests.cs
index 7363d892d..09266eee4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SX1101CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SX1101CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Settings/SettingsCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Settings/SettingsCSharp11UnitTests.cs
index 8b21ddfd0..314987c72 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Settings/SettingsCSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Settings/SettingsCSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Settings
{
using StyleCop.Analyzers.Test.CSharp10.Settings;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Settings/SettingsFileCodeFixProviderCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Settings/SettingsFileCodeFixProviderCSharp11UnitTests.cs
index 3dfdf0659..e2b078855 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Settings/SettingsFileCodeFixProviderCSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Settings/SettingsFileCodeFixProviderCSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.Settings
{
using StyleCop.Analyzers.Test.CSharp10.Settings;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1000CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1000CSharp11UnitTests.cs
index 9eb32b207..1f9cc3a5b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1000CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1000CSharp11UnitTests.cs
@@ -1,13 +1,50 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
+ using System.Threading;
+ using System.Threading.Tasks;
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
+ using Xunit;
+
+ using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
+ StyleCop.Analyzers.SpacingRules.SA1000KeywordsMustBeSpacedCorrectly,
+ StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>;
public class SA1000CSharp11UnitTests : SA1000CSharp10UnitTests
{
+ [Fact]
+ public async Task TestCheckedOperatorDeclarationAsync()
+ {
+ // NOTE: A checked operator requires a non-checked operator as well
+ // NOTE: Implicit conversion operators can not be checked
+ var testCode = @"
+public class MyClass
+{
+ public static MyClass operator {|#0:checked|}-(MyClass x) => x;
+ public static MyClass operator -(MyClass x) => x;
+
+ public static explicit operator {|#1:checked|}@MyClass(int i) => new MyClass();
+ public static explicit operator MyClass(int i) => new MyClass();
+}";
+
+ var fixedCode = @"
+public class MyClass
+{
+ public static MyClass operator checked -(MyClass x) => x;
+ public static MyClass operator -(MyClass x) => x;
+
+ public static explicit operator checked @MyClass(int i) => new MyClass();
+ public static explicit operator MyClass(int i) => new MyClass();
+}";
+
+ var expected = new[]
+ {
+ Diagnostic().WithArguments("checked", string.Empty, "followed").WithLocation(0),
+ Diagnostic().WithArguments("checked", string.Empty, "followed").WithLocation(1),
+ };
+ await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ }
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1001CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1001CSharp11UnitTests.cs
index d70a68498..ef16fbee6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1001CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1001CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1002CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1002CSharp11UnitTests.cs
index 1f2176c1c..1eaa8d730 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1002CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1002CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1003CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1003CSharp11UnitTests.cs
index 0d43272f2..eba36a10c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1003CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1003CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1004CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1004CSharp11UnitTests.cs
index bf9e60ef7..f3f7a0592 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1004CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1004CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1005CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1005CSharp11UnitTests.cs
index 15e9ae1c8..cb495a64d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1005CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1005CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1006CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1006CSharp11UnitTests.cs
index 34a87d0a7..32c085008 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1006CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1006CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1007CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1007CSharp11UnitTests.cs
index 9474bbdd2..4acb608eb 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1007CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1007CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1008CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1008CSharp11UnitTests.cs
index d9ca48e9f..09dbf84c2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1008CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1008CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1009CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1009CSharp11UnitTests.cs
index 7de148b4b..8991b4f53 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1009CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1009CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1010CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1010CSharp11UnitTests.cs
index e03e3f6ec..58fb98289 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1010CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1010CSharp11UnitTests.cs
@@ -1,13 +1,50 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
+ using System.Threading;
+ using System.Threading.Tasks;
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
+ using StyleCop.Analyzers.Test.Verifiers;
+ using Xunit;
+
+ using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
+ StyleCop.Analyzers.SpacingRules.SA1010OpeningSquareBracketsMustBeSpacedCorrectly,
+ StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>;
public class SA1010CSharp11UnitTests : SA1010CSharp10UnitTests
{
+ [Theory]
+ [InlineData("x is [1]")]
+ [InlineData("x is not [1]")]
+ [InlineData("x is ([1] or [2])")]
+ [InlineData("x is ([1] or not [2])")]
+ [InlineData("x is ([1] and [1])")]
+ [InlineData("x is ([1] and not [2])")]
+ [WorkItem(3503, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3503")]
+ public async Task TestListPatternAsync(string condition)
+ {
+ var testCode = $@"
+using System.Collections.Generic;
+
+namespace TestNamespace
+{{
+ public class TestClass
+ {{
+ public void TestMethod(List x)
+ {{
+ _ = {condition};
+ }}
+ }}
+}}
+";
+
+ await new CSharpTest()
+ {
+ ReferenceAssemblies = GenericAnalyzerTest.ReferenceAssembliesNet50,
+ TestCode = testCode,
+ }.RunAsync(CancellationToken.None).ConfigureAwait(false);
+ }
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1011CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1011CSharp11UnitTests.cs
index 8aaac1367..9e7be86cb 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1011CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1011CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1012CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1012CSharp11UnitTests.cs
index 0fe9f6b04..7d9c7dd52 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1012CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1012CSharp11UnitTests.cs
@@ -1,13 +1,59 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
+ using System.Threading;
+ using System.Threading.Tasks;
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
+ using StyleCop.Analyzers.Test.Verifiers;
+ using Xunit;
+ using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
+ StyleCop.Analyzers.SpacingRules.SA1012OpeningBracesMustBeSpacedCorrectly,
+ StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>;
public class SA1012CSharp11UnitTests : SA1012CSharp10UnitTests
{
+ [Fact]
+ [WorkItem(3509, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3509")]
+ public async Task TestPropertyPatternInsideListPatternAsync()
+ {
+ var testCode = @"
+class C
+{
+ void M(string[] a)
+ {
+ _ = a is [ {|#0:{|} Length: 1 }];
+ _ = a is [{ Length: 0 },{|#1:{|} Length: 1 }];
+ }
+}
+";
+
+ var fixedCode = @"
+class C
+{
+ void M(string[] a)
+ {
+ _ = a is [{ Length: 1 }];
+ _ = a is [{ Length: 0 }, { Length: 1 }];
+ }
+}
+";
+
+ await new CSharpTest()
+ {
+ ReferenceAssemblies = GenericAnalyzerTest.ReferenceAssembliesNet50,
+ TestCode = testCode,
+ ExpectedDiagnostics =
+ {
+ // Opening brace should not be preceded by a space
+ Diagnostic().WithLocation(0).WithArguments(" not", "preceded"),
+
+ // Opening brace should be preceded by a space
+ Diagnostic().WithLocation(1).WithArguments(string.Empty, "preceded"),
+ },
+ FixedCode = fixedCode,
+ }.RunAsync(CancellationToken.None).ConfigureAwait(false);
+ }
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1014CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1014CSharp11UnitTests.cs
index 1f6cd7ba2..efd107416 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1014CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1014CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1016CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1016CSharp11UnitTests.cs
index 571278441..452640aaa 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1016CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1016CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1017CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1017CSharp11UnitTests.cs
index 95a80b934..470a2bd74 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1017CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1017CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1018CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1018CSharp11UnitTests.cs
index 7d25f70b2..c33aa8787 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1018CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1018CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1019CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1019CSharp11UnitTests.cs
index b347eb2d5..2656ea491 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1019CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1019CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1020CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1020CSharp11UnitTests.cs
index 26a7cc998..394106172 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1020CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1020CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1021CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1021CSharp11UnitTests.cs
index 1f88a3c1b..3d2148bb7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1021CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1021CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1022CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1022CSharp11UnitTests.cs
index 4d124a17e..ce778481e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1022CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1022CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1023CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1023CSharp11UnitTests.cs
index 9e97e5bae..ef395daf0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1023CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1023CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1024CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1024CSharp11UnitTests.cs
index 7acd8e02c..c113a3c40 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1024CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1024CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1025CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1025CSharp11UnitTests.cs
index f7399d5fa..2f691684a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1025CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1025CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1026CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1026CSharp11UnitTests.cs
index ea20a7ec6..c9ce832da 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1026CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1026CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027AlternateIndentationCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027AlternateIndentationCSharp11UnitTests.cs
index f157423cd..8e0734838 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027AlternateIndentationCSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027AlternateIndentationCSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027CSharp11UnitTests.cs
index 6d58e3d49..0aa8e3723 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027UseTabsCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027UseTabsCSharp11UnitTests.cs
index 4c566e24c..fefcbd10c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027UseTabsCSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027UseTabsCSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1028CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1028CSharp11UnitTests.cs
index 21fe89fe6..36454d012 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1028CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1028CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpecialRules/SA0001CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpecialRules/SA0001CSharp11UnitTests.cs
index 5105f8167..8d45847f0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpecialRules/SA0001CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpecialRules/SA0001CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpecialRules
{
using StyleCop.Analyzers.Test.CSharp10.SpecialRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpecialRules/SA0002CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpecialRules/SA0002CSharp11UnitTests.cs
index bf7817f13..ac0ee0865 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpecialRules/SA0002CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpecialRules/SA0002CSharp11UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp11.SpecialRules
{
using StyleCop.Analyzers.Test.CSharp10.SpecialRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/StyleCop.Analyzers.Test.CSharp11.csproj b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/StyleCop.Analyzers.Test.CSharp11.csproj
index 42ff82649..481f53262 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/StyleCop.Analyzers.Test.CSharp11.csproj
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/StyleCop.Analyzers.Test.CSharp11.csproj
@@ -3,6 +3,7 @@
net472
+ falsetruetrue
@@ -17,7 +18,7 @@
-
+
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/AnalyzerConfigurationTestsCSharp7.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/AnalyzerConfigurationTestsCSharp7.cs
index d51119893..e2a2e8c8f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/AnalyzerConfigurationTestsCSharp7.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/AnalyzerConfigurationTestsCSharp7.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7
{
public class AnalyzerConfigurationTestsCSharp7 : AnalyzerConfigurationTests
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/CSharp7InheritdocCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/CSharp7InheritdocCodeFixProviderUnitTests.cs
index 0ec0b275c..9beeed04c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/CSharp7InheritdocCodeFixProviderUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/CSharp7InheritdocCodeFixProviderUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/CSharp7NoXmlFileHeaderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/CSharp7NoXmlFileHeaderUnitTests.cs
index f888423a2..20f958d0d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/CSharp7NoXmlFileHeaderUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/CSharp7NoXmlFileHeaderUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1601CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1601CSharp7UnitTests.cs
index e05fcda99..33a327977 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1601CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1601CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1602CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1602CSharp7UnitTests.cs
index 34e9cd00d..556009ca4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1602CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1602CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1603CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1603CSharp7UnitTests.cs
index d12a8f868..8c0b08703 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1603CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1603CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1604CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1604CSharp7UnitTests.cs
index 1d9680a80..3e9c88331 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1604CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1604CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1605CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1605CSharp7UnitTests.cs
index f0c764a8c..98ba3a930 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1605CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1605CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1606CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1606CSharp7UnitTests.cs
index 1995d633b..24dee3fed 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1606CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1606CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1607CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1607CSharp7UnitTests.cs
index 8ee898309..3763f3b66 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1607CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1607CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1608CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1608CSharp7UnitTests.cs
index 08b09d960..b7a76cb73 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1608CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1608CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1609CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1609CSharp7UnitTests.cs
index b2fada45b..149983842 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1609CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1609CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1610CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1610CSharp7UnitTests.cs
index 4eb435f2c..b62bfdb96 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1610CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1610CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1611CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1611CSharp7UnitTests.cs
index 16f06c72c..f111cbf9d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1611CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1611CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1612CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1612CSharp7UnitTests.cs
index 78c725868..1c29a4fca 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1612CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1612CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1613CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1613CSharp7UnitTests.cs
index 350afa35d..4d479620a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1613CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1613CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1614CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1614CSharp7UnitTests.cs
index 55735a851..f139fa7c1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1614CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1614CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1615CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1615CSharp7UnitTests.cs
index 4f73156fe..26b7217c6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1615CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1615CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1616CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1616CSharp7UnitTests.cs
index db4f15853..7cb4668b7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1616CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1616CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1617CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1617CSharp7UnitTests.cs
index 58c80dcf9..350dd4287 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1617CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1617CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1618CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1618CSharp7UnitTests.cs
index e5f038c7b..f7f7e92f9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1618CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1618CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1619CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1619CSharp7UnitTests.cs
index cd40d4450..ad3be2ae1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1619CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1619CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1620CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1620CSharp7UnitTests.cs
index ea744c5a3..096779bed 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1620CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1620CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1621CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1621CSharp7UnitTests.cs
index 7a523d85c..7a91e9e35 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1621CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1621CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1622CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1622CSharp7UnitTests.cs
index b4e63d1cc..741d0ec7c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1622CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1622CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1625CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1625CSharp7UnitTests.cs
index 2c3d80c36..defe4c42b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1625CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1625CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1626CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1626CSharp7UnitTests.cs
index b156a1f76..4ed6df2e3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1626CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1626CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1627CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1627CSharp7UnitTests.cs
index 1a45b48cc..b7ce91147 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1627CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1627CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1628CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1628CSharp7UnitTests.cs
index 5dcbc5a4f..48696db10 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1628CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1628CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1629CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1629CSharp7UnitTests.cs
index 62b2b50da..8340aed7b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1629CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1629CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1630CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1630CSharp7UnitTests.cs
index 60486cde4..491e9134e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1630CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1630CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1631CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1631CSharp7UnitTests.cs
index f4eca6fc6..9c09bdd04 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1631CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1631CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1632CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1632CSharp7UnitTests.cs
index 4fdf183b2..039301103 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1632CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1632CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1633CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1633CSharp7UnitTests.cs
index 659d0524c..b9ffb1f50 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1633CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1633CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1634CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1634CSharp7UnitTests.cs
index 82259d73e..ca298af85 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1634CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1634CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1635CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1635CSharp7UnitTests.cs
index 8de945ddf..94edb2976 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1635CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1635CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1636CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1636CSharp7UnitTests.cs
index a74f6ada2..fefd904a8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1636CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1636CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1637CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1637CSharp7UnitTests.cs
index 24f3d8d1b..9501f7883 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1637CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1637CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1638CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1638CSharp7UnitTests.cs
index 8b48a1e82..1e6bc2c96 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1638CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1638CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1639CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1639CSharp7UnitTests.cs
index 908199e49..c3371919b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1639CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1639CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1640CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1640CSharp7UnitTests.cs
index 228d46639..831fb730e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1640CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1640CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1641CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1641CSharp7UnitTests.cs
index 4a8cfd5f1..7f609497d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1641CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1641CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1642CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1642CSharp7UnitTests.cs
index ca57f9dbd..b1f5f1a01 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1642CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1642CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1643CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1643CSharp7UnitTests.cs
index 3b8deef22..0e673912f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1643CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1643CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1644CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1644CSharp7UnitTests.cs
index 1538147c6..be69b26b4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1644CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1644CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1645CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1645CSharp7UnitTests.cs
index 10b94ade1..02253c775 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1645CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1645CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1646CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1646CSharp7UnitTests.cs
index e6d7502df..ad07602cb 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1646CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1646CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1647CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1647CSharp7UnitTests.cs
index dd86322eb..b11e990a5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1647CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1647CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1648CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1648CSharp7UnitTests.cs
index 26cd08f90..ea528e055 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1648CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1648CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1649CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1649CSharp7UnitTests.cs
index c91d68145..88618dd0f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1649CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1649CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1650CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1650CSharp7UnitTests.cs
index 05a85f233..f7b3b197f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1650CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1650CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1651CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1651CSharp7UnitTests.cs
index 93882ba85..c2e5544d4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1651CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1651CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1500CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1500CSharp7UnitTests.cs
index c39fb36b4..13aa70fb0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1500CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1500CSharp7UnitTests.cs
@@ -11,6 +11,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.LayoutRules;
using Xunit;
+ using static StyleCop.Analyzers.Test.Helpers.LanguageVersionTestExtensions;
using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
StyleCop.Analyzers.LayoutRules.SA1500BracesForMultiLineStatementsMustNotShareLine,
StyleCop.Analyzers.LayoutRules.SA1500CodeFixProvider>;
@@ -199,7 +200,7 @@ public unsafe void TestMethod()
};
}
}";
- await VerifyCSharpDiagnosticAsync(LanguageVersion.CSharp7_3, testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpDiagnosticAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
}
///
@@ -277,7 +278,7 @@ public unsafe void TestMethod()
Diagnostic().WithLocation(23, 22),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expectedDiagnostics, fixedTestCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expectedDiagnostics, fixedTestCode, CancellationToken.None).ConfigureAwait(false);
}
///
@@ -335,7 +336,7 @@ public unsafe void TestMethod()
Diagnostic().WithLocation(15, 22),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expectedDiagnostics, fixedTestCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expectedDiagnostics, fixedTestCode, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1501CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1501CSharp7UnitTests.cs
index 67c85506f..663148c6e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1501CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1501CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1503CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1503CSharp7UnitTests.cs
index dd6a5a82b..edb171af2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1503CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1503CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1504CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1504CSharp7UnitTests.cs
index 89d85612c..09ed94599 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1504CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1504CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1505CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1505CSharp7UnitTests.cs
index c36eb150f..3e0022567 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1505CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1505CSharp7UnitTests.cs
@@ -11,6 +11,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.LayoutRules;
using Xunit;
+ using static StyleCop.Analyzers.Test.Helpers.LanguageVersionTestExtensions;
using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
StyleCop.Analyzers.LayoutRules.SA1505OpeningBracesMustNotBeFollowedByBlankLine,
StyleCop.Analyzers.LayoutRules.SA1505CodeFixProvider>;
@@ -129,7 +130,7 @@ public unsafe void TestMethod()
";
var expectedDiagnostic = Diagnostic().WithLocation(8, 13);
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expectedDiagnostic, fixedTestCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expectedDiagnostic, fixedTestCode, CancellationToken.None).ConfigureAwait(false);
}
[Fact]
@@ -171,7 +172,7 @@ public unsafe void TestMethod()
";
var expectedDiagnostic = Diagnostic().WithLocation(8, 13);
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expectedDiagnostic, fixedTestCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expectedDiagnostic, fixedTestCode, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1506CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1506CSharp7UnitTests.cs
index d0516fd89..6bf8c812d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1506CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1506CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1507CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1507CSharp7UnitTests.cs
index 2fc21b22f..51a378b66 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1507CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1507CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1508CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1508CSharp7UnitTests.cs
index 526a8175e..49a23ccab 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1508CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1508CSharp7UnitTests.cs
@@ -11,6 +11,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.LayoutRules;
using Xunit;
+ using static StyleCop.Analyzers.Test.Helpers.LanguageVersionTestExtensions;
using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
StyleCop.Analyzers.LayoutRules.SA1508ClosingBracesMustNotBePrecededByBlankLine,
StyleCop.Analyzers.LayoutRules.SA1508CodeFixProvider>;
@@ -129,7 +130,7 @@ public unsafe void TestMethod()
";
var expectedDiagnostic = Diagnostic().WithLocation(13, 13);
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expectedDiagnostic, fixedTestCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expectedDiagnostic, fixedTestCode, CancellationToken.None).ConfigureAwait(false);
}
[Fact]
@@ -171,7 +172,7 @@ public unsafe void TestMethod()
";
var expectedDiagnostic = Diagnostic().WithLocation(13, 13);
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expectedDiagnostic, fixedTestCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expectedDiagnostic, fixedTestCode, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1509CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1509CSharp7UnitTests.cs
index b93557b57..d45118e8f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1509CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1509CSharp7UnitTests.cs
@@ -11,6 +11,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.LayoutRules;
using Xunit;
+ using static StyleCop.Analyzers.Test.Helpers.LanguageVersionTestExtensions;
using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
StyleCop.Analyzers.LayoutRules.SA1509OpeningBracesMustNotBePrecededByBlankLine,
StyleCop.Analyzers.LayoutRules.SA1509CodeFixProvider>;
@@ -116,7 +117,7 @@ public unsafe void TestMethod()
";
var expectedDiagnostic = Diagnostic().WithLocation(9, 13);
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expectedDiagnostic, fixedTestCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expectedDiagnostic, fixedTestCode, CancellationToken.None).ConfigureAwait(false);
}
[Fact]
@@ -158,7 +159,7 @@ public unsafe void TestMethod()
";
var expectedDiagnostic = Diagnostic().WithLocation(9, 13);
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expectedDiagnostic, fixedTestCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expectedDiagnostic, fixedTestCode, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1510CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1510CSharp7UnitTests.cs
index 9c6286ff0..c2f37d1f2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1510CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1510CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1511CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1511CSharp7UnitTests.cs
index 4fa8462d7..a6483dc1d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1511CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1511CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1512CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1512CSharp7UnitTests.cs
index 7362831b4..eb2756707 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1512CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1512CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1513CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1513CSharp7UnitTests.cs
index 655d826a7..2a54043ad 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1513CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1513CSharp7UnitTests.cs
@@ -11,6 +11,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.LayoutRules;
using Xunit;
+ using static StyleCop.Analyzers.Test.Helpers.LanguageVersionTestExtensions;
using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
StyleCop.Analyzers.LayoutRules.SA1513ClosingBraceMustBeFollowedByBlankLine,
StyleCop.Analyzers.LayoutRules.SA1513CodeFixProvider>;
@@ -171,7 +172,7 @@ public unsafe void TestMethod()
}
";
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, DiagnosticResult.EmptyDiagnosticResults, testCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, DiagnosticResult.EmptyDiagnosticResults, testCode, CancellationToken.None).ConfigureAwait(false);
}
[Fact]
@@ -200,7 +201,7 @@ public unsafe void TestMethod()
}
";
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, DiagnosticResult.EmptyDiagnosticResults, testCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, DiagnosticResult.EmptyDiagnosticResults, testCode, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1514CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1514CSharp7UnitTests.cs
index 8a2f171d4..41c7dd9b4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1514CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1514CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516CSharp7UnitTests.cs
index 422b07740..55d95fcf9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516CSharp7UsingGroupsUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516CSharp7UsingGroupsUnitTests.cs
index 1d5ec7377..eafb27a7b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516CSharp7UsingGroupsUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516CSharp7UsingGroupsUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1517CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1517CSharp7UnitTests.cs
index b25b94e87..0788525e8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1517CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1517CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1518CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1518CSharp7UnitTests.cs
index cf3fb2cb7..8db062f54 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1518CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1518CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1519CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1519CSharp7UnitTests.cs
index d5bccc1d9..f3269ca9d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1519CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1519CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1520CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1520CSharp7UnitTests.cs
index 665787395..a5b560321 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1520CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1520CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LanguageVersionExTestsCSharp7.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LanguageVersionExTestsCSharp7.cs
index 921319f80..147dd2122 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LanguageVersionExTestsCSharp7.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LanguageVersionExTestsCSharp7.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.Lightup
{
using StyleCop.Analyzers.Test.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/MethodKindExTestsCSharp7.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/MethodKindExTestsCSharp7.cs
index abdeeab4f..60563fdbc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/MethodKindExTestsCSharp7.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/MethodKindExTestsCSharp7.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.Lightup
{
using StyleCop.Analyzers.Test.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp7.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp7.cs
index f0e8d5b56..f93132169 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp7.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp7.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.Lightup
{
using StyleCop.Analyzers.Test.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxKindExTestsCSharp7.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxKindExTestsCSharp7.cs
index 4d27b7b57..555732dca 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxKindExTestsCSharp7.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxKindExTestsCSharp7.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.Lightup
{
using StyleCop.Analyzers.Test.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxWrapperHelperTestsCSharp7.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxWrapperHelperTestsCSharp7.cs
index 08e405942..0e17cde56 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxWrapperHelperTestsCSharp7.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxWrapperHelperTestsCSharp7.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.Lightup
{
using StyleCop.Analyzers.Test.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1401CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1401CSharp7UnitTests.cs
index 71ecd50b8..99c88379f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1401CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1401CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules
{
using StyleCop.Analyzers.Test.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForClassUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForClassUnitTests.cs
index 5eec39e04..654a501d8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForClassUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForClassUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules
{
using StyleCop.Analyzers.Test.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForDelegateUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForDelegateUnitTests.cs
index 47bba76a6..bf8efb3d9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForDelegateUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForDelegateUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules
{
using StyleCop.Analyzers.Test.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForEnumUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForEnumUnitTests.cs
index b99caed10..39897fc79 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForEnumUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForEnumUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules
{
using StyleCop.Analyzers.Test.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForInterfaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForInterfaceUnitTests.cs
index 082ea890a..edf88e3e9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForInterfaceUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForInterfaceUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules
{
using StyleCop.Analyzers.Test.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForStructUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForStructUnitTests.cs
index 52121a3d6..b54562411 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForStructUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForStructUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules
{
using StyleCop.Analyzers.Test.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1403CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1403CSharp7UnitTests.cs
index 93fda9df7..560ad68c2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1403CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1403CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules
{
using StyleCop.Analyzers.Test.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1404CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1404CSharp7UnitTests.cs
index 6231037a1..7d01f5c21 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1404CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1404CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules
{
using StyleCop.Analyzers.Test.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1405CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1405CSharp7UnitTests.cs
index 3d4c5ec80..b21760be8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1405CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1405CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules
{
using StyleCop.Analyzers.Test.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1406CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1406CSharp7UnitTests.cs
index c5b27fcd9..33e3a13e5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1406CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1406CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules
{
using StyleCop.Analyzers.Test.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1407CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1407CSharp7UnitTests.cs
index 9384dec24..a89e76193 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1407CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1407CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules
{
using StyleCop.Analyzers.Test.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1409CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1409CSharp7UnitTests.cs
index d9fcb06d7..fd6ece6b7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1409CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1409CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules
{
using StyleCop.Analyzers.Test.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1410CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1410CSharp7UnitTests.cs
index 75ef108ed..b2547331b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1410CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1410CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules
{
using StyleCop.Analyzers.Test.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1411CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1411CSharp7UnitTests.cs
index a4e259ad4..f438bc203 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1411CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1411CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules
{
using StyleCop.Analyzers.Test.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1412CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1412CSharp7UnitTests.cs
index 51c0c25a5..a6c670240 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1412CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1412CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules
{
using StyleCop.Analyzers.Test.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1413CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1413CSharp7UnitTests.cs
index ecfe6b132..532e19b90 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1413CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1413CSharp7UnitTests.cs
@@ -11,6 +11,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.MaintainabilityRules;
using Xunit;
+ using static StyleCop.Analyzers.Test.Helpers.LanguageVersionTestExtensions;
using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
StyleCop.Analyzers.MaintainabilityRules.SA1413UseTrailingCommasInMultiLineInitializers,
StyleCop.Analyzers.MaintainabilityRules.SA1413CodeFixProvider>;
@@ -61,7 +62,7 @@ public unsafe void TestMethod()
Diagnostic().WithLocation(12, 17),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
[Fact]
@@ -108,7 +109,7 @@ public unsafe void TestMethod()
Diagnostic().WithLocation(12, 17),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1414CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1414CSharp7UnitTests.cs
index 4c9543c85..569492f1f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1414CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1414CSharp7UnitTests.cs
@@ -5,6 +5,7 @@
namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules
{
+ using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Testing;
@@ -117,5 +118,61 @@ public static explicit operator TestClass({typeExpression} p1)
await VerifyCSharpDiagnosticAsync(testCode, expected, CancellationToken.None).ConfigureAwait(false);
}
+
+ [Fact]
+ public async Task ValidateTuplesFromInterfaceAsync()
+ {
+ const string testCode = @"
+using System.Collections.Generic;
+
+namespace Test {
+ class StringTupleComparer : IEqualityComparer<(string, string)>
+ {
+ public bool Equals((string, string) x, (string, string) y) => throw null;
+
+ public int GetHashCode((string, string) obj) => throw null;
+ }
+}";
+ await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ }
+
+ [Fact]
+ public async Task ValidateTuplesFromExplicitInterfaceImplementationAsync()
+ {
+ const string testCode = @"
+using System.Collections.Generic;
+
+namespace Test {
+ class StringTupleComparer : IEqualityComparer<(string, string)>
+ {
+ bool IEqualityComparer<(string, string)>.Equals((string, string) x, (string, string) y) => throw null;
+
+ int IEqualityComparer<(string, string)>.GetHashCode((string, string) obj) => throw null;
+ }
+}";
+ await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ }
+
+ [Fact]
+ public async Task ValidateTuplesFromBaseClassAsync()
+ {
+ const string testCode = @"
+namespace Test {
+ class A : B
+ {
+ public override (string, string) Run((string, string) x) => throw null;
+
+ public override (int, int) Run((int, int) y) => throw null;
+ }
+
+ abstract class B
+ {
+ public abstract ([|string|], [|string|]) Run(([|string|], [|string|]) x);
+
+ public virtual ([|int|], [|int|]) Run(([|int|], [|int|]) y) => throw null;
+ }
+}";
+ await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ }
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1301CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1301CSharp7UnitTests.cs
index f268449ad..4753a315f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1301CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1301CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.NamingRules
{
using StyleCop.Analyzers.Test.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1302CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1302CSharp7UnitTests.cs
index 04a2f04f1..23d5e9f0f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1302CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1302CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.NamingRules
{
using StyleCop.Analyzers.Test.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1303CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1303CSharp7UnitTests.cs
index 808570337..dd3c4a6bd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1303CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1303CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.NamingRules
{
using StyleCop.Analyzers.Test.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1304CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1304CSharp7UnitTests.cs
index eefea8965..cd1692cdd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1304CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1304CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.NamingRules
{
using StyleCop.Analyzers.Test.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1306CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1306CSharp7UnitTests.cs
index f5d78f560..067c49c81 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1306CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1306CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.NamingRules
{
using StyleCop.Analyzers.Test.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1307CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1307CSharp7UnitTests.cs
index c705301b9..6ce6701e3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1307CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1307CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.NamingRules
{
using StyleCop.Analyzers.Test.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1308CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1308CSharp7UnitTests.cs
index cb2cda8ec..47c33bcf7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1308CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1308CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.NamingRules
{
using StyleCop.Analyzers.Test.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1309CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1309CSharp7UnitTests.cs
index 6cb353066..a8c56d727 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1309CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1309CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.NamingRules
{
using StyleCop.Analyzers.Test.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1310CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1310CSharp7UnitTests.cs
index 53e97baac..3ac0fdc8c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1310CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1310CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.NamingRules
{
using StyleCop.Analyzers.Test.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1311CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1311CSharp7UnitTests.cs
index a17ccf6c9..c31d16e88 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1311CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1311CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.NamingRules
{
using StyleCop.Analyzers.Test.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1313CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1313CSharp7UnitTests.cs
index 4ca6c2b95..b443b508b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1313CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1313CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.NamingRules
{
using StyleCop.Analyzers.Test.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1314CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1314CSharp7UnitTests.cs
index bcbd28628..78be8764b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1314CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1314CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.NamingRules
{
using StyleCop.Analyzers.Test.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1316CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1316CSharp7UnitTests.cs
index 7adc891d1..5e784d66a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1316CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1316CSharp7UnitTests.cs
@@ -7,10 +7,11 @@ namespace StyleCop.Analyzers.Test.CSharp7.NamingRules
{
using System.Threading;
using System.Threading.Tasks;
+ using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
- using StyleCop.Analyzers.Lightup;
using StyleCop.Analyzers.NamingRules;
using Xunit;
+ using static StyleCop.Analyzers.Test.Helpers.LanguageVersionTestExtensions;
using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
StyleCop.Analyzers.NamingRules.SA1316TupleElementNamesShouldUseCorrectCasing,
StyleCop.Analyzers.NamingRules.SA1316CodeFixProvider>;
@@ -116,7 +117,7 @@ public class TestClass
}}
";
- await VerifyCSharpDiagnosticAsync(LanguageVersionEx.CSharp7, testCode, settings, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpDiagnosticAsync(testCode, settings, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
}
///
@@ -136,7 +137,7 @@ public class TestClass
}
";
- await VerifyCSharpDiagnosticAsync(LanguageVersionEx.CSharp7, testCode, DefaultTestSettings, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpDiagnosticAsync(testCode, DefaultTestSettings, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
}
///
@@ -168,7 +169,7 @@ public void TestMethod()
}}
";
- await VerifyCSharpDiagnosticAsync(LanguageVersionEx.CSharp7_1, testCode, settings, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpDiagnosticAsync(LanguageVersion.CSharp7_1.OrLaterDefault(), testCode, settings, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
}
///
@@ -204,7 +205,7 @@ public void TestMethod2()
}}
";
- await VerifyCSharpDiagnosticAsync(LanguageVersionEx.CSharp7_1, testCode, settings, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpDiagnosticAsync(LanguageVersion.CSharp7_1.OrLaterDefault(), testCode, settings, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
}
///
@@ -257,7 +258,7 @@ public class TestClass
// diagnostics are specified inline
};
- await VerifyCSharpFixAsync(LanguageVersionEx.CSharp7, testCode, settings, expectedDiagnostics, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(testCode, settings, expectedDiagnostics, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
///
@@ -287,7 +288,7 @@ public void TestMethod()
}}
";
- await VerifyCSharpDiagnosticAsync(LanguageVersionEx.CSharp7_1, testCode, settings, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpDiagnosticAsync(LanguageVersion.CSharp7_1.OrLaterDefault(), testCode, settings, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
}
///
@@ -327,7 +328,7 @@ public void TestMethod2()
// diagnostics are specified inline
};
- await VerifyCSharpDiagnosticAsync(LanguageVersionEx.CSharp7_1, testCode, settings, expectedDiagnostics, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpDiagnosticAsync(LanguageVersion.CSharp7_1.OrLaterDefault(), testCode, settings, expectedDiagnostics, CancellationToken.None).ConfigureAwait(false);
}
[Fact]
@@ -398,7 +399,7 @@ public void MethodName((string Name, string Value) obj)
}
";
- await VerifyCSharpDiagnosticAsync(LanguageVersionEx.CSharp7, testCode, DefaultTestSettings, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpDiagnosticAsync(testCode, DefaultTestSettings, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SX1309CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SX1309CSharp7UnitTests.cs
index 379699780..a057d16e5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SX1309CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SX1309CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.NamingRules
{
using StyleCop.Analyzers.Test.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SX1309SCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SX1309SCSharp7UnitTests.cs
index 8d24cc062..7ebd5b5be 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SX1309SCSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SX1309SCSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.NamingRules
{
using StyleCop.Analyzers.Test.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs
index c7f1bc750..a2c9b4715 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderGroupSeparationUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderGroupSeparationUnitTests.cs
index 09de82304..bfa792579 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderGroupSeparationUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderGroupSeparationUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderRegressionUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderRegressionUnitTests.cs
index 722376d7f..14e69fc76 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderRegressionUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderRegressionUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderUnitTests.cs
index 0345f71a4..7f2194f7a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200CSharp7OutsideNamespaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200CSharp7OutsideNamespaceUnitTests.cs
index 1e3678f3d..97dcfa672 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200CSharp7OutsideNamespaceUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200CSharp7OutsideNamespaceUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200CSharp7PreserveUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200CSharp7PreserveUnitTests.cs
index d1bc8ae81..ad4d2e32b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200CSharp7PreserveUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200CSharp7PreserveUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200CSharp7UnitTests.cs
index 266e4e0a5..6140f53be 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1201CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1201CSharp7UnitTests.cs
index 865ddcab0..974d0a6c2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1201CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1201CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1202CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1202CSharp7UnitTests.cs
index 565ba0929..82ef9abb4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1202CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1202CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1203CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1203CSharp7UnitTests.cs
index 25e7be359..2f1ecce73 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1203CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1203CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1204CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1204CSharp7UnitTests.cs
index 56d596548..2a97aac38 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1204CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1204CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1205CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1205CSharp7UnitTests.cs
index 423df543c..b8bb1766e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1205CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1205CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1206CSharp7CodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1206CSharp7CodeFixProviderUnitTests.cs
index faef0351c..ff81aac3d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1206CSharp7CodeFixProviderUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1206CSharp7CodeFixProviderUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1208CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1208CSharp7UnitTests.cs
index 314126e05..a070f6a6d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1208CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1208CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1209CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1209CSharp7UnitTests.cs
index dc8f65955..905d6924b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1209CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1209CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1210CSharp7CombinedSystemDirectivesUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1210CSharp7CombinedSystemDirectivesUnitTests.cs
index 12e8b52bd..c39da36f2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1210CSharp7CombinedSystemDirectivesUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1210CSharp7CombinedSystemDirectivesUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1210CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1210CSharp7UnitTests.cs
index 3fdb8b7f1..09b83ce8a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1210CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1210CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1211CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1211CSharp7UnitTests.cs
index aa256cdc5..b2b81e84d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1211CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1211CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1212CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1212CSharp7UnitTests.cs
index d7061a223..97ac60adc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1212CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1212CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1213CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1213CSharp7UnitTests.cs
index 1e0768494..304fddef8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1213CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1213CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1214CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1214CSharp7UnitTests.cs
index 06e96411c..d968f95e5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1214CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1214CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1215CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1215CSharp7UnitTests.cs
index e088c5bbc..760166e77 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1215CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1215CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1216CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1216CSharp7UnitTests.cs
index a772931de..f904b7934 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1216CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1216CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1217CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1217CSharp7UnitTests.cs
index b137fd89c..6bd674dd9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1217CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1217CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules
{
using StyleCop.Analyzers.Test.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1100CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1100CSharp7UnitTests.cs
index 4fa071ce9..0db6e9d81 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1100CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1100CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using StyleCop.Analyzers.Test.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1102CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1102CSharp7UnitTests.cs
index 6664880d4..62b4d05a1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1102CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1102CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using StyleCop.Analyzers.Test.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1103CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1103CSharp7UnitTests.cs
index ed4a1e41d..9d123a710 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1103CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1103CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using StyleCop.Analyzers.Test.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1104CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1104CSharp7UnitTests.cs
index 716ee1d3d..a34489070 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1104CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1104CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using StyleCop.Analyzers.Test.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1105CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1105CSharp7UnitTests.cs
index 355ede22a..7d655d149 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1105CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1105CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using StyleCop.Analyzers.Test.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1106CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1106CSharp7UnitTests.cs
index 4103f1a88..1ca426045 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1106CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1106CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using StyleCop.Analyzers.Test.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1107CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1107CSharp7UnitTests.cs
index 4a2637213..dfb44cb86 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1107CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1107CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using StyleCop.Analyzers.Test.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1108CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1108CSharp7UnitTests.cs
index baa4a13e8..e20443db2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1108CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1108CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using StyleCop.Analyzers.Test.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1109CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1109CSharp7UnitTests.cs
index 8d3656a7f..da6a7bc79 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1109CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1109CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using StyleCop.Analyzers.Test.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1118CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1118CSharp7UnitTests.cs
index 8ee0a2f54..51c146f1c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1118CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1118CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using StyleCop.Analyzers.Test.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1120CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1120CSharp7UnitTests.cs
index 3f00508b2..9a5f8b413 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1120CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1120CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using StyleCop.Analyzers.Test.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1121CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1121CSharp7UnitTests.cs
index 9d85cf8f3..75ecfade5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1121CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1121CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using StyleCop.Analyzers.Test.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1123CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1123CSharp7UnitTests.cs
index a1c67771e..58cbbba4c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1123CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1123CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using StyleCop.Analyzers.Test.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1124CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1124CSharp7UnitTests.cs
index dd4b6c457..168459beb 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1124CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1124CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using StyleCop.Analyzers.Test.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1126CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1126CSharp7UnitTests.cs
index 754eb1e7f..a338b966c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1126CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1126CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using StyleCop.Analyzers.Test.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1128CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1128CSharp7UnitTests.cs
index 4baac2152..e8a59a89a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1128CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1128CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using StyleCop.Analyzers.Test.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1129CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1129CSharp7UnitTests.cs
index 4e84d1ecc..1bfdbb21f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1129CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1129CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using StyleCop.Analyzers.Test.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1132CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1132CSharp7UnitTests.cs
index 98a2c28e2..fe37b2368 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1132CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1132CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using StyleCop.Analyzers.Test.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1133CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1133CSharp7UnitTests.cs
index 4d448d0ce..1c71968e6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1133CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1133CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using StyleCop.Analyzers.Test.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1134CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1134CSharp7UnitTests.cs
index b3ca6128b..500843914 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1134CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1134CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using StyleCop.Analyzers.Test.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1136CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1136CSharp7UnitTests.cs
index 453f40429..9426b6821 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1136CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1136CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using StyleCop.Analyzers.Test.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1137CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1137CSharp7UnitTests.cs
index 77104c7cc..911f36837 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1137CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1137CSharp7UnitTests.cs
@@ -11,6 +11,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.ReadabilityRules;
using Xunit;
+ using static StyleCop.Analyzers.Test.Helpers.LanguageVersionTestExtensions;
using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
StyleCop.Analyzers.ReadabilityRules.SA1137ElementsShouldHaveTheSameIndentation,
StyleCop.Analyzers.ReadabilityRules.IndentationCodeFixProvider>;
@@ -160,7 +161,7 @@ public unsafe void TestMethod()
Diagnostic().WithLocation(17, 1),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
[Fact]
@@ -220,7 +221,7 @@ public unsafe void TestMethod()
Diagnostic().WithLocation(17, 1),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SX1101CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SX1101CSharp7UnitTests.cs
index 1945e5e6b..c9df11232 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SX1101CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SX1101CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using StyleCop.Analyzers.Test.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Settings/SettingsCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Settings/SettingsCSharp7UnitTests.cs
index 3158e77a5..09e4f39fb 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Settings/SettingsCSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Settings/SettingsCSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.Settings
{
using StyleCop.Analyzers.Test.Settings;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Settings/SettingsFileCodeFixProviderCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Settings/SettingsFileCodeFixProviderCSharp7UnitTests.cs
index 807c6440b..bfcbcc52d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Settings/SettingsFileCodeFixProviderCSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Settings/SettingsFileCodeFixProviderCSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.Settings
{
using StyleCop.Analyzers.Test.Settings;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1000CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1000CSharp7UnitTests.cs
index b2d288ab0..8b8dbb921 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1000CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1000CSharp7UnitTests.cs
@@ -11,6 +11,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.SpacingRules;
using Xunit;
+ using static StyleCop.Analyzers.Test.Helpers.LanguageVersionTestExtensions;
using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
StyleCop.Analyzers.SpacingRules.SA1000KeywordsMustBeSpacedCorrectly,
StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>;
@@ -246,10 +247,10 @@ public async Task TestStackAllocImplicitArrayStatementAsync()
string statementWithSpace = @"int* x = stackalloc [] { 3 };";
- await this.TestKeywordStatementAsync(statementWithoutSpace, DiagnosticResult.EmptyDiagnosticResults, statementWithoutSpace, languageVersion: LanguageVersion.CSharp7_3).ConfigureAwait(false);
+ await this.TestKeywordStatementAsync(statementWithoutSpace, DiagnosticResult.EmptyDiagnosticResults, statementWithoutSpace, languageVersion: LanguageVersion.CSharp7_3.OrLaterDefault()).ConfigureAwait(false);
// this case is handled by SA1026, so it shouldn't be reported here
- await this.TestKeywordStatementAsync(statementWithSpace, DiagnosticResult.EmptyDiagnosticResults, statementWithSpace, languageVersion: LanguageVersion.CSharp7_3).ConfigureAwait(false);
+ await this.TestKeywordStatementAsync(statementWithSpace, DiagnosticResult.EmptyDiagnosticResults, statementWithSpace, languageVersion: LanguageVersion.CSharp7_3.OrLaterDefault()).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1001CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1001CSharp7UnitTests.cs
index d8e638061..d0e666c72 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1001CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1001CSharp7UnitTests.cs
@@ -11,6 +11,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.SpacingRules;
using Xunit;
+ using static StyleCop.Analyzers.Test.Helpers.LanguageVersionTestExtensions;
using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
StyleCop.Analyzers.SpacingRules.SA1001CommasMustBeSpacedCorrectly,
StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>;
@@ -158,7 +159,7 @@ public unsafe void TestMethod()
Diagnostic().WithLocation(8, 47).WithArguments(string.Empty, "followed"),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
[Fact]
@@ -197,7 +198,7 @@ public unsafe void TestMethod()
Diagnostic().WithLocation(8, 43).WithArguments(string.Empty, "followed"),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1002CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1002CSharp7UnitTests.cs
index 83b2d0cdd..2ae6b4ea1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1002CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1002CSharp7UnitTests.cs
@@ -11,6 +11,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.SpacingRules;
using Xunit;
+ using static StyleCop.Analyzers.Test.Helpers.LanguageVersionTestExtensions;
using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
StyleCop.Analyzers.SpacingRules.SA1002SemicolonsMustBeSpacedCorrectly,
StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>;
@@ -49,7 +50,7 @@ public unsafe void TestMethod()
Diagnostic().WithArguments(" not", "preceded").WithLocation(7, 51),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
[Fact]
@@ -84,7 +85,7 @@ public unsafe void TestMethod()
Diagnostic().WithArguments(" not", "preceded").WithLocation(7, 47),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1004CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1004CSharp7UnitTests.cs
index d64372ed0..dd0022ce0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1004CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1004CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
{
using StyleCop.Analyzers.Test.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1005CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1005CSharp7UnitTests.cs
index 9ed07feb0..3b617ac61 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1005CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1005CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
{
using StyleCop.Analyzers.Test.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1006CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1006CSharp7UnitTests.cs
index 7a0d57a43..ab657136a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1006CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1006CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
{
using StyleCop.Analyzers.Test.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1007CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1007CSharp7UnitTests.cs
index 5744f2622..56812d692 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1007CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1007CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
{
using StyleCop.Analyzers.Test.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1010CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1010CSharp7UnitTests.cs
index 7214054da..9515ba866 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1010CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1010CSharp7UnitTests.cs
@@ -12,6 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
using StyleCop.Analyzers.Test.SpacingRules;
using Xunit;
using static StyleCop.Analyzers.SpacingRules.SA1010OpeningSquareBracketsMustBeSpacedCorrectly;
+ using static StyleCop.Analyzers.Test.Helpers.LanguageVersionTestExtensions;
using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
StyleCop.Analyzers.SpacingRules.SA1010OpeningSquareBracketsMustBeSpacedCorrectly,
StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>;
@@ -60,7 +61,7 @@ public unsafe void TestMethod()
Diagnostic(DescriptorNotPreceded).WithLocation(8, 41),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
[Fact]
@@ -103,7 +104,7 @@ public unsafe void TestMethod()
Diagnostic(DescriptorNotFollowed).WithLocation(7, 37),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1011CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1011CSharp7UnitTests.cs
index bab4e349b..4255db74e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1011CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1011CSharp7UnitTests.cs
@@ -11,6 +11,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.SpacingRules;
using Xunit;
+ using static StyleCop.Analyzers.Test.Helpers.LanguageVersionTestExtensions;
using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
StyleCop.Analyzers.SpacingRules.SA1011ClosingSquareBracketsMustBeSpacedCorrectly,
StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>;
@@ -87,7 +88,7 @@ public unsafe void TestMethod()
Diagnostic().WithArguments(string.Empty, "followed").WithLocation(10, 41),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
[Fact]
@@ -135,7 +136,7 @@ public unsafe void TestMethod()
Diagnostic().WithArguments(string.Empty, "followed").WithLocation(10, 37),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1012CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1012CSharp7UnitTests.cs
index 1d68810e6..3fea85791 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1012CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1012CSharp7UnitTests.cs
@@ -11,6 +11,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.SpacingRules;
using Xunit;
+ using static StyleCop.Analyzers.Test.Helpers.LanguageVersionTestExtensions;
using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
StyleCop.Analyzers.SpacingRules.SA1012OpeningBracesMustBeSpacedCorrectly,
StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>;
@@ -73,7 +74,7 @@ public unsafe void TestMethod()
Diagnostic().WithArguments(string.Empty, "followed").WithLocation(14, 13),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
[Fact]
@@ -132,7 +133,7 @@ public unsafe void TestMethod()
Diagnostic().WithArguments(string.Empty, "followed").WithLocation(14, 13),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1013CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1013CSharp7UnitTests.cs
index aaa9e8b13..f25407a97 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1013CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1013CSharp7UnitTests.cs
@@ -9,6 +9,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.SpacingRules;
using Xunit;
+ using static StyleCop.Analyzers.Test.Helpers.LanguageVersionTestExtensions;
using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
StyleCop.Analyzers.SpacingRules.SA1013ClosingBracesMustBeSpacedCorrectly,
StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>;
@@ -106,7 +107,7 @@ public unsafe void TestMethod()
Diagnostic().WithLocation(2).WithArguments(string.Empty, "preceded"),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
[Fact]
@@ -163,7 +164,7 @@ public unsafe void TestMethod()
Diagnostic().WithLocation(2).WithArguments(string.Empty, "preceded"),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1014CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1014CSharp7UnitTests.cs
index 3e44013c1..39ab93cb3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1014CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1014CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
{
using StyleCop.Analyzers.Test.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1016CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1016CSharp7UnitTests.cs
index 28536e921..8e0c888e6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1016CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1016CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
{
using StyleCop.Analyzers.Test.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1017CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1017CSharp7UnitTests.cs
index 5a108c5d7..64c460e72 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1017CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1017CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
{
using StyleCop.Analyzers.Test.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1019CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1019CSharp7UnitTests.cs
index e9fc97788..b121354b0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1019CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1019CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
{
using StyleCop.Analyzers.Test.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1020CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1020CSharp7UnitTests.cs
index 3c60e8c77..4a0a48f5c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1020CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1020CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
{
using StyleCop.Analyzers.Test.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1021CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1021CSharp7UnitTests.cs
index d15fb9b19..0b9be1584 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1021CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1021CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
{
using StyleCop.Analyzers.Test.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1022CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1022CSharp7UnitTests.cs
index e124690ce..3ae8f84ae 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1022CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1022CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
{
using StyleCop.Analyzers.Test.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1023CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1023CSharp7UnitTests.cs
index 3af0c8e5d..bf7dc7ef7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1023CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1023CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
{
using StyleCop.Analyzers.Test.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1025CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1025CSharp7UnitTests.cs
index 60af88929..074d9ca52 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1025CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1025CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
{
using StyleCop.Analyzers.Test.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1026CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1026CSharp7UnitTests.cs
index 12034ed50..47d8c5f63 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1026CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1026CSharp7UnitTests.cs
@@ -11,6 +11,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.SpacingRules;
using Xunit;
+ using static StyleCop.Analyzers.Test.Helpers.LanguageVersionTestExtensions;
using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
StyleCop.Analyzers.SpacingRules.SA1026CodeMustNotContainSpaceAfterNewKeywordInImplicitlyTypedArrayAllocation,
StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>;
@@ -32,7 +33,7 @@ public async Task TestImplicitStackAllocArrayCreationExpressionAsync(string spac
const string expectedCode = "public class Foo { public unsafe Foo() { int* ints = stackalloc[] { 1, 2, 3 }; } }";
DiagnosticResult[] expected = { Diagnostic().WithArguments("stackalloc").WithLocation(1, 54) };
- await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3, testCode, expected, expectedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(LanguageVersion.CSharp7_3.OrLaterDefault(), testCode, expected, expectedCode, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027AlternateIndentationCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027AlternateIndentationCSharp7UnitTests.cs
index 1d966b13b..67ae4e633 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027AlternateIndentationCSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027AlternateIndentationCSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
{
using StyleCop.Analyzers.Test.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027CSharp7UnitTests.cs
index 30cc41240..bd2f66a88 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
{
using StyleCop.Analyzers.Test.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027UseTabsCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027UseTabsCSharp7UnitTests.cs
index 9a4f883fc..0f6484bb8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027UseTabsCSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027UseTabsCSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
{
using StyleCop.Analyzers.Test.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1028CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1028CSharp7UnitTests.cs
index 37acc319f..791f6e32d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1028CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1028CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules
{
using StyleCop.Analyzers.Test.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpecialRules/SA0001CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpecialRules/SA0001CSharp7UnitTests.cs
index fbdcd120a..5dc2088b1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpecialRules/SA0001CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpecialRules/SA0001CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.SpecialRules
{
using StyleCop.Analyzers.Test.SpecialRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpecialRules/SA0002CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpecialRules/SA0002CSharp7UnitTests.cs
index 45d72d8b4..c7da45bb4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpecialRules/SA0002CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpecialRules/SA0002CSharp7UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp7.SpecialRules
{
using StyleCop.Analyzers.Test.SpecialRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/StyleCop.Analyzers.Test.CSharp7.csproj b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/StyleCop.Analyzers.Test.CSharp7.csproj
index d1a849d23..af6d8b98e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/StyleCop.Analyzers.Test.CSharp7.csproj
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/StyleCop.Analyzers.Test.CSharp7.csproj
@@ -3,6 +3,7 @@
net46
+ falsetruetrue
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/AnalyzerConfigurationTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/AnalyzerConfigurationTestsCSharp8.cs
index c1cfcd203..c6496fefc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/AnalyzerConfigurationTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/AnalyzerConfigurationTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8
{
using StyleCop.Analyzers.Test.CSharp7;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/CSharp8InheritdocCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/CSharp8InheritdocCodeFixProviderUnitTests.cs
index c55b64df5..2d84c20f3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/CSharp8InheritdocCodeFixProviderUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/CSharp8InheritdocCodeFixProviderUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/CSharp8NoXmlFileHeaderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/CSharp8NoXmlFileHeaderUnitTests.cs
index 5e6455918..dec040470 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/CSharp8NoXmlFileHeaderUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/CSharp8NoXmlFileHeaderUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1600CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1600CSharp8UnitTests.cs
index 4559cb72e..17d5a9577 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1600CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1600CSharp8UnitTests.cs
@@ -1,13 +1,14 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
+ using Microsoft.CodeAnalysis.CSharp;
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
public class SA1600CSharp8UnitTests : SA1600CSharp7UnitTests
{
+ // Using 'Default' here makes sure that later test projects also run these tests with their own language version, without having to override this property
+ protected override LanguageVersion LanguageVersion => LanguageVersion.Default;
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1601CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1601CSharp8UnitTests.cs
index 8368f59fb..afba4972d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1601CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1601CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1602CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1602CSharp8UnitTests.cs
index 8278b7019..3ac712817 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1602CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1602CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1603CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1603CSharp8UnitTests.cs
index f69d21613..e833a81b7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1603CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1603CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1604CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1604CSharp8UnitTests.cs
index a2ddbddab..af2ed1148 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1604CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1604CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1605CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1605CSharp8UnitTests.cs
index 3d6174e72..76d2c0cbe 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1605CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1605CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1606CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1606CSharp8UnitTests.cs
index 5e4400bb4..840b77725 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1606CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1606CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1607CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1607CSharp8UnitTests.cs
index 229f9968f..8ade5f232 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1607CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1607CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1608CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1608CSharp8UnitTests.cs
index 757c6350e..21d136c73 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1608CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1608CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1609CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1609CSharp8UnitTests.cs
index aa7bdfe8b..e2289968d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1609CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1609CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1610CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1610CSharp8UnitTests.cs
index 12782ce0d..ac9ae815d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1610CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1610CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1611CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1611CSharp8UnitTests.cs
index 3e23ee8c9..6c9cc2c33 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1611CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1611CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1612CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1612CSharp8UnitTests.cs
index c019bcac4..eb87c2372 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1612CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1612CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1613CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1613CSharp8UnitTests.cs
index 075270cb4..89ee6568d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1613CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1613CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1614CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1614CSharp8UnitTests.cs
index ce39b583e..9c3efdab2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1614CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1614CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1615CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1615CSharp8UnitTests.cs
index f60848888..ac3543d0b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1615CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1615CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1616CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1616CSharp8UnitTests.cs
index f8b8a0729..17be78b8c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1616CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1616CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1617CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1617CSharp8UnitTests.cs
index 23b2a7c22..9c6dada4b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1617CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1617CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1618CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1618CSharp8UnitTests.cs
index 73b6d67dd..d51adc7ed 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1618CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1618CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1619CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1619CSharp8UnitTests.cs
index b9f17bb07..3b54a00ca 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1619CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1619CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1620CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1620CSharp8UnitTests.cs
index 7d46963c7..2053b029b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1620CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1620CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1621CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1621CSharp8UnitTests.cs
index 19608e87f..b229fa4a5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1621CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1621CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1622CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1622CSharp8UnitTests.cs
index 6eb146e86..1f979acc1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1622CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1622CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1623CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1623CSharp8UnitTests.cs
index ddc8535f2..44084f748 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1623CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1623CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1624CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1624CSharp8UnitTests.cs
index 9a3682c1d..66f0650d1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1624CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1624CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1625CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1625CSharp8UnitTests.cs
index a450246e3..2eb519e53 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1625CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1625CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1626CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1626CSharp8UnitTests.cs
index a192cea8d..2aed92d0b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1626CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1626CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1627CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1627CSharp8UnitTests.cs
index c073f5511..1c7e2d348 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1627CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1627CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1628CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1628CSharp8UnitTests.cs
index b1e019b59..78278fc23 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1628CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1628CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1629CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1629CSharp8UnitTests.cs
index 41f74d312..90d7cc24d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1629CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1629CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1630CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1630CSharp8UnitTests.cs
index 27074ad21..231acfa9f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1630CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1630CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1631CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1631CSharp8UnitTests.cs
index cddb7d4dd..4693854d6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1631CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1631CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1632CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1632CSharp8UnitTests.cs
index 9f8ee4175..473451dea 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1632CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1632CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1633CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1633CSharp8UnitTests.cs
index 5823665ad..b68c64344 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1633CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1633CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1634CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1634CSharp8UnitTests.cs
index 492e8a582..8360b9a0b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1634CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1634CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1635CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1635CSharp8UnitTests.cs
index 68d4be9c7..66b5b5557 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1635CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1635CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1636CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1636CSharp8UnitTests.cs
index 7e40bf4d1..80789b171 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1636CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1636CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1637CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1637CSharp8UnitTests.cs
index 54df3dfee..95c8a9ce2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1637CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1637CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1638CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1638CSharp8UnitTests.cs
index 9096c791f..2ba93521f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1638CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1638CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1639CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1639CSharp8UnitTests.cs
index c4e47fe12..9b04b1d09 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1639CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1639CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1640CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1640CSharp8UnitTests.cs
index 5d5a80d09..a8d174730 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1640CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1640CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1641CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1641CSharp8UnitTests.cs
index 0f6016b26..38aca37ec 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1641CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1641CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1642CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1642CSharp8UnitTests.cs
index d660ac571..2d412d12e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1642CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1642CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1643CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1643CSharp8UnitTests.cs
index 3b10e4722..f092fda1e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1643CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1643CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1644CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1644CSharp8UnitTests.cs
index 228010b54..7f7145782 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1644CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1644CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1645CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1645CSharp8UnitTests.cs
index ecc3b4e68..6903c14cf 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1645CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1645CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1646CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1646CSharp8UnitTests.cs
index a6a79471a..775eae233 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1646CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1646CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1647CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1647CSharp8UnitTests.cs
index 58143adeb..736d6ff9f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1647CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1647CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1648CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1648CSharp8UnitTests.cs
index 6d76c1efc..3357de4ae 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1648CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1648CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1649CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1649CSharp8UnitTests.cs
index 7b5ea322f..7b49e17f7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1649CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1649CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1650CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1650CSharp8UnitTests.cs
index e2611d94b..f887f7e90 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1650CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1650CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1651CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1651CSharp8UnitTests.cs
index 1f4a919c5..4248503b7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1651CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1651CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp7.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1500CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1500CSharp8UnitTests.cs
index 191400a45..abdbe3fc8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1500CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1500CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp7.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1501CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1501CSharp8UnitTests.cs
index f7623eae1..537aac032 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1501CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1501CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp7.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1502CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1502CSharp8UnitTests.cs
index b29cd5c5d..debb799fc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1502CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1502CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp7.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1504CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1504CSharp8UnitTests.cs
index a44d1f64f..8d9cdb6f3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1504CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1504CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp7.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1505CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1505CSharp8UnitTests.cs
index 4d224eae9..6539d1d13 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1505CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1505CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp7.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1506CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1506CSharp8UnitTests.cs
index 5c4aaa579..a1c37ceef 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1506CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1506CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp7.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1507CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1507CSharp8UnitTests.cs
index 1b0b273c7..884f41e8e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1507CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1507CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp7.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1508CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1508CSharp8UnitTests.cs
index 1e496c87d..5f86bb384 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1508CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1508CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp7.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1509CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1509CSharp8UnitTests.cs
index 5e6ea13cc..47acb6c6a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1509CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1509CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp7.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1510CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1510CSharp8UnitTests.cs
index 0cd0300f4..563ee1cd9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1510CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1510CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp7.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1511CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1511CSharp8UnitTests.cs
index a0b444a5e..f9e73e0b8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1511CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1511CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp7.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1512CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1512CSharp8UnitTests.cs
index 59b0dce1e..4ffabb5bf 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1512CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1512CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp7.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1513CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1513CSharp8UnitTests.cs
index cd76b76c4..8b867ca5d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1513CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1513CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp7.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1515CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1515CSharp8UnitTests.cs
index 8e74318c2..706e149bf 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1515CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1515CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp7.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1516CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1516CSharp8UnitTests.cs
index fd190d185..3d224d44d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1516CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1516CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp7.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1516CSharp8UsingGroupsUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1516CSharp8UsingGroupsUnitTests.cs
index a37ab7f0a..b6ab1cfb2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1516CSharp8UsingGroupsUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1516CSharp8UsingGroupsUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp7.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1517CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1517CSharp8UnitTests.cs
index cc9dfb1f3..07e25a5ba 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1517CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1517CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp7.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1518CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1518CSharp8UnitTests.cs
index a0cd02895..01faeb5fe 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1518CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1518CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp7.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1519CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1519CSharp8UnitTests.cs
index d315ff6fb..11e4e7a94 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1519CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1519CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp7.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1520CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1520CSharp8UnitTests.cs
index d8a26c12d..51c09b975 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1520CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1520CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp7.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp8.cs
index c126545c4..5035b847e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ArgumentSyntaxExtensionsTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ArgumentSyntaxExtensionsTestsCSharp8.cs
index 6e82aafbe..da940bd6f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ArgumentSyntaxExtensionsTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ArgumentSyntaxExtensionsTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp8.cs
index 8f8dfce3c..ffc0247f8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp8.cs
index 3c08b88cb..62507cadf 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstantPatternSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstantPatternSyntaxWrapperTestsCSharp8.cs
index 6b51efa9a..8bc4ee4a1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstantPatternSyntaxWrapperTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstantPatternSyntaxWrapperTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp8.cs
index 7656d7866..405b1761e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CrefParameterSyntaxExtensionsTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CrefParameterSyntaxExtensionsTestsCSharp8.cs
index 958980f3f..c66c8bb83 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CrefParameterSyntaxExtensionsTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CrefParameterSyntaxExtensionsTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp8.cs
index 43eafc72c..da520b46a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp8.cs
index 60aa8ca0c..5ff197618 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp8.cs
index 8fb6f9ed3..be1b97078 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp8.cs
index e56ea6bce..dbc83e89e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp8.cs
index b1a8c812e..4bde3bd76 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp8.cs
index d07705694..15617fee9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LanguageVersionExTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LanguageVersionExTestsCSharp8.cs
index 190a142a9..caea0f75b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LanguageVersionExTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LanguageVersionExTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp8.cs
index 31fa94505..97f540080 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/MethodKindExTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/MethodKindExTestsCSharp8.cs
index 0e378bb6a..d96e561e7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/MethodKindExTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/MethodKindExTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/OperationKindExTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/OperationKindExTestsCSharp8.cs
index ce928e33f..6bae36243 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/OperationKindExTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/OperationKindExTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp8.cs
index c9926ddd4..e5c4450cb 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/PatternSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/PatternSyntaxWrapperTestsCSharp8.cs
index ce7562294..6d6adfe44 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/PatternSyntaxWrapperTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/PatternSyntaxWrapperTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefExpressionSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefExpressionSyntaxWrapperTestsCSharp8.cs
index 690793143..7dadc6fb9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefExpressionSyntaxWrapperTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefExpressionSyntaxWrapperTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefTypeSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefTypeSyntaxWrapperTestsCSharp8.cs
index e4fcced91..0520c27a8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefTypeSyntaxWrapperTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefTypeSyntaxWrapperTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp8.cs
index 832d60b5c..cec15685a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp8.cs
index 29515bc52..7e88b8a85 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxKindExTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxKindExTestsCSharp8.cs
index fc6b908e6..7291688fd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxKindExTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxKindExTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxWrapperHelperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxWrapperHelperTestsCSharp8.cs
index 58b4b491a..de7ed0073 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxWrapperHelperTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxWrapperHelperTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxWrapperTestsCSharp8.cs
index f98c64600..178f79be2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxWrapperTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxWrapperTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp8.cs
index fcea330dc..af687aa24 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleElementSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleElementSyntaxWrapperTestsCSharp8.cs
index 4df5a2313..5d2ada015 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleElementSyntaxWrapperTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleElementSyntaxWrapperTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleExpressionSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleExpressionSyntaxWrapperTestsCSharp8.cs
index 1f93db9d2..514d54457 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleExpressionSyntaxWrapperTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleExpressionSyntaxWrapperTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleTypeSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleTypeSyntaxWrapperTestsCSharp8.cs
index f61fd0ec7..86edd0399 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleTypeSyntaxWrapperTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleTypeSyntaxWrapperTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/VariableDesignationSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/VariableDesignationSyntaxWrapperTestsCSharp8.cs
index e24291eaf..8ec30f6d6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/VariableDesignationSyntaxWrapperTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/VariableDesignationSyntaxWrapperTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/WhenClauseSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/WhenClauseSyntaxWrapperTestsCSharp8.cs
index 2bc6b8aaf..f1c9aa610 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/WhenClauseSyntaxWrapperTestsCSharp8.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/WhenClauseSyntaxWrapperTestsCSharp8.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Lightup
{
using StyleCop.Analyzers.Test.CSharp7.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1119CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1119CSharp8UnitTests.cs
index 35c218e60..ab40b101e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1119CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1119CSharp8UnitTests.cs
@@ -8,7 +8,6 @@ namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules
using System.Threading;
using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules;
@@ -38,7 +37,7 @@ public string TestMethod(int n, object a, object b)
}
";
- await VerifyCSharpDiagnosticAsync(LanguageVersion.CSharp8, testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
}
///
@@ -76,7 +75,7 @@ public string TestMethod(int n, object a, object b)
Diagnostic(ParenthesesDiagnosticId).WithLocation(6, 54),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp8, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
///
@@ -99,7 +98,7 @@ public async Task TestMethod(int n, Task a, Task b)
}
";
- await VerifyCSharpDiagnosticAsync(LanguageVersion.CSharp8, testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
}
///
@@ -141,7 +140,7 @@ public async Task TestMethod(int n, Task a, Task b)
Diagnostic(ParenthesesDiagnosticId).WithLocation(2),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp8, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
///
@@ -179,7 +178,7 @@ public void TestMethod(int n, object a, object b)
Diagnostic(ParenthesesDiagnosticId).WithLocation(6, 48),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp8, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
[Theory]
@@ -200,7 +199,7 @@ public object TestMethod(int n, string a, string b)
}}
";
- await VerifyCSharpDiagnosticAsync(LanguageVersion.CSharp8, testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
}
[Fact]
@@ -217,7 +216,7 @@ public unsafe string TestMethod(int n, byte* a, byte* b)
}
";
- await VerifyCSharpDiagnosticAsync(LanguageVersion.CSharp8, testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
}
[Fact]
@@ -235,7 +234,7 @@ public unsafe void TestMethod()
}
";
- await VerifyCSharpDiagnosticAsync(LanguageVersion.CSharp8, testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
}
[Fact]
@@ -253,7 +252,7 @@ public void TestMethod()
}
";
- await new CSharpTest(LanguageVersion.CSharp8)
+ await new CSharpTest()
{
ReferenceAssemblies = ReferenceAssemblies.NetCore.NetCoreApp31,
TestCode = testCode,
@@ -300,7 +299,7 @@ public void TestMethod()
Diagnostic(ParenthesesDiagnosticId).WithLocation(9, 27),
};
- var test = new CSharpTest(LanguageVersion.CSharp8)
+ var test = new CSharpTest()
{
ReferenceAssemblies = ReferenceAssemblies.NetCore.NetCoreApp31,
TestCode = testCode,
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1400CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1400CSharp8UnitTests.cs
index d3281c03d..a49d405dd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1400CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1400CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1401CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1401CSharp8UnitTests.cs
index c04092af2..cd27f1d1f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1401CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1401CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForClassUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForClassUnitTests.cs
index 1919935f3..c937bb94f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForClassUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForClassUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForDelegateUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForDelegateUnitTests.cs
index b8f41390e..e6ec8814b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForDelegateUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForDelegateUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForEnumUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForEnumUnitTests.cs
index f9a2ed4ba..396509f56 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForEnumUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForEnumUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForInterfaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForInterfaceUnitTests.cs
index f3f64b70d..41f87110a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForInterfaceUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForInterfaceUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForStructUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForStructUnitTests.cs
index a1b5449ea..c34dcef18 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForStructUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForStructUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1403CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1403CSharp8UnitTests.cs
index 40f003344..33f507bea 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1403CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1403CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1404CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1404CSharp8UnitTests.cs
index 8ab41176d..1409decdf 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1404CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1404CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1405CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1405CSharp8UnitTests.cs
index e5ae08d62..8403dc1d7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1405CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1405CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1406CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1406CSharp8UnitTests.cs
index 606b92a72..64b018563 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1406CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1406CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1407CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1407CSharp8UnitTests.cs
index b43ae04d3..285d8d080 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1407CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1407CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1408CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1408CSharp8UnitTests.cs
index d205baef7..9ebee191b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1408CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1408CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1409CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1409CSharp8UnitTests.cs
index 3c975495d..a361590ef 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1409CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1409CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1410CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1410CSharp8UnitTests.cs
index bf166c126..e6b172883 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1410CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1410CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1411CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1411CSharp8UnitTests.cs
index 91d4205c8..08765d658 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1411CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1411CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1412CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1412CSharp8UnitTests.cs
index 82874a450..0a3b4387c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1412CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1412CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1413CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1413CSharp8UnitTests.cs
index 4b23d5acc..d4c234fe5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1413CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1413CSharp8UnitTests.cs
@@ -7,7 +7,6 @@ namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules
{
using System.Threading;
using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules;
using Xunit;
@@ -57,7 +56,7 @@ public void TestMethod(int input)
}
";
- await VerifyCSharpFixAsync(LanguageVersion.CSharp8, testCode, DiagnosticResult.EmptyDiagnosticResults, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1300CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1300CSharp8UnitTests.cs
index 74b25c057..73ab36fd5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1300CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1300CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.NamingRules
{
using StyleCop.Analyzers.Test.CSharp7.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1301CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1301CSharp8UnitTests.cs
index 26a3a32a7..b637f8020 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1301CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1301CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.NamingRules
{
using StyleCop.Analyzers.Test.CSharp7.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1302CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1302CSharp8UnitTests.cs
index 1c6a22bf6..222f48bad 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1302CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1302CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.NamingRules
{
using StyleCop.Analyzers.Test.CSharp7.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1303CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1303CSharp8UnitTests.cs
index 7557f9008..6dab84194 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1303CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1303CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.NamingRules
{
using StyleCop.Analyzers.Test.CSharp7.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1304CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1304CSharp8UnitTests.cs
index 59de0cf33..0e4bf343c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1304CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1304CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.NamingRules
{
using StyleCop.Analyzers.Test.CSharp7.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1305CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1305CSharp8UnitTests.cs
index 4e5a63791..8cdf938a3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1305CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1305CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.NamingRules
{
using StyleCop.Analyzers.Test.CSharp7.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1306CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1306CSharp8UnitTests.cs
index 35065fad5..b1b1c8e35 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1306CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1306CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.NamingRules
{
using StyleCop.Analyzers.Test.CSharp7.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1307CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1307CSharp8UnitTests.cs
index 8dfe1bcac..6519fbf2e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1307CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1307CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.NamingRules
{
using StyleCop.Analyzers.Test.CSharp7.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1308CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1308CSharp8UnitTests.cs
index 35fbcfd04..59ae5c60c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1308CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1308CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.NamingRules
{
using StyleCop.Analyzers.Test.CSharp7.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1309CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1309CSharp8UnitTests.cs
index fe41f74d0..8e065cb3a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1309CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1309CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.NamingRules
{
using StyleCop.Analyzers.Test.CSharp7.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1310CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1310CSharp8UnitTests.cs
index 353a4106d..fe84a9212 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1310CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1310CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.NamingRules
{
using StyleCop.Analyzers.Test.CSharp7.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1311CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1311CSharp8UnitTests.cs
index a2d469a85..bc08135b5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1311CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1311CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.NamingRules
{
using StyleCop.Analyzers.Test.CSharp7.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1312CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1312CSharp8UnitTests.cs
index a6b359097..0cffb59d4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1312CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1312CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.NamingRules
{
using StyleCop.Analyzers.Test.CSharp7.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1314CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1314CSharp8UnitTests.cs
index 353959888..79ffc7a31 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1314CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1314CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.NamingRules
{
using StyleCop.Analyzers.Test.CSharp7.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1316CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1316CSharp8UnitTests.cs
index cf29a6cf3..18522e552 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1316CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1316CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.NamingRules
{
using StyleCop.Analyzers.Test.CSharp7.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SX1309CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SX1309CSharp8UnitTests.cs
index 724b24143..c6b001342 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SX1309CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SX1309CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.NamingRules
{
using StyleCop.Analyzers.Test.CSharp7.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SX1309SCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SX1309SCSharp8UnitTests.cs
index de83bba18..e3d99b93f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SX1309SCSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SX1309SCSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.NamingRules
{
using StyleCop.Analyzers.Test.CSharp7.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs
index 918b7310e..030ed81ca 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderGroupSeparationUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderGroupSeparationUnitTests.cs
index eee28c166..e2ec11216 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderGroupSeparationUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderGroupSeparationUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderRegressionUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderRegressionUnitTests.cs
index cd5732171..8a3af2b11 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderRegressionUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderRegressionUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderUnitTests.cs
index b45565001..ef7cf22a0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200CSharp8OutsideNamespaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200CSharp8OutsideNamespaceUnitTests.cs
index ec0a98c0e..79613a058 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200CSharp8OutsideNamespaceUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200CSharp8OutsideNamespaceUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200CSharp8PreserveUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200CSharp8PreserveUnitTests.cs
index b365a2e8b..fd54baa29 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200CSharp8PreserveUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200CSharp8PreserveUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200CSharp8UnitTests.cs
index 416096b1a..b30981d8d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1201CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1201CSharp8UnitTests.cs
index ad899ec5c..df9cecc8b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1201CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1201CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1202CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1202CSharp8UnitTests.cs
index 2969cc944..3607bac01 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1202CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1202CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1203CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1203CSharp8UnitTests.cs
index 466ce8612..b0408e453 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1203CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1203CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1204CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1204CSharp8UnitTests.cs
index 311e0c24b..6f2280aa8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1204CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1204CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1205CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1205CSharp8UnitTests.cs
index fe317d775..20a387047 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1205CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1205CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1206CSharp8CodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1206CSharp8CodeFixProviderUnitTests.cs
index ba9f0f650..095b8bb6c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1206CSharp8CodeFixProviderUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1206CSharp8CodeFixProviderUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1206CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1206CSharp8UnitTests.cs
index 2e51008b8..df41dd5cd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1206CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1206CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1207CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1207CSharp8UnitTests.cs
index ec78753ef..06de48bd3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1207CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1207CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1208CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1208CSharp8UnitTests.cs
index e1b30e333..5a3efbefd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1208CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1208CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1209CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1209CSharp8UnitTests.cs
index 6ad540869..b23f2fc1f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1209CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1209CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1210CSharp8CombinedSystemDirectivesUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1210CSharp8CombinedSystemDirectivesUnitTests.cs
index 66cd835df..ae1c4f728 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1210CSharp8CombinedSystemDirectivesUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1210CSharp8CombinedSystemDirectivesUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1210CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1210CSharp8UnitTests.cs
index 8f82e28d5..8cf83e472 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1210CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1210CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1211CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1211CSharp8UnitTests.cs
index 981c728a7..981d3b7b9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1211CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1211CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1212CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1212CSharp8UnitTests.cs
index 0971483f0..0d89ada9c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1212CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1212CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1213CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1213CSharp8UnitTests.cs
index 7bc770fad..0133b41ce 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1213CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1213CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1214CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1214CSharp8UnitTests.cs
index bdc6fd427..090a9310c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1214CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1214CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1215CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1215CSharp8UnitTests.cs
index 20a536a7b..2b1dcaab2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1215CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1215CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1216CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1216CSharp8UnitTests.cs
index 52ac77e2a..ca383d8a2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1216CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1216CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1217CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1217CSharp8UnitTests.cs
index 92e5e747e..03eac1db5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1217CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1217CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp7.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1100CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1100CSharp8UnitTests.cs
index 52fe74a43..4e2fdb00b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1100CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1100CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1102CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1102CSharp8UnitTests.cs
index 562f958d6..bfb88ae43 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1102CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1102CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1103CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1103CSharp8UnitTests.cs
index 8f0ef8e41..02ce0cced 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1103CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1103CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1104CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1104CSharp8UnitTests.cs
index d631d8887..fea334f3b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1104CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1104CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1105CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1105CSharp8UnitTests.cs
index 05d0ccd66..6a28d1930 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1105CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1105CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1107CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1107CSharp8UnitTests.cs
index 520a8f119..26acee3d7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1107CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1107CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1108CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1108CSharp8UnitTests.cs
index 5077fc070..4429a7c43 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1108CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1108CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1109CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1109CSharp8UnitTests.cs
index 10e324cbe..4f78b50e7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1109CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1109CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1110CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1110CSharp8UnitTests.cs
index 9bd99b1d5..7e13f5433 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1110CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1110CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1111CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1111CSharp8UnitTests.cs
index 7e2b4fe08..aea7135e4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1111CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1111CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1112CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1112CSharp8UnitTests.cs
index 038a49e87..22dd6192e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1112CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1112CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1113CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1113CSharp8UnitTests.cs
index 099a4af66..6ab6c0397 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1113CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1113CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1114CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1114CSharp8UnitTests.cs
index b713aee12..11fdc5245 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1114CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1114CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1115CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1115CSharp8UnitTests.cs
index 58af5a029..bc72d48ae 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1115CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1115CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1116CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1116CSharp8UnitTests.cs
index 163539022..a52d07c1e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1116CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1116CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1117CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1117CSharp8UnitTests.cs
index afd7535e4..ea43118f4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1117CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1117CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1118CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1118CSharp8UnitTests.cs
index ab28cc826..33c6c737c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1118CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1118CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1120CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1120CSharp8UnitTests.cs
index 0e85487d0..ff219c854 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1120CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1120CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1121CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1121CSharp8UnitTests.cs
index 5a645c636..c8c58d70f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1121CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1121CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1123CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1123CSharp8UnitTests.cs
index 4764bba4b..a3f21d8ff 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1123CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1123CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1124CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1124CSharp8UnitTests.cs
index 33b044d51..88829488b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1124CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1124CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1125CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1125CSharp8UnitTests.cs
index 99509eea3..ec06ec00d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1125CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1125CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1126CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1126CSharp8UnitTests.cs
index a027934a2..880091e7c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1126CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1126CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1127CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1127CSharp8UnitTests.cs
index 380095c95..45f609798 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1127CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1127CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1128CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1128CSharp8UnitTests.cs
index 54fb72aac..d6bd6d222 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1128CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1128CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1129CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1129CSharp8UnitTests.cs
index 18aa499b5..9e02083a7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1129CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1129CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1130CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1130CSharp8UnitTests.cs
index 879efe401..a4ae2e475 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1130CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1130CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1131CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1131CSharp8UnitTests.cs
index 8a18642d0..27ffdfd31 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1131CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1131CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1132CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1132CSharp8UnitTests.cs
index 96b98659d..d893c2b41 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1132CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1132CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1133CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1133CSharp8UnitTests.cs
index 90e31a44c..a1c200dd9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1133CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1133CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1136CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1136CSharp8UnitTests.cs
index 5911ac394..d342ff8fd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1136CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1136CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1137CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1137CSharp8UnitTests.cs
index bf775f794..eec1ec538 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1137CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1137CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1139CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1139CSharp8UnitTests.cs
index 6e7fe4192..db8e7b53b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1139CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1139CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SX1101CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SX1101CSharp8UnitTests.cs
index 2420a423b..c3a335211 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SX1101CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SX1101CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Settings/SettingsCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Settings/SettingsCSharp8UnitTests.cs
index 8e8b75f1d..421aa621b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Settings/SettingsCSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Settings/SettingsCSharp8UnitTests.cs
@@ -69,6 +69,36 @@ public async Task VerifyEditorConfigSettingsAreReadCorrectlyAsync()
Assert.Equal(OptionSetting.Allow, styleCopSettings.OrderingRules.BlankLinesBetweenUsingGroups);
}
+ [Fact]
+ public async Task VerifyFileHeaderTemplateFromEditorConfigAsync()
+ {
+ var settings = @"root = true
+
+[*]
+file_header_template = Line 1\nLine 2.
+";
+ var context = await this.CreateAnalysisContextFromEditorConfigAsync(settings).ConfigureAwait(false);
+
+ var styleCopSettings = context.GetStyleCopSettings(CancellationToken.None);
+
+ Assert.Equal("Line 1\nLine 2.", styleCopSettings.DocumentationRules.GetCopyrightText("unused"));
+ }
+
+ [Fact]
+ public async Task VerifyStyleCopDocumentationCopyrightTextFromEditorConfigAsync()
+ {
+ var settings = @"root = true
+
+[*]
+stylecop.documentation.copyrightText = Line 1\nLine 2.
+";
+ var context = await this.CreateAnalysisContextFromEditorConfigAsync(settings).ConfigureAwait(false);
+
+ var styleCopSettings = context.GetStyleCopSettings(CancellationToken.None);
+
+ Assert.Equal("Line 1\nLine 2.", styleCopSettings.DocumentationRules.GetCopyrightText("unused"));
+ }
+
[Theory]
[CombinatorialData]
public async Task VerifyBooleanDocumentationSettingsFromEditorConfigAsync(bool value)
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Settings/SettingsFileCodeFixProviderCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Settings/SettingsFileCodeFixProviderCSharp8UnitTests.cs
index 8ea5143b4..d9e964c77 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Settings/SettingsFileCodeFixProviderCSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Settings/SettingsFileCodeFixProviderCSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.Settings
{
using StyleCop.Analyzers.Test.CSharp7.Settings;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1000CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1000CSharp8UnitTests.cs
index 56661deef..f0674feda 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1000CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1000CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1001CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1001CSharp8UnitTests.cs
index c559d5118..1927a15bb 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1001CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1001CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1002CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1002CSharp8UnitTests.cs
index 3dfecc055..730942d52 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1002CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1002CSharp8UnitTests.cs
@@ -7,7 +7,6 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using System.Threading;
using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
using Xunit;
@@ -55,7 +54,7 @@ public void TestMethod(object?[] arguments)
Diagnostic().WithArguments(" not", "preceded").WithLocation(9, 40),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp8, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1003CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1003CSharp8UnitTests.cs
index 4c58fb9a8..85b6098c9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1003CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1003CSharp8UnitTests.cs
@@ -7,7 +7,6 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using System.Threading;
using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
using Xunit;
@@ -59,7 +58,7 @@ public void TestMethod()
}
";
- await new CSharpTest(LanguageVersion.CSharp8)
+ await new CSharpTest()
{
ReferenceAssemblies = ReferenceAssemblies.NetCore.NetCoreApp31,
TestCode = testCode,
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1004CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1004CSharp8UnitTests.cs
index 59c9774da..665d29412 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1004CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1004CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1005CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1005CSharp8UnitTests.cs
index e951454ab..2ff4f187c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1005CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1005CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1006CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1006CSharp8UnitTests.cs
index 41f7895c9..fc9043c7a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1006CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1006CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1007CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1007CSharp8UnitTests.cs
index be51c8313..916882f21 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1007CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1007CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1008CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1008CSharp8UnitTests.cs
index bbed6b5db..aaa149590 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1008CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1008CSharp8UnitTests.cs
@@ -7,7 +7,6 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using System.Threading;
using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
using Xunit;
@@ -66,7 +65,7 @@ public void TestMethod()
}
";
- await new CSharpTest(LanguageVersion.CSharp8)
+ await new CSharpTest()
{
ReferenceAssemblies = ReferenceAssemblies.NetCore.NetCoreApp31,
TestCode = testCode,
@@ -108,7 +107,6 @@ void M((string A, string B) tuple)
};
await VerifyCSharpFixAsync(
- LanguageVersion.CSharp8,
testCode,
expectedResults,
fixedCode,
@@ -146,7 +144,51 @@ void M((bool A, bool B) tuple)
};
await VerifyCSharpFixAsync(
- LanguageVersion.CSharp8,
+ testCode,
+ expectedResults,
+ fixedCode,
+ CancellationToken.None).ConfigureAwait(false);
+ }
+
+ [Fact]
+ [WorkItem(3556, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3556")]
+ public async Task TestInPositionalPatternAfterTagAsync()
+ {
+ var testCode = @"
+internal class TestClass
+ {
+ private void TestMethod(object obj)
+ {
+ _ = obj is ClassWithTuple { Tag:{|#0:(|} true, false) };
+ }
+
+ public class ClassWithTuple
+ {
+ public (bool Item1, bool Item2) Tag { get; set; }
+ }
+ }
+";
+ var fixedCode = @"
+internal class TestClass
+ {
+ private void TestMethod(object obj)
+ {
+ _ = obj is ClassWithTuple { Tag: (true, false) };
+ }
+
+ public class ClassWithTuple
+ {
+ public (bool Item1, bool Item2) Tag { get; set; }
+ }
+ }
+";
+ DiagnosticResult[] expectedResults =
+ {
+ Diagnostic(DescriptorPreceded).WithLocation(0),
+ Diagnostic(DescriptorNotFollowed).WithLocation(0),
+ };
+
+ await VerifyCSharpFixAsync(
testCode,
expectedResults,
fixedCode,
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1009CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1009CSharp8UnitTests.cs
index 4574626fd..ede298159 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1009CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1009CSharp8UnitTests.cs
@@ -7,10 +7,8 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using System.Threading;
using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
- using StyleCop.Analyzers.Test.Verifiers;
using Xunit;
using static StyleCop.Analyzers.SpacingRules.SA1009ClosingParenthesisMustBeSpacedCorrectly;
using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
@@ -44,7 +42,7 @@ public void TestMethod()
}
}";
- await VerifyCSharpFixAsync(LanguageVersion.CSharp8, testCode, DiagnosticResult.EmptyDiagnosticResults, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
[Fact]
@@ -100,7 +98,7 @@ public Derived()
Diagnostic(DescriptorNotPreceded).WithLocation(2),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp8, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
[Fact]
@@ -124,7 +122,7 @@ public class Foo
public IDisposable Service => this.TestMethod()!;
}";
- await VerifyCSharpFixAsync(LanguageVersion.CSharp8, testCode, DiagnosticResult.EmptyDiagnosticResults, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
[Fact]
@@ -154,7 +152,7 @@ public IDisposable Service()
}
}";
- await VerifyCSharpFixAsync(LanguageVersion.CSharp8, testCode, DiagnosticResult.EmptyDiagnosticResults, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
///
@@ -201,7 +199,7 @@ public string TestMethod()
}
";
- await new CSharpTest(LanguageVersion.CSharp8)
+ await new CSharpTest()
{
ReferenceAssemblies = ReferenceAssemblies.NetCore.NetCoreApp31,
TestCode = testCode,
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1010CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1010CSharp8UnitTests.cs
index 7e7bee4ec..67ac2de44 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1010CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1010CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1011CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1011CSharp8UnitTests.cs
index 2e1b59158..b0ce402cb 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1011CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1011CSharp8UnitTests.cs
@@ -7,7 +7,6 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using System.Threading;
using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
using Xunit;
@@ -37,7 +36,7 @@ public void TestMethod()
}
";
- await VerifyCSharpDiagnosticAsync(LanguageVersion.CSharp8, testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
}
[Fact]
@@ -56,7 +55,7 @@ public class TestClass
}
";
- await VerifyCSharpDiagnosticAsync(LanguageVersion.CSharp8, testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
}
[Fact]
@@ -105,7 +104,7 @@ public void TestMethod(object?[] arguments)
Diagnostic().WithArguments(" not", "followed").WithLocation(12, 36),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp8, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1012CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1012CSharp8UnitTests.cs
index 4ceb0b93e..ec85c0800 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1012CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1012CSharp8UnitTests.cs
@@ -7,7 +7,6 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using System.Threading;
using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
using Xunit;
@@ -56,7 +55,6 @@ void M((string A, string B) tuple)
};
await VerifyCSharpFixAsync(
- LanguageVersion.CSharp8,
testCode,
expectedResults,
fixedCode,
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1013CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1013CSharp8UnitTests.cs
index 2befcc1b0..590e9568d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1013CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1013CSharp8UnitTests.cs
@@ -6,7 +6,6 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
using System.Threading;
using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
@@ -91,7 +90,7 @@ public void TestMethod()
}
";
- await VerifyCSharpDiagnosticAsync(LanguageVersion.CSharp8, testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1014CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1014CSharp8UnitTests.cs
index 95e4894d8..f6bd86074 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1014CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1014CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1016CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1016CSharp8UnitTests.cs
index 67a7c8e3a..9ec32e01b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1016CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1016CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1017CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1017CSharp8UnitTests.cs
index 45a2dc205..5278e17fc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1017CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1017CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1018CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1018CSharp8UnitTests.cs
index c38330b9d..4d97784f9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1018CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1018CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1019CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1019CSharp8UnitTests.cs
index 203bf369b..eee8bfccf 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1019CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1019CSharp8UnitTests.cs
@@ -7,7 +7,6 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using System.Threading;
using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
using Xunit;
@@ -64,7 +63,7 @@ public void TestMethod(object?[] arguments)
Diagnostic(DescriptorNotPreceded).WithArguments("?").WithLocation(12, 40),
};
- await VerifyCSharpFixAsync(LanguageVersion.CSharp8, testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1020CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1020CSharp8UnitTests.cs
index 845b759ee..1f48ccfd2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1020CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1020CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1021CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1021CSharp8UnitTests.cs
index f34cf41c8..55dbc750c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1021CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1021CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1022CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1022CSharp8UnitTests.cs
index 2153b8bcf..155263f89 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1022CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1022CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1025CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1025CSharp8UnitTests.cs
index a74794201..a770c0e07 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1025CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1025CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1026CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1026CSharp8UnitTests.cs
index 915f3325d..4335bc890 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1026CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1026CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027AlternateIndentationCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027AlternateIndentationCSharp8UnitTests.cs
index 90ff43c14..2b92f1b7a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027AlternateIndentationCSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027AlternateIndentationCSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027CSharp8UnitTests.cs
index 8d553749b..ee18fe627 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027UseTabsCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027UseTabsCSharp8UnitTests.cs
index 932f77d0a..b97723652 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027UseTabsCSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027UseTabsCSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1028CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1028CSharp8UnitTests.cs
index 5f6877bad..5e389f676 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1028CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1028CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp7.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpecialRules/SA0001CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpecialRules/SA0001CSharp8UnitTests.cs
index 3ad16a9ca..34f2a57d7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpecialRules/SA0001CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpecialRules/SA0001CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.SpecialRules
{
using StyleCop.Analyzers.Test.CSharp7.SpecialRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpecialRules/SA0002CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpecialRules/SA0002CSharp8UnitTests.cs
index dc3e5f082..79b93e63e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpecialRules/SA0002CSharp8UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpecialRules/SA0002CSharp8UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp8.SpecialRules
{
using StyleCop.Analyzers.Test.CSharp7.SpecialRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/StyleCop.Analyzers.Test.CSharp8.csproj b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/StyleCop.Analyzers.Test.CSharp8.csproj
index b2a9e1681..5cc860e80 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/StyleCop.Analyzers.Test.CSharp8.csproj
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/StyleCop.Analyzers.Test.CSharp8.csproj
@@ -3,6 +3,7 @@
net472
+ falsetruetrue
@@ -20,6 +21,9 @@
+
+
+
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/AnalyzerConfigurationTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/AnalyzerConfigurationTestsCSharp9.cs
index a3ebf5493..521b97920 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/AnalyzerConfigurationTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/AnalyzerConfigurationTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9
{
using StyleCop.Analyzers.Test.CSharp8;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/CSharp9InheritdocCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/CSharp9InheritdocCodeFixProviderUnitTests.cs
index b53c873b6..579bf5db4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/CSharp9InheritdocCodeFixProviderUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/CSharp9InheritdocCodeFixProviderUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/CSharp9NoXmlFileHeaderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/CSharp9NoXmlFileHeaderUnitTests.cs
index c9b4cd2cb..39196717b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/CSharp9NoXmlFileHeaderUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/CSharp9NoXmlFileHeaderUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1600CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1600CSharp9UnitTests.cs
index cbed01762..44cc2c96c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1600CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1600CSharp9UnitTests.cs
@@ -21,9 +21,6 @@ protected override DiagnosticResult[] GetExpectedResultTestRegressionMethodGloba
// /0/Test0.cs(4,1): error CS0106: The modifier 'public' is not valid for this item
DiagnosticResult.CompilerError("CS0106").WithSpan(4, 1, 4, 7).WithArguments("public"),
-
- // /0/Test0.cs(4,1): error CS8320: Feature 'top-level statements' is not available in C# 7.2. Please use language version 9.0 or greater.
- DiagnosticResult.CompilerError("CS8320").WithSpan(4, 1, 4, 29).WithArguments("top-level statements", "9.0"),
};
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1601CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1601CSharp9UnitTests.cs
index fb0b19e6f..1cb2f7d67 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1601CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1601CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1602CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1602CSharp9UnitTests.cs
index 0d2e8489e..23daaf066 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1602CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1602CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1603CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1603CSharp9UnitTests.cs
index da8de1991..c855f99bd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1603CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1603CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1604CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1604CSharp9UnitTests.cs
index 6cb0f3a01..16638ab16 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1604CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1604CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1605CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1605CSharp9UnitTests.cs
index 2b64c397c..fd62976ca 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1605CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1605CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1606CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1606CSharp9UnitTests.cs
index 66df82d2f..e4ae5bed3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1606CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1606CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1607CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1607CSharp9UnitTests.cs
index 236e3d9eb..108536b8a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1607CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1607CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1608CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1608CSharp9UnitTests.cs
index d0a564b29..b234b6bf8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1608CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1608CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1609CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1609CSharp9UnitTests.cs
index 81de9214a..6efc99e12 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1609CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1609CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1610CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1610CSharp9UnitTests.cs
index 1632d91f5..086df558b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1610CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1610CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1611CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1611CSharp9UnitTests.cs
index cd91e0e28..76bd1e379 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1611CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1611CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1612CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1612CSharp9UnitTests.cs
index 7a66b56f9..0418e7636 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1612CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1612CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1613CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1613CSharp9UnitTests.cs
index 3879148f4..fea41f4a4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1613CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1613CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1614CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1614CSharp9UnitTests.cs
index 34b4d177f..b5b98e4b9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1614CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1614CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1615CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1615CSharp9UnitTests.cs
index 0ae537377..7c1699072 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1615CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1615CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1616CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1616CSharp9UnitTests.cs
index b1002918c..ce97634a4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1616CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1616CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1617CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1617CSharp9UnitTests.cs
index a64866095..ec18326ae 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1617CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1617CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1618CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1618CSharp9UnitTests.cs
index 16ad48aaa..6939740af 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1618CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1618CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1619CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1619CSharp9UnitTests.cs
index df0dac9d4..e9b2c6c27 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1619CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1619CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1620CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1620CSharp9UnitTests.cs
index f04652b47..5864d05b6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1620CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1620CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1621CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1621CSharp9UnitTests.cs
index c7fbb0b4b..6f73e5209 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1621CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1621CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1622CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1622CSharp9UnitTests.cs
index 319fe5dad..3f476bbf9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1622CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1622CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1623CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1623CSharp9UnitTests.cs
index dc4b53b0d..a7c5ce13a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1623CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1623CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1624CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1624CSharp9UnitTests.cs
index 3d902e327..43fd09b01 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1624CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1624CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1625CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1625CSharp9UnitTests.cs
index 3c63a5852..5a53e543d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1625CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1625CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1626CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1626CSharp9UnitTests.cs
index 340063069..173ebb4a6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1626CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1626CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1627CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1627CSharp9UnitTests.cs
index 45d6484e4..19e9f27e8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1627CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1627CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1628CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1628CSharp9UnitTests.cs
index c5962a460..263bab4c2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1628CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1628CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1629CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1629CSharp9UnitTests.cs
index 725b7d25b..7fdb5f368 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1629CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1629CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1630CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1630CSharp9UnitTests.cs
index 447f5739c..884f38d6d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1630CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1630CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1631CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1631CSharp9UnitTests.cs
index 8f967e306..f98e53bde 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1631CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1631CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1632CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1632CSharp9UnitTests.cs
index 98b19c317..1b4cfa749 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1632CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1632CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1633CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1633CSharp9UnitTests.cs
index f5390332e..ee2903208 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1633CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1633CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1634CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1634CSharp9UnitTests.cs
index c763b0536..4f0e66bb0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1634CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1634CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1635CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1635CSharp9UnitTests.cs
index 67dbbe069..390fb3cd0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1635CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1635CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1636CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1636CSharp9UnitTests.cs
index 23f469105..f7b0ab97c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1636CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1636CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1637CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1637CSharp9UnitTests.cs
index e6127bca2..2a7221756 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1637CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1637CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1638CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1638CSharp9UnitTests.cs
index f9ad94d76..c50ca20c0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1638CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1638CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1639CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1639CSharp9UnitTests.cs
index 677a81139..d778b09d1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1639CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1639CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1640CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1640CSharp9UnitTests.cs
index 36a8440fb..cea2592d1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1640CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1640CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1641CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1641CSharp9UnitTests.cs
index 75fea8faf..01d5bb4f2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1641CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1641CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1642CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1642CSharp9UnitTests.cs
index 8ad804585..5c0e10d3c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1642CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1642CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1643CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1643CSharp9UnitTests.cs
index eac86846f..ebcf50b02 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1643CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1643CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1644CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1644CSharp9UnitTests.cs
index 92460ef5f..3fbc25f08 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1644CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1644CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1645CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1645CSharp9UnitTests.cs
index dd301f7bd..0ad50b3fa 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1645CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1645CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1646CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1646CSharp9UnitTests.cs
index a7c3baf30..91554fb3b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1646CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1646CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1647CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1647CSharp9UnitTests.cs
index 099151668..47d4c717c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1647CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1647CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1648CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1648CSharp9UnitTests.cs
index 1dfaf78db..8c2582c38 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1648CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1648CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1649CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1649CSharp9UnitTests.cs
index 713ff17bd..446a490b9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1649CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1649CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1650CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1650CSharp9UnitTests.cs
index 811dc485c..f54030c90 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1650CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1650CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1651CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1651CSharp9UnitTests.cs
index b767c7693..2c4674b16 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1651CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1651CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1500CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1500CSharp9UnitTests.cs
index 28c07a6d9..019ec036e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1500CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1500CSharp9UnitTests.cs
@@ -93,5 +93,49 @@ public async Task TestMultiLineRecordWithParameterAsync(string keyword)
FixedCode = testCode,
}.RunAsync(CancellationToken.None).ConfigureAwait(false);
}
+
+ [Fact]
+ [WorkItem(3667, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3667")]
+ public async Task TestInitAccessorAsync()
+ {
+ var testCode = @"
+class TestClass
+{
+ int Property1
+ {
+ init
+ [|{|] }
+ }
+
+ int Property2
+ {
+ init [|{|]
+ }
+ }
+}";
+
+ var fixedCode = @"
+class TestClass
+{
+ int Property1
+ {
+ init { }
+ }
+
+ int Property2
+ {
+ init
+ {
+ }
+ }
+}";
+
+ await new CSharpTest
+ {
+ ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
+ TestCode = testCode,
+ FixedCode = fixedCode,
+ }.RunAsync(CancellationToken.None).ConfigureAwait(false);
+ }
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1501CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1501CSharp9UnitTests.cs
index 6c077aabb..86396c2dd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1501CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1501CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp8.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1503CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1503CSharp9UnitTests.cs
index ae2ff06ee..acd558b09 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1503CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1503CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp8.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1504CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1504CSharp9UnitTests.cs
index 646871c3d..5feeacbbb 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1504CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1504CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp8.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1506CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1506CSharp9UnitTests.cs
index 367f19675..09dcb085f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1506CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1506CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp8.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1507CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1507CSharp9UnitTests.cs
index 0384e1615..e9d2d4231 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1507CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1507CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp8.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1510CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1510CSharp9UnitTests.cs
index 25f688044..c81521e47 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1510CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1510CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp8.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1511CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1511CSharp9UnitTests.cs
index 499fb5628..f85f3ef0b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1511CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1511CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp8.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1512CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1512CSharp9UnitTests.cs
index 1b15ffeb9..a757e9a4f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1512CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1512CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp8.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1513CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1513CSharp9UnitTests.cs
index a44ac6bca..a4d8c6b95 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1513CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1513CSharp9UnitTests.cs
@@ -37,5 +37,33 @@ public void Baz(string arg)
await VerifyCSharpFixAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, testCode, CancellationToken.None).ConfigureAwait(false);
}
+
+ [Fact]
+ [WorkItem(3658, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3658")]
+ public async Task TestInitAccessorAsync()
+ {
+ var testCode = @"using System;
+
+public class Foo
+{
+ public int X
+ {
+ get
+ {
+ return 0;
+ }
+ init
+ {
+ }
+ }
+}
+";
+
+ await new CSharpTest
+ {
+ TestCode = testCode,
+ ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
+ }.RunAsync(CancellationToken.None).ConfigureAwait(false);
+ }
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1514CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1514CSharp9UnitTests.cs
index 544c7e3a7..c718e3b9f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1514CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1514CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp8.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1515CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1515CSharp9UnitTests.cs
index ef5ce9ef4..f42761c01 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1515CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1515CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp8.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1516CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1516CSharp9UnitTests.cs
index 1bbf059ed..ed672d36c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1516CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1516CSharp9UnitTests.cs
@@ -8,7 +8,6 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
- using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp8.LayoutRules;
using Xunit;
@@ -36,7 +35,7 @@ public async Task TestUsingAndGlobalStatementSpacingInTopLevelProgramAsync()
return 0;
";
- var test = new CSharpTest(LanguageVersion.CSharp9)
+ var test = new CSharpTest()
{
ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
TestState =
@@ -63,7 +62,7 @@ public async Task TestGlobalStatementSpacingInTopLevelProgramAsync()
return i;
";
- await new CSharpTest(LanguageVersion.CSharp9)
+ await new CSharpTest()
{
ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
TestState =
@@ -90,7 +89,7 @@ public async Task TestGlobalStatementAndRecordSpacingInTopLevelProgramAsync()
record A();
";
- var test = new CSharpTest(LanguageVersion.CSharp9)
+ var test = new CSharpTest()
{
ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
TestState =
@@ -105,6 +104,53 @@ record A();
await test.RunAsync(CancellationToken.None).ConfigureAwait(false);
}
+ [Fact]
+ [WorkItem(3658, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3658")]
+ public async Task TestInitAccessorAsync()
+ {
+ var testCode = @"using System;
+
+public class Foo
+{
+ public int X
+ {
+ get
+ {
+ return 0;
+ }
+[| |]init
+ {
+ }
+ }
+}
+";
+
+ var fixedCode = @"using System;
+
+public class Foo
+{
+ public int X
+ {
+ get
+ {
+ return 0;
+ }
+
+ init
+ {
+ }
+ }
+}
+";
+
+ await new CSharpTest
+ {
+ TestCode = testCode,
+ FixedCode = fixedCode,
+ ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
+ }.RunAsync(CancellationToken.None).ConfigureAwait(false);
+ }
+
protected virtual DiagnosticResult[] GetExpectedResultTestUsingAndGlobalStatementSpacingInTopLevelProgram()
{
// NOTE: Seems like a Roslyn bug made diagnostics be reported twice. Fixed in a later version.
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1516CSharp9UsingGroupsUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1516CSharp9UsingGroupsUnitTests.cs
index 2bc028a74..84f6337c1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1516CSharp9UsingGroupsUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1516CSharp9UsingGroupsUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp8.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1517CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1517CSharp9UnitTests.cs
index c616650a8..0adef0a9d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1517CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1517CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp8.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1518CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1518CSharp9UnitTests.cs
index deddf61cf..deb9614a9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1518CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1518CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp8.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1519CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1519CSharp9UnitTests.cs
index 48a38fe9e..834a21321 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1519CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1519CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp8.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1520CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1520CSharp9UnitTests.cs
index 654006c94..3885c0250 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1520CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1520CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp8.LayoutRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp9.cs
index 71259f883..8c01ef6d0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ArgumentSyntaxExtensionsTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ArgumentSyntaxExtensionsTestsCSharp9.cs
index af1a96c4d..2950d6465 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ArgumentSyntaxExtensionsTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ArgumentSyntaxExtensionsTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp9.cs
index 8556c39d6..0a49e5786 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp9.cs
index e6fd5806b..59c516d30 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp9.cs
index d1e88f941..f5ef687d4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ConstantPatternSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ConstantPatternSyntaxWrapperTestsCSharp9.cs
index 1add39c20..cc7011f18 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ConstantPatternSyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ConstantPatternSyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp9.cs
index 8ef829adb..eddb6e6c1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CrefParameterSyntaxExtensionsTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CrefParameterSyntaxExtensionsTestsCSharp9.cs
index 33c41e074..50dd21861 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CrefParameterSyntaxExtensionsTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CrefParameterSyntaxExtensionsTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp9.cs
index f7a2a71c1..4d0ab4906 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp9.cs
index 15e068054..974d0337c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp9.cs
index acd56d6bb..e178ab9ee 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp9.cs
index fe4ea3dc7..f9609facf 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp9.cs
index af660e2aa..100b78e9b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp9.cs
index 48e8a496d..aea9cd75f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LanguageVersionExTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LanguageVersionExTestsCSharp9.cs
index 7e5d475e1..7bc4b302d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LanguageVersionExTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LanguageVersionExTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp9.cs
index cd8882ba3..7c7cb9755 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/MethodKindExTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/MethodKindExTestsCSharp9.cs
index 1c89337c3..4b15e47ad 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/MethodKindExTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/MethodKindExTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/OperationKindExTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/OperationKindExTestsCSharp9.cs
index 301f622ce..67aa3cc0a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/OperationKindExTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/OperationKindExTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp9.cs
index 4c5d17db4..fff8c67cc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/PatternSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/PatternSyntaxWrapperTestsCSharp9.cs
index 0c55d16f8..1514a2861 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/PatternSyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/PatternSyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefExpressionSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefExpressionSyntaxWrapperTestsCSharp9.cs
index 83c2de022..5f54d2f77 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefExpressionSyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefExpressionSyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefTypeSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefTypeSyntaxWrapperTestsCSharp9.cs
index fd2b6cf4c..0e85f7d46 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefTypeSyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefTypeSyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp9.cs
index 64bac3546..280da830a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp9.cs
index e1cdca181..bf2793507 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp9.cs
index 5345c4f07..e500bfcde 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp9.cs
index 0b944b568..c7a8aa17c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxKindExTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxKindExTestsCSharp9.cs
index e8cba335b..482cae31e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxKindExTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxKindExTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperHelperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperHelperTestsCSharp9.cs
index 284f805fb..7df0a8adf 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperHelperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperHelperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperTestsCSharp9.cs
index c0e05c17b..2fcfa8956 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp9.cs
index 7201afdbf..17fa7b297 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleElementSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleElementSyntaxWrapperTestsCSharp9.cs
index c4aa6c297..3ec485bfd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleElementSyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleElementSyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleExpressionSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleExpressionSyntaxWrapperTestsCSharp9.cs
index fc2eacfd1..2c69c455f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleExpressionSyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleExpressionSyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleTypeSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleTypeSyntaxWrapperTestsCSharp9.cs
index 2c1c71824..13928c4be 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleTypeSyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleTypeSyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/VariableDesignationSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/VariableDesignationSyntaxWrapperTestsCSharp9.cs
index e2ec84d2c..c4c64ef04 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/VariableDesignationSyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/VariableDesignationSyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/WhenClauseSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/WhenClauseSyntaxWrapperTestsCSharp9.cs
index af3454c96..abbd4d990 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/WhenClauseSyntaxWrapperTestsCSharp9.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/WhenClauseSyntaxWrapperTestsCSharp9.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Lightup
{
using StyleCop.Analyzers.Test.CSharp8.Lightup;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1119CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1119CSharp9UnitTests.cs
index 4b172e9ed..9dcd5059f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1119CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1119CSharp9UnitTests.cs
@@ -7,7 +7,6 @@ namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules
{
using System.Threading;
using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules;
using Xunit;
@@ -35,7 +34,7 @@ public object TestMethod(Foo n, int a)
}
";
- await new CSharpTest(LanguageVersion.CSharp9)
+ await new CSharpTest()
{
ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
TestCode = testCode,
@@ -71,7 +70,7 @@ public object TestMethod(Foo n, int a)
}
";
- await new CSharpTest(LanguageVersion.CSharp9)
+ await new CSharpTest()
{
ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
TestCode = testCode,
@@ -113,7 +112,7 @@ public void TestMethod(Foo n, int a)
}
";
- await new CSharpTest(LanguageVersion.CSharp9)
+ await new CSharpTest()
{
ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
TestCode = testCode,
@@ -147,7 +146,7 @@ public object TestMethod(Foo n, int a)
}}
";
- await new CSharpTest(LanguageVersion.CSharp9)
+ await new CSharpTest()
{
ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
TestCode = testCode,
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1400CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1400CSharp9UnitTests.cs
index 1b6960f66..43b3a90d3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1400CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1400CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1401CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1401CSharp9UnitTests.cs
index 32a6738b6..faf949c1d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1401CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1401CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForClassUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForClassUnitTests.cs
index 88548fbee..277144c7c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForClassUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForClassUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForDelegateUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForDelegateUnitTests.cs
index 53338475a..d8a47b30c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForDelegateUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForDelegateUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForEnumUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForEnumUnitTests.cs
index c8eb25aeb..4709b3c99 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForEnumUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForEnumUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForInterfaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForInterfaceUnitTests.cs
index 037fba3a9..4e47141b4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForInterfaceUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForInterfaceUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForRecordUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForRecordUnitTests.cs
new file mode 100644
index 000000000..72cca5e46
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForRecordUnitTests.cs
@@ -0,0 +1,16 @@
+// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
+// Licensed under the MIT License. See LICENSE in the project root for license information.
+
+namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.MaintainabilityRules;
+
+ public class SA1402CSharp9ForRecordUnitTests : SA1402ForBlockDeclarationUnitTestsBase
+ {
+ public override string Keyword => "record";
+
+ protected override string SettingKeyword => "class";
+
+ protected override bool IsConfiguredAsTopLevelTypeByDefault => true;
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForStructUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForStructUnitTests.cs
index 4ac9b0549..716420f44 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForStructUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForStructUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1403CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1403CSharp9UnitTests.cs
index 9cd2ce616..1fa9d1419 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1403CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1403CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1404CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1404CSharp9UnitTests.cs
index 78cb97dc1..0336c1d0d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1404CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1404CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1405CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1405CSharp9UnitTests.cs
index cba0d2b40..93eceb7e2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1405CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1405CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1406CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1406CSharp9UnitTests.cs
index 9b627e1cc..af5a877d1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1406CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1406CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1407CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1407CSharp9UnitTests.cs
index 232346f13..b47b22743 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1407CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1407CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1408CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1408CSharp9UnitTests.cs
index 584edf52f..61e746f5f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1408CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1408CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1409CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1409CSharp9UnitTests.cs
index 475da30f7..ea7d92a1d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1409CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1409CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1410CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1410CSharp9UnitTests.cs
index a39e00207..822a497ac 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1410CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1410CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1411CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1411CSharp9UnitTests.cs
index bb5b67bea..ad9a2e1e6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1411CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1411CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1412CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1412CSharp9UnitTests.cs
index 6b367588d..40251ecd1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1412CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1412CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1413CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1413CSharp9UnitTests.cs
index 2d5443c2b..d85368205 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1413CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1413CSharp9UnitTests.cs
@@ -7,7 +7,6 @@ namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules
{
using System.Threading;
using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules;
using Xunit;
@@ -64,7 +63,7 @@ void M()
}
";
- await VerifyCSharpFixAsync(LanguageVersion.CSharp9, testCode, DiagnosticResult.EmptyDiagnosticResults, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1300CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1300CSharp9UnitTests.cs
index 47e80b9c1..be42e3823 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1300CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1300CSharp9UnitTests.cs
@@ -7,7 +7,6 @@ namespace StyleCop.Analyzers.Test.CSharp9.NamingRules
{
using System.Threading;
using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp8.NamingRules;
using StyleCop.Analyzers.Test.Verifiers;
@@ -41,7 +40,7 @@ public R(int a, int b)
}
";
- var test = new CSharpTest(LanguageVersion.CSharp9)
+ var test = new CSharpTest()
{
ReferenceAssemblies = GenericAnalyzerTest.ReferenceAssembliesNet50,
TestCode = testCode,
@@ -75,7 +74,7 @@ public R(int a, int b)
}
";
- await new CSharpTest(LanguageVersion.CSharp9)
+ await new CSharpTest()
{
ReferenceAssemblies = GenericAnalyzerTest.ReferenceAssembliesNet50,
TestCode = testCode,
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1301CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1301CSharp9UnitTests.cs
index 007e94a2c..f6e49cf3e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1301CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1301CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.NamingRules
{
using StyleCop.Analyzers.Test.CSharp8.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1302CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1302CSharp9UnitTests.cs
index 2895b142b..6cda83340 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1302CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1302CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.NamingRules
{
using StyleCop.Analyzers.Test.CSharp8.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1303CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1303CSharp9UnitTests.cs
index 481c21cf4..12c4e51ce 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1303CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1303CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.NamingRules
{
using StyleCop.Analyzers.Test.CSharp8.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1304CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1304CSharp9UnitTests.cs
index 96bd56166..9586e1b40 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1304CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1304CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.NamingRules
{
using StyleCop.Analyzers.Test.CSharp8.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1305CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1305CSharp9UnitTests.cs
index 73cf05148..898ea15e2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1305CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1305CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.NamingRules
{
using StyleCop.Analyzers.Test.CSharp8.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1306CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1306CSharp9UnitTests.cs
index 77b9400ed..4db8cc07d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1306CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1306CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.NamingRules
{
using StyleCop.Analyzers.Test.CSharp8.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1307CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1307CSharp9UnitTests.cs
index 73a5342ba..cbaca73c9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1307CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1307CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.NamingRules
{
using StyleCop.Analyzers.Test.CSharp8.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1308CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1308CSharp9UnitTests.cs
index 39c53ce3c..68cf6a87e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1308CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1308CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.NamingRules
{
using StyleCop.Analyzers.Test.CSharp8.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1309CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1309CSharp9UnitTests.cs
index df4cada07..cfe570cf7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1309CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1309CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.NamingRules
{
using StyleCop.Analyzers.Test.CSharp8.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1310CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1310CSharp9UnitTests.cs
index c4e794ae8..5facd92ba 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1310CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1310CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.NamingRules
{
using StyleCop.Analyzers.Test.CSharp8.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1311CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1311CSharp9UnitTests.cs
index 1fab5f27b..575c783bf 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1311CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1311CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.NamingRules
{
using StyleCop.Analyzers.Test.CSharp8.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1312CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1312CSharp9UnitTests.cs
index 3684fed3d..6c4457d0c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1312CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1312CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.NamingRules
{
using StyleCop.Analyzers.Test.CSharp8.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1313CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1313CSharp9UnitTests.cs
index 6e598c92b..96a628d23 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1313CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1313CSharp9UnitTests.cs
@@ -7,7 +7,6 @@ namespace StyleCop.Analyzers.Test.CSharp9.NamingRules
{
using System.Threading;
using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.CSharp;
using StyleCop.Analyzers.Test.CSharp8.NamingRules;
using StyleCop.Analyzers.Test.Verifiers;
using Xunit;
@@ -42,7 +41,7 @@ public R(int a, int b)
}
";
- await new CSharpTest(LanguageVersion.CSharp9)
+ await new CSharpTest()
{
ReferenceAssemblies = GenericAnalyzerTest.ReferenceAssembliesNet50,
TestCode = testCode,
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1314CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1314CSharp9UnitTests.cs
index 24feda88d..a0275475c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1314CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1314CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.NamingRules
{
using StyleCop.Analyzers.Test.CSharp8.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1316CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1316CSharp9UnitTests.cs
index a29b5f591..ca674db13 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1316CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1316CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.NamingRules
{
using StyleCop.Analyzers.Test.CSharp8.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SX1309CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SX1309CSharp9UnitTests.cs
index 204e17d56..4b090c3bc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SX1309CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SX1309CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.NamingRules
{
using StyleCop.Analyzers.Test.CSharp8.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SX1309SCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SX1309SCSharp9UnitTests.cs
index 057d19171..13286baf2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SX1309SCSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SX1309SCSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.NamingRules
{
using StyleCop.Analyzers.Test.CSharp8.NamingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs
index 048fe4fc9..508249a02 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderGroupSeparationUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderGroupSeparationUnitTests.cs
index 685ef2e9e..d876c4a42 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderGroupSeparationUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderGroupSeparationUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderRegressionUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderRegressionUnitTests.cs
index 7424f47ff..0aac89b1d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderRegressionUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderRegressionUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderUnitTests.cs
index e987af9d8..6698fea4f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200CSharp9OutsideNamespaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200CSharp9OutsideNamespaceUnitTests.cs
index f35d5c329..5c778f5e2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200CSharp9OutsideNamespaceUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200CSharp9OutsideNamespaceUnitTests.cs
@@ -8,7 +8,6 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
- using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
using Xunit;
@@ -33,7 +32,7 @@ public async Task TestValidUsingStatementsInTopLevelProgramAsync()
return 0;
";
- await new CSharpTest(LanguageVersion.CSharp9)
+ await new CSharpTest()
{
ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
TestState =
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200CSharp9PreserveUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200CSharp9PreserveUnitTests.cs
index d6b3d17ab..8acfb25de 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200CSharp9PreserveUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200CSharp9PreserveUnitTests.cs
@@ -8,7 +8,6 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
- using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
using Xunit;
@@ -33,7 +32,7 @@ public async Task TestValidUsingStatementsInTopLevelProgramAsync()
return 0;
";
- await new CSharpTest(LanguageVersion.CSharp9)
+ await new CSharpTest()
{
ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
TestState =
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200CSharp9UnitTests.cs
index 87cc07a46..eb81ab3bc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200CSharp9UnitTests.cs
@@ -8,7 +8,6 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
- using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
using Xunit;
@@ -33,7 +32,7 @@ public async Task TestValidUsingStatementsInTopLevelProgramAsync()
return 0;
";
- await new CSharpTest(LanguageVersion.CSharp9)
+ await new CSharpTest()
{
ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
TestState =
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1202CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1202CSharp9UnitTests.cs
index d6ca88621..3f0486cc3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1202CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1202CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1203CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1203CSharp9UnitTests.cs
index b750c544a..c6466ea4e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1203CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1203CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1204CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1204CSharp9UnitTests.cs
index 150c878ed..1cce9def4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1204CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1204CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1205CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1205CSharp9UnitTests.cs
index 6a4b285f3..511673a55 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1205CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1205CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1206CSharp9CodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1206CSharp9CodeFixProviderUnitTests.cs
index ac8a15aa2..f736880b7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1206CSharp9CodeFixProviderUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1206CSharp9CodeFixProviderUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1206CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1206CSharp9UnitTests.cs
index 51c65b1c2..f7395456b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1206CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1206CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1207CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1207CSharp9UnitTests.cs
index 070aa4b55..3afb1f4ee 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1207CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1207CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1208CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1208CSharp9UnitTests.cs
index d418e7cf6..1df0b2f82 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1208CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1208CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1209CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1209CSharp9UnitTests.cs
index 99933e76e..7a00ed77c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1209CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1209CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1210CSharp9CombinedSystemDirectivesUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1210CSharp9CombinedSystemDirectivesUnitTests.cs
index 2c8f8207e..0e357ad77 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1210CSharp9CombinedSystemDirectivesUnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1210CSharp9CombinedSystemDirectivesUnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1210CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1210CSharp9UnitTests.cs
index 0bc99e22a..946713f64 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1210CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1210CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1211CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1211CSharp9UnitTests.cs
index d23586ee7..8fac56b04 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1211CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1211CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1212CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1212CSharp9UnitTests.cs
index 4741d7654..9c0dfe925 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1212CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1212CSharp9UnitTests.cs
@@ -1,13 +1,91 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
+ using System.Threading;
+ using System.Threading.Tasks;
+ using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
+ using Xunit;
+ using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
+ StyleCop.Analyzers.OrderingRules.SA1212PropertyAccessorsMustFollowOrder,
+ StyleCop.Analyzers.OrderingRules.SA1212SA1213CodeFixProvider>;
public class SA1212CSharp9UnitTests : SA1212CSharp8UnitTests
{
+ [Fact]
+ [WorkItem(3652, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3652")]
+ public async Task TestAutoPropertyDeclarationInitBeforeGetterAsync()
+ {
+ var testCode = @"
+public class Foo
+{
+ public int Prop { [|init;|] get; }
+}";
+
+ var fixedCode = @"
+public class Foo
+{
+ public int Prop { get; init; }
+}";
+
+ await new CSharpTest
+ {
+ TestCode = testCode,
+ FixedCode = fixedCode,
+ ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
+ }.RunAsync(CancellationToken.None).ConfigureAwait(false);
+ }
+
+ [Fact]
+ [WorkItem(3652, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3652")]
+ public async Task TestPropertyWithBackingFieldDeclarationInitBeforeGetterAsync()
+ {
+ var testCode = @"
+public class Foo
+{
+ private int i = 0;
+
+ public int Prop
+ {
+ [|init
+ {
+ i = value;
+ }|]
+
+ get
+ {
+ return i;
+ }
+ }
+}";
+
+ var fixedCode = @"
+public class Foo
+{
+ private int i = 0;
+
+ public int Prop
+ {
+ get
+ {
+ return i;
+ }
+
+ init
+ {
+ i = value;
+ }
+ }
+}";
+
+ await new CSharpTest
+ {
+ TestCode = testCode,
+ FixedCode = fixedCode,
+ ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
+ }.RunAsync(CancellationToken.None).ConfigureAwait(false);
+ }
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1213CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1213CSharp9UnitTests.cs
index 36f9d2433..89ad1cd3c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1213CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1213CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1214CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1214CSharp9UnitTests.cs
index 37cb26eb4..4ba451e2d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1214CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1214CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1215CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1215CSharp9UnitTests.cs
index 85a6271d0..21611be9d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1215CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1215CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1216CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1216CSharp9UnitTests.cs
index 19328c299..94964fa31 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1216CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1216CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1217CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1217CSharp9UnitTests.cs
index 77224d0f0..9c2f943a0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1217CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1217CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp8.OrderingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1100CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1100CSharp9UnitTests.cs
index 335ef34fd..eaa1f713c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1100CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1100CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1101CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1101CSharp9UnitTests.cs
index 93d44988b..8e29d86dd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1101CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1101CSharp9UnitTests.cs
@@ -5,7 +5,6 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using System.Threading;
using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.CSharp;
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
using StyleCop.Analyzers.Test.Verifiers;
using Xunit;
@@ -32,7 +31,7 @@ public A UpdateA(A value)
}
}";
- await new CSharpTest(LanguageVersion.CSharp9)
+ await new CSharpTest()
{
ReferenceAssemblies = GenericAnalyzerTest.ReferenceAssembliesNet50,
TestCode = testCode,
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1102CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1102CSharp9UnitTests.cs
index 5fb222c76..f14ad392c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1102CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1102CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1103CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1103CSharp9UnitTests.cs
index 7c44fd72b..72623deef 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1103CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1103CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1104CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1104CSharp9UnitTests.cs
index bdc8623ea..c37223f24 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1104CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1104CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1105CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1105CSharp9UnitTests.cs
index 9543e7d32..285a622ab 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1105CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1105CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1106CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1106CSharp9UnitTests.cs
index ff0953eae..ad65e7e6c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1106CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1106CSharp9UnitTests.cs
@@ -7,7 +7,6 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using System.Threading;
using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
using Xunit;
@@ -23,7 +22,7 @@ public async Task TestNoDiagnosticForEmptyRecordDeclarationAsync()
{
var testCode = @"public record Result(int Value);";
- await new CSharpTest(LanguageVersion.CSharp9)
+ await new CSharpTest()
{
ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
TestCode = testCode,
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1107CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1107CSharp9UnitTests.cs
index 2a5150e93..5f4669c49 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1107CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1107CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1108CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1108CSharp9UnitTests.cs
index 26fc42e1f..bd4081f53 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1108CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1108CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1109CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1109CSharp9UnitTests.cs
index 088f0c4cb..12269a1ed 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1109CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1109CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1110CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1110CSharp9UnitTests.cs
index eb60ece5f..a3237a5f5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1110CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1110CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1111CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1111CSharp9UnitTests.cs
index fb7685da2..49be8fe43 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1111CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1111CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1112CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1112CSharp9UnitTests.cs
index 52345fa9f..e38fbe135 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1112CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1112CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1113CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1113CSharp9UnitTests.cs
index d66231382..5469355d0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1113CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1113CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1114CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1114CSharp9UnitTests.cs
index dd81774d9..89b4b2121 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1114CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1114CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1115CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1115CSharp9UnitTests.cs
index 8664464ed..beedf5da6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1115CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1115CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1118CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1118CSharp9UnitTests.cs
index 794c4d027..ded3a7f7b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1118CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1118CSharp9UnitTests.cs
@@ -7,7 +7,6 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using System.Threading;
using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
using Xunit;
@@ -39,7 +38,7 @@ r with
}
}";
- await new CSharpTest(LanguageVersion.CSharp9)
+ await new CSharpTest()
{
ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
TestCode = testCode,
@@ -71,7 +70,7 @@ r with
}
}";
- await new CSharpTest(LanguageVersion.CSharp9)
+ await new CSharpTest()
{
ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
TestCode = testCode,
@@ -103,7 +102,7 @@ public void MyCallingFunction(int index, MyObject myObject)
}
}";
- await new CSharpTest(LanguageVersion.CSharp9)
+ await new CSharpTest()
{
ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
TestCode = testCode,
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1120CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1120CSharp9UnitTests.cs
index 64d3c2ba9..0a6e7d875 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1120CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1120CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1121CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1121CSharp9UnitTests.cs
index 3ded37dd7..12d822d70 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1121CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1121CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1122CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1122CSharp9UnitTests.cs
index 0226f8af1..a7c4e7938 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1122CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1122CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1123CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1123CSharp9UnitTests.cs
index fb34decf5..3201e6c3b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1123CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1123CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1124CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1124CSharp9UnitTests.cs
index e38a91413..9dfaa08a7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1124CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1124CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1125CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1125CSharp9UnitTests.cs
index b395bb6a8..1ffb22f4f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1125CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1125CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1126CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1126CSharp9UnitTests.cs
index 414a5b59c..2ce61dd7e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1126CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1126CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1127CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1127CSharp9UnitTests.cs
index a68843650..b47bac9e0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1127CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1127CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1128CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1128CSharp9UnitTests.cs
index e325dcb7c..853b5e0c9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1128CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1128CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1130CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1130CSharp9UnitTests.cs
index 06c61a3cb..635d7b214 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1130CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1130CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1131CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1131CSharp9UnitTests.cs
index 78e0f9356..85fe37960 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1131CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1131CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1132CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1132CSharp9UnitTests.cs
index f48e5a5b9..cdbcfc367 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1132CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1132CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1133CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1133CSharp9UnitTests.cs
index 0e69351dc..73d416d81 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1133CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1133CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1134CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1134CSharp9UnitTests.cs
index 83e499925..7f97e088e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1134CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1134CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1135CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1135CSharp9UnitTests.cs
index a7501a04c..6d948b3a1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1135CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1135CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1136CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1136CSharp9UnitTests.cs
index d0f690aed..b5d36f080 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1136CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1136CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1137CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1137CSharp9UnitTests.cs
index a8c08bd48..1093df5b3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1137CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1137CSharp9UnitTests.cs
@@ -1,13 +1,63 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
+ using System.Threading;
+ using System.Threading.Tasks;
+ using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
+ using Xunit;
+ using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
+ StyleCop.Analyzers.ReadabilityRules.SA1137ElementsShouldHaveTheSameIndentation,
+ StyleCop.Analyzers.ReadabilityRules.IndentationCodeFixProvider>;
public class SA1137CSharp9UnitTests : SA1137CSharp8UnitTests
{
+ [Fact]
+ [WorkItem(3668, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3668")]
+ public async Task TestInitAccessorAttributeListAsync()
+ {
+ string testCode = @"
+using System;
+
+class TestClass
+{
+ int Property
+ {
+ [My]
+[| |][My]
+ init { }
+ }
+}
+
+[AttributeUsage(AttributeTargets.All, AllowMultiple = true)]
+class MyAttribute : Attribute { }
+";
+
+ string fixedCode = @"
+using System;
+
+class TestClass
+{
+ int Property
+ {
+ [My]
+ [My]
+ init { }
+ }
+}
+
+[AttributeUsage(AttributeTargets.All, AllowMultiple = true)]
+class MyAttribute : Attribute { }
+";
+
+ await new CSharpTest
+ {
+ ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
+ TestCode = testCode,
+ FixedCode = fixedCode,
+ }.RunAsync(CancellationToken.None).ConfigureAwait(false);
+ }
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1139CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1139CSharp9UnitTests.cs
index 01ce8ba1c..517798cae 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1139CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1139CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SX1101CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SX1101CSharp9UnitTests.cs
index 00cdf20a1..67381edd6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SX1101CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SX1101CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Settings/SettingsFileCodeFixProviderCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Settings/SettingsFileCodeFixProviderCSharp9UnitTests.cs
index 763dd1f66..55d2ecc8e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Settings/SettingsFileCodeFixProviderCSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Settings/SettingsFileCodeFixProviderCSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.Settings
{
using StyleCop.Analyzers.Test.CSharp8.Settings;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1000CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1000CSharp9UnitTests.cs
index 948c0129a..e6c690bb7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1000CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1000CSharp9UnitTests.cs
@@ -6,11 +6,14 @@
namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules
{
using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp8.SpacingRules;
using Xunit;
+ using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
+ StyleCop.Analyzers.SpacingRules.SA1000KeywordsMustBeSpacedCorrectly,
+ StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>;
+
public class SA1000CSharp9UnitTests : SA1000CSharp8UnitTests
{
[Fact]
@@ -18,7 +21,51 @@ public async Task TestTargetTypedNewAsync()
{
string statementWithoutSpace = "int a = new();";
- await this.TestKeywordStatementAsync(statementWithoutSpace, DiagnosticResult.EmptyDiagnosticResults, statementWithoutSpace, languageVersion: LanguageVersion.CSharp9).ConfigureAwait(false);
+ await this.TestKeywordStatementAsync(statementWithoutSpace, DiagnosticResult.EmptyDiagnosticResults, statementWithoutSpace).ConfigureAwait(false);
+ }
+
+ [Fact]
+ [WorkItem(3508, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3508")]
+ public async Task TestIsBeforeRelationalPatternAsync()
+ {
+ var statementWithoutSpace = "_ = 1 {|#0:is|}>1;";
+ var statementWithSpace = "_ = 1 is >1;";
+
+ var expected = Diagnostic().WithArguments("is", string.Empty, "followed").WithLocation(0);
+ await this.TestKeywordStatementAsync(statementWithoutSpace, expected, statementWithSpace).ConfigureAwait(false);
+ }
+
+ [Fact]
+ [WorkItem(3508, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3508")]
+ public async Task TestNotBeforeRelationalPatternAsync()
+ {
+ var statementWithoutSpace = "_ = 1 is {|#0:not|}>1;";
+ var statementWithSpace = "_ = 1 is not >1;";
+
+ var expected = Diagnostic().WithArguments("not", string.Empty, "followed").WithLocation(0);
+ await this.TestKeywordStatementAsync(statementWithoutSpace, expected, statementWithSpace).ConfigureAwait(false);
+ }
+
+ [Fact]
+ [WorkItem(3508, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3508")]
+ public async Task TestAndBeforeRelationalPatternAsync()
+ {
+ var statementWithoutSpace = "_ = 1 is 1 {|#0:and|}>0;";
+ var statementWithSpace = "_ = 1 is 1 and >0;";
+
+ var expected = Diagnostic().WithArguments("and", string.Empty, "followed").WithLocation(0);
+ await this.TestKeywordStatementAsync(statementWithoutSpace, expected, statementWithSpace).ConfigureAwait(false);
+ }
+
+ [Fact]
+ [WorkItem(3508, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3508")]
+ public async Task TestOrBeforeRelationalPatternAsync()
+ {
+ var statementWithoutSpace = "_ = 1 is 1 {|#0:or|}>1;";
+ var statementWithSpace = "_ = 1 is 1 or >1;";
+
+ var expected = Diagnostic().WithArguments("or", string.Empty, "followed").WithLocation(0);
+ await this.TestKeywordStatementAsync(statementWithoutSpace, expected, statementWithSpace).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1001CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1001CSharp9UnitTests.cs
index 89dc19162..b9b6deb9b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1001CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1001CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp8.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1002CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1002CSharp9UnitTests.cs
index 3093794c6..c3db0b908 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1002CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1002CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp8.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1003CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1003CSharp9UnitTests.cs
index a9867ca01..b25635614 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1003CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1003CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp8.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1004CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1004CSharp9UnitTests.cs
index 1606da10e..8e3eaf18a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1004CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1004CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp8.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1005CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1005CSharp9UnitTests.cs
index 5b7985026..bd4add197 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1005CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1005CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp8.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1006CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1006CSharp9UnitTests.cs
index f5e59b989..09c6d70e3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1006CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1006CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp8.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1007CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1007CSharp9UnitTests.cs
index eeb7330db..90dc68ef7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1007CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1007CSharp9UnitTests.cs
@@ -1,8 +1,6 @@
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
-#nullable disable
-
namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp8.SpacingRules;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1008CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1008CSharp9UnitTests.cs
index 038c0d056..76cbe2dd1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1008CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1008CSharp9UnitTests.cs
@@ -7,7 +7,6 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules
{
using System.Threading;
using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp8.SpacingRules;
using Xunit;
@@ -43,7 +42,7 @@ void Method(int b)
}
}";
- await new CSharpTest(LanguageVersion.CSharp9)
+ await new CSharpTest()
{
ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
ExpectedDiagnostics =
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1009CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1009CSharp9UnitTests.cs
index 64b6800a7..2649408d7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1009CSharp9UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1009CSharp9UnitTests.cs
@@ -7,7 +7,6 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules
{
using System.Threading;
using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp8.SpacingRules;
using Xunit;
@@ -33,7 +32,7 @@ public record MyQuery1() : BaseQuery