diff --git a/.gitignore b/.gitignore
index 9b845092f..3fe9dd0d8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,7 +14,6 @@ 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/packages.config b/.nuget/packages.config
index f7010adb5..d409bf15b 100644
--- a/.nuget/packages.config
+++ b/.nuget/packages.config
@@ -1,7 +1,7 @@
-
+
-
+
\ No newline at end of file
diff --git a/StyleCop.Analyzers/Directory.Build.props b/StyleCop.Analyzers/Directory.Build.props
index 0dfa64be9..f3a08336b 100644
--- a/StyleCop.Analyzers/Directory.Build.props
+++ b/StyleCop.Analyzers/Directory.Build.props
@@ -40,6 +40,10 @@
$(NoWarn),1573,1591,1712
+
+ 3.11.0-beta1.23472.1
+
+
@@ -48,12 +52,12 @@
-
+
-
+
@@ -63,7 +67,7 @@
-
+
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/DocumentationRules/SA1642SA1643CodeFixProvider.cs b/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/DocumentationRules/SA1642SA1643CodeFixProvider.cs
index 7d291b0ed..716937ebd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/DocumentationRules/SA1642SA1643CodeFixProvider.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/DocumentationRules/SA1642SA1643CodeFixProvider.cs
@@ -8,7 +8,7 @@ namespace StyleCop.Analyzers.DocumentationRules
using System;
using System.Collections.Immutable;
using System.Composition;
- using System.Globalization;
+ using System.Diagnostics;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
@@ -20,6 +20,7 @@ namespace StyleCop.Analyzers.DocumentationRules
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Formatting;
using StyleCop.Analyzers.Helpers;
+ using StyleCop.Analyzers.Lightup;
///
/// Implements a code fix for
@@ -83,7 +84,7 @@ public override async Task RegisterCodeFixesAsync(CodeFixContext context)
internal static ImmutableArray GenerateStandardText(Document document, BaseMethodDeclarationSyntax methodDeclaration, BaseTypeDeclarationSyntax typeDeclaration, CancellationToken cancellationToken)
{
- bool isStruct = typeDeclaration.IsKind(SyntaxKind.StructDeclaration);
+ bool isStruct = typeDeclaration.IsKind(SyntaxKind.StructDeclaration) || typeDeclaration.IsKind(SyntaxKindEx.RecordStructDeclaration);
var settings = document.Project.AnalyzerOptions.GetStyleCopSettings(methodDeclaration.SyntaxTree, cancellationToken);
var culture = settings.DocumentationRules.DocumentationCultureInfo;
var resourceManager = DocumentationResources.ResourceManager;
@@ -147,7 +148,19 @@ private static TypeParameterListSyntax GetTypeParameterList(BaseTypeDeclarationS
return classDeclaration.TypeParameterList;
}
- return (typeDeclaration as StructDeclarationSyntax)?.TypeParameterList;
+ if (typeDeclaration is StructDeclarationSyntax structDeclaration)
+ {
+ return structDeclaration.TypeParameterList;
+ }
+
+ if (RecordDeclarationSyntaxWrapper.IsInstance(typeDeclaration))
+ {
+ var recordDeclaration = (RecordDeclarationSyntaxWrapper)typeDeclaration;
+ return recordDeclaration.TypeParameterList;
+ }
+
+ Debug.Assert(false, $"Unhandled type {typeDeclaration.Kind()}");
+ return null;
}
private static Task GetTransformedDocumentAsync(Document document, SyntaxNode root, XmlElementSyntax node, CancellationToken cancellationToken)
@@ -202,21 +215,10 @@ private static bool IsMultiLine(XmlElementSyntax node)
private static Task GetTransformedDocumentAsync(Document document, SyntaxNode root, XmlEmptyElementSyntax node)
{
var typeDeclaration = node.FirstAncestorOrSelf();
-
- TypeParameterListSyntax typeParameterList;
- if (typeDeclaration is ClassDeclarationSyntax classDeclaration)
- {
- typeParameterList = classDeclaration.TypeParameterList;
- }
- else
- {
- typeParameterList = (typeDeclaration as StructDeclarationSyntax)?.TypeParameterList;
- }
+ var typeParameterList = GetTypeParameterList(typeDeclaration);
var newRoot = root.ReplaceNode(node, BuildSeeElement(typeDeclaration.Identifier, typeParameterList));
-
var newDocument = document.WithSyntaxRoot(newRoot);
-
return Task.FromResult(newDocument);
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/Properties/AssemblyInfo.cs b/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/Properties/AssemblyInfo.cs
index 014ef690e..05d80f9a6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/Properties/AssemblyInfo.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/Properties/AssemblyInfo.cs
@@ -20,4 +20,5 @@
[assembly: InternalsVisibleTo("StyleCop.Analyzers.Test.CSharp9, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c36d40d996fcc95fb6a89754728616758f459026e31478ce93633b3e27a4af416f103aa3d7a9e7998f829f8715cc1240d30724fd662042550fa71357b19562622424267e9e4640c403edbe64709a9ca5918128a9b9020b0db6e770d0dd1eac888869c23a835b74bde00e171984b1d1c24636cf030f0b23106e73035a2be145a6")]
[assembly: InternalsVisibleTo("StyleCop.Analyzers.Test.CSharp10, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c36d40d996fcc95fb6a89754728616758f459026e31478ce93633b3e27a4af416f103aa3d7a9e7998f829f8715cc1240d30724fd662042550fa71357b19562622424267e9e4640c403edbe64709a9ca5918128a9b9020b0db6e770d0dd1eac888869c23a835b74bde00e171984b1d1c24636cf030f0b23106e73035a2be145a6")]
[assembly: InternalsVisibleTo("StyleCop.Analyzers.Test.CSharp11, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c36d40d996fcc95fb6a89754728616758f459026e31478ce93633b3e27a4af416f103aa3d7a9e7998f829f8715cc1240d30724fd662042550fa71357b19562622424267e9e4640c403edbe64709a9ca5918128a9b9020b0db6e770d0dd1eac888869c23a835b74bde00e171984b1d1c24636cf030f0b23106e73035a2be145a6")]
+[assembly: InternalsVisibleTo("StyleCop.Analyzers.Test.CSharp12, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c36d40d996fcc95fb6a89754728616758f459026e31478ce93633b3e27a4af416f103aa3d7a9e7998f829f8715cc1240d30724fd662042550fa71357b19562622424267e9e4640c403edbe64709a9ca5918128a9b9020b0db6e770d0dd1eac888869c23a835b74bde00e171984b1d1c24636cf030f0b23106e73035a2be145a6")]
[assembly: InternalsVisibleTo("StyleCopTester, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c36d40d996fcc95fb6a89754728616758f459026e31478ce93633b3e27a4af416f103aa3d7a9e7998f829f8715cc1240d30724fd662042550fa71357b19562622424267e9e4640c403edbe64709a9ca5918128a9b9020b0db6e770d0dd1eac888869c23a835b74bde00e171984b1d1c24636cf030f0b23106e73035a2be145a6")]
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/ReadabilityRules/SA1129CodeFixProvider.cs b/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/ReadabilityRules/SA1129CodeFixProvider.cs
index 85e624ae5..fea369877 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/ReadabilityRules/SA1129CodeFixProvider.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/ReadabilityRules/SA1129CodeFixProvider.cs
@@ -214,6 +214,11 @@ private static bool IsEnumWithDefaultMember(INamedTypeSymbol namedTypeSymbol, ou
/// A new member access expression.
private static SyntaxNode ConstructMemberAccessSyntax(TypeSyntax typeSyntax, string memberName)
{
+ // NOTE: This creates the correct source code when applied, but these are not necessarily the syntax
+ // nodes that the compiler would create from that source code. For example, the type syntax can
+ // contain QualifiedName nodes, whereas the compiler would have created SimpleMemberAccessExpression instead.
+ // This means that the validation that happens in the tests need to be turned off for some tests.
+ // We could have transformed the nodes to match, but we keep the code simple instead.
return SyntaxFactory.MemberAccessExpression(
SyntaxKind.SimpleMemberAccessExpression,
typeSyntax,
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/ReadabilityRules/SA1131CodeFixProvider.cs b/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/ReadabilityRules/SA1131CodeFixProvider.cs
index a1fb6e336..02d9bc576 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/ReadabilityRules/SA1131CodeFixProvider.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/ReadabilityRules/SA1131CodeFixProvider.cs
@@ -66,33 +66,48 @@ private static async Task GetTransformedDocumentAsync(Document documen
private static BinaryExpressionSyntax TransformExpression(BinaryExpressionSyntax binaryExpression)
{
+ // NOTE: This code also changes the syntax node kind, besides the operator token. The modified source code would
+ // have been the same without this, but we do this to make tests pass with the default CodeActionValidationMode.
var newLeft = binaryExpression.Right.WithTriviaFrom(binaryExpression.Left);
var newRight = binaryExpression.Left.WithTriviaFrom(binaryExpression.Right);
- return binaryExpression.WithLeft(newLeft).WithRight(newRight).WithOperatorToken(GetCorrectOperatorToken(binaryExpression.OperatorToken));
+ GetReplacementInfo(binaryExpression.OperatorToken, out var newOperatorToken, out var newNodeKind);
+ return SyntaxFactory.BinaryExpression(newNodeKind, newLeft, newOperatorToken, newRight);
}
- private static SyntaxToken GetCorrectOperatorToken(SyntaxToken operatorToken)
+ private static void GetReplacementInfo(SyntaxToken operatorToken, out SyntaxToken newToken, out SyntaxKind newNodeKind)
{
switch (operatorToken.Kind())
{
case SyntaxKind.EqualsEqualsToken:
case SyntaxKind.ExclamationEqualsToken:
- return operatorToken;
+ newToken = operatorToken;
+ newNodeKind = operatorToken.Parent.Kind();
+ break;
case SyntaxKind.GreaterThanToken:
- return SyntaxFactory.Token(operatorToken.LeadingTrivia, SyntaxKind.LessThanToken, operatorToken.TrailingTrivia);
+ newToken = SyntaxFactory.Token(operatorToken.LeadingTrivia, SyntaxKind.LessThanToken, operatorToken.TrailingTrivia);
+ newNodeKind = SyntaxKind.LessThanExpression;
+ break;
case SyntaxKind.GreaterThanEqualsToken:
- return SyntaxFactory.Token(operatorToken.LeadingTrivia, SyntaxKind.LessThanEqualsToken, operatorToken.TrailingTrivia);
+ newToken = SyntaxFactory.Token(operatorToken.LeadingTrivia, SyntaxKind.LessThanEqualsToken, operatorToken.TrailingTrivia);
+ newNodeKind = SyntaxKind.LessThanOrEqualExpression;
+ break;
case SyntaxKind.LessThanToken:
- return SyntaxFactory.Token(operatorToken.LeadingTrivia, SyntaxKind.GreaterThanToken, operatorToken.TrailingTrivia);
+ newToken = SyntaxFactory.Token(operatorToken.LeadingTrivia, SyntaxKind.GreaterThanToken, operatorToken.TrailingTrivia);
+ newNodeKind = SyntaxKind.GreaterThanExpression;
+ break;
case SyntaxKind.LessThanEqualsToken:
- return SyntaxFactory.Token(operatorToken.LeadingTrivia, SyntaxKind.GreaterThanEqualsToken, operatorToken.TrailingTrivia);
+ newToken = SyntaxFactory.Token(operatorToken.LeadingTrivia, SyntaxKind.GreaterThanEqualsToken, operatorToken.TrailingTrivia);
+ newNodeKind = SyntaxKind.GreaterThanOrEqualExpression;
+ break;
default:
- return SyntaxFactory.Token(SyntaxKind.None);
+ newToken = SyntaxFactory.Token(SyntaxKind.None);
+ newNodeKind = (SyntaxKind)operatorToken.Parent.RawKind;
+ break;
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/OperationLightupGenerator.cs b/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/OperationLightupGenerator.cs
index 091b5b68c..ef0b54ee4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/OperationLightupGenerator.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/OperationLightupGenerator.cs
@@ -69,19 +69,22 @@ private void GenerateOperationInterface(in SourceProductionContext context, Inte
variables: SyntaxFactory.SingletonSeparatedList(SyntaxFactory.VariableDeclarator(
identifier: SyntaxFactory.Identifier("WrappedTypeName"),
argumentList: null,
- initializer: SyntaxFactory.EqualsValueClause(SyntaxFactory.LiteralExpression(SyntaxKind.StringLiteralExpression, SyntaxFactory.Literal($"Microsoft.CodeAnalysis.{node.Namespace}.{node.InterfaceName}"))))))));
+ initializer: SyntaxFactory.EqualsValueClause(SyntaxFactory.LiteralExpression(SyntaxKind.StringLiteralExpression, SyntaxFactory.Literal($"{node.Namespace}.{node.InterfaceName}"))))))));
- // private static readonly Type WrappedType;
- members = members.Add(SyntaxFactory.FieldDeclaration(
- attributeLists: default,
- modifiers: SyntaxFactory.TokenList(SyntaxFactory.Token(SyntaxKind.PrivateKeyword), SyntaxFactory.Token(SyntaxKind.StaticKeyword), SyntaxFactory.Token(SyntaxKind.ReadOnlyKeyword)),
- declaration: SyntaxFactory.VariableDeclaration(
- type: SyntaxFactory.IdentifierName("Type"),
- variables: SyntaxFactory.SingletonSeparatedList(SyntaxFactory.VariableDeclarator("WrappedType")))));
+ if (node.InterfaceName != "IOperation")
+ {
+ // private static readonly Type WrappedType;
+ members = members.Add(SyntaxFactory.FieldDeclaration(
+ attributeLists: default,
+ modifiers: SyntaxFactory.TokenList(SyntaxFactory.Token(SyntaxKind.PrivateKeyword), SyntaxFactory.Token(SyntaxKind.StaticKeyword), SyntaxFactory.Token(SyntaxKind.ReadOnlyKeyword)),
+ declaration: SyntaxFactory.VariableDeclaration(
+ type: SyntaxFactory.IdentifierName("Type"),
+ variables: SyntaxFactory.SingletonSeparatedList(SyntaxFactory.VariableDeclarator("WrappedType")))));
+ }
foreach (var property in node.Properties)
{
- if (property.IsSkipped)
+ if (property.IsSkipped || !property.NeedsAccessor)
{
continue;
}
@@ -110,21 +113,26 @@ private void GenerateOperationInterface(in SourceProductionContext context, Inte
type: SyntaxFactory.IdentifierName("IOperation"),
variables: SyntaxFactory.SingletonSeparatedList(SyntaxFactory.VariableDeclarator("operation")))));
- var staticCtorStatements = SyntaxFactory.SingletonList(
- SyntaxFactory.ExpressionStatement(SyntaxFactory.AssignmentExpression(
- SyntaxKind.SimpleAssignmentExpression,
- left: SyntaxFactory.IdentifierName("WrappedType"),
- right: SyntaxFactory.InvocationExpression(
- expression: SyntaxFactory.MemberAccessExpression(
- SyntaxKind.SimpleMemberAccessExpression,
- expression: SyntaxFactory.IdentifierName("OperationWrapperHelper"),
- name: SyntaxFactory.IdentifierName("GetWrappedType")),
- argumentList: SyntaxFactory.ArgumentList(SyntaxFactory.SingletonSeparatedList(SyntaxFactory.Argument(
- SyntaxFactory.TypeOfExpression(SyntaxFactory.IdentifierName(node.WrapperName)))))))));
+ var staticCtorStatements = SyntaxFactory.List();
+
+ if (node.InterfaceName != "IOperation")
+ {
+ staticCtorStatements = staticCtorStatements.Add(
+ SyntaxFactory.ExpressionStatement(SyntaxFactory.AssignmentExpression(
+ SyntaxKind.SimpleAssignmentExpression,
+ left: SyntaxFactory.IdentifierName("WrappedType"),
+ right: SyntaxFactory.InvocationExpression(
+ expression: SyntaxFactory.MemberAccessExpression(
+ SyntaxKind.SimpleMemberAccessExpression,
+ expression: SyntaxFactory.IdentifierName("OperationWrapperHelper"),
+ name: SyntaxFactory.IdentifierName("GetWrappedType")),
+ argumentList: SyntaxFactory.ArgumentList(SyntaxFactory.SingletonSeparatedList(SyntaxFactory.Argument(
+ SyntaxFactory.TypeOfExpression(SyntaxFactory.IdentifierName(node.WrapperName)))))))));
+ }
foreach (var property in node.Properties)
{
- if (property.IsSkipped)
+ if (property.IsSkipped || !property.NeedsAccessor)
{
continue;
}
@@ -151,6 +159,9 @@ private void GenerateOperationInterface(in SourceProductionContext context, Inte
}
// ConstructorAccessor = LightupHelpers.CreateOperationPropertyAccessor(WrappedType, nameof(Constructor));
+ ExpressionSyntax wrappedType = node.InterfaceName == "IOperation"
+ ? SyntaxFactory.TypeOfExpression(SyntaxFactory.IdentifierName("IOperation"))
+ : SyntaxFactory.IdentifierName("WrappedType");
staticCtorStatements = staticCtorStatements.Add(SyntaxFactory.ExpressionStatement(SyntaxFactory.AssignmentExpression(
SyntaxKind.SimpleAssignmentExpression,
left: SyntaxFactory.IdentifierName(property.AccessorName),
@@ -162,7 +173,7 @@ private void GenerateOperationInterface(in SourceProductionContext context, Inte
argumentList: SyntaxFactory.ArgumentList(SyntaxFactory.SeparatedList(
new[]
{
- SyntaxFactory.Argument(SyntaxFactory.IdentifierName("WrappedType")),
+ SyntaxFactory.Argument(wrappedType),
SyntaxFactory.Argument(SyntaxFactory.InvocationExpression(
expression: SyntaxFactory.IdentifierName("nameof"),
argumentList: SyntaxFactory.ArgumentList(SyntaxFactory.SingletonSeparatedList(SyntaxFactory.Argument(SyntaxFactory.IdentifierName(property.Name)))))),
@@ -222,23 +233,26 @@ private void GenerateOperationInterface(in SourceProductionContext context, Inte
initializer: null,
semicolonToken: SyntaxFactory.Token(SyntaxKind.SemicolonToken)));
- // public ITypeSymbol Type => this.WrappedOperation.Type;
- members = members.Add(SyntaxFactory.PropertyDeclaration(
- attributeLists: default,
- modifiers: SyntaxFactory.TokenList(SyntaxFactory.Token(SyntaxKind.PublicKeyword)),
- type: SyntaxFactory.IdentifierName("ITypeSymbol"),
- explicitInterfaceSpecifier: null,
- identifier: SyntaxFactory.Identifier("Type"),
- accessorList: null,
- expressionBody: SyntaxFactory.ArrowExpressionClause(SyntaxFactory.MemberAccessExpression(
- SyntaxKind.SimpleMemberAccessExpression,
- expression: SyntaxFactory.MemberAccessExpression(
+ if (node.InterfaceName != "IOperation")
+ {
+ // public ITypeSymbol Type => this.WrappedOperation.Type;
+ members = members.Add(SyntaxFactory.PropertyDeclaration(
+ attributeLists: default,
+ modifiers: SyntaxFactory.TokenList(SyntaxFactory.Token(SyntaxKind.PublicKeyword)),
+ type: SyntaxFactory.IdentifierName("ITypeSymbol"),
+ explicitInterfaceSpecifier: null,
+ identifier: SyntaxFactory.Identifier("Type"),
+ accessorList: null,
+ expressionBody: SyntaxFactory.ArrowExpressionClause(SyntaxFactory.MemberAccessExpression(
SyntaxKind.SimpleMemberAccessExpression,
- expression: SyntaxFactory.ThisExpression(),
- name: SyntaxFactory.IdentifierName("WrappedOperation")),
- name: SyntaxFactory.IdentifierName("Type"))),
- initializer: null,
- semicolonToken: SyntaxFactory.Token(SyntaxKind.SemicolonToken)));
+ expression: SyntaxFactory.MemberAccessExpression(
+ SyntaxKind.SimpleMemberAccessExpression,
+ expression: SyntaxFactory.ThisExpression(),
+ name: SyntaxFactory.IdentifierName("WrappedOperation")),
+ name: SyntaxFactory.IdentifierName("Type"))),
+ initializer: null,
+ semicolonToken: SyntaxFactory.Token(SyntaxKind.SemicolonToken)));
+ }
foreach (var property in node.Properties)
{
@@ -271,14 +285,30 @@ private void GenerateOperationInterface(in SourceProductionContext context, Inte
var propertyType = property.NeedsWrapper ? SyntaxFactory.IdentifierName(property.Type + "Wrapper") : property.AccessorResultType;
- // ConstructorAccessor(this.WrappedOperation)
- var evaluatedAccessor = SyntaxFactory.InvocationExpression(
- expression: SyntaxFactory.IdentifierName(property.AccessorName),
- argumentList: SyntaxFactory.ArgumentList(SyntaxFactory.SingletonSeparatedList(SyntaxFactory.Argument(
+ // The value is accessed in one of the following ways:
+ // ConstructorAccessor(this.WrappedOperation)
+ // this.WrappedOperation.Constructor
+ ExpressionSyntax evaluatedAccessor;
+ if (property.NeedsAccessor)
+ {
+ evaluatedAccessor = SyntaxFactory.InvocationExpression(
+ expression: SyntaxFactory.IdentifierName(property.AccessorName),
+ argumentList: SyntaxFactory.ArgumentList(SyntaxFactory.SingletonSeparatedList(SyntaxFactory.Argument(
+ expression: SyntaxFactory.MemberAccessExpression(
+ SyntaxKind.SimpleMemberAccessExpression,
+ expression: SyntaxFactory.ThisExpression(),
+ name: SyntaxFactory.IdentifierName("WrappedOperation"))))));
+ }
+ else
+ {
+ evaluatedAccessor = SyntaxFactory.MemberAccessExpression(
+ SyntaxKind.SimpleMemberAccessExpression,
expression: SyntaxFactory.MemberAccessExpression(
SyntaxKind.SimpleMemberAccessExpression,
expression: SyntaxFactory.ThisExpression(),
- name: SyntaxFactory.IdentifierName("WrappedOperation"))))));
+ name: SyntaxFactory.IdentifierName("WrappedOperation")),
+ name: SyntaxFactory.IdentifierName(property.Name));
+ }
ExpressionSyntax convertedResult;
if (property.NeedsWrapper)
@@ -309,9 +339,10 @@ private void GenerateOperationInterface(in SourceProductionContext context, Inte
semicolonToken: SyntaxFactory.Token(SyntaxKind.SemicolonToken)));
}
- if (node.BaseInterface is { } baseDefinition)
+ foreach (var baseDefinition in node.InheritedInterfaces)
{
- var inheritedProperties = baseDefinition.Properties;
+ // For now, don't inherit properties from IOperationWrapper
+ var inheritedProperties = baseDefinition.InterfaceName != "IOperation" ? baseDefinition.Properties : ImmutableArray.Empty;
foreach (var property in inheritedProperties)
{
if (node.Properties.Any(derivedProperty => derivedProperty.Name == property.Name && derivedProperty.IsNew))
@@ -412,6 +443,68 @@ private void GenerateOperationInterface(in SourceProductionContext context, Inte
//
// return new IArgumentOperationWrapper(operation);
// }
+ var fromOperationStatements = new List();
+ fromOperationStatements.Add(SyntaxFactory.IfStatement(
+ condition: SyntaxFactory.BinaryExpression(
+ SyntaxKind.EqualsExpression,
+ left: SyntaxFactory.IdentifierName("operation"),
+ right: SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)),
+ statement: SyntaxFactory.Block(
+ SyntaxFactory.ReturnStatement(SyntaxFactory.LiteralExpression(SyntaxKind.DefaultLiteralExpression)))));
+
+ if (node.InterfaceName != "IOperation")
+ {
+ fromOperationStatements.Add(SyntaxFactory.IfStatement(
+ condition: SyntaxFactory.PrefixUnaryExpression(
+ SyntaxKind.LogicalNotExpression,
+ operand: SyntaxFactory.InvocationExpression(
+ expression: SyntaxFactory.IdentifierName("IsInstance"),
+ argumentList: SyntaxFactory.ArgumentList(SyntaxFactory.SingletonSeparatedList(SyntaxFactory.Argument(SyntaxFactory.IdentifierName("operation")))))),
+ statement: SyntaxFactory.Block(
+ SyntaxFactory.ThrowStatement(SyntaxFactory.ObjectCreationExpression(
+ type: SyntaxFactory.IdentifierName("InvalidCastException"),
+ argumentList: SyntaxFactory.ArgumentList(SyntaxFactory.SingletonSeparatedList(SyntaxFactory.Argument(
+ SyntaxFactory.InterpolatedStringExpression(
+ SyntaxFactory.Token(SyntaxKind.InterpolatedStringStartToken),
+ SyntaxFactory.List(new InterpolatedStringContentSyntax[]
+ {
+ SyntaxFactory.InterpolatedStringText(SyntaxFactory.Token(
+ leading: default,
+ SyntaxKind.InterpolatedStringTextToken,
+ "Cannot cast '",
+ "Cannot cast '",
+ trailing: default)),
+ SyntaxFactory.Interpolation(SyntaxFactory.MemberAccessExpression(
+ SyntaxKind.SimpleMemberAccessExpression,
+ expression: SyntaxFactory.InvocationExpression(
+ expression: SyntaxFactory.MemberAccessExpression(
+ SyntaxKind.SimpleMemberAccessExpression,
+ expression: SyntaxFactory.IdentifierName("operation"),
+ name: SyntaxFactory.IdentifierName("GetType")),
+ argumentList: SyntaxFactory.ArgumentList()),
+ name: SyntaxFactory.IdentifierName("FullName"))),
+ SyntaxFactory.InterpolatedStringText(SyntaxFactory.Token(
+ leading: default,
+ SyntaxKind.InterpolatedStringTextToken,
+ "' to '",
+ "' to '",
+ trailing: default)),
+ SyntaxFactory.Interpolation(SyntaxFactory.IdentifierName("WrappedTypeName")),
+ SyntaxFactory.InterpolatedStringText(SyntaxFactory.Token(
+ leading: default,
+ SyntaxKind.InterpolatedStringTextToken,
+ "'",
+ "'",
+ trailing: default)),
+ }))))),
+ initializer: null)))));
+ }
+
+ fromOperationStatements.Add(SyntaxFactory.ReturnStatement(SyntaxFactory.ObjectCreationExpression(
+ type: SyntaxFactory.IdentifierName(node.WrapperName),
+ argumentList: SyntaxFactory.ArgumentList(SyntaxFactory.SingletonSeparatedList(SyntaxFactory.Argument(SyntaxFactory.IdentifierName("operation")))),
+ initializer: null)));
+
members = members.Add(SyntaxFactory.MethodDeclaration(
attributeLists: default,
modifiers: SyntaxFactory.TokenList(SyntaxFactory.Token(SyntaxKind.PublicKeyword), SyntaxFactory.Token(SyntaxKind.StaticKeyword)),
@@ -426,68 +519,35 @@ private void GenerateOperationInterface(in SourceProductionContext context, Inte
identifier: SyntaxFactory.Identifier("operation"),
@default: null))),
constraintClauses: default,
- body: SyntaxFactory.Block(
- SyntaxFactory.IfStatement(
- condition: SyntaxFactory.BinaryExpression(
- SyntaxKind.EqualsExpression,
- left: SyntaxFactory.IdentifierName("operation"),
- right: SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)),
- statement: SyntaxFactory.Block(
- SyntaxFactory.ReturnStatement(SyntaxFactory.LiteralExpression(SyntaxKind.DefaultLiteralExpression)))),
- SyntaxFactory.IfStatement(
- condition: SyntaxFactory.PrefixUnaryExpression(
- SyntaxKind.LogicalNotExpression,
- operand: SyntaxFactory.InvocationExpression(
- expression: SyntaxFactory.IdentifierName("IsInstance"),
- argumentList: SyntaxFactory.ArgumentList(SyntaxFactory.SingletonSeparatedList(SyntaxFactory.Argument(SyntaxFactory.IdentifierName("operation")))))),
- statement: SyntaxFactory.Block(
- SyntaxFactory.ThrowStatement(SyntaxFactory.ObjectCreationExpression(
- type: SyntaxFactory.IdentifierName("InvalidCastException"),
- argumentList: SyntaxFactory.ArgumentList(SyntaxFactory.SingletonSeparatedList(SyntaxFactory.Argument(
- SyntaxFactory.InterpolatedStringExpression(
- SyntaxFactory.Token(SyntaxKind.InterpolatedStringStartToken),
- SyntaxFactory.List(new InterpolatedStringContentSyntax[]
- {
- SyntaxFactory.InterpolatedStringText(SyntaxFactory.Token(
- leading: default,
- SyntaxKind.InterpolatedStringTextToken,
- "Cannot cast '",
- "Cannot cast '",
- trailing: default)),
- SyntaxFactory.Interpolation(SyntaxFactory.MemberAccessExpression(
- SyntaxKind.SimpleMemberAccessExpression,
- expression: SyntaxFactory.InvocationExpression(
- expression: SyntaxFactory.MemberAccessExpression(
- SyntaxKind.SimpleMemberAccessExpression,
- expression: SyntaxFactory.IdentifierName("operation"),
- name: SyntaxFactory.IdentifierName("GetType")),
- argumentList: SyntaxFactory.ArgumentList()),
- name: SyntaxFactory.IdentifierName("FullName"))),
- SyntaxFactory.InterpolatedStringText(SyntaxFactory.Token(
- leading: default,
- SyntaxKind.InterpolatedStringTextToken,
- "' to '",
- "' to '",
- trailing: default)),
- SyntaxFactory.Interpolation(SyntaxFactory.IdentifierName("WrappedTypeName")),
- SyntaxFactory.InterpolatedStringText(SyntaxFactory.Token(
- leading: default,
- SyntaxKind.InterpolatedStringTextToken,
- "'",
- "'",
- trailing: default)),
- }))))),
- initializer: null)))),
- SyntaxFactory.ReturnStatement(SyntaxFactory.ObjectCreationExpression(
- type: SyntaxFactory.IdentifierName(node.WrapperName),
- argumentList: SyntaxFactory.ArgumentList(SyntaxFactory.SingletonSeparatedList(SyntaxFactory.Argument(SyntaxFactory.IdentifierName("operation")))),
- initializer: null))),
+ body: SyntaxFactory.Block(fromOperationStatements),
expressionBody: null));
// public static bool IsInstance(IOperation operation)
// {
// return operation != null && LightupHelpers.CanWrapOperation(operation, WrappedType);
// }
+ ExpressionSyntax isInstanceExpression = SyntaxFactory.BinaryExpression(
+ SyntaxKind.NotEqualsExpression,
+ left: SyntaxFactory.IdentifierName("operation"),
+ right: SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression));
+ if (node.InterfaceName != "IOperation")
+ {
+ isInstanceExpression = SyntaxFactory.BinaryExpression(
+ SyntaxKind.LogicalAndExpression,
+ left: isInstanceExpression,
+ right: SyntaxFactory.InvocationExpression(
+ expression: SyntaxFactory.MemberAccessExpression(
+ SyntaxKind.SimpleMemberAccessExpression,
+ expression: SyntaxFactory.IdentifierName("LightupHelpers"),
+ name: SyntaxFactory.IdentifierName("CanWrapOperation")),
+ argumentList: SyntaxFactory.ArgumentList(SyntaxFactory.SeparatedList(
+ new[]
+ {
+ SyntaxFactory.Argument(SyntaxFactory.IdentifierName("operation")),
+ SyntaxFactory.Argument(SyntaxFactory.IdentifierName("WrappedType")),
+ }))));
+ }
+
members = members.Add(SyntaxFactory.MethodDeclaration(
attributeLists: default,
modifiers: SyntaxFactory.TokenList(SyntaxFactory.Token(SyntaxKind.PublicKeyword), SyntaxFactory.Token(SyntaxKind.StaticKeyword)),
@@ -502,24 +562,7 @@ private void GenerateOperationInterface(in SourceProductionContext context, Inte
identifier: SyntaxFactory.Identifier("operation"),
@default: null))),
constraintClauses: default,
- body: SyntaxFactory.Block(
- SyntaxFactory.ReturnStatement(SyntaxFactory.BinaryExpression(
- SyntaxKind.LogicalAndExpression,
- left: SyntaxFactory.BinaryExpression(
- SyntaxKind.NotEqualsExpression,
- left: SyntaxFactory.IdentifierName("operation"),
- right: SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)),
- right: SyntaxFactory.InvocationExpression(
- expression: SyntaxFactory.MemberAccessExpression(
- SyntaxKind.SimpleMemberAccessExpression,
- expression: SyntaxFactory.IdentifierName("LightupHelpers"),
- name: SyntaxFactory.IdentifierName("CanWrapOperation")),
- argumentList: SyntaxFactory.ArgumentList(SyntaxFactory.SeparatedList(
- new[]
- {
- SyntaxFactory.Argument(SyntaxFactory.IdentifierName("operation")),
- SyntaxFactory.Argument(SyntaxFactory.IdentifierName("WrappedType")),
- })))))),
+ body: SyntaxFactory.Block(SyntaxFactory.ReturnStatement(isInstanceExpression)),
expressionBody: null));
if (node.IsAbstract)
@@ -555,16 +598,24 @@ private void GenerateOperationInterface(in SourceProductionContext context, Inte
modifiers: SyntaxTokenList.Create(SyntaxFactory.Token(SyntaxKind.InternalKeyword)).Add(SyntaxFactory.Token(SyntaxKind.ReadOnlyKeyword)),
identifier: SyntaxFactory.Identifier(node.WrapperName),
typeParameterList: null,
- baseList: SyntaxFactory.BaseList(SyntaxFactory.SingletonSeparatedList(SyntaxFactory.SimpleBaseType(SyntaxFactory.IdentifierName("IOperationWrapper")))),
+ baseList: null,
constraintClauses: default,
members: members);
+
+ var usingDirectives = new List();
+ usingDirectives.Add(SyntaxFactory.UsingDirective(SyntaxFactory.ParseName("System")));
+ if (node.InterfaceName == "IOperation")
+ {
+ usingDirectives.Add(SyntaxFactory.UsingDirective(SyntaxFactory.ParseName("System.Collections.Generic")));
+ }
+
+ usingDirectives.Add(SyntaxFactory.UsingDirective(SyntaxFactory.ParseName("System.Collections.Immutable")));
+ usingDirectives.Add(SyntaxFactory.UsingDirective(SyntaxFactory.ParseName("Microsoft.CodeAnalysis")));
+
var wrapperNamespace = SyntaxFactory.NamespaceDeclaration(
name: SyntaxFactory.ParseName("StyleCop.Analyzers.Lightup"),
externs: default,
- usings: SyntaxFactory.List()
- .Add(SyntaxFactory.UsingDirective(SyntaxFactory.ParseName("System")))
- .Add(SyntaxFactory.UsingDirective(SyntaxFactory.ParseName("System.Collections.Immutable")))
- .Add(SyntaxFactory.UsingDirective(SyntaxFactory.ParseName("Microsoft.CodeAnalysis"))),
+ usings: SyntaxFactory.List(usingDirectives),
members: SyntaxFactory.SingletonList(wrapperStruct));
wrapperNamespace = wrapperNamespace
@@ -638,7 +689,31 @@ private void GenerateOperationWrapperHelper(in SourceProductionContext context,
foreach (var node in wrapperTypes)
{
- // builder.Add(typeof(IArgumentOperationWrapper), codeAnalysisAssembly.GetType(IArgumentOperationWrapper.WrappedTypeName));
+ // For the base IOperation node:
+ // builder.Add(typeof(IArgumentOperationWrapper), typeof(IOperation));
+ //
+ // For all other nodes:
+ // builder.Add(typeof(IArgumentOperationWrapper), codeAnalysisAssembly.GetType(IArgumentOperationWrapper.WrappedTypeName));
+ ArgumentSyntax typeArgument;
+ if (node.InterfaceName == "IOperation")
+ {
+ typeArgument = SyntaxFactory.Argument(SyntaxFactory.TypeOfExpression(SyntaxFactory.IdentifierName("IOperation")));
+ }
+ else
+ {
+ typeArgument = SyntaxFactory.Argument(
+ SyntaxFactory.InvocationExpression(
+ expression: SyntaxFactory.MemberAccessExpression(
+ SyntaxKind.SimpleMemberAccessExpression,
+ expression: SyntaxFactory.IdentifierName("codeAnalysisAssembly"),
+ name: SyntaxFactory.IdentifierName("GetType")),
+ argumentList: SyntaxFactory.ArgumentList(SyntaxFactory.SingletonSeparatedList(SyntaxFactory.Argument(
+ SyntaxFactory.MemberAccessExpression(
+ SyntaxKind.SimpleMemberAccessExpression,
+ expression: SyntaxFactory.IdentifierName(node.WrapperName),
+ name: SyntaxFactory.IdentifierName("WrappedTypeName")))))));
+ }
+
staticCtorStatements = staticCtorStatements.Add(SyntaxFactory.ExpressionStatement(
SyntaxFactory.InvocationExpression(
expression: SyntaxFactory.MemberAccessExpression(
@@ -650,17 +725,7 @@ private void GenerateOperationWrapperHelper(in SourceProductionContext context,
new[]
{
SyntaxFactory.Argument(SyntaxFactory.TypeOfExpression(SyntaxFactory.IdentifierName(node.WrapperName))),
- SyntaxFactory.Argument(
- SyntaxFactory.InvocationExpression(
- expression: SyntaxFactory.MemberAccessExpression(
- SyntaxKind.SimpleMemberAccessExpression,
- expression: SyntaxFactory.IdentifierName("codeAnalysisAssembly"),
- name: SyntaxFactory.IdentifierName("GetType")),
- argumentList: SyntaxFactory.ArgumentList(SyntaxFactory.SingletonSeparatedList(SyntaxFactory.Argument(
- SyntaxFactory.MemberAccessExpression(
- SyntaxKind.SimpleMemberAccessExpression,
- expression: SyntaxFactory.IdentifierName(node.WrapperName),
- name: SyntaxFactory.IdentifierName("WrappedTypeName"))))))),
+ typeArgument,
})))));
}
@@ -856,7 +921,7 @@ public DocumentData(XDocument document)
continue;
}
- if (!operationKinds.TryGetValue(node.Attribute("Name").Value, out var kinds))
+ if (!operationKinds.TryGetValue(node.RequiredAttribute("Name").Value, out var kinds))
{
kinds = ImmutableArray<(string name, int value, string? extraDescription)>.Empty;
}
@@ -872,7 +937,7 @@ public DocumentData(XDocument document)
continue;
}
- if (!operationKinds.TryGetValue(node.Attribute("Name").Value, out var kinds))
+ if (!operationKinds.TryGetValue(node.RequiredAttribute("Name").Value, out var kinds))
{
kinds = ImmutableArray<(string name, int value, string? extraDescription)>.Empty;
}
@@ -922,11 +987,11 @@ public DocumentData(XDocument document)
continue;
}
- int parsedValue = ParsePrefixHexValue(entry.Attribute("Value").Value);
- nodeBuilder.Add((entry.Attribute("Name").Value, parsedValue, entry.Attribute("ExtraDescription")?.Value));
+ int parsedValue = ParsePrefixHexValue(entry.RequiredAttribute("Value").Value);
+ nodeBuilder.Add((entry.RequiredAttribute("Name").Value, parsedValue, entry.Attribute("ExtraDescription")?.Value));
}
- builder.Add(node.Attribute("Name").Value, nodeBuilder.ToImmutable());
+ builder.Add(node.RequiredAttribute("Name").Value, nodeBuilder.ToImmutable());
continue;
}
}
@@ -943,7 +1008,7 @@ public DocumentData(XDocument document)
operationKind++;
}
- var nodeName = node.Attribute("Name").Value;
+ var nodeName = node.RequiredAttribute("Name").Value;
var kindName = nodeName.Substring("I".Length, nodeName.Length - "I".Length - "Operation".Length);
builder.Add(nodeName, ImmutableArray.Create((kindName, operationKind, (string?)null)));
}
@@ -956,12 +1021,12 @@ private static ImmutableHashSet GetSkippedOperationKinds(XDocument document
var builder = ImmutableHashSet.CreateBuilder();
foreach (var skippedKind in document.XPathSelectElements("/Tree/UnusedOperationKinds/Entry"))
{
- builder.Add(ParsePrefixHexValue(skippedKind.Attribute("Value").Value));
+ builder.Add(ParsePrefixHexValue(skippedKind.RequiredAttribute("Value").Value));
}
foreach (var explicitKind in document.XPathSelectElements("/Tree/*/OperationKind/Entry"))
{
- builder.Add(ParsePrefixHexValue(explicitKind.Attribute("Value").Value));
+ builder.Add(ParsePrefixHexValue(explicitKind.RequiredAttribute("Value").Value));
}
return builder.ToImmutable();
@@ -987,11 +1052,27 @@ public InterfaceData(DocumentData documentData, XElement node, ImmutableArray<(s
this.documentData = documentData;
this.OperationKinds = operationKinds;
- this.InterfaceName = node.Attribute("Name").Value;
- this.Namespace = node.Attribute("Namespace")?.Value ?? "Operations";
+ this.InterfaceName = node.RequiredAttribute("Name").Value;
+
+ if (node.Attribute("Namespace") is { } namespaceNode)
+ {
+ if (namespaceNode.Value == string.Empty)
+ {
+ this.Namespace = "Microsoft.CodeAnalysis";
+ }
+ else
+ {
+ this.Namespace = $"Microsoft.CodeAnalysis.{namespaceNode.Value}";
+ }
+ }
+ else
+ {
+ this.Namespace = "Microsoft.CodeAnalysis.Operations";
+ }
+
this.Name = this.InterfaceName.Substring("I".Length, this.InterfaceName.Length - "I".Length - "Operation".Length);
this.WrapperName = this.InterfaceName + "Wrapper";
- this.BaseInterfaceName = node.Attribute("Base").Value;
+ this.BaseInterfaceName = node.Attribute("Base")?.Value;
this.IsAbstract = node.Name == "AbstractNode";
this.Properties = node.XPathSelectElements("Property").Select(property => new PropertyData(property)).ToImmutableArray();
}
@@ -1006,7 +1087,7 @@ public InterfaceData(DocumentData documentData, XElement node, ImmutableArray<(s
public string WrapperName { get; }
- public string BaseInterfaceName { get; }
+ public string? BaseInterfaceName { get; }
public bool IsAbstract { get; }
@@ -1016,7 +1097,8 @@ public InterfaceData? BaseInterface
{
get
{
- if (this.documentData.Interfaces.TryGetValue(this.BaseInterfaceName, out var baseInterface))
+ if (this.BaseInterfaceName is not null
+ && this.documentData.Interfaces.TryGetValue(this.BaseInterfaceName, out var baseInterface))
{
return baseInterface;
}
@@ -1024,15 +1106,30 @@ public InterfaceData? BaseInterface
return null;
}
}
+
+ public IEnumerable InheritedInterfaces
+ {
+ get
+ {
+ var inheritedInterfaces = new List();
+ for (var baseDefinition = this.BaseInterface; baseDefinition is not null; baseDefinition = baseDefinition.BaseInterface)
+ {
+ inheritedInterfaces.Add(baseDefinition);
+ }
+
+ inheritedInterfaces.Reverse();
+ return inheritedInterfaces;
+ }
+ }
}
private sealed class PropertyData
{
public PropertyData(XElement node)
{
- this.Name = node.Attribute("Name").Value;
+ this.Name = node.RequiredAttribute("Name").Value;
this.AccessorName = this.Name + "Accessor";
- this.Type = node.Attribute("Type").Value;
+ this.Type = node.RequiredAttribute("Type").Value;
this.IsNew = node.Attribute("New")?.Value == "true";
this.IsPublicProperty = node.Attribute("Internal")?.Value != "true";
@@ -1054,6 +1151,14 @@ public PropertyData(XElement node)
_ => !this.IsPublicProperty,
};
+ this.NeedsAccessor = this.Name switch
+ {
+ nameof(IOperation.Kind) => false,
+ nameof(IOperation.Syntax) => false,
+ nameof(IOperation.Type) => false,
+ nameof(IOperation.ConstantValue) => false,
+ _ => true,
+ };
this.NeedsWrapper = IsAnyOperation(this.Type) && this.Type != "IOperation";
this.IsDerivedOperationArray = IsAnyOperationArray(this.Type) && this.Type != "ImmutableArray";
@@ -1085,6 +1190,8 @@ public PropertyData(XElement node)
public string Type { get; }
+ public bool NeedsAccessor { get; }
+
public bool NeedsWrapper { get; }
public bool IsDerivedOperationArray { get; }
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.csproj b/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.csproj
index 578227ae6..031e93489 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.csproj
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.csproj
@@ -2,8 +2,7 @@
- netstandard2.0
- enable
+ netstandard2.0
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/SyntaxLightupGenerator.cs b/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/SyntaxLightupGenerator.cs
index 7c656a034..2f7987210 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/SyntaxLightupGenerator.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/SyntaxLightupGenerator.cs
@@ -1254,9 +1254,12 @@ private sealed class SyntaxData
public SyntaxData(CompilationData compilationData, XDocument document)
{
var nodesBuilder = ImmutableArray.CreateBuilder();
- foreach (var element in document.XPathSelectElement("/Tree[@Root='SyntaxNode']").XPathSelectElements("PredefinedNode|AbstractNode|Node"))
+ if (document.XPathSelectElement("/Tree[@Root='SyntaxNode']") is { } tree)
{
- nodesBuilder.Add(new NodeData(compilationData, element));
+ foreach (var element in tree.XPathSelectElements("PredefinedNode|AbstractNode|Node"))
+ {
+ nodesBuilder.Add(new NodeData(compilationData, element));
+ }
}
this.Nodes = nodesBuilder.ToImmutable();
@@ -1303,7 +1306,7 @@ public NodeData(CompilationData compilationData, XElement element)
_ => throw new NotSupportedException($"Unknown element name '{element.Name}'"),
};
- this.Name = element.Attribute("Name").Value;
+ this.Name = element.RequiredAttribute("Name").Value;
this.ExistingType = compilationData.ExistingTypes.GetValueOrDefault($"Microsoft.CodeAnalysis.CSharp.Syntax.{this.Name}")
?? compilationData.ExistingTypes.GetValueOrDefault($"Microsoft.CodeAnalysis.CSharp.{this.Name}")
@@ -1317,7 +1320,7 @@ public NodeData(CompilationData compilationData, XElement element)
this.WrapperName = this.Name + "Wrapper";
}
- this.BaseName = element.Attribute("Base").Value;
+ this.BaseName = element.RequiredAttribute("Base").Value;
this.Fields = element.XPathSelectElements("descendant::Field").Select(field => new FieldData(this, field)).ToImmutableArray();
}
@@ -1347,9 +1350,9 @@ public FieldData(NodeData nodeData, XElement element)
{
this.nodeData = nodeData;
- this.Name = element.Attribute("Name").Value;
+ this.Name = element.RequiredAttribute("Name").Value;
- var type = element.Attribute("Type").Value;
+ var type = element.RequiredAttribute("Type").Value;
this.Type = type switch
{
"SyntaxList" => nameof(SyntaxTokenList),
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/XElementExtensions.cs b/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/XElementExtensions.cs
new file mode 100644
index 000000000..f8fd96d90
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/XElementExtensions.cs
@@ -0,0 +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.
+
+namespace StyleCop.Analyzers.CodeGeneration
+{
+ using System;
+ using System.Xml.Linq;
+
+ internal static class XElementExtensions
+ {
+ public static XAttribute RequiredAttribute(this XElement element, XName name)
+ => element.Attribute(name) ?? throw new InvalidOperationException($"Expected attribute '{name}'");
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Internal.ruleset b/StyleCop.Analyzers/StyleCop.Analyzers.Internal.ruleset
index 0233d4b16..133bfd9d4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Internal.ruleset
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Internal.ruleset
@@ -13,6 +13,12 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.PrivateAnalyzers/DerivedTestGenerator.cs b/StyleCop.Analyzers/StyleCop.Analyzers.PrivateAnalyzers/DerivedTestGenerator.cs
new file mode 100644
index 000000000..80339d951
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.PrivateAnalyzers/DerivedTestGenerator.cs
@@ -0,0 +1,167 @@
+// 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.PrivateAnalyzers
+{
+ using System;
+ using System.Collections.Immutable;
+ using System.Linq;
+ using System.Text.RegularExpressions;
+ using Microsoft.CodeAnalysis;
+
+ [Generator]
+ internal sealed class DerivedTestGenerator : IIncrementalGenerator
+ {
+ public void Initialize(IncrementalGeneratorInitializationContext context)
+ {
+ var testData = context.CompilationProvider.Select((compilation, cancellationToken) =>
+ {
+ var currentAssemblyName = compilation.AssemblyName ?? string.Empty;
+ if (!Regex.IsMatch(currentAssemblyName, @"^StyleCop\.Analyzers\.Test\.CSharp\d+$"))
+ {
+ // This is not a test project where derived test classes are expected
+ return null;
+ }
+
+ var currentVersion = int.Parse(currentAssemblyName["StyleCop.Analyzers.Test.CSharp".Length..]);
+ var currentTestString = "CSharp" + currentVersion;
+ var previousTestString = currentVersion switch
+ {
+ 7 => string.Empty,
+ _ => "CSharp" + (currentVersion - 1).ToString(),
+ };
+ var previousAssemblyName = previousTestString switch
+ {
+ "" => "StyleCop.Analyzers.Test",
+ _ => "StyleCop.Analyzers.Test." + previousTestString,
+ };
+
+ return new TestData(previousTestString, previousAssemblyName, currentTestString, currentAssemblyName);
+ });
+
+ var testTypes = context.CompilationProvider.Combine(testData).SelectMany((compilationAndTestData, cancellationToken) =>
+ {
+ var (compilation, testData) = compilationAndTestData;
+ if (testData is null)
+ {
+ return ImmutableArray.Empty;
+ }
+
+ var previousAssembly = compilation.Assembly.Modules.First().ReferencedAssemblySymbols.First(
+ symbol => symbol.Identity.Name == testData.PreviousAssemblyName);
+ if (previousAssembly is null)
+ {
+ return ImmutableArray.Empty;
+ }
+
+ var collector = new TestClassCollector(testData.PreviousTestString);
+ var previousTests = collector.Visit(previousAssembly);
+ return previousTests.ToImmutableArray();
+ });
+
+ context.RegisterSourceOutput(
+ testTypes.Combine(testData),
+ (context, testTypeAndData) =>
+ {
+ var (testType, testData) = testTypeAndData;
+ if (testData is null)
+ {
+ throw new InvalidOperationException("Not reachable");
+ }
+
+ string expectedTest;
+ if (testData.PreviousTestString is "")
+ {
+ expectedTest = testType.Replace(testData.PreviousAssemblyName, testData.CurrentAssemblyName).Replace("UnitTests", testData.CurrentTestString + "UnitTests");
+ }
+ else
+ {
+ expectedTest = testType.Replace(testData.PreviousTestString, testData.CurrentTestString);
+ }
+
+ var lastDot = testType.LastIndexOf('.');
+ var baseNamespaceName = testType["global::".Length..lastDot];
+ var baseTypeName = testType[(lastDot + 1)..];
+
+ lastDot = expectedTest.LastIndexOf('.');
+ var namespaceName = expectedTest["global::".Length..lastDot];
+ var typeName = expectedTest[(lastDot + 1)..];
+ var content =
+ $@"//
+
+#nullable enable
+
+namespace {namespaceName};
+
+using {baseNamespaceName};
+
+public partial class {typeName}
+ : {baseTypeName}
+{{
+}}
+";
+
+ context.AddSource(
+ typeName + ".cs",
+ content);
+ });
+ }
+
+ private sealed record TestData(string PreviousTestString, string PreviousAssemblyName, string CurrentTestString, string CurrentAssemblyName);
+
+ private sealed class TestClassCollector : SymbolVisitor>
+ {
+ private readonly string testString;
+
+ public TestClassCollector(string testString)
+ {
+ this.testString = testString;
+ }
+
+ public override ImmutableSortedSet Visit(ISymbol? symbol)
+ => base.Visit(symbol) ?? throw new InvalidOperationException("Not reachable");
+
+ public override ImmutableSortedSet? DefaultVisit(ISymbol symbol)
+ => ImmutableSortedSet.Empty;
+
+ public override ImmutableSortedSet VisitAssembly(IAssemblySymbol symbol)
+ {
+ return this.Visit(symbol.GlobalNamespace);
+ }
+
+ public override ImmutableSortedSet VisitNamespace(INamespaceSymbol symbol)
+ {
+ var result = ImmutableSortedSet.Empty;
+ foreach (var member in symbol.GetMembers())
+ {
+ result = result.Union(this.Visit(member)!);
+ }
+
+ return result;
+ }
+
+ public override ImmutableSortedSet VisitNamedType(INamedTypeSymbol symbol)
+ {
+ if (this.testString is "")
+ {
+ if (symbol.Name.EndsWith("UnitTests"))
+ {
+ return ImmutableSortedSet.Create(symbol.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat));
+ }
+ else
+ {
+ return ImmutableSortedSet.Empty;
+ }
+ }
+ else if (symbol.Name.Contains(this.testString))
+ {
+ return ImmutableSortedSet.Create(symbol.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat));
+ }
+ else
+ {
+ return ImmutableSortedSet.Empty;
+ }
+ }
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.PrivateAnalyzers/IncludeTestClassesAnalyzer.cs b/StyleCop.Analyzers/StyleCop.Analyzers.PrivateAnalyzers/IncludeTestClassesAnalyzer.cs
new file mode 100644
index 000000000..411076769
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.PrivateAnalyzers/IncludeTestClassesAnalyzer.cs
@@ -0,0 +1,156 @@
+// 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.PrivateAnalyzers;
+
+using System;
+using System.Collections.Concurrent;
+using System.Collections.Immutable;
+using System.Linq;
+using System.Text.RegularExpressions;
+using Microsoft.CodeAnalysis;
+using Microsoft.CodeAnalysis.Diagnostics;
+using Microsoft.CodeAnalysis.Text;
+
+[DiagnosticAnalyzer(LanguageNames.CSharp)]
+internal sealed class IncludeTestClassesAnalyzer : DiagnosticAnalyzer
+{
+ private static readonly DiagnosticDescriptor Descriptor =
+ new(PrivateDiagnosticIds.SP0001, "Include all test classes", "Expected test class '{0}' was not found", "Correctness", DiagnosticSeverity.Warning, isEnabledByDefault: true, customTags: new[] { "CompilationEnd" });
+
+ public override ImmutableArray SupportedDiagnostics { get; } = ImmutableArray.Create(Descriptor);
+
+ public override void Initialize(AnalysisContext context)
+ {
+ context.ConfigureGeneratedCodeAnalysis(GeneratedCodeAnalysisFlags.None);
+ context.EnableConcurrentExecution();
+
+ context.RegisterCompilationStartAction(context =>
+ {
+ var assemblyName = context.Compilation.AssemblyName ?? string.Empty;
+ if (!Regex.IsMatch(assemblyName, @"^StyleCop\.Analyzers\.Test\.CSharp\d+$"))
+ {
+ // This is not a test project where derived test classes are expected
+ return;
+ }
+
+ // Map actual test class in current project to base type
+ var testClasses = new ConcurrentDictionary();
+
+ context.RegisterSymbolAction(
+ context =>
+ {
+ var namedType = (INamedTypeSymbol)context.Symbol;
+ if (namedType.TypeKind != TypeKind.Class)
+ {
+ return;
+ }
+
+ testClasses[namedType.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat)] = namedType.BaseType?.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat) ?? string.Empty;
+ },
+ SymbolKind.NamedType);
+
+ context.RegisterCompilationEndAction(context =>
+ {
+ var currentVersion = int.Parse(assemblyName["StyleCop.Analyzers.Test.CSharp".Length..]);
+ var currentTestString = "CSharp" + currentVersion;
+ var previousTestString = currentVersion switch
+ {
+ 7 => string.Empty,
+ _ => "CSharp" + (currentVersion - 1).ToString(),
+ };
+ var previousAssemblyName = previousTestString switch
+ {
+ "" => "StyleCop.Analyzers.Test",
+ _ => "StyleCop.Analyzers.Test." + previousTestString,
+ };
+
+ var previousAssembly = context.Compilation.Assembly.Modules.First().ReferencedAssemblySymbols.First(
+ symbol => symbol.Identity.Name == previousAssemblyName);
+ if (previousAssembly is null)
+ {
+ return;
+ }
+
+ var reportingLocation = context.Compilation.SyntaxTrees.FirstOrDefault()?.GetLocation(new TextSpan(0, 0)) ?? Location.None;
+ var collector = new TestClassCollector(previousTestString);
+ var previousTests = collector.Visit(previousAssembly);
+ foreach (var previousTest in previousTests)
+ {
+ string expectedTest;
+ if (previousTestString is "")
+ {
+ expectedTest = previousTest.Replace(previousAssemblyName, assemblyName).Replace("UnitTests", currentTestString + "UnitTests");
+ }
+ else
+ {
+ expectedTest = previousTest.Replace(previousTestString, currentTestString);
+ }
+
+ if (testClasses.TryGetValue(expectedTest, out var actualTest)
+ && actualTest == previousTest)
+ {
+ continue;
+ }
+
+ context.ReportDiagnostic(Diagnostic.Create(Descriptor, reportingLocation, expectedTest));
+ }
+ });
+ });
+ }
+
+ private sealed class TestClassCollector : SymbolVisitor>
+ {
+ private readonly string testString;
+
+ public TestClassCollector(string testString)
+ {
+ this.testString = testString;
+ }
+
+ public override ImmutableSortedSet Visit(ISymbol? symbol)
+ => base.Visit(symbol) ?? throw new InvalidOperationException("Not reachable");
+
+ public override ImmutableSortedSet? DefaultVisit(ISymbol symbol)
+ => ImmutableSortedSet.Empty;
+
+ public override ImmutableSortedSet VisitAssembly(IAssemblySymbol symbol)
+ {
+ return this.Visit(symbol.GlobalNamespace);
+ }
+
+ public override ImmutableSortedSet VisitNamespace(INamespaceSymbol symbol)
+ {
+ var result = ImmutableSortedSet.Empty;
+ foreach (var member in symbol.GetMembers())
+ {
+ result = result.Union(this.Visit(member)!);
+ }
+
+ return result;
+ }
+
+ public override ImmutableSortedSet VisitNamedType(INamedTypeSymbol symbol)
+ {
+ if (this.testString is "")
+ {
+ if (symbol.Name.EndsWith("UnitTests"))
+ {
+ return ImmutableSortedSet.Create(symbol.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat));
+ }
+ else
+ {
+ return ImmutableSortedSet.Empty;
+ }
+ }
+ else if (symbol.Name.Contains(this.testString))
+ {
+ return ImmutableSortedSet.Create(symbol.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat));
+ }
+ else
+ {
+ return ImmutableSortedSet.Empty;
+ }
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.PrivateAnalyzers/PrivateDiagnosticIds.cs b/StyleCop.Analyzers/StyleCop.Analyzers.PrivateAnalyzers/PrivateDiagnosticIds.cs
new file mode 100644
index 000000000..87b1b134d
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.PrivateAnalyzers/PrivateDiagnosticIds.cs
@@ -0,0 +1,13 @@
+// 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.PrivateAnalyzers
+{
+ internal static class PrivateDiagnosticIds
+ {
+ ///
+ /// SP0001: Include all test classes.
+ ///
+ public const string SP0001 = nameof(SP0001);
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.PrivateAnalyzers/StyleCop.Analyzers.PrivateAnalyzers.csproj b/StyleCop.Analyzers/StyleCop.Analyzers.PrivateAnalyzers/StyleCop.Analyzers.PrivateAnalyzers.csproj
new file mode 100644
index 000000000..603d4e261
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.PrivateAnalyzers/StyleCop.Analyzers.PrivateAnalyzers.csproj
@@ -0,0 +1,31 @@
+
+
+
+
+ netstandard2.0
+
+ $(NoWarn),RS2008
+
+
+
+ ..\StyleCop.Analyzers.ruleset
+
+
+
+ true
+ ..\..\build\keys\StyleCopAnalyzers.snk
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.PrivateCodeFixes/StyleCop.Analyzers.PrivateCodeFixes.csproj b/StyleCop.Analyzers/StyleCop.Analyzers.PrivateCodeFixes/StyleCop.Analyzers.PrivateCodeFixes.csproj
new file mode 100644
index 000000000..985221812
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.PrivateCodeFixes/StyleCop.Analyzers.PrivateCodeFixes.csproj
@@ -0,0 +1,43 @@
+
+
+
+
+ netstandard2.0
+
+
+
+ ..\StyleCop.Analyzers.ruleset
+
+
+
+ true
+ ..\..\build\keys\StyleCopAnalyzers.snk
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(GetTargetPathDependsOn);GetDependencyTargetPaths
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/AnalyzerConfigurationCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/AnalyzerConfigurationCSharp10UnitTests.cs
new file mode 100644
index 000000000..be7933740
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/AnalyzerConfigurationCSharp10UnitTests.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
+{
+ using StyleCop.Analyzers.Test.CSharp9;
+
+ public partial class AnalyzerConfigurationCSharp10UnitTests : AnalyzerConfigurationCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/AnalyzerConfigurationTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/AnalyzerConfigurationTestsCSharp10.cs
deleted file mode 100644
index e4a868e59..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/AnalyzerConfigurationTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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
-{
- using StyleCop.Analyzers.Test.CSharp9;
-
- public class AnalyzerConfigurationTestsCSharp10 : AnalyzerConfigurationTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/CSharp10InheritdocCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/CSharp10InheritdocCodeFixProviderUnitTests.cs
deleted file mode 100644
index be49bc8d6..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/CSharp10InheritdocCodeFixProviderUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.DocumentationRules
-{
- using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
-
- public class CSharp10InheritdocCodeFixProviderUnitTests : CSharp9InheritdocCodeFixProviderUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/CSharp10NoXmlFileHeaderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/CSharp10NoXmlFileHeaderUnitTests.cs
deleted file mode 100644
index 50c0f5ea6..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/CSharp10NoXmlFileHeaderUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.DocumentationRules
-{
- using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
-
- public class CSharp10NoXmlFileHeaderUnitTests : CSharp9NoXmlFileHeaderUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/InheritdocCodeFixProviderCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/InheritdocCodeFixProviderCSharp10UnitTests.cs
new file mode 100644
index 000000000..31aed48d6
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/InheritdocCodeFixProviderCSharp10UnitTests.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.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
+
+ public partial class InheritdocCodeFixProviderCSharp10UnitTests : InheritdocCodeFixProviderCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/NoXmlFileHeaderCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/NoXmlFileHeaderCSharp10UnitTests.cs
new file mode 100644
index 000000000..85ef880a2
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/NoXmlFileHeaderCSharp10UnitTests.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.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
+
+ public partial class NoXmlFileHeaderCSharp10UnitTests : NoXmlFileHeaderCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1600CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1600CSharp10UnitTests.cs
index e4648e986..783384c6c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1600CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1600CSharp10UnitTests.cs
@@ -11,7 +11,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
StyleCop.Analyzers.DocumentationRules.SA1600ElementsMustBeDocumented,
StyleCop.Analyzers.DocumentationRules.SA1600CodeFixProvider>;
- public class SA1600CSharp10UnitTests : SA1600CSharp9UnitTests
+ public partial class SA1600CSharp10UnitTests : SA1600CSharp9UnitTests
{
protected override DiagnosticResult[] GetExpectedResultTestRegressionMethodGlobalNamespace(string code)
{
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1601CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1601CSharp10UnitTests.cs
index 67b1a7f30..f181631bc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1601CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1601CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1601CSharp10UnitTests : SA1601CSharp9UnitTests
+ public partial class SA1601CSharp10UnitTests : SA1601CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1602CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1602CSharp10UnitTests.cs
index 0f97c05ff..4701e458f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1602CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1602CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1602CSharp10UnitTests : SA1602CSharp9UnitTests
+ public partial class SA1602CSharp10UnitTests : SA1602CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1603CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1603CSharp10UnitTests.cs
index 1821a5b78..c83dab489 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1603CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1603CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1603CSharp10UnitTests : SA1603CSharp9UnitTests
+ public partial class SA1603CSharp10UnitTests : SA1603CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1604CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1604CSharp10UnitTests.cs
index e71be88a5..bbd629353 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1604CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1604CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1604CSharp10UnitTests : SA1604CSharp9UnitTests
+ public partial class SA1604CSharp10UnitTests : SA1604CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1605CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1605CSharp10UnitTests.cs
index fc98945e5..5b83cbceb 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1605CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1605CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1605CSharp10UnitTests : SA1605CSharp9UnitTests
+ public partial class SA1605CSharp10UnitTests : SA1605CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1606CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1606CSharp10UnitTests.cs
index 3fad9bc64..4d2df0096 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1606CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1606CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1606CSharp10UnitTests : SA1606CSharp9UnitTests
+ public partial class SA1606CSharp10UnitTests : SA1606CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1607CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1607CSharp10UnitTests.cs
index 3dd027d97..e7b081daf 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1607CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1607CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1607CSharp10UnitTests : SA1607CSharp9UnitTests
+ public partial class SA1607CSharp10UnitTests : SA1607CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1608CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1608CSharp10UnitTests.cs
index fda2bfc57..838279035 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1608CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1608CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1608CSharp10UnitTests : SA1608CSharp9UnitTests
+ public partial class SA1608CSharp10UnitTests : SA1608CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1609CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1609CSharp10UnitTests.cs
index 2604ea029..bf1d64a94 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1609CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1609CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1609CSharp10UnitTests : SA1609CSharp9UnitTests
+ public partial class SA1609CSharp10UnitTests : SA1609CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1610CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1610CSharp10UnitTests.cs
index a96bae98e..2d7013e2c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1610CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1610CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1610CSharp10UnitTests : SA1610CSharp9UnitTests
+ public partial class SA1610CSharp10UnitTests : SA1610CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1611CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1611CSharp10UnitTests.cs
index 0455d457c..b3cc4f259 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1611CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1611CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1611CSharp10UnitTests : SA1611CSharp9UnitTests
+ public partial class SA1611CSharp10UnitTests : SA1611CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1612CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1612CSharp10UnitTests.cs
index 4c9f49ebe..35b9373cd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1612CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1612CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1612CSharp10UnitTests : SA1612CSharp9UnitTests
+ public partial class SA1612CSharp10UnitTests : SA1612CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1613CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1613CSharp10UnitTests.cs
index afe768d14..515bc86ca 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1613CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1613CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1613CSharp10UnitTests : SA1613CSharp9UnitTests
+ public partial class SA1613CSharp10UnitTests : SA1613CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1614CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1614CSharp10UnitTests.cs
index c770787c4..649a9f7ed 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1614CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1614CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1614CSharp10UnitTests : SA1614CSharp9UnitTests
+ public partial class SA1614CSharp10UnitTests : SA1614CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1615CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1615CSharp10UnitTests.cs
index 073c8848d..2e198f90b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1615CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1615CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1615CSharp10UnitTests : SA1615CSharp9UnitTests
+ public partial class SA1615CSharp10UnitTests : SA1615CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1616CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1616CSharp10UnitTests.cs
index dd9dce0a9..a18e80680 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1616CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1616CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1616CSharp10UnitTests : SA1616CSharp9UnitTests
+ public partial class SA1616CSharp10UnitTests : SA1616CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1617CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1617CSharp10UnitTests.cs
index fe97d6efd..fd7c0d26f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1617CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1617CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1617CSharp10UnitTests : SA1617CSharp9UnitTests
+ public partial class SA1617CSharp10UnitTests : SA1617CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1618CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1618CSharp10UnitTests.cs
index 324495cf1..01d81abaf 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1618CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1618CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1618CSharp10UnitTests : SA1618CSharp9UnitTests
+ public partial class SA1618CSharp10UnitTests : SA1618CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1619CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1619CSharp10UnitTests.cs
index 44be57cc7..884a4a481 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1619CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1619CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1619CSharp10UnitTests : SA1619CSharp9UnitTests
+ public partial class SA1619CSharp10UnitTests : SA1619CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1620CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1620CSharp10UnitTests.cs
index b0e0ea48b..6f6f3457c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1620CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1620CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1620CSharp10UnitTests : SA1620CSharp9UnitTests
+ public partial class SA1620CSharp10UnitTests : SA1620CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1621CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1621CSharp10UnitTests.cs
index acea801fb..746d9ae92 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1621CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1621CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1621CSharp10UnitTests : SA1621CSharp9UnitTests
+ public partial class SA1621CSharp10UnitTests : SA1621CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1622CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1622CSharp10UnitTests.cs
index c6c146320..8ce1f4ee1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1622CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1622CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1622CSharp10UnitTests : SA1622CSharp9UnitTests
+ public partial class SA1622CSharp10UnitTests : SA1622CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1623CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1623CSharp10UnitTests.cs
index e49c9cda8..9121a1b28 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1623CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1623CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1623CSharp10UnitTests : SA1623CSharp9UnitTests
+ public partial class SA1623CSharp10UnitTests : SA1623CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1624CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1624CSharp10UnitTests.cs
index aca6ca957..b1560beb4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1624CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1624CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1624CSharp10UnitTests : SA1624CSharp9UnitTests
+ public partial class SA1624CSharp10UnitTests : SA1624CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1625CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1625CSharp10UnitTests.cs
index d4a6f0f5d..e0cbb1426 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1625CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1625CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1625CSharp10UnitTests : SA1625CSharp9UnitTests
+ public partial class SA1625CSharp10UnitTests : SA1625CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1626CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1626CSharp10UnitTests.cs
index 0c6d273b5..a1d633e67 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1626CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1626CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1626CSharp10UnitTests : SA1626CSharp9UnitTests
+ public partial class SA1626CSharp10UnitTests : SA1626CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1627CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1627CSharp10UnitTests.cs
index 6294d7539..3d3e9fefb 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1627CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1627CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1627CSharp10UnitTests : SA1627CSharp9UnitTests
+ public partial class SA1627CSharp10UnitTests : SA1627CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1628CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1628CSharp10UnitTests.cs
index d1f20ab97..e474a9734 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1628CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1628CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1628CSharp10UnitTests : SA1628CSharp9UnitTests
+ public partial class SA1628CSharp10UnitTests : SA1628CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1629CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1629CSharp10UnitTests.cs
index e74913e65..9692c1af2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1629CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1629CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1629CSharp10UnitTests : SA1629CSharp9UnitTests
+ public partial class SA1629CSharp10UnitTests : SA1629CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1630CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1630CSharp10UnitTests.cs
index 267699eb7..19052375e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1630CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1630CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1630CSharp10UnitTests : SA1630CSharp9UnitTests
+ public partial class SA1630CSharp10UnitTests : SA1630CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1631CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1631CSharp10UnitTests.cs
index fa3994b07..a6c3ca533 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1631CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1631CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1631CSharp10UnitTests : SA1631CSharp9UnitTests
+ public partial class SA1631CSharp10UnitTests : SA1631CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1632CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1632CSharp10UnitTests.cs
index 4e0706545..6032163fb 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1632CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1632CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1632CSharp10UnitTests : SA1632CSharp9UnitTests
+ public partial class SA1632CSharp10UnitTests : SA1632CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1633CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1633CSharp10UnitTests.cs
index 4ea8d9fc9..7868dc85b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1633CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1633CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1633CSharp10UnitTests : SA1633CSharp9UnitTests
+ public partial class SA1633CSharp10UnitTests : SA1633CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1634CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1634CSharp10UnitTests.cs
index d8cf582e8..7088a4b80 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1634CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1634CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1634CSharp10UnitTests : SA1634CSharp9UnitTests
+ public partial class SA1634CSharp10UnitTests : SA1634CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1635CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1635CSharp10UnitTests.cs
index cd1db67a8..34b6610a8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1635CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1635CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1635CSharp10UnitTests : SA1635CSharp9UnitTests
+ public partial class SA1635CSharp10UnitTests : SA1635CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1636CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1636CSharp10UnitTests.cs
index 23fd973fc..1ebdbc216 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1636CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1636CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1636CSharp10UnitTests : SA1636CSharp9UnitTests
+ public partial class SA1636CSharp10UnitTests : SA1636CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1637CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1637CSharp10UnitTests.cs
index db351887a..d0fec2477 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1637CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1637CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1637CSharp10UnitTests : SA1637CSharp9UnitTests
+ public partial class SA1637CSharp10UnitTests : SA1637CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1638CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1638CSharp10UnitTests.cs
index a97e8ba81..54b7c9e73 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1638CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1638CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1638CSharp10UnitTests : SA1638CSharp9UnitTests
+ public partial class SA1638CSharp10UnitTests : SA1638CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1639CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1639CSharp10UnitTests.cs
index 3cf459c95..cc172dd86 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1639CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1639CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1639CSharp10UnitTests : SA1639CSharp9UnitTests
+ public partial class SA1639CSharp10UnitTests : SA1639CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1640CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1640CSharp10UnitTests.cs
index 35d2ec8d2..7ea88b544 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1640CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1640CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1640CSharp10UnitTests : SA1640CSharp9UnitTests
+ public partial class SA1640CSharp10UnitTests : SA1640CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1641CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1641CSharp10UnitTests.cs
index 8e30291fd..15d288ba3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1641CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1641CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1641CSharp10UnitTests : SA1641CSharp9UnitTests
+ public partial class SA1641CSharp10UnitTests : SA1641CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1642CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1642CSharp10UnitTests.cs
index 4d0f62cb0..7ef488359 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1642CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1642CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1642CSharp10UnitTests : SA1642CSharp9UnitTests
+ public partial class SA1642CSharp10UnitTests : SA1642CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1643CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1643CSharp10UnitTests.cs
index 2416ff7d2..e509428e4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1643CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1643CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1643CSharp10UnitTests : SA1643CSharp9UnitTests
+ public partial class SA1643CSharp10UnitTests : SA1643CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1644CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1644CSharp10UnitTests.cs
index 7cdd668a6..828614bab 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1644CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1644CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1644CSharp10UnitTests : SA1644CSharp9UnitTests
+ public partial class SA1644CSharp10UnitTests : SA1644CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1645CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1645CSharp10UnitTests.cs
index 86ef4c8a7..99d8ee9a4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1645CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1645CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1645CSharp10UnitTests : SA1645CSharp9UnitTests
+ public partial class SA1645CSharp10UnitTests : SA1645CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1646CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1646CSharp10UnitTests.cs
index 9083e529b..e373d77cd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1646CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1646CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1646CSharp10UnitTests : SA1646CSharp9UnitTests
+ public partial class SA1646CSharp10UnitTests : SA1646CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1647CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1647CSharp10UnitTests.cs
index cb25e2401..7ba17d887 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1647CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1647CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1647CSharp10UnitTests : SA1647CSharp9UnitTests
+ public partial class SA1647CSharp10UnitTests : SA1647CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1648CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1648CSharp10UnitTests.cs
index d3f0f9344..19ba51f70 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1648CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1648CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1648CSharp10UnitTests : SA1648CSharp9UnitTests
+ public partial class SA1648CSharp10UnitTests : SA1648CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1649CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1649CSharp10UnitTests.cs
index 052c6155b..a101a19cc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1649CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1649CSharp10UnitTests.cs
@@ -13,7 +13,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
using static StyleCop.Analyzers.Test.Verifiers.CustomDiagnosticVerifier<
StyleCop.Analyzers.DocumentationRules.SA1649FileNameMustMatchTypeName>;
- public class SA1649CSharp10UnitTests : SA1649CSharp9UnitTests
+ public partial class SA1649CSharp10UnitTests : SA1649CSharp9UnitTests
{
///
/// Verifies that the file name is based on the first type.
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1650CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1650CSharp10UnitTests.cs
index 24cb65eb7..ae453bd8e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1650CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1650CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1650CSharp10UnitTests : SA1650CSharp9UnitTests
+ public partial class SA1650CSharp10UnitTests : SA1650CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1651CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1651CSharp10UnitTests.cs
index 3dc71740e..706992834 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1651CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/SA1651CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp9.DocumentationRules;
- public class SA1651CSharp10UnitTests : SA1651CSharp9UnitTests
+ public partial class SA1651CSharp10UnitTests : SA1651CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/HelperTests/SymbolNameHelpersCSharp10Tests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/HelperTests/SymbolNameHelpersCSharp10Tests.cs
deleted file mode 100644
index e53bb6f86..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/HelperTests/SymbolNameHelpersCSharp10Tests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.HelperTests
-{
- using StyleCop.Analyzers.Test.CSharp9.HelperTests;
-
- public class SymbolNameHelpersCSharp10Tests : SymbolNameHelpersCSharp9Tests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/HelperTests/SymbolNameHelpersCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/HelperTests/SymbolNameHelpersCSharp10UnitTests.cs
new file mode 100644
index 000000000..ded94a69a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/HelperTests/SymbolNameHelpersCSharp10UnitTests.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.HelperTests
+{
+ using StyleCop.Analyzers.Test.CSharp9.HelperTests;
+
+ public partial class SymbolNameHelpersCSharp10UnitTests : SymbolNameHelpersCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1500CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1500CSharp10UnitTests.cs
index 8af90ef7f..ba23ffeb2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1500CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1500CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
- public class SA1500CSharp10UnitTests : SA1500CSharp9UnitTests
+ public partial class SA1500CSharp10UnitTests : SA1500CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1501CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1501CSharp10UnitTests.cs
index 6c7a94a1e..fa12c38fe 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1501CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1501CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
- public class SA1501CSharp10UnitTests : SA1501CSharp9UnitTests
+ public partial class SA1501CSharp10UnitTests : SA1501CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1502CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1502CSharp10UnitTests.cs
index e0dd0684f..df35c4e36 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1502CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1502CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
- public class SA1502CSharp10UnitTests : SA1502CSharp9UnitTests
+ public partial class SA1502CSharp10UnitTests : SA1502CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1503CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1503CSharp10UnitTests.cs
index 93a843df6..6ec436260 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1503CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1503CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
- public class SA1503CSharp10UnitTests : SA1503CSharp9UnitTests
+ public partial class SA1503CSharp10UnitTests : SA1503CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1504CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1504CSharp10UnitTests.cs
index 50484fe30..0de0dccee 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1504CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1504CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
- public class SA1504CSharp10UnitTests : SA1504CSharp9UnitTests
+ public partial class SA1504CSharp10UnitTests : SA1504CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1505CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1505CSharp10UnitTests.cs
index 53f95679c..4eebede41 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1505CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1505CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
- public class SA1505CSharp10UnitTests : SA1505CSharp9UnitTests
+ public partial class SA1505CSharp10UnitTests : SA1505CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1506CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1506CSharp10UnitTests.cs
index 94186cfad..d6353bfed 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1506CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1506CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
- public class SA1506CSharp10UnitTests : SA1506CSharp9UnitTests
+ public partial class SA1506CSharp10UnitTests : SA1506CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1507CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1507CSharp10UnitTests.cs
index 8d3510481..f7bbb8421 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1507CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1507CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
- public class SA1507CSharp10UnitTests : SA1507CSharp9UnitTests
+ public partial class SA1507CSharp10UnitTests : SA1507CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1508CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1508CSharp10UnitTests.cs
index 5aeb58dfd..c3f8022bd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1508CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1508CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
- public class SA1508CSharp10UnitTests : SA1508CSharp9UnitTests
+ public partial class SA1508CSharp10UnitTests : SA1508CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1509CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1509CSharp10UnitTests.cs
index e4a4adcc5..bc06e4da2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1509CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1509CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
- public class SA1509CSharp10UnitTests : SA1509CSharp9UnitTests
+ public partial class SA1509CSharp10UnitTests : SA1509CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1510CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1510CSharp10UnitTests.cs
index a8e894c52..97f4f2336 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1510CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1510CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
- public class SA1510CSharp10UnitTests : SA1510CSharp9UnitTests
+ public partial class SA1510CSharp10UnitTests : SA1510CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1511CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1511CSharp10UnitTests.cs
index ae42e4685..5702eef06 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1511CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1511CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
- public class SA1511CSharp10UnitTests : SA1511CSharp9UnitTests
+ public partial class SA1511CSharp10UnitTests : SA1511CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1512CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1512CSharp10UnitTests.cs
index 512af2022..c8baa8d5b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1512CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1512CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
- public class SA1512CSharp10UnitTests : SA1512CSharp9UnitTests
+ public partial class SA1512CSharp10UnitTests : SA1512CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1513CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1513CSharp10UnitTests.cs
index 6450cab83..847b78006 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1513CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1513CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
- public class SA1513CSharp10UnitTests : SA1513CSharp9UnitTests
+ public partial class SA1513CSharp10UnitTests : SA1513CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1514CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1514CSharp10UnitTests.cs
index d18ac3384..2158131a4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1514CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1514CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
- public class SA1514CSharp10UnitTests : SA1514CSharp9UnitTests
+ public partial class SA1514CSharp10UnitTests : SA1514CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1515CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1515CSharp10UnitTests.cs
index 6d0b8fe44..08e518640 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1515CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1515CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
- public class SA1515CSharp10UnitTests : SA1515CSharp9UnitTests
+ public partial class SA1515CSharp10UnitTests : SA1515CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516CSharp10UnitTests.cs
index f6020b139..60b9dfcf1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516CSharp10UnitTests.cs
@@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
StyleCop.Analyzers.LayoutRules.SA1516ElementsMustBeSeparatedByBlankLine,
StyleCop.Analyzers.LayoutRules.SA1516CodeFixProvider>;
- public class SA1516CSharp10UnitTests : SA1516CSharp9UnitTests
+ public partial class SA1516CSharp10UnitTests : SA1516CSharp9UnitTests
{
///
/// Verifies that SA1516 is reported for usings and extern alias outside a file scoped namespace.
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516CSharp10UsingGroupsUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516CSharp10UsingGroupsUnitTests.cs
deleted file mode 100644
index bfbee6adc..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516CSharp10UsingGroupsUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.LayoutRules
-{
- using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
-
- public class SA1516CSharp10UsingGroupsUnitTests : SA1516CSharp9UsingGroupsUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516UsingGroupsCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516UsingGroupsCSharp10UnitTests.cs
new file mode 100644
index 000000000..255ab862b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516UsingGroupsCSharp10UnitTests.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.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
+
+ public partial class SA1516UsingGroupsCSharp10UnitTests : SA1516UsingGroupsCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1517CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1517CSharp10UnitTests.cs
index c4945e303..5513c3b2a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1517CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1517CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
- public class SA1517CSharp10UnitTests : SA1517CSharp9UnitTests
+ public partial class SA1517CSharp10UnitTests : SA1517CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1518CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1518CSharp10UnitTests.cs
index 33afe0039..a7a5563d4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1518CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1518CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
- public class SA1518CSharp10UnitTests : SA1518CSharp9UnitTests
+ public partial class SA1518CSharp10UnitTests : SA1518CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1519CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1519CSharp10UnitTests.cs
index 253ad90b1..2b007881c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1519CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1519CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
- public class SA1519CSharp10UnitTests : SA1519CSharp9UnitTests
+ public partial class SA1519CSharp10UnitTests : SA1519CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1520CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1520CSharp10UnitTests.cs
index d085b2c80..2d2a54d3f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1520CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1520CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp9.LayoutRules;
- public class SA1520CSharp10UnitTests : SA1520CSharp9UnitTests
+ public partial class SA1520CSharp10UnitTests : SA1520CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/AccessorDeclarationSyntaxExtensionsCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/AccessorDeclarationSyntaxExtensionsCSharp10UnitTests.cs
new file mode 100644
index 000000000..4f66fd932
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/AccessorDeclarationSyntaxExtensionsCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class AccessorDeclarationSyntaxExtensionsCSharp10UnitTests : AccessorDeclarationSyntaxExtensionsCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp10.cs
deleted file mode 100644
index 74af8fa3e..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class AccessorDeclarationSyntaxExtensionsTestsCSharp10 : AccessorDeclarationSyntaxExtensionsTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ArgumentSyntaxExtensionsCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ArgumentSyntaxExtensionsCSharp10UnitTests.cs
new file mode 100644
index 000000000..45a3677ec
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ArgumentSyntaxExtensionsCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class ArgumentSyntaxExtensionsCSharp10UnitTests : ArgumentSyntaxExtensionsCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ArgumentSyntaxExtensionsTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ArgumentSyntaxExtensionsTestsCSharp10.cs
deleted file mode 100644
index 66b78e49b..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ArgumentSyntaxExtensionsTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class ArgumentSyntaxExtensionsTestsCSharp10 : ArgumentSyntaxExtensionsTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp10UnitTests.cs
new file mode 100644
index 000000000..5010eed07
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class BaseMethodDeclarationSyntaxExtensionsCSharp10UnitTests : BaseMethodDeclarationSyntaxExtensionsCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp10.cs
deleted file mode 100644
index db490fc18..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class BaseMethodDeclarationSyntaxExtensionsTestsCSharp10 : BaseMethodDeclarationSyntaxExtensionsTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..af8ac34ee
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class CasePatternSwitchLabelSyntaxWrapperCSharp10UnitTests : CasePatternSwitchLabelSyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index d5ac4b7f5..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class CasePatternSwitchLabelSyntaxWrapperTestsCSharp10 : CasePatternSwitchLabelSyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CommonForEachStatementSyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CommonForEachStatementSyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..3dae702a7
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CommonForEachStatementSyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class CommonForEachStatementSyntaxWrapperCSharp10UnitTests : CommonForEachStatementSyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index 740179906..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class CommonForEachStatementSyntaxWrapperTestsCSharp10 : CommonForEachStatementSyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstantPatternSyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstantPatternSyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..16987bde8
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstantPatternSyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class ConstantPatternSyntaxWrapperCSharp10UnitTests : ConstantPatternSyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstantPatternSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstantPatternSyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index 95506e8cd..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstantPatternSyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class ConstantPatternSyntaxWrapperTestsCSharp10 : ConstantPatternSyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp10UnitTests.cs
new file mode 100644
index 000000000..3b80d2340
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class ConstructorDeclarationSyntaxExtensionsCSharp10UnitTests : ConstructorDeclarationSyntaxExtensionsCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp10.cs
deleted file mode 100644
index 98a67053f..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class ConstructorDeclarationSyntaxExtensionsTestsCSharp10 : ConstructorDeclarationSyntaxExtensionsTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CrefParameterSyntaxExtensionsCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CrefParameterSyntaxExtensionsCSharp10UnitTests.cs
new file mode 100644
index 000000000..251e125ff
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CrefParameterSyntaxExtensionsCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class CrefParameterSyntaxExtensionsCSharp10UnitTests : CrefParameterSyntaxExtensionsCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CrefParameterSyntaxExtensionsTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CrefParameterSyntaxExtensionsTestsCSharp10.cs
deleted file mode 100644
index 8ed43d0ba..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CrefParameterSyntaxExtensionsTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class CrefParameterSyntaxExtensionsTestsCSharp10 : CrefParameterSyntaxExtensionsTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationExpressionSyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationExpressionSyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..ed7d29268
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationExpressionSyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class DeclarationExpressionSyntaxWrapperCSharp10UnitTests : DeclarationExpressionSyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index 61f726b30..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class DeclarationExpressionSyntaxWrapperTestsCSharp10 : DeclarationExpressionSyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationPatternSyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationPatternSyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..22d52be00
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationPatternSyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class DeclarationPatternSyntaxWrapperCSharp10UnitTests : DeclarationPatternSyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index ddc1e3d22..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class DeclarationPatternSyntaxWrapperTestsCSharp10 : DeclarationPatternSyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DestructorDeclarationSyntaxExtensionsCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DestructorDeclarationSyntaxExtensionsCSharp10UnitTests.cs
new file mode 100644
index 000000000..48bf8ae2a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DestructorDeclarationSyntaxExtensionsCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class DestructorDeclarationSyntaxExtensionsCSharp10UnitTests : DestructorDeclarationSyntaxExtensionsCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp10.cs
deleted file mode 100644
index a535b52c1..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class DestructorDeclarationSyntaxExtensionsTestsCSharp10 : DestructorDeclarationSyntaxExtensionsTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DiscardDesignationSyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DiscardDesignationSyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..433340753
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DiscardDesignationSyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class DiscardDesignationSyntaxWrapperCSharp10UnitTests : DiscardDesignationSyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index 393b1d3d4..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class DiscardDesignationSyntaxWrapperTestsCSharp10 : DiscardDesignationSyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..b1223cbf5
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp10UnitTests : ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index 9a642b441..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp10 : ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/IsPatternExpressionSyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/IsPatternExpressionSyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..f77d04c6e
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/IsPatternExpressionSyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class IsPatternExpressionSyntaxWrapperCSharp10UnitTests : IsPatternExpressionSyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index e1e74719d..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class IsPatternExpressionSyntaxWrapperTestsCSharp10 : IsPatternExpressionSyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LanguageVersionExCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LanguageVersionExCSharp10UnitTests.cs
new file mode 100644
index 000000000..588d2707b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LanguageVersionExCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class LanguageVersionExCSharp10UnitTests : LanguageVersionExCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LanguageVersionExTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LanguageVersionExTestsCSharp10.cs
deleted file mode 100644
index 5f2b2ab47..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LanguageVersionExTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class LanguageVersionExTestsCSharp10 : LanguageVersionExTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LightupHelpersCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LightupHelpersCSharp10UnitTests.cs
new file mode 100644
index 000000000..aa170127a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LightupHelpersCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class LightupHelpersCSharp10UnitTests : LightupHelpersCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LightupHelpersTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LightupHelpersTestsCSharp10.cs
deleted file mode 100644
index c07648855..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LightupHelpersTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class LightupHelpersTestsCSharp10 : LightupHelpersTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LocalFunctionStatementSyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LocalFunctionStatementSyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..8d26277c5
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LocalFunctionStatementSyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class LocalFunctionStatementSyntaxWrapperCSharp10UnitTests : LocalFunctionStatementSyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index d6e299a69..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class LocalFunctionStatementSyntaxWrapperTestsCSharp10 : LocalFunctionStatementSyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/MethodKindExCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/MethodKindExCSharp10UnitTests.cs
new file mode 100644
index 000000000..3e1cc4bbb
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/MethodKindExCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class MethodKindExCSharp10UnitTests : MethodKindExCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/MethodKindExTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/MethodKindExTestsCSharp10.cs
deleted file mode 100644
index 0c7ffd54a..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/MethodKindExTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class MethodKindExTestsCSharp10 : MethodKindExTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/OperationKindExCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/OperationKindExCSharp10UnitTests.cs
new file mode 100644
index 000000000..51b4c1d86
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/OperationKindExCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class OperationKindExCSharp10UnitTests : OperationKindExCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/OperationKindExTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/OperationKindExTestsCSharp10.cs
deleted file mode 100644
index c1bb9e3a1..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/OperationKindExTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class OperationKindExTestsCSharp10 : OperationKindExTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..6164f1d10
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class ParenthesizedVariableDesignationSyntaxWrapperCSharp10UnitTests : ParenthesizedVariableDesignationSyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index ff7ec5b44..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp10 : ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/PatternSyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/PatternSyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..dfc045407
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/PatternSyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class PatternSyntaxWrapperCSharp10UnitTests : PatternSyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/PatternSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/PatternSyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index d60422b69..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/PatternSyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class PatternSyntaxWrapperTestsCSharp10 : PatternSyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefExpressionSyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefExpressionSyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..9b674cf20
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefExpressionSyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class RefExpressionSyntaxWrapperCSharp10UnitTests : RefExpressionSyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefExpressionSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefExpressionSyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index 62a8b79e1..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefExpressionSyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class RefExpressionSyntaxWrapperTestsCSharp10 : RefExpressionSyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefTypeSyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefTypeSyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..7cb5a8b86
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefTypeSyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class RefTypeSyntaxWrapperCSharp10UnitTests : RefTypeSyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefTypeSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefTypeSyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index f73a5054d..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefTypeSyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class RefTypeSyntaxWrapperTestsCSharp10 : RefTypeSyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SingleVariableDesignationSyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SingleVariableDesignationSyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..c39a90481
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SingleVariableDesignationSyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class SingleVariableDesignationSyntaxWrapperCSharp10UnitTests : SingleVariableDesignationSyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index 688b38d90..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class SingleVariableDesignationSyntaxWrapperTestsCSharp10 : SingleVariableDesignationSyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp10UnitTests.cs
new file mode 100644
index 000000000..107605bdc
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class StackAllocArrayCreationExpressionSyntaxExtensionsCSharp10UnitTests : StackAllocArrayCreationExpressionSyntaxExtensionsCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp10.cs
deleted file mode 100644
index 9e760f531..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp10 : StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionArmSyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionArmSyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..7abd614f4
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionArmSyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class SwitchExpressionArmSyntaxWrapperCSharp10UnitTests : SwitchExpressionArmSyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index bc3224d21..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class SwitchExpressionArmSyntaxWrapperTestsCSharp10 : SwitchExpressionArmSyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionSyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionSyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..b87581074
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionSyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class SwitchExpressionSyntaxWrapperCSharp10UnitTests : SwitchExpressionSyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index 67826119c..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class SwitchExpressionSyntaxWrapperTestsCSharp10 : SwitchExpressionSyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxKindExCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxKindExCSharp10UnitTests.cs
new file mode 100644
index 000000000..eea401bc2
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxKindExCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class SyntaxKindExCSharp10UnitTests : SyntaxKindExCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxKindExTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxKindExTestsCSharp10.cs
deleted file mode 100644
index 95b669bff..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxKindExTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class SyntaxKindExTestsCSharp10 : SyntaxKindExTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..a52582640
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class SyntaxWrapperCSharp10UnitTests : SyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperHelperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperHelperCSharp10UnitTests.cs
new file mode 100644
index 000000000..debb260ba
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperHelperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class SyntaxWrapperHelperCSharp10UnitTests : SyntaxWrapperHelperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperHelperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperHelperTestsCSharp10.cs
deleted file mode 100644
index 60ac4bb42..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperHelperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class SyntaxWrapperHelperTestsCSharp10 : SyntaxWrapperHelperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index 90ca82070..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class SyntaxWrapperTestsCSharp10 : SyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ThrowExpressionSyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ThrowExpressionSyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..a6690082b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ThrowExpressionSyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class ThrowExpressionSyntaxWrapperCSharp10UnitTests : ThrowExpressionSyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index b80ea806d..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class ThrowExpressionSyntaxWrapperTestsCSharp10 : ThrowExpressionSyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleElementSyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleElementSyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..1a56b3659
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleElementSyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class TupleElementSyntaxWrapperCSharp10UnitTests : TupleElementSyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleElementSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleElementSyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index e2fb75904..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleElementSyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class TupleElementSyntaxWrapperTestsCSharp10 : TupleElementSyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleExpressionSyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleExpressionSyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..f784b1ad8
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleExpressionSyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class TupleExpressionSyntaxWrapperCSharp10UnitTests : TupleExpressionSyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleExpressionSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleExpressionSyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index ea09f9148..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleExpressionSyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class TupleExpressionSyntaxWrapperTestsCSharp10 : TupleExpressionSyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleTypeSyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleTypeSyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..d8cd92c1c
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleTypeSyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class TupleTypeSyntaxWrapperCSharp10UnitTests : TupleTypeSyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleTypeSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleTypeSyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index 1183581b2..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleTypeSyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class TupleTypeSyntaxWrapperTestsCSharp10 : TupleTypeSyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/VariableDesignationSyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/VariableDesignationSyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..ae5058ba7
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/VariableDesignationSyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class VariableDesignationSyntaxWrapperCSharp10UnitTests : VariableDesignationSyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/VariableDesignationSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/VariableDesignationSyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index 6d584ee3b..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/VariableDesignationSyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class VariableDesignationSyntaxWrapperTestsCSharp10 : VariableDesignationSyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/WhenClauseSyntaxWrapperCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/WhenClauseSyntaxWrapperCSharp10UnitTests.cs
new file mode 100644
index 000000000..87ce423c0
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/WhenClauseSyntaxWrapperCSharp10UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp9.Lightup;
+
+ public partial class WhenClauseSyntaxWrapperCSharp10UnitTests : WhenClauseSyntaxWrapperCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/WhenClauseSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/WhenClauseSyntaxWrapperTestsCSharp10.cs
deleted file mode 100644
index d1890cddb..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/WhenClauseSyntaxWrapperTestsCSharp10.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp9.Lightup;
-
- public class WhenClauseSyntaxWrapperTestsCSharp10 : WhenClauseSyntaxWrapperTestsCSharp9
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1119CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1119CSharp10UnitTests.cs
index b5b775d75..62d03cfcf 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1119CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1119CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
- public class SA1119CSharp10UnitTests : SA1119CSharp9UnitTests
+ public partial class SA1119CSharp10UnitTests : SA1119CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1400CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1400CSharp10UnitTests.cs
index 63368a81c..bdaca4ec2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1400CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1400CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
- public class SA1400CSharp10UnitTests : SA1400CSharp9UnitTests
+ public partial class SA1400CSharp10UnitTests : SA1400CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1401CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1401CSharp10UnitTests.cs
index 3a707f3a5..a57e97a6c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1401CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1401CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
- public class SA1401CSharp10UnitTests : SA1401CSharp9UnitTests
+ public partial class SA1401CSharp10UnitTests : SA1401CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForClassUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForClassUnitTests.cs
deleted file mode 100644
index 784ea4994..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForClassUnitTests.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) Tunnel Vision Laboratories, 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 System.Threading;
- using System.Threading.Tasks;
- using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
- using Xunit;
-
- public class SA1402CSharp10ForClassUnitTests : SA1402CSharp9ForClassUnitTests
- {
- [Fact]
- [WorkItem(3435, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3435")]
- public async Task VerifyTwoClassesWithFileScopedNamespacesAsync()
- {
- var testCode = $@"namespace TestNamespace;
-
-public class TestClass1 {{ }}
-public class {{|#0:TestClass2|}} {{ }}
-";
- var fixedCode1 = $@"namespace TestNamespace;
-
-public class TestClass1 {{ }}
-";
- var fixedCode2 = $@"namespace TestNamespace;
-public class TestClass2 {{ }}
-";
-
- var expectedDiagnostic = this.Diagnostic().WithLocation(0);
- await this.VerifyCSharpFixAsync(
- testCode,
- this.GetSettings(),
- expectedDiagnostic,
- new[]
- {
- ("/0/Test0.cs", fixedCode1),
- ("TestClass2.cs", fixedCode2),
- },
- CancellationToken.None).ConfigureAwait(false);
- }
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForDelegateUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForDelegateUnitTests.cs
deleted file mode 100644
index 2aaa60273..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForDelegateUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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 SA1402CSharp10ForDelegateUnitTests : SA1402CSharp9ForDelegateUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForEnumUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForEnumUnitTests.cs
deleted file mode 100644
index f8b888329..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForEnumUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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 SA1402CSharp10ForEnumUnitTests : SA1402CSharp9ForEnumUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForInterfaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForInterfaceUnitTests.cs
deleted file mode 100644
index 95775bf35..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForInterfaceUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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 SA1402CSharp10ForInterfaceUnitTests : SA1402CSharp9ForInterfaceUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordClassUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordClassUnitTests.cs
deleted file mode 100644
index 581a44735..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordClassUnitTests.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-// 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
deleted file mode 100644
index a1c205454..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordStructUnitTests.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-// 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
deleted file mode 100644
index 016434091..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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
deleted file mode 100644
index 3061cc3f0..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForStructUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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 SA1402CSharp10ForStructUnitTests : SA1402CSharp9ForStructUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForClassCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForClassCSharp10UnitTests.cs
new file mode 100644
index 000000000..34ae80264
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForClassCSharp10UnitTests.cs
@@ -0,0 +1,45 @@
+// Copyright (c) Tunnel Vision Laboratories, 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 System.Threading;
+ using System.Threading.Tasks;
+ using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
+ using Xunit;
+
+ public partial class SA1402ForClassCSharp10UnitTests : SA1402ForClassCSharp9UnitTests
+ {
+ [Fact]
+ [WorkItem(3435, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3435")]
+ public async Task VerifyTwoClassesWithFileScopedNamespacesAsync()
+ {
+ var testCode = $@"namespace TestNamespace;
+
+public class TestClass1 {{ }}
+public class {{|#0:TestClass2|}} {{ }}
+";
+ var fixedCode1 = $@"namespace TestNamespace;
+
+public class TestClass1 {{ }}
+";
+ var fixedCode2 = $@"namespace TestNamespace;
+public class TestClass2 {{ }}
+";
+
+ var expectedDiagnostic = this.Diagnostic().WithLocation(0);
+ await this.VerifyCSharpFixAsync(
+ testCode,
+ this.GetSettings(),
+ expectedDiagnostic,
+ new[]
+ {
+ ("/0/Test0.cs", fixedCode1),
+ ("TestClass2.cs", fixedCode2),
+ },
+ CancellationToken.None).ConfigureAwait(false);
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForDelegateCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForDelegateCSharp10UnitTests.cs
new file mode 100644
index 000000000..43b326ed3
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForDelegateCSharp10UnitTests.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 partial class SA1402ForDelegateCSharp10UnitTests : SA1402ForDelegateCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForEnumCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForEnumCSharp10UnitTests.cs
new file mode 100644
index 000000000..77ca161aa
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForEnumCSharp10UnitTests.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 partial class SA1402ForEnumCSharp10UnitTests : SA1402ForEnumCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForInterfaceCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForInterfaceCSharp10UnitTests.cs
new file mode 100644
index 000000000..ccd0435db
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForInterfaceCSharp10UnitTests.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 partial class SA1402ForInterfaceCSharp10UnitTests : SA1402ForInterfaceCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForRecordCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForRecordCSharp10UnitTests.cs
new file mode 100644
index 000000000..61eba973a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForRecordCSharp10UnitTests.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 partial class SA1402ForRecordCSharp10UnitTests : SA1402ForRecordCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForRecordClassCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForRecordClassCSharp10UnitTests.cs
new file mode 100644
index 000000000..0898c1ea0
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForRecordClassCSharp10UnitTests.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 SA1402ForRecordClassCSharp10UnitTests : 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/SA1402ForRecordStructCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForRecordStructCSharp10UnitTests.cs
new file mode 100644
index 000000000..1a511dd6d
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForRecordStructCSharp10UnitTests.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 SA1402ForRecordStructCSharp10UnitTests : 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/SA1402ForStructCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForStructCSharp10UnitTests.cs
new file mode 100644
index 000000000..e8b5f20af
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForStructCSharp10UnitTests.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 partial class SA1402ForStructCSharp10UnitTests : SA1402ForStructCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1403CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1403CSharp10UnitTests.cs
index a9c86494b..40e23c30d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1403CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1403CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
- public class SA1403CSharp10UnitTests : SA1403CSharp9UnitTests
+ public partial class SA1403CSharp10UnitTests : SA1403CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1404CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1404CSharp10UnitTests.cs
index 0deae8537..f2bf2f9c5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1404CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1404CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
- public class SA1404CSharp10UnitTests : SA1404CSharp9UnitTests
+ public partial class SA1404CSharp10UnitTests : SA1404CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1405CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1405CSharp10UnitTests.cs
index 898366ece..08ed65cad 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1405CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1405CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
- public class SA1405CSharp10UnitTests : SA1405CSharp9UnitTests
+ public partial class SA1405CSharp10UnitTests : SA1405CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1406CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1406CSharp10UnitTests.cs
index f310c58ab..55e951ac2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1406CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1406CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
- public class SA1406CSharp10UnitTests : SA1406CSharp9UnitTests
+ public partial class SA1406CSharp10UnitTests : SA1406CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1407CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1407CSharp10UnitTests.cs
index f23297d13..68c38d7b7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1407CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1407CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
- public class SA1407CSharp10UnitTests : SA1407CSharp9UnitTests
+ public partial class SA1407CSharp10UnitTests : SA1407CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1408CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1408CSharp10UnitTests.cs
index e3e2693a9..d7b81f85a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1408CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1408CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
- public class SA1408CSharp10UnitTests : SA1408CSharp9UnitTests
+ public partial class SA1408CSharp10UnitTests : SA1408CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1409CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1409CSharp10UnitTests.cs
index 9e8972d41..ad01c00bd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1409CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1409CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
- public class SA1409CSharp10UnitTests : SA1409CSharp9UnitTests
+ public partial class SA1409CSharp10UnitTests : SA1409CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1410CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1410CSharp10UnitTests.cs
index acb56ac94..1aac8afd0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1410CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1410CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
- public class SA1410CSharp10UnitTests : SA1410CSharp9UnitTests
+ public partial class SA1410CSharp10UnitTests : SA1410CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1411CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1411CSharp10UnitTests.cs
index 41a07e13e..1e50001b4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1411CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1411CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
- public class SA1411CSharp10UnitTests : SA1411CSharp9UnitTests
+ public partial class SA1411CSharp10UnitTests : SA1411CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1412CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1412CSharp10UnitTests.cs
index cf78cfc9c..1f33ce3f1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1412CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1412CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
- public class SA1412CSharp10UnitTests : SA1412CSharp9UnitTests
+ public partial class SA1412CSharp10UnitTests : SA1412CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1413CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1413CSharp10UnitTests.cs
index 6e4df4004..ddfaa54ee 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1413CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1413CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules;
- public class SA1413CSharp10UnitTests : SA1413CSharp9UnitTests
+ public partial class SA1413CSharp10UnitTests : SA1413CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1414CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1414CSharp10UnitTests.cs
new file mode 100644
index 000000000..7510c986b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1414CSharp10UnitTests.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 partial class SA1414CSharp10UnitTests : SA1414CSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1300CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1300CSharp10UnitTests.cs
index e29dc4c69..a73681caa 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1300CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1300CSharp10UnitTests.cs
@@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
StyleCop.Analyzers.NamingRules.SA1300ElementMustBeginWithUpperCaseLetter,
StyleCop.Analyzers.NamingRules.RenameToUpperCaseCodeFixProvider>;
- public class SA1300CSharp10UnitTests : SA1300CSharp9UnitTests
+ public partial class SA1300CSharp10UnitTests : SA1300CSharp9UnitTests
{
[Fact]
public async Task TestUpperCaseFileScopedNamespaceAsync()
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1301CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1301CSharp10UnitTests.cs
index 1bb60941b..a59d9e7ff 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1301CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1301CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
- public class SA1301CSharp10UnitTests : SA1301CSharp9UnitTests
+ public partial class SA1301CSharp10UnitTests : SA1301CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1302CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1302CSharp10UnitTests.cs
index 0e2a39469..6a2ad27a4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1302CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1302CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
- public class SA1302CSharp10UnitTests : SA1302CSharp9UnitTests
+ public partial class SA1302CSharp10UnitTests : SA1302CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1303CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1303CSharp10UnitTests.cs
index 63ef27bf7..0e496b9bc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1303CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1303CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
- public class SA1303CSharp10UnitTests : SA1303CSharp9UnitTests
+ public partial class SA1303CSharp10UnitTests : SA1303CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1304CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1304CSharp10UnitTests.cs
index 324a15874..ff286ea2f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1304CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1304CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
- public class SA1304CSharp10UnitTests : SA1304CSharp9UnitTests
+ public partial class SA1304CSharp10UnitTests : SA1304CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1305CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1305CSharp10UnitTests.cs
index 72ef4d341..b341a89fd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1305CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1305CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
- public class SA1305CSharp10UnitTests : SA1305CSharp9UnitTests
+ public partial class SA1305CSharp10UnitTests : SA1305CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1306CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1306CSharp10UnitTests.cs
index 4bf087e4a..870812f34 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1306CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1306CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
- public class SA1306CSharp10UnitTests : SA1306CSharp9UnitTests
+ public partial class SA1306CSharp10UnitTests : SA1306CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1307CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1307CSharp10UnitTests.cs
index dfc4e2d05..ab5176bcc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1307CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1307CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
- public class SA1307CSharp10UnitTests : SA1307CSharp9UnitTests
+ public partial class SA1307CSharp10UnitTests : SA1307CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1308CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1308CSharp10UnitTests.cs
index 44ab2e164..2ea68234e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1308CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1308CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
- public class SA1308CSharp10UnitTests : SA1308CSharp9UnitTests
+ public partial class SA1308CSharp10UnitTests : SA1308CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1309CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1309CSharp10UnitTests.cs
index 4aabba92d..eb2b7d337 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1309CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1309CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
- public class SA1309CSharp10UnitTests : SA1309CSharp9UnitTests
+ public partial class SA1309CSharp10UnitTests : SA1309CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1310CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1310CSharp10UnitTests.cs
index 0d4e0fb34..aaca81ece 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1310CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1310CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
- public class SA1310CSharp10UnitTests : SA1310CSharp9UnitTests
+ public partial class SA1310CSharp10UnitTests : SA1310CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1311CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1311CSharp10UnitTests.cs
index aa20f243b..5eba51bda 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1311CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1311CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
- public class SA1311CSharp10UnitTests : SA1311CSharp9UnitTests
+ public partial class SA1311CSharp10UnitTests : SA1311CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1312CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1312CSharp10UnitTests.cs
index 762277b77..576d7565e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1312CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1312CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
- public class SA1312CSharp10UnitTests : SA1312CSharp9UnitTests
+ public partial class SA1312CSharp10UnitTests : SA1312CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1313CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1313CSharp10UnitTests.cs
index d099245cb..d7e76a1ee 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1313CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1313CSharp10UnitTests.cs
@@ -1,20 +1,18 @@
// Copyright (c) Tunnel Vision Laboratories, 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 System.Threading;
using System.Threading.Tasks;
+ using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
- using StyleCop.Analyzers.Test.Verifiers;
using Xunit;
using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
StyleCop.Analyzers.NamingRules.SA1313ParameterNamesMustBeginWithLowerCaseLetter,
StyleCop.Analyzers.NamingRules.RenameToLowerCaseCodeFixProvider>;
- public class SA1313CSharp10UnitTests : SA1313CSharp9UnitTests
+ public partial class SA1313CSharp10UnitTests : SA1313CSharp9UnitTests
{
[Theory]
[WorkItem(3384, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3384")]
@@ -42,12 +40,7 @@ public R(int a, int b)
}}
";
- await new CSharpTest()
- {
- ReferenceAssemblies = GenericAnalyzerTest.ReferenceAssembliesNet60,
- TestCode = testCode,
- FixedCode = fixedCode,
- }.RunAsync(CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpFixAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1314CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1314CSharp10UnitTests.cs
index 075c7af5f..20c5f1ccf 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1314CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1314CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
- public class SA1314CSharp10UnitTests : SA1314CSharp9UnitTests
+ public partial class SA1314CSharp10UnitTests : SA1314CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1316CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1316CSharp10UnitTests.cs
index ba4bfe758..87ce3e6f3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1316CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1316CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
- public class SA1316CSharp10UnitTests : SA1316CSharp9UnitTests
+ public partial class SA1316CSharp10UnitTests : SA1316CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SX1309CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SX1309CSharp10UnitTests.cs
index 32e53a6cc..2ded8a5dd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SX1309CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SX1309CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
- public class SX1309CSharp10UnitTests : SX1309CSharp9UnitTests
+ public partial class SX1309CSharp10UnitTests : SX1309CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SX1309SCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SX1309SCSharp10UnitTests.cs
index 75bf957d9..b3b9d6c9a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SX1309SCSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SX1309SCSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.NamingRules
{
using StyleCop.Analyzers.Test.CSharp9.NamingRules;
- public class SX1309SCSharp10UnitTests : SX1309SCSharp9UnitTests
+ public partial class SX1309SCSharp10UnitTests : SX1309SCSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs
deleted file mode 100644
index 67055d1ae..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.OrderingRules
-{
- using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
-
- public class CSharp10UsingCodeFixProviderCombinedSystemDirectivesUnitTests : CSharp9UsingCodeFixProviderCombinedSystemDirectivesUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderGroupSeparationUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderGroupSeparationUnitTests.cs
deleted file mode 100644
index 1725fcf55..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderGroupSeparationUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.OrderingRules
-{
- using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
-
- public class CSharp10UsingCodeFixProviderGroupSeparationUnitTests : CSharp9UsingCodeFixProviderGroupSeparationUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderRegressionUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderRegressionUnitTests.cs
deleted file mode 100644
index 9e611a740..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderRegressionUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.OrderingRules
-{
- using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
-
- public class CSharp10UsingCodeFixProviderRegressionUnitTests : CSharp9UsingCodeFixProviderRegressionUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderUnitTests.cs
deleted file mode 100644
index 1a230a859..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.OrderingRules
-{
- using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
-
- public class CSharp10UsingCodeFixProviderUnitTests : CSharp9UsingCodeFixProviderUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200CSharp10OutsideNamespaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200CSharp10OutsideNamespaceUnitTests.cs
deleted file mode 100644
index ebedbacf5..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200CSharp10OutsideNamespaceUnitTests.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright (c) Tunnel Vision Laboratories, 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 System.Threading;
- using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.Testing;
- using StyleCop.Analyzers.OrderingRules;
- using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
- using Xunit;
-
- public class SA1200CSharp10OutsideNamespaceUnitTests : SA1200CSharp9OutsideNamespaceUnitTests
- {
- [Fact]
- public async Task TestInvalidUsingStatementsInFileScopedNamespaceAsync()
- {
- var testCode = @"namespace TestNamespace;
-
-{|#0:using System;|}
-{|#1:using System.Threading;|}
-";
- var fixedTestCode = @"using System;
-using System.Threading;
-
-namespace TestNamespace;
-";
-
- DiagnosticResult[] expectedResults =
- {
- Diagnostic(SA1200UsingDirectivesMustBePlacedCorrectly.DescriptorOutside).WithLocation(0),
- Diagnostic(SA1200UsingDirectivesMustBePlacedCorrectly.DescriptorOutside).WithLocation(1),
- };
-
- await VerifyCSharpFixAsync(testCode, expectedResults, fixedTestCode, CancellationToken.None).ConfigureAwait(false);
- }
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200CSharp10PreserveUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200CSharp10PreserveUnitTests.cs
deleted file mode 100644
index 8ff1aa5d3..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200CSharp10PreserveUnitTests.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) Tunnel Vision Laboratories, 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 System.Threading;
- using System.Threading.Tasks;
- using Microsoft.CodeAnalysis.Testing;
- using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
- using Xunit;
-
- public class SA1200CSharp10PreserveUnitTests : SA1200CSharp9PreserveUnitTests
- {
- [Fact]
- public async Task TestValidUsingStatementsInFileScopedNamespaceAsync()
- {
- var testCode = @"namespace TestNamespace;
-
-using System;
-using System.Threading;
-";
-
- await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
- }
-
- ///
- /// Verifies that having using statements in the compilation unit will not diagnostics, even if they could be
- /// moved inside a file-scoped namespace.
- ///
- /// A representing the asynchronous unit test.
- [Fact]
- public async Task TestIgnoredUsingStatementsInCompilationUnitWithFileScopedNamespaceAsync()
- {
- var testCode = @"using System;
-using System.Threading;
-
-namespace TestNamespace;
-";
-
- await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
- }
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200CSharp10UnitTests.cs
index 867bc3c94..3ca1c97b9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200CSharp10UnitTests.cs
@@ -15,7 +15,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
StyleCop.Analyzers.OrderingRules.SA1200UsingDirectivesMustBePlacedCorrectly,
StyleCop.Analyzers.OrderingRules.UsingCodeFixProvider>;
- public class SA1200CSharp10UnitTests : SA1200CSharp9UnitTests
+ public partial class SA1200CSharp10UnitTests : SA1200CSharp9UnitTests
{
[Fact]
public async Task TestInvalidUsingStatementsInCompilationUnitWithFileScopedNamespaceAsync()
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200OutsideNamespaceCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200OutsideNamespaceCSharp10UnitTests.cs
new file mode 100644
index 000000000..98b05c70b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200OutsideNamespaceCSharp10UnitTests.cs
@@ -0,0 +1,40 @@
+// Copyright (c) Tunnel Vision Laboratories, 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 System.Threading;
+ using System.Threading.Tasks;
+ using Microsoft.CodeAnalysis.Testing;
+ using StyleCop.Analyzers.OrderingRules;
+ using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
+ using Xunit;
+
+ public partial class SA1200OutsideNamespaceCSharp10UnitTests : SA1200OutsideNamespaceCSharp9UnitTests
+ {
+ [Fact]
+ public async Task TestInvalidUsingStatementsInFileScopedNamespaceAsync()
+ {
+ var testCode = @"namespace TestNamespace;
+
+{|#0:using System;|}
+{|#1:using System.Threading;|}
+";
+ var fixedTestCode = @"using System;
+using System.Threading;
+
+namespace TestNamespace;
+";
+
+ DiagnosticResult[] expectedResults =
+ {
+ Diagnostic(SA1200UsingDirectivesMustBePlacedCorrectly.DescriptorOutside).WithLocation(0),
+ Diagnostic(SA1200UsingDirectivesMustBePlacedCorrectly.DescriptorOutside).WithLocation(1),
+ };
+
+ await VerifyCSharpFixAsync(testCode, expectedResults, fixedTestCode, CancellationToken.None).ConfigureAwait(false);
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200PreserveCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200PreserveCSharp10UnitTests.cs
new file mode 100644
index 000000000..c6bbad99e
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200PreserveCSharp10UnitTests.cs
@@ -0,0 +1,45 @@
+// Copyright (c) Tunnel Vision Laboratories, 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 System.Threading;
+ using System.Threading.Tasks;
+ using Microsoft.CodeAnalysis.Testing;
+ using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
+ using Xunit;
+
+ public partial class SA1200PreserveCSharp10UnitTests : SA1200PreserveCSharp9UnitTests
+ {
+ [Fact]
+ public async Task TestValidUsingStatementsInFileScopedNamespaceAsync()
+ {
+ var testCode = @"namespace TestNamespace;
+
+using System;
+using System.Threading;
+";
+
+ await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ }
+
+ ///
+ /// Verifies that having using statements in the compilation unit will not diagnostics, even if they could be
+ /// moved inside a file-scoped namespace.
+ ///
+ /// A representing the asynchronous unit test.
+ [Fact]
+ public async Task TestIgnoredUsingStatementsInCompilationUnitWithFileScopedNamespaceAsync()
+ {
+ var testCode = @"using System;
+using System.Threading;
+
+namespace TestNamespace;
+";
+
+ await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1201CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1201CSharp10UnitTests.cs
index 7b2719c51..8b54e9dae 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1201CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1201CSharp10UnitTests.cs
@@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
StyleCop.Analyzers.OrderingRules.SA1201ElementsMustAppearInTheCorrectOrder,
StyleCop.Analyzers.OrderingRules.ElementOrderCodeFixProvider>;
- public class SA1201CSharp10UnitTests : SA1201CSharp9UnitTests
+ public partial class SA1201CSharp10UnitTests : SA1201CSharp9UnitTests
{
[Fact]
public async Task TestOuterOrderCorrectOrderWithFileScopedNamespaceAsync()
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1202CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1202CSharp10UnitTests.cs
index 7473f3ac3..5ce1ec304 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1202CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1202CSharp10UnitTests.cs
@@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
StyleCop.Analyzers.OrderingRules.SA1202ElementsMustBeOrderedByAccess,
StyleCop.Analyzers.OrderingRules.ElementOrderCodeFixProvider>;
- public class SA1202CSharp10UnitTests : SA1202CSharp9UnitTests
+ public partial class SA1202CSharp10UnitTests : SA1202CSharp9UnitTests
{
///
/// Verifies that the analyzer will properly handle ordering within a file-scoped namespace.
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1203CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1203CSharp10UnitTests.cs
index 6dc18f932..56a3a16c0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1203CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1203CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
- public class SA1203CSharp10UnitTests : SA1203CSharp9UnitTests
+ public partial class SA1203CSharp10UnitTests : SA1203CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1204CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1204CSharp10UnitTests.cs
index 41b9beb9f..49d67c477 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1204CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1204CSharp10UnitTests.cs
@@ -13,7 +13,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
StyleCop.Analyzers.OrderingRules.SA1204StaticElementsMustAppearBeforeInstanceElements,
StyleCop.Analyzers.OrderingRules.ElementOrderCodeFixProvider>;
- public class SA1204CSharp10UnitTests : SA1204CSharp9UnitTests
+ public partial class SA1204CSharp10UnitTests : SA1204CSharp9UnitTests
{
///
/// Verifies that the analyzer will properly handle ordering within a file-scoped namespace.
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1205CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1205CSharp10UnitTests.cs
index 88386a516..f1a7e41a8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1205CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1205CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
- public class SA1205CSharp10UnitTests : SA1205CSharp9UnitTests
+ public partial class SA1205CSharp10UnitTests : SA1205CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CSharp10CodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CSharp10CodeFixProviderUnitTests.cs
deleted file mode 100644
index 8b0f773be..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CSharp10CodeFixProviderUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.OrderingRules
-{
- using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
-
- public class SA1206CSharp10CodeFixProviderUnitTests : SA1206CSharp9CodeFixProviderUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CSharp10UnitTests.cs
index c61447536..5956409c1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
- public class SA1206CSharp10UnitTests : SA1206CSharp9UnitTests
+ public partial class SA1206CSharp10UnitTests : SA1206CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CodeFixProviderCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CodeFixProviderCSharp10UnitTests.cs
new file mode 100644
index 000000000..a0d2bc536
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CodeFixProviderCSharp10UnitTests.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.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
+
+ public partial class SA1206CodeFixProviderCSharp10UnitTests : SA1206CodeFixProviderCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1207CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1207CSharp10UnitTests.cs
index 3c3f7fe97..87fc8261c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1207CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1207CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
- public class SA1207CSharp10UnitTests : SA1207CSharp9UnitTests
+ public partial class SA1207CSharp10UnitTests : SA1207CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1208CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1208CSharp10UnitTests.cs
index 86fe136bf..4ad732086 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1208CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1208CSharp10UnitTests.cs
@@ -13,7 +13,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
StyleCop.Analyzers.OrderingRules.SA1208SystemUsingDirectivesMustBePlacedBeforeOtherUsingDirectives,
StyleCop.Analyzers.OrderingRules.UsingCodeFixProvider>;
- public class SA1208CSharp10UnitTests : SA1208CSharp9UnitTests
+ public partial class SA1208CSharp10UnitTests : SA1208CSharp9UnitTests
{
[Fact]
[WorkItem(3437, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3437")]
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1209CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1209CSharp10UnitTests.cs
index 761118517..436808006 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1209CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1209CSharp10UnitTests.cs
@@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
StyleCop.Analyzers.OrderingRules.SA1209UsingAliasDirectivesMustBePlacedAfterOtherUsingDirectives,
StyleCop.Analyzers.OrderingRules.UsingCodeFixProvider>;
- public class SA1209CSharp10UnitTests : SA1209CSharp9UnitTests
+ public partial class SA1209CSharp10UnitTests : SA1209CSharp9UnitTests
{
[Fact]
[WorkItem(3439, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3439")]
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1210CSharp10CombinedSystemDirectivesUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1210CSharp10CombinedSystemDirectivesUnitTests.cs
deleted file mode 100644
index 20730a684..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1210CSharp10CombinedSystemDirectivesUnitTests.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-// Copyright (c) Tunnel Vision Laboratories, 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 System.Threading;
- using System.Threading.Tasks;
- using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
- using Xunit;
- using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
- StyleCop.Analyzers.OrderingRules.SA1210UsingDirectivesMustBeOrderedAlphabeticallyByNamespace,
- StyleCop.Analyzers.OrderingRules.UsingCodeFixProvider>;
-
- public class SA1210CSharp10CombinedSystemDirectivesUnitTests : SA1210CSharp9CombinedSystemDirectivesUnitTests
- {
- [Fact]
- public async Task TestUsingDirectivesInFileScopedNamespaceDeclarationAsync()
- {
- await new CSharpTest
- {
- TestSources =
- {
- @"namespace Food;
-
-[|using System.Threading;|]
-using System;
-",
- @"namespace Bar;
-
-[|using Food;|]
-using Bar;
-[|using System.Threading;|]
-using System;
-",
- },
- FixedSources =
- {
- @"namespace Food;
-
-using System;
-using System.Threading;
-",
- @"namespace Bar;
-
-using Bar;
-using Food;
-using System;
-using System.Threading;
-",
- },
- Settings = CombinedUsingDirectivesTestSettings,
- }.RunAsync(CancellationToken.None).ConfigureAwait(false);
- }
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1210CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1210CSharp10UnitTests.cs
index 549c1bd44..a72bc73d6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1210CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1210CSharp10UnitTests.cs
@@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
StyleCop.Analyzers.OrderingRules.SA1210UsingDirectivesMustBeOrderedAlphabeticallyByNamespace,
StyleCop.Analyzers.OrderingRules.UsingCodeFixProvider>;
- public class SA1210CSharp10UnitTests : SA1210CSharp9UnitTests
+ public partial class SA1210CSharp10UnitTests : SA1210CSharp9UnitTests
{
[Fact]
public async Task TestUsingDirectivesInFileScopedNamespaceDeclarationAsync()
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1210CombinedSystemDirectivesCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1210CombinedSystemDirectivesCSharp10UnitTests.cs
new file mode 100644
index 000000000..ce2f0de2d
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1210CombinedSystemDirectivesCSharp10UnitTests.cs
@@ -0,0 +1,57 @@
+// Copyright (c) Tunnel Vision Laboratories, 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 System.Threading;
+ using System.Threading.Tasks;
+ using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
+ using Xunit;
+ using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
+ StyleCop.Analyzers.OrderingRules.SA1210UsingDirectivesMustBeOrderedAlphabeticallyByNamespace,
+ StyleCop.Analyzers.OrderingRules.UsingCodeFixProvider>;
+
+ public partial class SA1210CombinedSystemDirectivesCSharp10UnitTests : SA1210CombinedSystemDirectivesCSharp9UnitTests
+ {
+ [Fact]
+ public async Task TestUsingDirectivesInFileScopedNamespaceDeclarationAsync()
+ {
+ await new CSharpTest
+ {
+ TestSources =
+ {
+ @"namespace Food;
+
+[|using System.Threading;|]
+using System;
+",
+ @"namespace Bar;
+
+[|using Food;|]
+using Bar;
+[|using System.Threading;|]
+using System;
+",
+ },
+ FixedSources =
+ {
+ @"namespace Food;
+
+using System;
+using System.Threading;
+",
+ @"namespace Bar;
+
+using Bar;
+using Food;
+using System;
+using System.Threading;
+",
+ },
+ Settings = CombinedUsingDirectivesTestSettings,
+ }.RunAsync(CancellationToken.None).ConfigureAwait(false);
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1211CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1211CSharp10UnitTests.cs
index 1b53734f0..ff4f4c376 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1211CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1211CSharp10UnitTests.cs
@@ -13,7 +13,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
StyleCop.Analyzers.OrderingRules.SA1211UsingAliasDirectivesMustBeOrderedAlphabeticallyByAliasName,
StyleCop.Analyzers.OrderingRules.UsingCodeFixProvider>;
- public class SA1211CSharp10UnitTests : SA1211CSharp9UnitTests
+ public partial class SA1211CSharp10UnitTests : SA1211CSharp9UnitTests
{
[Fact]
public async Task TestUsingDirectivesOrderingInFileScopedNamespaceAsync()
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1212CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1212CSharp10UnitTests.cs
index 76048823a..c05a647a2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1212CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1212CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
- public class SA1212CSharp10UnitTests : SA1212CSharp9UnitTests
+ public partial class SA1212CSharp10UnitTests : SA1212CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1213CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1213CSharp10UnitTests.cs
index 21b24bc6c..c54d7d31c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1213CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1213CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
- public class SA1213CSharp10UnitTests : SA1213CSharp9UnitTests
+ public partial class SA1213CSharp10UnitTests : SA1213CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1214CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1214CSharp10UnitTests.cs
index 55db320e6..dff8980b7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1214CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1214CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
- public class SA1214CSharp10UnitTests : SA1214CSharp9UnitTests
+ public partial class SA1214CSharp10UnitTests : SA1214CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1215CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1215CSharp10UnitTests.cs
index 13b705939..bf32b0e15 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1215CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1215CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
- public class SA1215CSharp10UnitTests : SA1215CSharp9UnitTests
+ public partial class SA1215CSharp10UnitTests : SA1215CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1216CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1216CSharp10UnitTests.cs
index 60a2e2f38..25d9817d3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1216CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1216CSharp10UnitTests.cs
@@ -13,7 +13,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
StyleCop.Analyzers.OrderingRules.SA1216UsingStaticDirectivesMustBePlacedAtTheCorrectLocation,
StyleCop.Analyzers.OrderingRules.UsingCodeFixProvider>;
- public class SA1216CSharp10UnitTests : SA1216CSharp9UnitTests
+ public partial class SA1216CSharp10UnitTests : SA1216CSharp9UnitTests
{
[Fact]
public async Task TestUsingDirectivesOrderingInFileScopedNamespaceAsync()
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1217CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1217CSharp10UnitTests.cs
index d7ad3ecaf..831319f1d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1217CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1217CSharp10UnitTests.cs
@@ -13,7 +13,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
StyleCop.Analyzers.OrderingRules.SA1217UsingStaticDirectivesMustBeOrderedAlphabetically,
StyleCop.Analyzers.OrderingRules.UsingCodeFixProvider>;
- public class SA1217CSharp10UnitTests : SA1217CSharp9UnitTests
+ public partial class SA1217CSharp10UnitTests : SA1217CSharp9UnitTests
{
[Fact]
public async Task TestUsingDirectivesOrderingInFileScopedNamespaceAsync()
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderCSharp10UnitTests.cs
new file mode 100644
index 000000000..1a9c83eac
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderCSharp10UnitTests.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.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
+
+ public partial class UsingCodeFixProviderCSharp10UnitTests : UsingCodeFixProviderCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp10UnitTests.cs
new file mode 100644
index 000000000..4aa74814a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp10UnitTests.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.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
+
+ public partial class UsingCodeFixProviderCombinedSystemDirectivesCSharp10UnitTests : UsingCodeFixProviderCombinedSystemDirectivesCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp10UnitTests.cs
new file mode 100644
index 000000000..c223048b9
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp10UnitTests.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.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
+
+ public partial class UsingCodeFixProviderGroupSeparationCSharp10UnitTests : UsingCodeFixProviderGroupSeparationCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderRegressionCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderRegressionCSharp10UnitTests.cs
new file mode 100644
index 000000000..569bcc146
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderRegressionCSharp10UnitTests.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.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
+
+ public partial class UsingCodeFixProviderRegressionCSharp10UnitTests : UsingCodeFixProviderRegressionCSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1100CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1100CSharp10UnitTests.cs
index 3657ae719..65be2750e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1100CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1100CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1100CSharp10UnitTests : SA1100CSharp9UnitTests
+ public partial class SA1100CSharp10UnitTests : SA1100CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1101CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1101CSharp10UnitTests.cs
index 33b092d9e..30c1fa682 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1101CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1101CSharp10UnitTests.cs
@@ -5,14 +5,14 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using System.Threading;
using System.Threading.Tasks;
+ using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- using StyleCop.Analyzers.Test.Verifiers;
using Xunit;
using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
StyleCop.Analyzers.ReadabilityRules.SA1101PrefixLocalCallsWithThis,
StyleCop.Analyzers.ReadabilityRules.SA1101CodeFixProvider>;
- public class SA1101CSharp10UnitTests : SA1101CSharp9UnitTests
+ public partial class SA1101CSharp10UnitTests : SA1101CSharp9UnitTests
{
[Fact]
[WorkItem(3472, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3472")]
@@ -29,11 +29,7 @@ public bool Method(Test arg)
}
}";
- await new CSharpTest()
- {
- ReferenceAssemblies = GenericAnalyzerTest.ReferenceAssembliesNet60,
- TestCode = testCode,
- }.RunAsync(CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1102CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1102CSharp10UnitTests.cs
index 86babe1e8..2b427c3d8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1102CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1102CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1102CSharp10UnitTests : SA1102CSharp9UnitTests
+ public partial class SA1102CSharp10UnitTests : SA1102CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1103CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1103CSharp10UnitTests.cs
index 4af5c9679..e9084f222 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1103CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1103CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1103CSharp10UnitTests : SA1103CSharp9UnitTests
+ public partial class SA1103CSharp10UnitTests : SA1103CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1104CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1104CSharp10UnitTests.cs
index 45d572981..4da434339 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1104CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1104CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1104CSharp10UnitTests : SA1104CSharp9UnitTests
+ public partial class SA1104CSharp10UnitTests : SA1104CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1105CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1105CSharp10UnitTests.cs
index 63ac7b392..d61c48777 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1105CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1105CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1105CSharp10UnitTests : SA1105CSharp9UnitTests
+ public partial class SA1105CSharp10UnitTests : SA1105CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1106CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1106CSharp10UnitTests.cs
index 1fd3814c5..3e2037cc9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1106CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1106CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1106CSharp10UnitTests : SA1106CSharp9UnitTests
+ public partial class SA1106CSharp10UnitTests : SA1106CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1107CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1107CSharp10UnitTests.cs
index 057d7ac97..21a98655f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1107CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1107CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1107CSharp10UnitTests : SA1107CSharp9UnitTests
+ public partial class SA1107CSharp10UnitTests : SA1107CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1108CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1108CSharp10UnitTests.cs
index 4b33e0a1e..baf907237 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1108CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1108CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1108CSharp10UnitTests : SA1108CSharp9UnitTests
+ public partial class SA1108CSharp10UnitTests : SA1108CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1109CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1109CSharp10UnitTests.cs
index 98cc55578..87350eeee 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1109CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1109CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1109CSharp10UnitTests : SA1109CSharp9UnitTests
+ public partial class SA1109CSharp10UnitTests : SA1109CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1110CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1110CSharp10UnitTests.cs
index 35259f35f..4f20adcf0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1110CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1110CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1110CSharp10UnitTests : SA1110CSharp9UnitTests
+ public partial class SA1110CSharp10UnitTests : SA1110CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1111CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1111CSharp10UnitTests.cs
index 53a3dd3f0..59ddf2bd7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1111CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1111CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1111CSharp10UnitTests : SA1111CSharp9UnitTests
+ public partial class SA1111CSharp10UnitTests : SA1111CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1112CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1112CSharp10UnitTests.cs
index 68994e055..e9e55758d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1112CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1112CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1112CSharp10UnitTests : SA1112CSharp9UnitTests
+ public partial class SA1112CSharp10UnitTests : SA1112CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1113CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1113CSharp10UnitTests.cs
index 289d414ee..f1f0f5f3f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1113CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1113CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1113CSharp10UnitTests : SA1113CSharp9UnitTests
+ public partial class SA1113CSharp10UnitTests : SA1113CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1114CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1114CSharp10UnitTests.cs
index b9aa3a896..6f96d7ba4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1114CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1114CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1114CSharp10UnitTests : SA1114CSharp9UnitTests
+ public partial class SA1114CSharp10UnitTests : SA1114CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1115CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1115CSharp10UnitTests.cs
index 0aed603e1..35b474629 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1115CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1115CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1115CSharp10UnitTests : SA1115CSharp9UnitTests
+ public partial class SA1115CSharp10UnitTests : SA1115CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1116CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1116CSharp10UnitTests.cs
index 6f8005f83..3583aa5b0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1116CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1116CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1116CSharp10UnitTests : SA1116CSharp9UnitTests
+ public partial class SA1116CSharp10UnitTests : SA1116CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1117CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1117CSharp10UnitTests.cs
index 46446319b..6bda75aef 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1117CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1117CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1117CSharp10UnitTests : SA1117CSharp9UnitTests
+ public partial class SA1117CSharp10UnitTests : SA1117CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1118CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1118CSharp10UnitTests.cs
index 3de516241..5e058ac48 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1118CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1118CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1118CSharp10UnitTests : SA1118CSharp9UnitTests
+ public partial class SA1118CSharp10UnitTests : SA1118CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1120CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1120CSharp10UnitTests.cs
index c7320329d..0a563797e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1120CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1120CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1120CSharp10UnitTests : SA1120CSharp9UnitTests
+ public partial class SA1120CSharp10UnitTests : SA1120CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1121CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1121CSharp10UnitTests.cs
index e0373a85f..ef49e9a37 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1121CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1121CSharp10UnitTests.cs
@@ -13,7 +13,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
StyleCop.Analyzers.ReadabilityRules.SA1121UseBuiltInTypeAlias,
StyleCop.Analyzers.ReadabilityRules.SA1121CodeFixProvider>;
- public class SA1121CSharp10UnitTests : SA1121CSharp9UnitTests
+ public partial class SA1121CSharp10UnitTests : SA1121CSharp9UnitTests
{
[Fact]
public async Task TestUsingNameChangeInFileScopedNamespaceAsync()
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1122CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1122CSharp10UnitTests.cs
index 6114a5af3..cccee3bb6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1122CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1122CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1122CSharp10UnitTests : SA1122CSharp9UnitTests
+ public partial class SA1122CSharp10UnitTests : SA1122CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1123CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1123CSharp10UnitTests.cs
index 11fb3e6ee..42040e17a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1123CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1123CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1123CSharp10UnitTests : SA1123CSharp9UnitTests
+ public partial class SA1123CSharp10UnitTests : SA1123CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1124CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1124CSharp10UnitTests.cs
index 594c5ac75..2a24233ca 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1124CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1124CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1124CSharp10UnitTests : SA1124CSharp9UnitTests
+ public partial class SA1124CSharp10UnitTests : SA1124CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1125CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1125CSharp10UnitTests.cs
index 9c5dc8053..80b390729 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1125CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1125CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1125CSharp10UnitTests : SA1125CSharp9UnitTests
+ public partial class SA1125CSharp10UnitTests : SA1125CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1126CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1126CSharp10UnitTests.cs
index 5644b9126..6bd22aee8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1126CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1126CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1126CSharp10UnitTests : SA1126CSharp9UnitTests
+ public partial class SA1126CSharp10UnitTests : SA1126CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1127CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1127CSharp10UnitTests.cs
index 1599e83d4..10a0c2436 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1127CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1127CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1127CSharp10UnitTests : SA1127CSharp9UnitTests
+ public partial class SA1127CSharp10UnitTests : SA1127CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1128CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1128CSharp10UnitTests.cs
index d987dd80d..429b7fc5a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1128CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1128CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1128CSharp10UnitTests : SA1128CSharp9UnitTests
+ public partial class SA1128CSharp10UnitTests : SA1128CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1129CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1129CSharp10UnitTests.cs
index f4866d457..bd97ba2c9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1129CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1129CSharp10UnitTests.cs
@@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
StyleCop.Analyzers.ReadabilityRules.SA1129DoNotUseDefaultValueTypeConstructor,
StyleCop.Analyzers.ReadabilityRules.SA1129CodeFixProvider>;
- public class SA1129CSharp10UnitTests : SA1129CSharp9UnitTests
+ public partial class SA1129CSharp10UnitTests : SA1129CSharp9UnitTests
{
[Fact]
[WorkItem(3430, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3430")]
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1130CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1130CSharp10UnitTests.cs
index 3260f9d97..b016726c7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1130CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1130CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1130CSharp10UnitTests : SA1130CSharp9UnitTests
+ public partial class SA1130CSharp10UnitTests : SA1130CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1131CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1131CSharp10UnitTests.cs
index 4177bde62..fbc5dff16 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1131CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1131CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1131CSharp10UnitTests : SA1131CSharp9UnitTests
+ public partial class SA1131CSharp10UnitTests : SA1131CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1132CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1132CSharp10UnitTests.cs
index 1f427a4a9..26312a7c6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1132CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1132CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1132CSharp10UnitTests : SA1132CSharp9UnitTests
+ public partial class SA1132CSharp10UnitTests : SA1132CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1133CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1133CSharp10UnitTests.cs
index 1f93c0c3a..ad8ecc518 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1133CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1133CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1133CSharp10UnitTests : SA1133CSharp9UnitTests
+ public partial class SA1133CSharp10UnitTests : SA1133CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1134CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1134CSharp10UnitTests.cs
index 6e0983aff..93be7b460 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1134CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1134CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1134CSharp10UnitTests : SA1134CSharp9UnitTests
+ public partial class SA1134CSharp10UnitTests : SA1134CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1135CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1135CSharp10UnitTests.cs
index adb530dbd..e6dc85620 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1135CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1135CSharp10UnitTests.cs
@@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
StyleCop.Analyzers.ReadabilityRules.SA1135UsingDirectivesMustBeQualified,
StyleCop.Analyzers.ReadabilityRules.SA1135CodeFixProvider>;
- public class SA1135CSharp10UnitTests : SA1135CSharp9UnitTests
+ public partial class SA1135CSharp10UnitTests : SA1135CSharp9UnitTests
{
[Fact]
[WorkItem(3415, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3415")]
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1136CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1136CSharp10UnitTests.cs
index 5ab41b0d4..9d08d322c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1136CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1136CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1136CSharp10UnitTests : SA1136CSharp9UnitTests
+ public partial class SA1136CSharp10UnitTests : SA1136CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1137CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1137CSharp10UnitTests.cs
index 86fdbe020..c0d8e2662 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1137CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1137CSharp10UnitTests.cs
@@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
StyleCop.Analyzers.ReadabilityRules.SA1137ElementsShouldHaveTheSameIndentation,
StyleCop.Analyzers.ReadabilityRules.IndentationCodeFixProvider>;
- public class SA1137CSharp10UnitTests : SA1137CSharp9UnitTests
+ public partial class SA1137CSharp10UnitTests : SA1137CSharp9UnitTests
{
[Theory]
[MemberData(nameof(CommonMemberData.BaseTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))]
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1139CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1139CSharp10UnitTests.cs
index 82b3c4779..2e7b2e6dc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1139CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1139CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SA1139CSharp10UnitTests : SA1139CSharp9UnitTests
+ public partial class SA1139CSharp10UnitTests : SA1139CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1141CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1141CSharp10UnitTests.cs
new file mode 100644
index 000000000..ba8e4bc25
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1141CSharp10UnitTests.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.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
+
+ public partial class SA1141CSharp10UnitTests : SA1141CSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1142CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1142CSharp10UnitTests.cs
new file mode 100644
index 000000000..2667d72ec
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1142CSharp10UnitTests.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.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
+
+ public partial class SA1142CSharp10UnitTests : SA1142CSharp9UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SX1101CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SX1101CSharp10UnitTests.cs
index fd664e80e..709ef958a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SX1101CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SX1101CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp9.ReadabilityRules;
- public class SX1101CSharp10UnitTests : SX1101CSharp9UnitTests
+ public partial class SX1101CSharp10UnitTests : SX1101CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Settings/SettingsCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Settings/SettingsCSharp10UnitTests.cs
index 6b8f8868c..12a8acb20 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Settings/SettingsCSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Settings/SettingsCSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.Settings
{
using StyleCop.Analyzers.Test.CSharp9.Settings;
- public class SettingsCSharp10UnitTests : SettingsCSharp9UnitTests
+ public partial class SettingsCSharp10UnitTests : SettingsCSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Settings/SettingsFileCodeFixProviderCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Settings/SettingsFileCodeFixProviderCSharp10UnitTests.cs
index 5155846e9..1299dd5ab 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Settings/SettingsFileCodeFixProviderCSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Settings/SettingsFileCodeFixProviderCSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.Settings
{
using StyleCop.Analyzers.Test.CSharp9.Settings;
- public class SettingsFileCodeFixProviderCSharp10UnitTests : SettingsFileCodeFixProviderCSharp9UnitTests
+ public partial class SettingsFileCodeFixProviderCSharp10UnitTests : SettingsFileCodeFixProviderCSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1000CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1000CSharp10UnitTests.cs
index b4d151b43..4ea149535 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1000CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1000CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1000CSharp10UnitTests : SA1000CSharp9UnitTests
+ public partial class SA1000CSharp10UnitTests : SA1000CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1001CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1001CSharp10UnitTests.cs
index 768392a22..6d39da657 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1001CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1001CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1001CSharp10UnitTests : SA1001CSharp9UnitTests
+ public partial class SA1001CSharp10UnitTests : SA1001CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1002CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1002CSharp10UnitTests.cs
index 94322d3ff..fc096bc83 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1002CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1002CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1002CSharp10UnitTests : SA1002CSharp9UnitTests
+ public partial class SA1002CSharp10UnitTests : SA1002CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1003CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1003CSharp10UnitTests.cs
index 46e6c4501..ae1bcee2f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1003CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1003CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1003CSharp10UnitTests : SA1003CSharp9UnitTests
+ public partial class SA1003CSharp10UnitTests : SA1003CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1004CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1004CSharp10UnitTests.cs
index bde5ebbce..8a1e5dc27 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1004CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1004CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1004CSharp10UnitTests : SA1004CSharp9UnitTests
+ public partial class SA1004CSharp10UnitTests : SA1004CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1005CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1005CSharp10UnitTests.cs
index 465b8fa49..637a825ab 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1005CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1005CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1005CSharp10UnitTests : SA1005CSharp9UnitTests
+ public partial class SA1005CSharp10UnitTests : SA1005CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1006CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1006CSharp10UnitTests.cs
index d75904267..fe38a82f5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1006CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1006CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1006CSharp10UnitTests : SA1006CSharp9UnitTests
+ public partial class SA1006CSharp10UnitTests : SA1006CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1007CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1007CSharp10UnitTests.cs
index c451421ea..7aa8fc7cb 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1007CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1007CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1007CSharp10UnitTests : SA1007CSharp9UnitTests
+ public partial class SA1007CSharp10UnitTests : SA1007CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1008CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1008CSharp10UnitTests.cs
index 19682c78e..9111642a0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1008CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1008CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1008CSharp10UnitTests : SA1008CSharp9UnitTests
+ public partial class SA1008CSharp10UnitTests : SA1008CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1009CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1009CSharp10UnitTests.cs
index 30050c786..3ad8c5f64 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1009CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1009CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1009CSharp10UnitTests : SA1009CSharp9UnitTests
+ public partial class SA1009CSharp10UnitTests : SA1009CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1010CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1010CSharp10UnitTests.cs
index eefa78401..a68aaa005 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1010CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1010CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1010CSharp10UnitTests : SA1010CSharp9UnitTests
+ public partial class SA1010CSharp10UnitTests : SA1010CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1011CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1011CSharp10UnitTests.cs
index 74a196933..7c6a011f1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1011CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1011CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1011CSharp10UnitTests : SA1011CSharp9UnitTests
+ public partial class SA1011CSharp10UnitTests : SA1011CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1012CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1012CSharp10UnitTests.cs
index 2d293f8ec..a0f6fbeca 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1012CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1012CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1012CSharp10UnitTests : SA1012CSharp9UnitTests
+ public partial class SA1012CSharp10UnitTests : SA1012CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1013CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1013CSharp10UnitTests.cs
index 84795bce5..7c22de145 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1013CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1013CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1013CSharp10UnitTests : SA1013CSharp9UnitTests
+ public partial class SA1013CSharp10UnitTests : SA1013CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1014CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1014CSharp10UnitTests.cs
index 13f887527..a6b6f1599 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1014CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1014CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1014CSharp10UnitTests : SA1014CSharp9UnitTests
+ public partial class SA1014CSharp10UnitTests : SA1014CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1015CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1015CSharp10UnitTests.cs
index 8a9a87fd8..33281fdce 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1015CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1015CSharp10UnitTests.cs
@@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
StyleCop.Analyzers.SpacingRules.SA1015ClosingGenericBracketsMustBeSpacedCorrectly,
StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>;
- public class SA1015CSharp10UnitTests : SA1015CSharp9UnitTests
+ public partial class SA1015CSharp10UnitTests : SA1015CSharp9UnitTests
{
[Fact]
[WorkItem(3624, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3624")]
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1016CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1016CSharp10UnitTests.cs
index fc5978065..55cef2cba 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1016CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1016CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1016CSharp10UnitTests : SA1016CSharp9UnitTests
+ public partial class SA1016CSharp10UnitTests : SA1016CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1017CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1017CSharp10UnitTests.cs
index fc05be503..ddb538791 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1017CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1017CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1017CSharp10UnitTests : SA1017CSharp9UnitTests
+ public partial class SA1017CSharp10UnitTests : SA1017CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1018CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1018CSharp10UnitTests.cs
index b49b6b6a3..89ad42ec7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1018CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1018CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1018CSharp10UnitTests : SA1018CSharp9UnitTests
+ public partial class SA1018CSharp10UnitTests : SA1018CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1019CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1019CSharp10UnitTests.cs
index e40122fb1..510f4b7a9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1019CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1019CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1019CSharp10UnitTests : SA1019CSharp9UnitTests
+ public partial class SA1019CSharp10UnitTests : SA1019CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1020CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1020CSharp10UnitTests.cs
index 6e47fad3f..358a4f9ec 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1020CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1020CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1020CSharp10UnitTests : SA1020CSharp9UnitTests
+ public partial class SA1020CSharp10UnitTests : SA1020CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1021CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1021CSharp10UnitTests.cs
index 0fd46c3fd..e2e934759 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1021CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1021CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1021CSharp10UnitTests : SA1021CSharp9UnitTests
+ public partial class SA1021CSharp10UnitTests : SA1021CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1022CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1022CSharp10UnitTests.cs
index 7b05c1658..74fb79c31 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1022CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1022CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1022CSharp10UnitTests : SA1022CSharp9UnitTests
+ public partial class SA1022CSharp10UnitTests : SA1022CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1023CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1023CSharp10UnitTests.cs
index 38d0649f6..b4fd263af 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1023CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1023CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1023CSharp10UnitTests : SA1023CSharp9UnitTests
+ public partial class SA1023CSharp10UnitTests : SA1023CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1024CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1024CSharp10UnitTests.cs
index 9104d2f2e..a1024d769 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1024CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1024CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1024CSharp10UnitTests : SA1024CSharp9UnitTests
+ public partial class SA1024CSharp10UnitTests : SA1024CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1025CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1025CSharp10UnitTests.cs
index 88530c859..ec813bcc0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1025CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1025CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1025CSharp10UnitTests : SA1025CSharp9UnitTests
+ public partial class SA1025CSharp10UnitTests : SA1025CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1026CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1026CSharp10UnitTests.cs
index ed82a6b32..130c0f9db 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1026CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1026CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1026CSharp10UnitTests : SA1026CSharp9UnitTests
+ public partial class SA1026CSharp10UnitTests : SA1026CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027AlternateIndentationCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027AlternateIndentationCSharp10UnitTests.cs
index 0ba22b89f..a62a9ca66 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027AlternateIndentationCSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027AlternateIndentationCSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1027AlternateIndentationCSharp10UnitTests : SA1027AlternateIndentationCSharp9UnitTests
+ public partial class SA1027AlternateIndentationCSharp10UnitTests : SA1027AlternateIndentationCSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027CSharp10UnitTests.cs
index 0057b519f..18f2a3e99 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1027CSharp10UnitTests : SA1027CSharp9UnitTests
+ public partial class SA1027CSharp10UnitTests : SA1027CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027UseTabsCSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027UseTabsCSharp10UnitTests.cs
index 09f54a633..54103d8cb 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027UseTabsCSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1027UseTabsCSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1027UseTabsCSharp10UnitTests : SA1027UseTabsCSharp9UnitTests
+ public partial class SA1027UseTabsCSharp10UnitTests : SA1027UseTabsCSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1028CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1028CSharp10UnitTests.cs
index d50920433..8a8b07424 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1028CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpacingRules/SA1028CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp9.SpacingRules;
- public class SA1028CSharp10UnitTests : SA1028CSharp9UnitTests
+ public partial class SA1028CSharp10UnitTests : SA1028CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpecialRules/SA0001CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpecialRules/SA0001CSharp10UnitTests.cs
index 065373a6b..aa6723152 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpecialRules/SA0001CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpecialRules/SA0001CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpecialRules
{
using StyleCop.Analyzers.Test.CSharp9.SpecialRules;
- public class SA0001CSharp10UnitTests : SA0001CSharp9UnitTests
+ public partial class SA0001CSharp10UnitTests : SA0001CSharp9UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpecialRules/SA0002CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpecialRules/SA0002CSharp10UnitTests.cs
index 13513a76c..ac319bfb1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpecialRules/SA0002CSharp10UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/SpecialRules/SA0002CSharp10UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.SpecialRules
{
using StyleCop.Analyzers.Test.CSharp9.SpecialRules;
- public class SA0002CSharp10UnitTests : SA0002CSharp9UnitTests
+ public partial class SA0002CSharp10UnitTests : SA0002CSharp9UnitTests
{
}
}
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 fdf190e99..34d936714 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
@@ -30,6 +30,7 @@
+
\ No newline at end of file
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/AnalyzerConfigurationCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/AnalyzerConfigurationCSharp11UnitTests.cs
new file mode 100644
index 000000000..25fd38b43
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/AnalyzerConfigurationCSharp11UnitTests.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
+{
+ using StyleCop.Analyzers.Test.CSharp10;
+
+ public partial class AnalyzerConfigurationCSharp11UnitTests : AnalyzerConfigurationCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/AnalyzerConfigurationTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/AnalyzerConfigurationTestsCSharp11.cs
deleted file mode 100644
index b19535852..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/AnalyzerConfigurationTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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
-{
- using StyleCop.Analyzers.Test.CSharp10;
-
- public class AnalyzerConfigurationTestsCSharp11 : AnalyzerConfigurationTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/CSharp11InheritdocCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/CSharp11InheritdocCodeFixProviderUnitTests.cs
deleted file mode 100644
index 3d945b440..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/CSharp11InheritdocCodeFixProviderUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.DocumentationRules
-{
- using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
-
- public class CSharp11InheritdocCodeFixProviderUnitTests : CSharp10InheritdocCodeFixProviderUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/CSharp11NoXmlFileHeaderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/CSharp11NoXmlFileHeaderUnitTests.cs
deleted file mode 100644
index 3ada085f4..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/CSharp11NoXmlFileHeaderUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.DocumentationRules
-{
- using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
-
- public class CSharp11NoXmlFileHeaderUnitTests : CSharp10NoXmlFileHeaderUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/InheritdocCodeFixProviderCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/InheritdocCodeFixProviderCSharp11UnitTests.cs
new file mode 100644
index 000000000..423f6df7d
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/InheritdocCodeFixProviderCSharp11UnitTests.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.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
+
+ public partial class InheritdocCodeFixProviderCSharp11UnitTests : InheritdocCodeFixProviderCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/NoXmlFileHeaderCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/NoXmlFileHeaderCSharp11UnitTests.cs
new file mode 100644
index 000000000..4c11bd3da
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/NoXmlFileHeaderCSharp11UnitTests.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.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
+
+ public partial class NoXmlFileHeaderCSharp11UnitTests : NoXmlFileHeaderCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1600CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1600CSharp11UnitTests.cs
index d91a79b20..1d1777cda 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1600CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1600CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1600CSharp11UnitTests : SA1600CSharp10UnitTests
+ public partial class SA1600CSharp11UnitTests : SA1600CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1601CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1601CSharp11UnitTests.cs
index fad47d24d..6d82b05ad 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1601CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1601CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1601CSharp11UnitTests : SA1601CSharp10UnitTests
+ public partial class SA1601CSharp11UnitTests : SA1601CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1602CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1602CSharp11UnitTests.cs
index 21f284aa6..077774a71 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1602CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1602CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1602CSharp11UnitTests : SA1602CSharp10UnitTests
+ public partial class SA1602CSharp11UnitTests : SA1602CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1603CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1603CSharp11UnitTests.cs
index ea2e4b9c4..e8a57aa97 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1603CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1603CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1603CSharp11UnitTests : SA1603CSharp10UnitTests
+ public partial class SA1603CSharp11UnitTests : SA1603CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1604CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1604CSharp11UnitTests.cs
index 02d940485..32d78f7c0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1604CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1604CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1604CSharp11UnitTests : SA1604CSharp10UnitTests
+ public partial class SA1604CSharp11UnitTests : SA1604CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1605CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1605CSharp11UnitTests.cs
index bd46fdc8d..312e28bab 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1605CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1605CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1605CSharp11UnitTests : SA1605CSharp10UnitTests
+ public partial class SA1605CSharp11UnitTests : SA1605CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1606CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1606CSharp11UnitTests.cs
index 2d7b74975..786ac6e06 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1606CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1606CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1606CSharp11UnitTests : SA1606CSharp10UnitTests
+ public partial class SA1606CSharp11UnitTests : SA1606CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1607CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1607CSharp11UnitTests.cs
index 09f2aa2b7..5ad9cb910 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1607CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1607CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1607CSharp11UnitTests : SA1607CSharp10UnitTests
+ public partial class SA1607CSharp11UnitTests : SA1607CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1608CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1608CSharp11UnitTests.cs
index 17f877db5..d2db803ca 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1608CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1608CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1608CSharp11UnitTests : SA1608CSharp10UnitTests
+ public partial class SA1608CSharp11UnitTests : SA1608CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1609CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1609CSharp11UnitTests.cs
index 0d9e65528..a6498b7d0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1609CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1609CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1609CSharp11UnitTests : SA1609CSharp10UnitTests
+ public partial class SA1609CSharp11UnitTests : SA1609CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1610CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1610CSharp11UnitTests.cs
index d4b54f44e..43bc82ad4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1610CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1610CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1610CSharp11UnitTests : SA1610CSharp10UnitTests
+ public partial class SA1610CSharp11UnitTests : SA1610CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1611CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1611CSharp11UnitTests.cs
index 3b9a5f79a..b9b3c5162 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1611CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1611CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1611CSharp11UnitTests : SA1611CSharp10UnitTests
+ public partial class SA1611CSharp11UnitTests : SA1611CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1612CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1612CSharp11UnitTests.cs
index d2f93dbaa..f3dd55fad 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1612CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1612CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1612CSharp11UnitTests : SA1612CSharp10UnitTests
+ public partial class SA1612CSharp11UnitTests : SA1612CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1613CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1613CSharp11UnitTests.cs
index afad0d437..c96f335d0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1613CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1613CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1613CSharp11UnitTests : SA1613CSharp10UnitTests
+ public partial class SA1613CSharp11UnitTests : SA1613CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1614CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1614CSharp11UnitTests.cs
index 028dd9e8f..42b500aba 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1614CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1614CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1614CSharp11UnitTests : SA1614CSharp10UnitTests
+ public partial class SA1614CSharp11UnitTests : SA1614CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1615CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1615CSharp11UnitTests.cs
index 1e85e039f..c30162419 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1615CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1615CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1615CSharp11UnitTests : SA1615CSharp10UnitTests
+ public partial class SA1615CSharp11UnitTests : SA1615CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1616CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1616CSharp11UnitTests.cs
index e83b5e364..b011a44e3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1616CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1616CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1616CSharp11UnitTests : SA1616CSharp10UnitTests
+ public partial class SA1616CSharp11UnitTests : SA1616CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1617CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1617CSharp11UnitTests.cs
index 9dd2ef101..6ce80dc08 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1617CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1617CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1617CSharp11UnitTests : SA1617CSharp10UnitTests
+ public partial class SA1617CSharp11UnitTests : SA1617CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1618CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1618CSharp11UnitTests.cs
index 1a7e27873..389dc5f5c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1618CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1618CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1618CSharp11UnitTests : SA1618CSharp10UnitTests
+ public partial class SA1618CSharp11UnitTests : SA1618CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1619CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1619CSharp11UnitTests.cs
index ee4a26082..f6e31309c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1619CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1619CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1619CSharp11UnitTests : SA1619CSharp10UnitTests
+ public partial class SA1619CSharp11UnitTests : SA1619CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1620CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1620CSharp11UnitTests.cs
index 3fa02b77c..c3ced9ac5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1620CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1620CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1620CSharp11UnitTests : SA1620CSharp10UnitTests
+ public partial class SA1620CSharp11UnitTests : SA1620CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1621CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1621CSharp11UnitTests.cs
index cee3b69c2..4a0ebe8dc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1621CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1621CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1621CSharp11UnitTests : SA1621CSharp10UnitTests
+ public partial class SA1621CSharp11UnitTests : SA1621CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1622CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1622CSharp11UnitTests.cs
index 2a10ccf8e..de9d051d6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1622CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1622CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1622CSharp11UnitTests : SA1622CSharp10UnitTests
+ public partial class SA1622CSharp11UnitTests : SA1622CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1623CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1623CSharp11UnitTests.cs
index 71d9c821d..12b17ba15 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1623CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1623CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1623CSharp11UnitTests : SA1623CSharp10UnitTests
+ public partial class SA1623CSharp11UnitTests : SA1623CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1624CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1624CSharp11UnitTests.cs
index eaa0b8030..d56e9bf11 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1624CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1624CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1624CSharp11UnitTests : SA1624CSharp10UnitTests
+ public partial class SA1624CSharp11UnitTests : SA1624CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1625CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1625CSharp11UnitTests.cs
index 0e8b33b9c..da0f6d502 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1625CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1625CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1625CSharp11UnitTests : SA1625CSharp10UnitTests
+ public partial class SA1625CSharp11UnitTests : SA1625CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1626CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1626CSharp11UnitTests.cs
index d75093842..a450810b6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1626CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1626CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1626CSharp11UnitTests : SA1626CSharp10UnitTests
+ public partial class SA1626CSharp11UnitTests : SA1626CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1627CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1627CSharp11UnitTests.cs
index 49e53ac69..a5649738c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1627CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1627CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1627CSharp11UnitTests : SA1627CSharp10UnitTests
+ public partial class SA1627CSharp11UnitTests : SA1627CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1628CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1628CSharp11UnitTests.cs
index a05691c01..ac541ac47 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1628CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1628CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1628CSharp11UnitTests : SA1628CSharp10UnitTests
+ public partial class SA1628CSharp11UnitTests : SA1628CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1629CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1629CSharp11UnitTests.cs
index b5a690337..a77152cf8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1629CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1629CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1629CSharp11UnitTests : SA1629CSharp10UnitTests
+ public partial class SA1629CSharp11UnitTests : SA1629CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1630CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1630CSharp11UnitTests.cs
index ccb42bbad..83a0c8824 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1630CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1630CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1630CSharp11UnitTests : SA1630CSharp10UnitTests
+ public partial class SA1630CSharp11UnitTests : SA1630CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1631CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1631CSharp11UnitTests.cs
index d76c6cb65..b12b7c2a9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1631CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1631CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1631CSharp11UnitTests : SA1631CSharp10UnitTests
+ public partial class SA1631CSharp11UnitTests : SA1631CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1632CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1632CSharp11UnitTests.cs
index 3fa186631..c00b8b8ac 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1632CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1632CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1632CSharp11UnitTests : SA1632CSharp10UnitTests
+ public partial class SA1632CSharp11UnitTests : SA1632CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1633CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1633CSharp11UnitTests.cs
index 748be23ec..4634c075a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1633CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1633CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1633CSharp11UnitTests : SA1633CSharp10UnitTests
+ public partial class SA1633CSharp11UnitTests : SA1633CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1634CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1634CSharp11UnitTests.cs
index 0bbd8b742..cd7f9209f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1634CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1634CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1634CSharp11UnitTests : SA1634CSharp10UnitTests
+ public partial class SA1634CSharp11UnitTests : SA1634CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1635CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1635CSharp11UnitTests.cs
index 593016a51..4cdb22ba5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1635CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1635CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1635CSharp11UnitTests : SA1635CSharp10UnitTests
+ public partial class SA1635CSharp11UnitTests : SA1635CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1636CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1636CSharp11UnitTests.cs
index e7e16e4f6..003c38325 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1636CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1636CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1636CSharp11UnitTests : SA1636CSharp10UnitTests
+ public partial class SA1636CSharp11UnitTests : SA1636CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1637CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1637CSharp11UnitTests.cs
index a0fc6a707..8cba85f4d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1637CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1637CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1637CSharp11UnitTests : SA1637CSharp10UnitTests
+ public partial class SA1637CSharp11UnitTests : SA1637CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1638CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1638CSharp11UnitTests.cs
index a7d256f50..d3efe648a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1638CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1638CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1638CSharp11UnitTests : SA1638CSharp10UnitTests
+ public partial class SA1638CSharp11UnitTests : SA1638CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1639CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1639CSharp11UnitTests.cs
index 8eda690bd..d7e1e0f72 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1639CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1639CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1639CSharp11UnitTests : SA1639CSharp10UnitTests
+ public partial class SA1639CSharp11UnitTests : SA1639CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1640CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1640CSharp11UnitTests.cs
index 194fce61f..56320024e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1640CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1640CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1640CSharp11UnitTests : SA1640CSharp10UnitTests
+ public partial class SA1640CSharp11UnitTests : SA1640CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1641CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1641CSharp11UnitTests.cs
index b5e4794d5..c5d2185c0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1641CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1641CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1641CSharp11UnitTests : SA1641CSharp10UnitTests
+ public partial class SA1641CSharp11UnitTests : SA1641CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1642CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1642CSharp11UnitTests.cs
index 59fb29bd3..e215494e2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1642CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1642CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1642CSharp11UnitTests : SA1642CSharp10UnitTests
+ public partial class SA1642CSharp11UnitTests : SA1642CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1643CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1643CSharp11UnitTests.cs
index 4c4c9b9bd..d7596856c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1643CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1643CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1643CSharp11UnitTests : SA1643CSharp10UnitTests
+ public partial class SA1643CSharp11UnitTests : SA1643CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1644CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1644CSharp11UnitTests.cs
index bf152b530..049ff9ffc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1644CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1644CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1644CSharp11UnitTests : SA1644CSharp10UnitTests
+ public partial class SA1644CSharp11UnitTests : SA1644CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1645CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1645CSharp11UnitTests.cs
index 86e45053d..2c2b03454 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1645CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1645CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1645CSharp11UnitTests : SA1645CSharp10UnitTests
+ public partial class SA1645CSharp11UnitTests : SA1645CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1646CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1646CSharp11UnitTests.cs
index d04c9907f..17e1aa988 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1646CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1646CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1646CSharp11UnitTests : SA1646CSharp10UnitTests
+ public partial class SA1646CSharp11UnitTests : SA1646CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1647CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1647CSharp11UnitTests.cs
index 28b2f10ca..5042fa79a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1647CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1647CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1647CSharp11UnitTests : SA1647CSharp10UnitTests
+ public partial class SA1647CSharp11UnitTests : SA1647CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1648CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1648CSharp11UnitTests.cs
index 96aba9aa4..86f74283c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1648CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1648CSharp11UnitTests.cs
@@ -3,9 +3,46 @@
namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
+ using System.Threading;
+ using System.Threading.Tasks;
+ using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
+ using Xunit;
- public class SA1648CSharp11UnitTests : SA1648CSharp10UnitTests
+ public partial class SA1648CSharp11UnitTests : SA1648CSharp10UnitTests
{
+ [WorkItem(3595, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3595")]
+ [Theory]
+ [InlineData("abstract void TestMethod();", "public void TestMethod() {}")]
+ [InlineData("abstract void TestMethod();", "void TestInterface.TestMethod() {}")]
+ [InlineData("virtual void TestMethod() {}", "public void TestMethod() {}")]
+ [InlineData("virtual void TestMethod() {}", "void TestInterface.TestMethod() {}")]
+ [InlineData("abstract int TestProperty { get; set; }", "public int TestProperty { get; set; }")]
+ [InlineData("abstract int TestProperty { get; set; }", "int TestInterface.TestProperty { get; set; }")]
+ [InlineData("virtual int TestProperty { get; set; }", "public int TestProperty { get; set; }")]
+ [InlineData("virtual int TestProperty { get; set; }", "int TestInterface.TestProperty { get; set; }")]
+ [InlineData("abstract event System.Action TestEvent;", "public event System.Action TestEvent;")]
+ [InlineData("abstract event System.Action TestEvent;", "event System.Action TestInterface.TestEvent { add {} remove {} }")]
+ [InlineData("virtual event System.Action TestEvent;", "public event System.Action TestEvent;")]
+ [InlineData("virtual event System.Action TestEvent;", "event System.Action TestInterface.TestEvent { add {} remove {} }")]
+ public async Task TestCorrectMemberInheritDocFromStaticAbstractOrVirtualMemberInInterfaceAsync(string interfaceMember, string classMember)
+ {
+ var testCode = $@"
+public interface TestInterface
+{{
+ ///
+ /// A summary text.
+ ///
+ static {interfaceMember}
+}}
+
+public class TestClass : TestInterface
+{{
+ ///
+ static {classMember}
+}}";
+
+ await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ }
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1649CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1649CSharp11UnitTests.cs
index ab042651a..915c775fb 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1649CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1649CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1649CSharp11UnitTests : SA1649CSharp10UnitTests
+ public partial class SA1649CSharp11UnitTests : SA1649CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1650CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1650CSharp11UnitTests.cs
index 9169107de..379885e98 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1650CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1650CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1650CSharp11UnitTests : SA1650CSharp10UnitTests
+ public partial class SA1650CSharp11UnitTests : SA1650CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1651CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1651CSharp11UnitTests.cs
index 9f13fe453..ccdf93be2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1651CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1651CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp10.DocumentationRules;
- public class SA1651CSharp11UnitTests : SA1651CSharp10UnitTests
+ public partial class SA1651CSharp11UnitTests : SA1651CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/HelperTests/SymbolNameHelpersCSharp11Tests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/HelperTests/SymbolNameHelpersCSharp11Tests.cs
deleted file mode 100644
index b3aea1161..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/HelperTests/SymbolNameHelpersCSharp11Tests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.HelperTests
-{
- using StyleCop.Analyzers.Test.CSharp10.HelperTests;
-
- public class SymbolNameHelpersCSharp11Tests : SymbolNameHelpersCSharp10Tests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/HelperTests/SymbolNameHelpersCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/HelperTests/SymbolNameHelpersCSharp11UnitTests.cs
new file mode 100644
index 000000000..c80c8d62c
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/HelperTests/SymbolNameHelpersCSharp11UnitTests.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.HelperTests
+{
+ using StyleCop.Analyzers.Test.CSharp10.HelperTests;
+
+ public partial class SymbolNameHelpersCSharp11UnitTests : SymbolNameHelpersCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1500CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1500CSharp11UnitTests.cs
index 56c55a4d6..7c024042b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1500CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1500CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
- public class SA1500CSharp11UnitTests : SA1500CSharp10UnitTests
+ public partial class SA1500CSharp11UnitTests : SA1500CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1501CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1501CSharp11UnitTests.cs
index 5b2df85ee..5276d3144 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1501CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1501CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
- public class SA1501CSharp11UnitTests : SA1501CSharp10UnitTests
+ public partial class SA1501CSharp11UnitTests : SA1501CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1502CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1502CSharp11UnitTests.cs
index 7c007a9c5..d4880527c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1502CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1502CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
- public class SA1502CSharp11UnitTests : SA1502CSharp10UnitTests
+ public partial class SA1502CSharp11UnitTests : SA1502CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1503CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1503CSharp11UnitTests.cs
index 0f95ec972..eda0fa3b2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1503CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1503CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
- public class SA1503CSharp11UnitTests : SA1503CSharp10UnitTests
+ public partial class SA1503CSharp11UnitTests : SA1503CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1504CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1504CSharp11UnitTests.cs
index af8b707d6..a207d7545 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1504CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1504CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
- public class SA1504CSharp11UnitTests : SA1504CSharp10UnitTests
+ public partial class SA1504CSharp11UnitTests : SA1504CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1505CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1505CSharp11UnitTests.cs
index 82e5a9ff1..974c7afa1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1505CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1505CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
- public class SA1505CSharp11UnitTests : SA1505CSharp10UnitTests
+ public partial class SA1505CSharp11UnitTests : SA1505CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1506CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1506CSharp11UnitTests.cs
index 39eaadcbf..441945f1d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1506CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1506CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
- public class SA1506CSharp11UnitTests : SA1506CSharp10UnitTests
+ public partial class SA1506CSharp11UnitTests : SA1506CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1507CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1507CSharp11UnitTests.cs
index 4a289ff99..2744a9373 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1507CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1507CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
- public class SA1507CSharp11UnitTests : SA1507CSharp10UnitTests
+ public partial class SA1507CSharp11UnitTests : SA1507CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1508CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1508CSharp11UnitTests.cs
index bf99e7f8f..babb47e98 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1508CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1508CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
- public class SA1508CSharp11UnitTests : SA1508CSharp10UnitTests
+ public partial class SA1508CSharp11UnitTests : SA1508CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1509CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1509CSharp11UnitTests.cs
index 6fda202c2..8d2489205 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1509CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1509CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
- public class SA1509CSharp11UnitTests : SA1509CSharp10UnitTests
+ public partial class SA1509CSharp11UnitTests : SA1509CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1510CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1510CSharp11UnitTests.cs
index 91dc3aea7..a6d929929 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1510CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1510CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
- public class SA1510CSharp11UnitTests : SA1510CSharp10UnitTests
+ public partial class SA1510CSharp11UnitTests : SA1510CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1511CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1511CSharp11UnitTests.cs
index c7907d961..244bc901a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1511CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1511CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
- public class SA1511CSharp11UnitTests : SA1511CSharp10UnitTests
+ public partial class SA1511CSharp11UnitTests : SA1511CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1512CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1512CSharp11UnitTests.cs
index 16109df0b..00a43813a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1512CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1512CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
- public class SA1512CSharp11UnitTests : SA1512CSharp10UnitTests
+ public partial class SA1512CSharp11UnitTests : SA1512CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1513CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1513CSharp11UnitTests.cs
index e85c03973..df0c9200d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1513CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1513CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
- public class SA1513CSharp11UnitTests : SA1513CSharp10UnitTests
+ public partial class SA1513CSharp11UnitTests : SA1513CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1514CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1514CSharp11UnitTests.cs
index dc21cb6ce..b700b085a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1514CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1514CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
- public class SA1514CSharp11UnitTests : SA1514CSharp10UnitTests
+ public partial class SA1514CSharp11UnitTests : SA1514CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1515CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1515CSharp11UnitTests.cs
index 592c332a0..da5ab8b74 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1515CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1515CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
- public class SA1515CSharp11UnitTests : SA1515CSharp10UnitTests
+ public partial class SA1515CSharp11UnitTests : SA1515CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1516CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1516CSharp11UnitTests.cs
index d24661b26..06fa1b3c7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1516CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1516CSharp11UnitTests.cs
@@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
StyleCop.Analyzers.LayoutRules.SA1516ElementsMustBeSeparatedByBlankLine,
StyleCop.Analyzers.LayoutRules.SA1516CodeFixProvider>;
- public class SA1516CSharp11UnitTests : SA1516CSharp10UnitTests
+ public partial class SA1516CSharp11UnitTests : SA1516CSharp10UnitTests
{
protected override DiagnosticResult[] GetExpectedResultTestUsingAndGlobalStatementSpacingInTopLevelProgram()
{
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1516CSharp11UsingGroupsUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1516CSharp11UsingGroupsUnitTests.cs
deleted file mode 100644
index adff9cda6..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1516CSharp11UsingGroupsUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.LayoutRules
-{
- using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
-
- public class SA1516CSharp11UsingGroupsUnitTests : SA1516CSharp10UsingGroupsUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1516UsingGroupsCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1516UsingGroupsCSharp11UnitTests.cs
new file mode 100644
index 000000000..05584e523
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1516UsingGroupsCSharp11UnitTests.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.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
+
+ public partial class SA1516UsingGroupsCSharp11UnitTests : SA1516UsingGroupsCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1517CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1517CSharp11UnitTests.cs
index c74ed62c7..d16626d11 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1517CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1517CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
- public class SA1517CSharp11UnitTests : SA1517CSharp10UnitTests
+ public partial class SA1517CSharp11UnitTests : SA1517CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1518CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1518CSharp11UnitTests.cs
index 4073d93e1..505e85cab 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1518CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1518CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
- public class SA1518CSharp11UnitTests : SA1518CSharp10UnitTests
+ public partial class SA1518CSharp11UnitTests : SA1518CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1519CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1519CSharp11UnitTests.cs
index 17caa61ac..ee67d0ea7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1519CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1519CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
- public class SA1519CSharp11UnitTests : SA1519CSharp10UnitTests
+ public partial class SA1519CSharp11UnitTests : SA1519CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1520CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1520CSharp11UnitTests.cs
index 2e15f78b1..936a3c0e9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1520CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1520CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules
{
using StyleCop.Analyzers.Test.CSharp10.LayoutRules;
- public class SA1520CSharp11UnitTests : SA1520CSharp10UnitTests
+ public partial class SA1520CSharp11UnitTests : SA1520CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/AccessorDeclarationSyntaxExtensionsCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/AccessorDeclarationSyntaxExtensionsCSharp11UnitTests.cs
new file mode 100644
index 000000000..3241a9c76
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/AccessorDeclarationSyntaxExtensionsCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class AccessorDeclarationSyntaxExtensionsCSharp11UnitTests : AccessorDeclarationSyntaxExtensionsCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp11.cs
deleted file mode 100644
index ddc503b90..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class AccessorDeclarationSyntaxExtensionsTestsCSharp11 : AccessorDeclarationSyntaxExtensionsTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ArgumentSyntaxExtensionsCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ArgumentSyntaxExtensionsCSharp11UnitTests.cs
new file mode 100644
index 000000000..2821de803
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ArgumentSyntaxExtensionsCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class ArgumentSyntaxExtensionsCSharp11UnitTests : ArgumentSyntaxExtensionsCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ArgumentSyntaxExtensionsTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ArgumentSyntaxExtensionsTestsCSharp11.cs
deleted file mode 100644
index d482ce927..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ArgumentSyntaxExtensionsTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class ArgumentSyntaxExtensionsTestsCSharp11 : ArgumentSyntaxExtensionsTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp11UnitTests.cs
new file mode 100644
index 000000000..dfbe6bedf
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class BaseMethodDeclarationSyntaxExtensionsCSharp11UnitTests : BaseMethodDeclarationSyntaxExtensionsCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp11.cs
deleted file mode 100644
index 7f6b9d467..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class BaseMethodDeclarationSyntaxExtensionsTestsCSharp11 : BaseMethodDeclarationSyntaxExtensionsTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..76a48d44b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class CasePatternSwitchLabelSyntaxWrapperCSharp11UnitTests : CasePatternSwitchLabelSyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index 508c5a090..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class CasePatternSwitchLabelSyntaxWrapperTestsCSharp11 : CasePatternSwitchLabelSyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CommonForEachStatementSyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CommonForEachStatementSyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..74adc3ca7
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CommonForEachStatementSyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class CommonForEachStatementSyntaxWrapperCSharp11UnitTests : CommonForEachStatementSyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index dec1d95ef..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class CommonForEachStatementSyntaxWrapperTestsCSharp11 : CommonForEachStatementSyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstantPatternSyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstantPatternSyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..d3a19b254
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstantPatternSyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class ConstantPatternSyntaxWrapperCSharp11UnitTests : ConstantPatternSyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstantPatternSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstantPatternSyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index fa7fd4fdb..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstantPatternSyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class ConstantPatternSyntaxWrapperTestsCSharp11 : ConstantPatternSyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp11UnitTests.cs
new file mode 100644
index 000000000..33000cee6
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class ConstructorDeclarationSyntaxExtensionsCSharp11UnitTests : ConstructorDeclarationSyntaxExtensionsCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp11.cs
deleted file mode 100644
index 184d05488..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class ConstructorDeclarationSyntaxExtensionsTestsCSharp11 : ConstructorDeclarationSyntaxExtensionsTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CrefParameterSyntaxExtensionsCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CrefParameterSyntaxExtensionsCSharp11UnitTests.cs
new file mode 100644
index 000000000..b5b5160fa
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CrefParameterSyntaxExtensionsCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class CrefParameterSyntaxExtensionsCSharp11UnitTests : CrefParameterSyntaxExtensionsCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CrefParameterSyntaxExtensionsTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CrefParameterSyntaxExtensionsTestsCSharp11.cs
deleted file mode 100644
index f5206b97b..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CrefParameterSyntaxExtensionsTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class CrefParameterSyntaxExtensionsTestsCSharp11 : CrefParameterSyntaxExtensionsTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationExpressionSyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationExpressionSyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..f033abcc8
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationExpressionSyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class DeclarationExpressionSyntaxWrapperCSharp11UnitTests : DeclarationExpressionSyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index 91eb1bd8e..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class DeclarationExpressionSyntaxWrapperTestsCSharp11 : DeclarationExpressionSyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationPatternSyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationPatternSyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..805d1bcc1
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationPatternSyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class DeclarationPatternSyntaxWrapperCSharp11UnitTests : DeclarationPatternSyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index 3fda4579b..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class DeclarationPatternSyntaxWrapperTestsCSharp11 : DeclarationPatternSyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DestructorDeclarationSyntaxExtensionsCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DestructorDeclarationSyntaxExtensionsCSharp11UnitTests.cs
new file mode 100644
index 000000000..897fdf4dd
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DestructorDeclarationSyntaxExtensionsCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class DestructorDeclarationSyntaxExtensionsCSharp11UnitTests : DestructorDeclarationSyntaxExtensionsCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp11.cs
deleted file mode 100644
index ea3ea8cd6..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class DestructorDeclarationSyntaxExtensionsTestsCSharp11 : DestructorDeclarationSyntaxExtensionsTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DiscardDesignationSyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DiscardDesignationSyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..b7b3b300b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DiscardDesignationSyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class DiscardDesignationSyntaxWrapperCSharp11UnitTests : DiscardDesignationSyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index 909367639..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class DiscardDesignationSyntaxWrapperTestsCSharp11 : DiscardDesignationSyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..b3d13c4aa
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp11UnitTests : ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index bb4b33d84..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp11 : ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/IsPatternExpressionSyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/IsPatternExpressionSyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..1fa3fd92e
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/IsPatternExpressionSyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class IsPatternExpressionSyntaxWrapperCSharp11UnitTests : IsPatternExpressionSyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index 0f9a76303..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class IsPatternExpressionSyntaxWrapperTestsCSharp11 : IsPatternExpressionSyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LanguageVersionExCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LanguageVersionExCSharp11UnitTests.cs
new file mode 100644
index 000000000..0ba0a966f
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LanguageVersionExCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class LanguageVersionExCSharp11UnitTests : LanguageVersionExCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LanguageVersionExTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LanguageVersionExTestsCSharp11.cs
deleted file mode 100644
index ac3b75d9e..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LanguageVersionExTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class LanguageVersionExTestsCSharp11 : LanguageVersionExTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LightupHelpersCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LightupHelpersCSharp11UnitTests.cs
new file mode 100644
index 000000000..08b7a1526
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LightupHelpersCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class LightupHelpersCSharp11UnitTests : LightupHelpersCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LightupHelpersTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LightupHelpersTestsCSharp11.cs
deleted file mode 100644
index 78e8b20a6..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LightupHelpersTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class LightupHelpersTestsCSharp11 : LightupHelpersTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LocalFunctionStatementSyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LocalFunctionStatementSyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..ff0444c51
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LocalFunctionStatementSyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class LocalFunctionStatementSyntaxWrapperCSharp11UnitTests : LocalFunctionStatementSyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index a4f1b18f3..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class LocalFunctionStatementSyntaxWrapperTestsCSharp11 : LocalFunctionStatementSyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/MethodKindExCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/MethodKindExCSharp11UnitTests.cs
new file mode 100644
index 000000000..3958819dc
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/MethodKindExCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class MethodKindExCSharp11UnitTests : MethodKindExCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/MethodKindExTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/MethodKindExTestsCSharp11.cs
deleted file mode 100644
index ddef70979..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/MethodKindExTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class MethodKindExTestsCSharp11 : MethodKindExTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/OperationKindExCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/OperationKindExCSharp11UnitTests.cs
new file mode 100644
index 000000000..813b6fc4b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/OperationKindExCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class OperationKindExCSharp11UnitTests : OperationKindExCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/OperationKindExTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/OperationKindExTestsCSharp11.cs
deleted file mode 100644
index 44aa9f927..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/OperationKindExTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class OperationKindExTestsCSharp11 : OperationKindExTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..9736a00c7
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class ParenthesizedVariableDesignationSyntaxWrapperCSharp11UnitTests : ParenthesizedVariableDesignationSyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index a8cc54366..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp11 : ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/PatternSyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/PatternSyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..8d676e8fc
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/PatternSyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class PatternSyntaxWrapperCSharp11UnitTests : PatternSyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/PatternSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/PatternSyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index 334f157e6..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/PatternSyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class PatternSyntaxWrapperTestsCSharp11 : PatternSyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefExpressionSyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefExpressionSyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..8dac8896e
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefExpressionSyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class RefExpressionSyntaxWrapperCSharp11UnitTests : RefExpressionSyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefExpressionSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefExpressionSyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index 786ec6a1c..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefExpressionSyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class RefExpressionSyntaxWrapperTestsCSharp11 : RefExpressionSyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefTypeSyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefTypeSyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..6d9c874d7
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefTypeSyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class RefTypeSyntaxWrapperCSharp11UnitTests : RefTypeSyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefTypeSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefTypeSyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index eb21fef41..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefTypeSyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class RefTypeSyntaxWrapperTestsCSharp11 : RefTypeSyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SingleVariableDesignationSyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SingleVariableDesignationSyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..2f79b34f0
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SingleVariableDesignationSyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class SingleVariableDesignationSyntaxWrapperCSharp11UnitTests : SingleVariableDesignationSyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index 92d3eb363..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class SingleVariableDesignationSyntaxWrapperTestsCSharp11 : SingleVariableDesignationSyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp11UnitTests.cs
new file mode 100644
index 000000000..021172d15
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class StackAllocArrayCreationExpressionSyntaxExtensionsCSharp11UnitTests : StackAllocArrayCreationExpressionSyntaxExtensionsCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp11.cs
deleted file mode 100644
index c0cfb0def..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp11 : StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionArmSyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionArmSyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..4607432a2
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionArmSyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class SwitchExpressionArmSyntaxWrapperCSharp11UnitTests : SwitchExpressionArmSyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index d1832e618..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class SwitchExpressionArmSyntaxWrapperTestsCSharp11 : SwitchExpressionArmSyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionSyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionSyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..ef200b66e
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionSyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class SwitchExpressionSyntaxWrapperCSharp11UnitTests : SwitchExpressionSyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index 6c5937234..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class SwitchExpressionSyntaxWrapperTestsCSharp11 : SwitchExpressionSyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxKindExCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxKindExCSharp11UnitTests.cs
new file mode 100644
index 000000000..b3a842316
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxKindExCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class SyntaxKindExCSharp11UnitTests : SyntaxKindExCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxKindExTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxKindExTestsCSharp11.cs
deleted file mode 100644
index 311475faf..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxKindExTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class SyntaxKindExTestsCSharp11 : SyntaxKindExTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..ae46ee183
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class SyntaxWrapperCSharp11UnitTests : SyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperHelperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperHelperCSharp11UnitTests.cs
new file mode 100644
index 000000000..fe7176158
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperHelperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class SyntaxWrapperHelperCSharp11UnitTests : SyntaxWrapperHelperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperHelperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperHelperTestsCSharp11.cs
deleted file mode 100644
index 23c29001d..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperHelperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class SyntaxWrapperHelperTestsCSharp11 : SyntaxWrapperHelperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index 1f927ff1f..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class SyntaxWrapperTestsCSharp11 : SyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ThrowExpressionSyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ThrowExpressionSyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..be104d46b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ThrowExpressionSyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class ThrowExpressionSyntaxWrapperCSharp11UnitTests : ThrowExpressionSyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index 89da776b4..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class ThrowExpressionSyntaxWrapperTestsCSharp11 : ThrowExpressionSyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleElementSyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleElementSyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..9e9fc4eca
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleElementSyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class TupleElementSyntaxWrapperCSharp11UnitTests : TupleElementSyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleElementSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleElementSyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index 1f1728586..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleElementSyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class TupleElementSyntaxWrapperTestsCSharp11 : TupleElementSyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleExpressionSyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleExpressionSyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..498b22c70
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleExpressionSyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class TupleExpressionSyntaxWrapperCSharp11UnitTests : TupleExpressionSyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleExpressionSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleExpressionSyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index 606644438..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleExpressionSyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class TupleExpressionSyntaxWrapperTestsCSharp11 : TupleExpressionSyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleTypeSyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleTypeSyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..7f8bb3ea9
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleTypeSyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class TupleTypeSyntaxWrapperCSharp11UnitTests : TupleTypeSyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleTypeSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleTypeSyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index 5d18abb3b..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleTypeSyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class TupleTypeSyntaxWrapperTestsCSharp11 : TupleTypeSyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/VariableDesignationSyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/VariableDesignationSyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..45003497d
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/VariableDesignationSyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class VariableDesignationSyntaxWrapperCSharp11UnitTests : VariableDesignationSyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/VariableDesignationSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/VariableDesignationSyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index 9445782d1..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/VariableDesignationSyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class VariableDesignationSyntaxWrapperTestsCSharp11 : VariableDesignationSyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/WhenClauseSyntaxWrapperCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/WhenClauseSyntaxWrapperCSharp11UnitTests.cs
new file mode 100644
index 000000000..9bf2f34e4
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/WhenClauseSyntaxWrapperCSharp11UnitTests.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.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp10.Lightup;
+
+ public partial class WhenClauseSyntaxWrapperCSharp11UnitTests : WhenClauseSyntaxWrapperCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/WhenClauseSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/WhenClauseSyntaxWrapperTestsCSharp11.cs
deleted file mode 100644
index 138d42e57..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/WhenClauseSyntaxWrapperTestsCSharp11.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.Lightup
-{
- using StyleCop.Analyzers.Test.CSharp10.Lightup;
-
- public class WhenClauseSyntaxWrapperTestsCSharp11 : WhenClauseSyntaxWrapperTestsCSharp10
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1119CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1119CSharp11UnitTests.cs
index 4c0ad42a9..20b460a89 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1119CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1119CSharp11UnitTests.cs
@@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
- public class SA1119CSharp11UnitTests : SA1119CSharp10UnitTests
+ public partial class SA1119CSharp11UnitTests : SA1119CSharp10UnitTests
{
// In earlier Roslyn versions, we ended up with an extra space between the opening brace
// and the identifier. Does not happen anymore.
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1400CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1400CSharp11UnitTests.cs
index 04bf2048a..755bfcfc1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1400CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1400CSharp11UnitTests.cs
@@ -13,7 +13,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
StyleCop.Analyzers.MaintainabilityRules.SA1400AccessModifierMustBeDeclared,
StyleCop.Analyzers.MaintainabilityRules.SA1400CodeFixProvider>;
- public class SA1400CSharp11UnitTests : SA1400CSharp10UnitTests
+ public partial class SA1400CSharp11UnitTests : SA1400CSharp10UnitTests
{
[Theory]
[MemberData(nameof(CommonMemberData.BaseTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))]
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1401CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1401CSharp11UnitTests.cs
index 5d1e06e7a..4f79097d8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1401CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1401CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
- public class SA1401CSharp11UnitTests : SA1401CSharp10UnitTests
+ public partial class SA1401CSharp11UnitTests : SA1401CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForClassUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForClassUnitTests.cs
deleted file mode 100644
index db39e118a..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForClassUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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 SA1402CSharp11ForClassUnitTests : SA1402CSharp10ForClassUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForDelegateUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForDelegateUnitTests.cs
deleted file mode 100644
index 526517e71..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForDelegateUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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 SA1402CSharp11ForDelegateUnitTests : SA1402CSharp10ForDelegateUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForEnumUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForEnumUnitTests.cs
deleted file mode 100644
index 6541aa3e8..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForEnumUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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 SA1402CSharp11ForEnumUnitTests : SA1402CSharp10ForEnumUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForInterfaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForInterfaceUnitTests.cs
deleted file mode 100644
index d8a9ecc19..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForInterfaceUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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 SA1402CSharp11ForInterfaceUnitTests : SA1402CSharp10ForInterfaceUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForRecordClassUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForRecordClassUnitTests.cs
deleted file mode 100644
index 1093a91a7..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForRecordClassUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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
deleted file mode 100644
index f00c50e26..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForRecordStructUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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
deleted file mode 100644
index 5be511172..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForRecordUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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
deleted file mode 100644
index 8c475b0f7..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForStructUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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 SA1402CSharp11ForStructUnitTests : SA1402CSharp10ForStructUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForClassCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForClassCSharp11UnitTests.cs
new file mode 100644
index 000000000..e57806802
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForClassCSharp11UnitTests.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 partial class SA1402ForClassCSharp11UnitTests : SA1402ForClassCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForDelegateCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForDelegateCSharp11UnitTests.cs
new file mode 100644
index 000000000..d832ca32a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForDelegateCSharp11UnitTests.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 partial class SA1402ForDelegateCSharp11UnitTests : SA1402ForDelegateCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForEnumCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForEnumCSharp11UnitTests.cs
new file mode 100644
index 000000000..c8704cd43
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForEnumCSharp11UnitTests.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 partial class SA1402ForEnumCSharp11UnitTests : SA1402ForEnumCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForInterfaceCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForInterfaceCSharp11UnitTests.cs
new file mode 100644
index 000000000..231b4a135
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForInterfaceCSharp11UnitTests.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 partial class SA1402ForInterfaceCSharp11UnitTests : SA1402ForInterfaceCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForRecordCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForRecordCSharp11UnitTests.cs
new file mode 100644
index 000000000..dde412102
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForRecordCSharp11UnitTests.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 partial class SA1402ForRecordCSharp11UnitTests : SA1402ForRecordCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForRecordClassCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForRecordClassCSharp11UnitTests.cs
new file mode 100644
index 000000000..33b95102b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForRecordClassCSharp11UnitTests.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 partial class SA1402ForRecordClassCSharp11UnitTests : SA1402ForRecordClassCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForRecordStructCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForRecordStructCSharp11UnitTests.cs
new file mode 100644
index 000000000..687501446
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForRecordStructCSharp11UnitTests.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 partial class SA1402ForRecordStructCSharp11UnitTests : SA1402ForRecordStructCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForStructCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForStructCSharp11UnitTests.cs
new file mode 100644
index 000000000..44d5b33c3
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForStructCSharp11UnitTests.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 partial class SA1402ForStructCSharp11UnitTests : SA1402ForStructCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1403CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1403CSharp11UnitTests.cs
index 62f7f7b8d..fbc49ba94 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1403CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1403CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
- public class SA1403CSharp11UnitTests : SA1403CSharp10UnitTests
+ public partial class SA1403CSharp11UnitTests : SA1403CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1404CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1404CSharp11UnitTests.cs
index 33b11f91a..0f7019680 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1404CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1404CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
- public class SA1404CSharp11UnitTests : SA1404CSharp10UnitTests
+ public partial class SA1404CSharp11UnitTests : SA1404CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1405CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1405CSharp11UnitTests.cs
index e97de49a9..57fc1f851 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1405CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1405CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
- public class SA1405CSharp11UnitTests : SA1405CSharp10UnitTests
+ public partial class SA1405CSharp11UnitTests : SA1405CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1406CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1406CSharp11UnitTests.cs
index 4d3312637..b510ced38 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1406CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1406CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
- public class SA1406CSharp11UnitTests : SA1406CSharp10UnitTests
+ public partial class SA1406CSharp11UnitTests : SA1406CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1407CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1407CSharp11UnitTests.cs
index ce4c18458..4af501d55 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1407CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1407CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
- public class SA1407CSharp11UnitTests : SA1407CSharp10UnitTests
+ public partial class SA1407CSharp11UnitTests : SA1407CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1408CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1408CSharp11UnitTests.cs
index 81e7856ce..c3dfcb00e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1408CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1408CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
- public class SA1408CSharp11UnitTests : SA1408CSharp10UnitTests
+ public partial class SA1408CSharp11UnitTests : SA1408CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1409CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1409CSharp11UnitTests.cs
index 3edfcc759..1cea2eefc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1409CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1409CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
- public class SA1409CSharp11UnitTests : SA1409CSharp10UnitTests
+ public partial class SA1409CSharp11UnitTests : SA1409CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1410CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1410CSharp11UnitTests.cs
index b24f3e72c..0fa7f698c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1410CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1410CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
- public class SA1410CSharp11UnitTests : SA1410CSharp10UnitTests
+ public partial class SA1410CSharp11UnitTests : SA1410CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1411CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1411CSharp11UnitTests.cs
index 3c23c1b76..3efae1fde 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1411CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1411CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
- public class SA1411CSharp11UnitTests : SA1411CSharp10UnitTests
+ public partial class SA1411CSharp11UnitTests : SA1411CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1412CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1412CSharp11UnitTests.cs
index 7d47c43c8..ad5c310d2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1412CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1412CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
- public class SA1412CSharp11UnitTests : SA1412CSharp10UnitTests
+ public partial class SA1412CSharp11UnitTests : SA1412CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1413CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1413CSharp11UnitTests.cs
index c8eaebf36..f8b27288c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1413CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1413CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules;
- public class SA1413CSharp11UnitTests : SA1413CSharp10UnitTests
+ public partial class SA1413CSharp11UnitTests : SA1413CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1414CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1414CSharp11UnitTests.cs
new file mode 100644
index 000000000..265f7ce5d
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1414CSharp11UnitTests.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 partial class SA1414CSharp11UnitTests : SA1414CSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1300CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1300CSharp11UnitTests.cs
index b31243c03..f22ea6dda 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1300CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1300CSharp11UnitTests.cs
@@ -11,7 +11,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
StyleCop.Analyzers.NamingRules.SA1300ElementMustBeginWithUpperCaseLetter,
StyleCop.Analyzers.NamingRules.RenameToUpperCaseCodeFixProvider>;
- public class SA1300CSharp11UnitTests : SA1300CSharp10UnitTests
+ public partial class SA1300CSharp11UnitTests : SA1300CSharp10UnitTests
{
protected override DiagnosticResult[] GetExpectedResultTestPositionalRecord1()
{
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1301CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1301CSharp11UnitTests.cs
index b5233cdb6..06434a76f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1301CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1301CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
- public class SA1301CSharp11UnitTests : SA1301CSharp10UnitTests
+ public partial class SA1301CSharp11UnitTests : SA1301CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1302CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1302CSharp11UnitTests.cs
index 82b8fdb69..3750ced23 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1302CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1302CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
- public class SA1302CSharp11UnitTests : SA1302CSharp10UnitTests
+ public partial class SA1302CSharp11UnitTests : SA1302CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1303CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1303CSharp11UnitTests.cs
index 4daf58dfc..4b27f5902 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1303CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1303CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
- public class SA1303CSharp11UnitTests : SA1303CSharp10UnitTests
+ public partial class SA1303CSharp11UnitTests : SA1303CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1304CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1304CSharp11UnitTests.cs
index 3991e50a8..120285c8c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1304CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1304CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
- public class SA1304CSharp11UnitTests : SA1304CSharp10UnitTests
+ public partial class SA1304CSharp11UnitTests : SA1304CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1305CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1305CSharp11UnitTests.cs
index 435fa0578..9863d8e88 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1305CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1305CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
- public class SA1305CSharp11UnitTests : SA1305CSharp10UnitTests
+ public partial class SA1305CSharp11UnitTests : SA1305CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1306CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1306CSharp11UnitTests.cs
index 1d5a5790e..d47013a39 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1306CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1306CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
- public class SA1306CSharp11UnitTests : SA1306CSharp10UnitTests
+ public partial class SA1306CSharp11UnitTests : SA1306CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1307CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1307CSharp11UnitTests.cs
index 534c85ace..84f2e4d0d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1307CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1307CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
- public class SA1307CSharp11UnitTests : SA1307CSharp10UnitTests
+ public partial class SA1307CSharp11UnitTests : SA1307CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1308CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1308CSharp11UnitTests.cs
index 6eb5cd80d..7594a40f4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1308CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1308CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
- public class SA1308CSharp11UnitTests : SA1308CSharp10UnitTests
+ public partial class SA1308CSharp11UnitTests : SA1308CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1309CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1309CSharp11UnitTests.cs
index 92009171d..9f9c95268 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1309CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1309CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
- public class SA1309CSharp11UnitTests : SA1309CSharp10UnitTests
+ public partial class SA1309CSharp11UnitTests : SA1309CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1310CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1310CSharp11UnitTests.cs
index f14d9b064..15b36cf09 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1310CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1310CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
- public class SA1310CSharp11UnitTests : SA1310CSharp10UnitTests
+ public partial class SA1310CSharp11UnitTests : SA1310CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1311CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1311CSharp11UnitTests.cs
index 12d396f2e..8b4fc8d3d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1311CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1311CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
- public class SA1311CSharp11UnitTests : SA1311CSharp10UnitTests
+ public partial class SA1311CSharp11UnitTests : SA1311CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1312CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1312CSharp11UnitTests.cs
index 711b67e97..8c8bbf371 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1312CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1312CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
- public class SA1312CSharp11UnitTests : SA1312CSharp10UnitTests
+ public partial class SA1312CSharp11UnitTests : SA1312CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1313CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1313CSharp11UnitTests.cs
index b290ef32f..9c76946c7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1313CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1313CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
- public class SA1313CSharp11UnitTests : SA1313CSharp10UnitTests
+ public partial class SA1313CSharp11UnitTests : SA1313CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1314CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1314CSharp11UnitTests.cs
index fff722b13..2d4dcd032 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1314CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1314CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
- public class SA1314CSharp11UnitTests : SA1314CSharp10UnitTests
+ public partial class SA1314CSharp11UnitTests : SA1314CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1316CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1316CSharp11UnitTests.cs
index d5429f946..d9064720b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1316CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SA1316CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
- public class SA1316CSharp11UnitTests : SA1316CSharp10UnitTests
+ public partial class SA1316CSharp11UnitTests : SA1316CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SX1309CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SX1309CSharp11UnitTests.cs
index 39c811dc0..1e5c5849e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SX1309CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SX1309CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
- public class SX1309CSharp11UnitTests : SX1309CSharp10UnitTests
+ public partial class SX1309CSharp11UnitTests : SX1309CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SX1309SCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SX1309SCSharp11UnitTests.cs
index e05b47747..f14d8357e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SX1309SCSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/NamingRules/SX1309SCSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.NamingRules
{
using StyleCop.Analyzers.Test.CSharp10.NamingRules;
- public class SX1309SCSharp11UnitTests : SX1309SCSharp10UnitTests
+ public partial class SX1309SCSharp11UnitTests : SX1309SCSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs
deleted file mode 100644
index ebed4859e..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.OrderingRules
-{
- using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
-
- public class CSharp11UsingCodeFixProviderCombinedSystemDirectivesUnitTests : CSharp10UsingCodeFixProviderCombinedSystemDirectivesUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderGroupSeparationUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderGroupSeparationUnitTests.cs
deleted file mode 100644
index 858746476..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderGroupSeparationUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.OrderingRules
-{
- using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
-
- public class CSharp11UsingCodeFixProviderGroupSeparationUnitTests : CSharp10UsingCodeFixProviderGroupSeparationUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderRegressionUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderRegressionUnitTests.cs
deleted file mode 100644
index 926e61b08..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderRegressionUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.OrderingRules
-{
- using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
-
- public class CSharp11UsingCodeFixProviderRegressionUnitTests : CSharp10UsingCodeFixProviderRegressionUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderUnitTests.cs
deleted file mode 100644
index 3aee3b4d2..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.OrderingRules
-{
- using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
-
- public class CSharp11UsingCodeFixProviderUnitTests : CSharp10UsingCodeFixProviderUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11OutsideNamespaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11OutsideNamespaceUnitTests.cs
deleted file mode 100644
index b598a834d..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11OutsideNamespaceUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.OrderingRules
-{
- using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
-
- public class SA1200CSharp11OutsideNamespaceUnitTests : SA1200CSharp10OutsideNamespaceUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11PreserveUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11PreserveUnitTests.cs
deleted file mode 100644
index 7e1177e72..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11PreserveUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.OrderingRules
-{
- using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
-
- public class SA1200CSharp11PreserveUnitTests : SA1200CSharp10PreserveUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11UnitTests.cs
index 55bb69b6a..1300857fc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
- public class SA1200CSharp11UnitTests : SA1200CSharp10UnitTests
+ public partial class SA1200CSharp11UnitTests : SA1200CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200OutsideNamespaceCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200OutsideNamespaceCSharp11UnitTests.cs
new file mode 100644
index 000000000..351329a34
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200OutsideNamespaceCSharp11UnitTests.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.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
+
+ public partial class SA1200OutsideNamespaceCSharp11UnitTests : SA1200OutsideNamespaceCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200PreserveCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200PreserveCSharp11UnitTests.cs
new file mode 100644
index 000000000..9be2d4dda
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200PreserveCSharp11UnitTests.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.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
+
+ public partial class SA1200PreserveCSharp11UnitTests : SA1200PreserveCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1201CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1201CSharp11UnitTests.cs
index c9ef7279d..53b12a796 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1201CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1201CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
- public class SA1201CSharp11UnitTests : SA1201CSharp10UnitTests
+ public partial class SA1201CSharp11UnitTests : SA1201CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1202CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1202CSharp11UnitTests.cs
index e94976768..88a9b5a9e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1202CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1202CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
- public class SA1202CSharp11UnitTests : SA1202CSharp10UnitTests
+ public partial class SA1202CSharp11UnitTests : SA1202CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1203CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1203CSharp11UnitTests.cs
index 73b8d1256..13a63f780 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1203CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1203CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
- public class SA1203CSharp11UnitTests : SA1203CSharp10UnitTests
+ public partial class SA1203CSharp11UnitTests : SA1203CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1204CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1204CSharp11UnitTests.cs
index 01423c890..a34f23e4d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1204CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1204CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
- public class SA1204CSharp11UnitTests : SA1204CSharp10UnitTests
+ public partial class SA1204CSharp11UnitTests : SA1204CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1205CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1205CSharp11UnitTests.cs
index b8bf6d9b6..9648ec47c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1205CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1205CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
- public class SA1205CSharp11UnitTests : SA1205CSharp10UnitTests
+ public partial class SA1205CSharp11UnitTests : SA1205CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CSharp11CodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CSharp11CodeFixProviderUnitTests.cs
deleted file mode 100644
index 53cefd548..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CSharp11CodeFixProviderUnitTests.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-// 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.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 c6af4d666..ecfbd47f0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
- public class SA1206CSharp11UnitTests : SA1206CSharp10UnitTests
+ public partial class SA1206CSharp11UnitTests : SA1206CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CodeFixProviderCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CodeFixProviderCSharp11UnitTests.cs
new file mode 100644
index 000000000..369133453
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CodeFixProviderCSharp11UnitTests.cs
@@ -0,0 +1,55 @@
+// 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.OrderingRules
+{
+ using System.Threading;
+ using System.Threading.Tasks;
+ using Microsoft.CodeAnalysis.Testing;
+ using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
+ using Xunit;
+ using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
+ StyleCop.Analyzers.OrderingRules.SA1206DeclarationKeywordsMustFollowOrder,
+ StyleCop.Analyzers.OrderingRules.SA1206CodeFixProvider>;
+
+ public partial class SA1206CodeFixProviderCSharp11UnitTests : SA1206CodeFixProviderCSharp10UnitTests
+ {
+ [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;
+}";
+
+ DiagnosticResult[] expected =
+ {
+ Diagnostic().WithLocation(0).WithArguments("public", "required"),
+ Diagnostic().WithLocation(1).WithArguments("public", "required"),
+ };
+
+ await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1207CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1207CSharp11UnitTests.cs
index 83e3f801c..780718a3b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1207CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1207CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
- public class SA1207CSharp11UnitTests : SA1207CSharp10UnitTests
+ public partial class SA1207CSharp11UnitTests : SA1207CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1208CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1208CSharp11UnitTests.cs
index ca089edcd..23a6a4519 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1208CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1208CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
- public class SA1208CSharp11UnitTests : SA1208CSharp10UnitTests
+ public partial class SA1208CSharp11UnitTests : SA1208CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1209CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1209CSharp11UnitTests.cs
index ed58e5111..aec6acb96 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1209CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1209CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
- public class SA1209CSharp11UnitTests : SA1209CSharp10UnitTests
+ public partial class SA1209CSharp11UnitTests : SA1209CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1210CSharp11CombinedSystemDirectivesUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1210CSharp11CombinedSystemDirectivesUnitTests.cs
deleted file mode 100644
index 3d8e109f3..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1210CSharp11CombinedSystemDirectivesUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.OrderingRules
-{
- using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
-
- public class SA1210CSharp11CombinedSystemDirectivesUnitTests : SA1210CSharp10CombinedSystemDirectivesUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1210CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1210CSharp11UnitTests.cs
index 914555d91..26ef17517 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1210CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1210CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
- public class SA1210CSharp11UnitTests : SA1210CSharp10UnitTests
+ public partial class SA1210CSharp11UnitTests : SA1210CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1210CombinedSystemDirectivesCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1210CombinedSystemDirectivesCSharp11UnitTests.cs
new file mode 100644
index 000000000..ac08406c6
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1210CombinedSystemDirectivesCSharp11UnitTests.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.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
+
+ public partial class SA1210CombinedSystemDirectivesCSharp11UnitTests : SA1210CombinedSystemDirectivesCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1211CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1211CSharp11UnitTests.cs
index a23ddca16..72e8c1d30 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1211CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1211CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
- public class SA1211CSharp11UnitTests : SA1211CSharp10UnitTests
+ public partial class SA1211CSharp11UnitTests : SA1211CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1212CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1212CSharp11UnitTests.cs
index 0cc0c2915..5469422f7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1212CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1212CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
- public class SA1212CSharp11UnitTests : SA1212CSharp10UnitTests
+ public partial class SA1212CSharp11UnitTests : SA1212CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1213CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1213CSharp11UnitTests.cs
index de3753269..31be82932 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1213CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1213CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
- public class SA1213CSharp11UnitTests : SA1213CSharp10UnitTests
+ public partial class SA1213CSharp11UnitTests : SA1213CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1214CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1214CSharp11UnitTests.cs
index 85a90d65f..c0f26876c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1214CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1214CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
- public class SA1214CSharp11UnitTests : SA1214CSharp10UnitTests
+ public partial class SA1214CSharp11UnitTests : SA1214CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1215CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1215CSharp11UnitTests.cs
index 6f3ad179f..1726cb59c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1215CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1215CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
- public class SA1215CSharp11UnitTests : SA1215CSharp10UnitTests
+ public partial class SA1215CSharp11UnitTests : SA1215CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1216CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1216CSharp11UnitTests.cs
index 24fae55eb..81c3edc78 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1216CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1216CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
- public class SA1216CSharp11UnitTests : SA1216CSharp10UnitTests
+ public partial class SA1216CSharp11UnitTests : SA1216CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1217CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1217CSharp11UnitTests.cs
index cfa7f7359..8410c68c1 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1217CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1217CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
- public class SA1217CSharp11UnitTests : SA1217CSharp10UnitTests
+ public partial class SA1217CSharp11UnitTests : SA1217CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/UsingCodeFixProviderCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/UsingCodeFixProviderCSharp11UnitTests.cs
new file mode 100644
index 000000000..bf8d26155
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/UsingCodeFixProviderCSharp11UnitTests.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.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
+
+ public partial class UsingCodeFixProviderCSharp11UnitTests : UsingCodeFixProviderCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp11UnitTests.cs
new file mode 100644
index 000000000..bb41770f0
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp11UnitTests.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.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
+
+ public partial class UsingCodeFixProviderCombinedSystemDirectivesCSharp11UnitTests : UsingCodeFixProviderCombinedSystemDirectivesCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp11UnitTests.cs
new file mode 100644
index 000000000..434c862ce
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp11UnitTests.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.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
+
+ public partial class UsingCodeFixProviderGroupSeparationCSharp11UnitTests : UsingCodeFixProviderGroupSeparationCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/UsingCodeFixProviderRegressionCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/UsingCodeFixProviderRegressionCSharp11UnitTests.cs
new file mode 100644
index 000000000..2fc6bba5a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/UsingCodeFixProviderRegressionCSharp11UnitTests.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.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp10.OrderingRules;
+
+ public partial class UsingCodeFixProviderRegressionCSharp11UnitTests : UsingCodeFixProviderRegressionCSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1100CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1100CSharp11UnitTests.cs
index e4ab11171..40b4a822a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1100CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1100CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1100CSharp11UnitTests : SA1100CSharp10UnitTests
+ public partial class SA1100CSharp11UnitTests : SA1100CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1101CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1101CSharp11UnitTests.cs
index cb018ac10..9e6989ee0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1101CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1101CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1101CSharp11UnitTests : SA1101CSharp10UnitTests
+ public partial class SA1101CSharp11UnitTests : SA1101CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1102CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1102CSharp11UnitTests.cs
index d37611c96..9c07c3f58 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1102CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1102CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1102CSharp11UnitTests : SA1102CSharp10UnitTests
+ public partial class SA1102CSharp11UnitTests : SA1102CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1103CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1103CSharp11UnitTests.cs
index beace2cd5..342089f4a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1103CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1103CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1103CSharp11UnitTests : SA1103CSharp10UnitTests
+ public partial class SA1103CSharp11UnitTests : SA1103CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1104CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1104CSharp11UnitTests.cs
index 46f4753ea..496e9b09e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1104CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1104CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1104CSharp11UnitTests : SA1104CSharp10UnitTests
+ public partial class SA1104CSharp11UnitTests : SA1104CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1105CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1105CSharp11UnitTests.cs
index 6fee7d6ad..6a367b885 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1105CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1105CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1105CSharp11UnitTests : SA1105CSharp10UnitTests
+ public partial class SA1105CSharp11UnitTests : SA1105CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1106CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1106CSharp11UnitTests.cs
index 0005eb96e..2a39db903 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1106CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1106CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1106CSharp11UnitTests : SA1106CSharp10UnitTests
+ public partial class SA1106CSharp11UnitTests : SA1106CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1107CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1107CSharp11UnitTests.cs
index fb5e94360..d10b70851 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1107CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1107CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1107CSharp11UnitTests : SA1107CSharp10UnitTests
+ public partial class SA1107CSharp11UnitTests : SA1107CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1108CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1108CSharp11UnitTests.cs
index ffbec6922..d69f2f5f7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1108CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1108CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1108CSharp11UnitTests : SA1108CSharp10UnitTests
+ public partial class SA1108CSharp11UnitTests : SA1108CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1109CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1109CSharp11UnitTests.cs
index ed53e3c42..d433e920f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1109CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1109CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1109CSharp11UnitTests : SA1109CSharp10UnitTests
+ public partial class SA1109CSharp11UnitTests : SA1109CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1110CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1110CSharp11UnitTests.cs
index ecfa59e9d..d2fba6df3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1110CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1110CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1110CSharp11UnitTests : SA1110CSharp10UnitTests
+ public partial class SA1110CSharp11UnitTests : SA1110CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1111CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1111CSharp11UnitTests.cs
index b621a7000..7ab5725da 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1111CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1111CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1111CSharp11UnitTests : SA1111CSharp10UnitTests
+ public partial class SA1111CSharp11UnitTests : SA1111CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1112CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1112CSharp11UnitTests.cs
index d78ccc0a1..3cba382b0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1112CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1112CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1112CSharp11UnitTests : SA1112CSharp10UnitTests
+ public partial class SA1112CSharp11UnitTests : SA1112CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1113CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1113CSharp11UnitTests.cs
index a0a7a0fcb..eb60d6571 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1113CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1113CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1113CSharp11UnitTests : SA1113CSharp10UnitTests
+ public partial class SA1113CSharp11UnitTests : SA1113CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1114CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1114CSharp11UnitTests.cs
index b7f0bb429..c54898e9d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1114CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1114CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1114CSharp11UnitTests : SA1114CSharp10UnitTests
+ public partial class SA1114CSharp11UnitTests : SA1114CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1115CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1115CSharp11UnitTests.cs
index 2b3c0e509..6fee9b1e7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1115CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1115CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1115CSharp11UnitTests : SA1115CSharp10UnitTests
+ public partial class SA1115CSharp11UnitTests : SA1115CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1116CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1116CSharp11UnitTests.cs
index 9f08ba84e..3eced192c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1116CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1116CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1116CSharp11UnitTests : SA1116CSharp10UnitTests
+ public partial class SA1116CSharp11UnitTests : SA1116CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1117CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1117CSharp11UnitTests.cs
index 534a5eed0..5cb3f7875 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1117CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1117CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1117CSharp11UnitTests : SA1117CSharp10UnitTests
+ public partial class SA1117CSharp11UnitTests : SA1117CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1118CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1118CSharp11UnitTests.cs
index 392524ee4..5c98fab11 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1118CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1118CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1118CSharp11UnitTests : SA1118CSharp10UnitTests
+ public partial class SA1118CSharp11UnitTests : SA1118CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1120CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1120CSharp11UnitTests.cs
index 776aa5fc4..64f10ddb0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1120CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1120CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1120CSharp11UnitTests : SA1120CSharp10UnitTests
+ public partial class SA1120CSharp11UnitTests : SA1120CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1121CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1121CSharp11UnitTests.cs
index 4390688b5..118e24fb8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1121CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1121CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1121CSharp11UnitTests : SA1121CSharp10UnitTests
+ public partial class SA1121CSharp11UnitTests : SA1121CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1122CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1122CSharp11UnitTests.cs
index 7d0370134..88c0f6bb9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1122CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1122CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1122CSharp11UnitTests : SA1122CSharp10UnitTests
+ public partial class SA1122CSharp11UnitTests : SA1122CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1123CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1123CSharp11UnitTests.cs
index e40c3a9e9..d05f52a7c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1123CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1123CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1123CSharp11UnitTests : SA1123CSharp10UnitTests
+ public partial class SA1123CSharp11UnitTests : SA1123CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1124CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1124CSharp11UnitTests.cs
index 22f1a55a6..5236c09ba 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1124CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1124CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1124CSharp11UnitTests : SA1124CSharp10UnitTests
+ public partial class SA1124CSharp11UnitTests : SA1124CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1125CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1125CSharp11UnitTests.cs
index ca5955e73..57b39b93c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1125CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1125CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1125CSharp11UnitTests : SA1125CSharp10UnitTests
+ public partial class SA1125CSharp11UnitTests : SA1125CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1126CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1126CSharp11UnitTests.cs
index 8061834e7..fd2c5715c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1126CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1126CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1126CSharp11UnitTests : SA1126CSharp10UnitTests
+ public partial class SA1126CSharp11UnitTests : SA1126CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1127CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1127CSharp11UnitTests.cs
index 1013963e4..eb6b584fe 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1127CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1127CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1127CSharp11UnitTests : SA1127CSharp10UnitTests
+ public partial class SA1127CSharp11UnitTests : SA1127CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1128CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1128CSharp11UnitTests.cs
index 614cb7d70..f34cf8d5c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1128CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1128CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1128CSharp11UnitTests : SA1128CSharp10UnitTests
+ public partial class SA1128CSharp11UnitTests : SA1128CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1129CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1129CSharp11UnitTests.cs
index df87c3139..f064d29a8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1129CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1129CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1129CSharp11UnitTests : SA1129CSharp10UnitTests
+ public partial class SA1129CSharp11UnitTests : SA1129CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1130CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1130CSharp11UnitTests.cs
index 3aa9ef91f..4b0652e42 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1130CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1130CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1130CSharp11UnitTests : SA1130CSharp10UnitTests
+ public partial class SA1130CSharp11UnitTests : SA1130CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1131CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1131CSharp11UnitTests.cs
index 061920d77..196b27811 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1131CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1131CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1131CSharp11UnitTests : SA1131CSharp10UnitTests
+ public partial class SA1131CSharp11UnitTests : SA1131CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1132CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1132CSharp11UnitTests.cs
index 39a6c4b09..dcb3b3f7e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1132CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1132CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1132CSharp11UnitTests : SA1132CSharp10UnitTests
+ public partial class SA1132CSharp11UnitTests : SA1132CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1133CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1133CSharp11UnitTests.cs
index f2bfb3711..80a78c334 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1133CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1133CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1133CSharp11UnitTests : SA1133CSharp10UnitTests
+ public partial class SA1133CSharp11UnitTests : SA1133CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1134CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1134CSharp11UnitTests.cs
index 700d5c868..af1aabce9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1134CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1134CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1134CSharp11UnitTests : SA1134CSharp10UnitTests
+ public partial class SA1134CSharp11UnitTests : SA1134CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1135CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1135CSharp11UnitTests.cs
index 3436675ba..b46ef0d86 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1135CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1135CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1135CSharp11UnitTests : SA1135CSharp10UnitTests
+ public partial class SA1135CSharp11UnitTests : SA1135CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1136CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1136CSharp11UnitTests.cs
index d9f8f2f3b..8fa455d0b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1136CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1136CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1136CSharp11UnitTests : SA1136CSharp10UnitTests
+ public partial class SA1136CSharp11UnitTests : SA1136CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1137CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1137CSharp11UnitTests.cs
index 175bbb5d6..ab7cf511b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1137CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1137CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1137CSharp11UnitTests : SA1137CSharp10UnitTests
+ public partial class SA1137CSharp11UnitTests : SA1137CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1139CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1139CSharp11UnitTests.cs
index 4eef6198a..44ab84d43 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1139CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1139CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SA1139CSharp11UnitTests : SA1139CSharp10UnitTests
+ public partial class SA1139CSharp11UnitTests : SA1139CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1141CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1141CSharp11UnitTests.cs
new file mode 100644
index 000000000..f102b7a8e
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1141CSharp11UnitTests.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.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
+
+ public partial class SA1141CSharp11UnitTests : SA1141CSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1142CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1142CSharp11UnitTests.cs
new file mode 100644
index 000000000..7a3d1ea0b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1142CSharp11UnitTests.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.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
+
+ public partial class SA1142CSharp11UnitTests : SA1142CSharp10UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SX1101CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SX1101CSharp11UnitTests.cs
index 09266eee4..a1c3780ab 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SX1101CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SX1101CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.ReadabilityRules
{
using StyleCop.Analyzers.Test.CSharp10.ReadabilityRules;
- public class SX1101CSharp11UnitTests : SX1101CSharp10UnitTests
+ public partial class SX1101CSharp11UnitTests : SX1101CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Settings/SettingsCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Settings/SettingsCSharp11UnitTests.cs
index 314987c72..da22660f8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Settings/SettingsCSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Settings/SettingsCSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.Settings
{
using StyleCop.Analyzers.Test.CSharp10.Settings;
- public class SettingsCSharp11UnitTests : SettingsCSharp10UnitTests
+ public partial class SettingsCSharp11UnitTests : SettingsCSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Settings/SettingsFileCodeFixProviderCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Settings/SettingsFileCodeFixProviderCSharp11UnitTests.cs
index e2b078855..e369839ff 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Settings/SettingsFileCodeFixProviderCSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Settings/SettingsFileCodeFixProviderCSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.Settings
{
using StyleCop.Analyzers.Test.CSharp10.Settings;
- public class SettingsFileCodeFixProviderCSharp11UnitTests : SettingsFileCodeFixProviderCSharp10UnitTests
+ public partial class SettingsFileCodeFixProviderCSharp11UnitTests : SettingsFileCodeFixProviderCSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1000CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1000CSharp11UnitTests.cs
index 1f9cc3a5b..3e471130d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1000CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1000CSharp11UnitTests.cs
@@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
StyleCop.Analyzers.SpacingRules.SA1000KeywordsMustBeSpacedCorrectly,
StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>;
- public class SA1000CSharp11UnitTests : SA1000CSharp10UnitTests
+ public partial class SA1000CSharp11UnitTests : SA1000CSharp10UnitTests
{
[Fact]
public async Task TestCheckedOperatorDeclarationAsync()
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1001CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1001CSharp11UnitTests.cs
index ef16fbee6..c87017e51 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1001CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1001CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1001CSharp11UnitTests : SA1001CSharp10UnitTests
+ public partial class SA1001CSharp11UnitTests : SA1001CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1002CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1002CSharp11UnitTests.cs
index 1eaa8d730..4adbbacc8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1002CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1002CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1002CSharp11UnitTests : SA1002CSharp10UnitTests
+ public partial class SA1002CSharp11UnitTests : SA1002CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1003CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1003CSharp11UnitTests.cs
index eba36a10c..01deb1d65 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1003CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1003CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1003CSharp11UnitTests : SA1003CSharp10UnitTests
+ public partial class SA1003CSharp11UnitTests : SA1003CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1004CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1004CSharp11UnitTests.cs
index f3f7a0592..d6d3b4a91 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1004CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1004CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1004CSharp11UnitTests : SA1004CSharp10UnitTests
+ public partial class SA1004CSharp11UnitTests : SA1004CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1005CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1005CSharp11UnitTests.cs
index cb495a64d..824d66ebf 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1005CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1005CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1005CSharp11UnitTests : SA1005CSharp10UnitTests
+ public partial class SA1005CSharp11UnitTests : SA1005CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1006CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1006CSharp11UnitTests.cs
index 32c085008..7435f351c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1006CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1006CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1006CSharp11UnitTests : SA1006CSharp10UnitTests
+ public partial class SA1006CSharp11UnitTests : SA1006CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1007CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1007CSharp11UnitTests.cs
index 4acb608eb..02856d0ff 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1007CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1007CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1007CSharp11UnitTests : SA1007CSharp10UnitTests
+ public partial class SA1007CSharp11UnitTests : SA1007CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1008CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1008CSharp11UnitTests.cs
index 09dbf84c2..c3a4956f3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1008CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1008CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1008CSharp11UnitTests : SA1008CSharp10UnitTests
+ public partial class SA1008CSharp11UnitTests : SA1008CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1009CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1009CSharp11UnitTests.cs
index 8991b4f53..982d660a7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1009CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1009CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1009CSharp11UnitTests : SA1009CSharp10UnitTests
+ public partial class SA1009CSharp11UnitTests : SA1009CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1010CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1010CSharp11UnitTests.cs
index 58fb98289..52f154915 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1010CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1010CSharp11UnitTests.cs
@@ -5,15 +5,15 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using System.Threading;
using System.Threading.Tasks;
+ using Microsoft.CodeAnalysis.Testing;
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
+ public partial class SA1010CSharp11UnitTests : SA1010CSharp10UnitTests
{
[Theory]
[InlineData("x is [1]")]
@@ -40,11 +40,7 @@ public void TestMethod(List x)
}}
";
- await new CSharpTest()
- {
- ReferenceAssemblies = GenericAnalyzerTest.ReferenceAssembliesNet50,
- TestCode = testCode,
- }.RunAsync(CancellationToken.None).ConfigureAwait(false);
+ await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, 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 52c3173cf..ea820526e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1011CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1011CSharp11UnitTests.cs
@@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
StyleCop.Analyzers.SpacingRules.SA1011ClosingSquareBracketsMustBeSpacedCorrectly,
StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>;
- public class SA1011CSharp11UnitTests : SA1011CSharp10UnitTests
+ public partial class SA1011CSharp11UnitTests : SA1011CSharp10UnitTests
{
[Fact]
[WorkItem(3673, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3673")]
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1012CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1012CSharp11UnitTests.cs
index 7d9c7dd52..3e8a33c3b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1012CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1012CSharp11UnitTests.cs
@@ -5,14 +5,14 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using System.Threading;
using System.Threading.Tasks;
+ using Microsoft.CodeAnalysis.Testing;
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
+ public partial class SA1012CSharp11UnitTests : SA1012CSharp10UnitTests
{
[Fact]
[WorkItem(3509, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3509")]
@@ -40,20 +40,16 @@ void M(string[] a)
}
";
- await new CSharpTest()
+ DiagnosticResult[] expected =
{
- ReferenceAssemblies = GenericAnalyzerTest.ReferenceAssembliesNet50,
- TestCode = testCode,
- ExpectedDiagnostics =
- {
- // Opening brace should not be preceded by a space
- Diagnostic().WithLocation(0).WithArguments(" not", "preceded"),
+ // 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);
+ // Opening brace should be preceded by a space
+ Diagnostic().WithLocation(1).WithArguments(string.Empty, "preceded"),
+ };
+
+ await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
}
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1013CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1013CSharp11UnitTests.cs
index e2e2a3277..5e4657dce 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1013CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1013CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1013CSharp11UnitTests : SA1013CSharp10UnitTests
+ public partial class SA1013CSharp11UnitTests : SA1013CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1014CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1014CSharp11UnitTests.cs
index efd107416..7139d81de 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1014CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1014CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1014CSharp11UnitTests : SA1014CSharp10UnitTests
+ public partial class SA1014CSharp11UnitTests : SA1014CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1015CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1015CSharp11UnitTests.cs
index d0f38d927..91fab7a48 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1015CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1015CSharp11UnitTests.cs
@@ -15,7 +15,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
StyleCop.Analyzers.SpacingRules.SA1015ClosingGenericBracketsMustBeSpacedCorrectly,
StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>;
- public class SA1015CSharp11UnitTests : SA1015CSharp10UnitTests
+ public partial class SA1015CSharp11UnitTests : SA1015CSharp10UnitTests
{
[Fact]
[WorkItem(3487, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3487")]
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1016CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1016CSharp11UnitTests.cs
index 452640aaa..ede67a3e0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1016CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1016CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1016CSharp11UnitTests : SA1016CSharp10UnitTests
+ public partial class SA1016CSharp11UnitTests : SA1016CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1017CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1017CSharp11UnitTests.cs
index 470a2bd74..f0c11705b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1017CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1017CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1017CSharp11UnitTests : SA1017CSharp10UnitTests
+ public partial class SA1017CSharp11UnitTests : SA1017CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1018CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1018CSharp11UnitTests.cs
index c33aa8787..b4cf450d4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1018CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1018CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1018CSharp11UnitTests : SA1018CSharp10UnitTests
+ public partial class SA1018CSharp11UnitTests : SA1018CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1019CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1019CSharp11UnitTests.cs
index 2656ea491..fe00e7db0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1019CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1019CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1019CSharp11UnitTests : SA1019CSharp10UnitTests
+ public partial class SA1019CSharp11UnitTests : SA1019CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1020CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1020CSharp11UnitTests.cs
index 394106172..d3819f3f8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1020CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1020CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1020CSharp11UnitTests : SA1020CSharp10UnitTests
+ public partial class SA1020CSharp11UnitTests : SA1020CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1021CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1021CSharp11UnitTests.cs
index 3d2148bb7..27d56cf01 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1021CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1021CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1021CSharp11UnitTests : SA1021CSharp10UnitTests
+ public partial class SA1021CSharp11UnitTests : SA1021CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1022CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1022CSharp11UnitTests.cs
index ce778481e..51b69168d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1022CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1022CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1022CSharp11UnitTests : SA1022CSharp10UnitTests
+ public partial class SA1022CSharp11UnitTests : SA1022CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1023CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1023CSharp11UnitTests.cs
index ef395daf0..0645e210f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1023CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1023CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1023CSharp11UnitTests : SA1023CSharp10UnitTests
+ public partial class SA1023CSharp11UnitTests : SA1023CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1024CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1024CSharp11UnitTests.cs
index c113a3c40..1c1361543 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1024CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1024CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1024CSharp11UnitTests : SA1024CSharp10UnitTests
+ public partial class SA1024CSharp11UnitTests : SA1024CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1025CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1025CSharp11UnitTests.cs
index 2f691684a..d2da43875 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1025CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1025CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1025CSharp11UnitTests : SA1025CSharp10UnitTests
+ public partial class SA1025CSharp11UnitTests : SA1025CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1026CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1026CSharp11UnitTests.cs
index c9ce832da..74c2a55ec 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1026CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1026CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1026CSharp11UnitTests : SA1026CSharp10UnitTests
+ public partial class SA1026CSharp11UnitTests : SA1026CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027AlternateIndentationCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027AlternateIndentationCSharp11UnitTests.cs
index 8e0734838..35e0bce97 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027AlternateIndentationCSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027AlternateIndentationCSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1027AlternateIndentationCSharp11UnitTests : SA1027AlternateIndentationCSharp10UnitTests
+ public partial class SA1027AlternateIndentationCSharp11UnitTests : SA1027AlternateIndentationCSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027CSharp11UnitTests.cs
index 0aa8e3723..7eb4fe4eb 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1027CSharp11UnitTests : SA1027CSharp10UnitTests
+ public partial class SA1027CSharp11UnitTests : SA1027CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027UseTabsCSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027UseTabsCSharp11UnitTests.cs
index fefcbd10c..fcb1b1b38 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027UseTabsCSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1027UseTabsCSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1027UseTabsCSharp11UnitTests : SA1027UseTabsCSharp10UnitTests
+ public partial class SA1027UseTabsCSharp11UnitTests : SA1027UseTabsCSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1028CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1028CSharp11UnitTests.cs
index 36454d012..70fb2f8ba 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1028CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1028CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules
{
using StyleCop.Analyzers.Test.CSharp10.SpacingRules;
- public class SA1028CSharp11UnitTests : SA1028CSharp10UnitTests
+ public partial class SA1028CSharp11UnitTests : SA1028CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpecialRules/SA0001CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpecialRules/SA0001CSharp11UnitTests.cs
index 8d45847f0..4c34633a2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpecialRules/SA0001CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpecialRules/SA0001CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpecialRules
{
using StyleCop.Analyzers.Test.CSharp10.SpecialRules;
- public class SA0001CSharp11UnitTests : SA0001CSharp10UnitTests
+ public partial class SA0001CSharp11UnitTests : SA0001CSharp10UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpecialRules/SA0002CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpecialRules/SA0002CSharp11UnitTests.cs
index ac0ee0865..2b53080d9 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpecialRules/SA0002CSharp11UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpecialRules/SA0002CSharp11UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpecialRules
{
using StyleCop.Analyzers.Test.CSharp10.SpecialRules;
- public class SA0002CSharp11UnitTests : SA0002CSharp10UnitTests
+ public partial class SA0002CSharp11UnitTests : SA0002CSharp10UnitTests
{
}
}
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 481f53262..3ce4f0d1c 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
@@ -31,6 +31,7 @@
+
\ No newline at end of file
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/AnalyzerConfigurationCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/AnalyzerConfigurationCSharp12UnitTests.cs
new file mode 100644
index 000000000..c03a3538a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/AnalyzerConfigurationCSharp12UnitTests.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.CSharp12
+{
+ using StyleCop.Analyzers.Test.CSharp11;
+
+ public partial class AnalyzerConfigurationCSharp12UnitTests : AnalyzerConfigurationCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/InheritdocCodeFixProviderCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/InheritdocCodeFixProviderCSharp12UnitTests.cs
new file mode 100644
index 000000000..841d6e554
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/InheritdocCodeFixProviderCSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class InheritdocCodeFixProviderCSharp12UnitTests : InheritdocCodeFixProviderCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/NoXmlFileHeaderCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/NoXmlFileHeaderCSharp12UnitTests.cs
new file mode 100644
index 000000000..062bc667c
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/NoXmlFileHeaderCSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class NoXmlFileHeaderCSharp12UnitTests : NoXmlFileHeaderCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1600CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1600CSharp12UnitTests.cs
new file mode 100644
index 000000000..8d0cbb07f
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1600CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1600CSharp12UnitTests : SA1600CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1601CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1601CSharp12UnitTests.cs
new file mode 100644
index 000000000..8f6412073
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1601CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1601CSharp12UnitTests : SA1601CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1602CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1602CSharp12UnitTests.cs
new file mode 100644
index 000000000..f78fbcd79
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1602CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1602CSharp12UnitTests : SA1602CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1603CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1603CSharp12UnitTests.cs
new file mode 100644
index 000000000..cb56f00dd
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1603CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1603CSharp12UnitTests : SA1603CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1604CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1604CSharp12UnitTests.cs
new file mode 100644
index 000000000..578173ad1
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1604CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1604CSharp12UnitTests : SA1604CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1605CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1605CSharp12UnitTests.cs
new file mode 100644
index 000000000..25c11d8d1
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1605CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1605CSharp12UnitTests : SA1605CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1606CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1606CSharp12UnitTests.cs
new file mode 100644
index 000000000..9c622c98a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1606CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1606CSharp12UnitTests : SA1606CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1607CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1607CSharp12UnitTests.cs
new file mode 100644
index 000000000..39893d1bd
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1607CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1607CSharp12UnitTests : SA1607CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1608CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1608CSharp12UnitTests.cs
new file mode 100644
index 000000000..72e54d326
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1608CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1608CSharp12UnitTests : SA1608CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1609CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1609CSharp12UnitTests.cs
new file mode 100644
index 000000000..8345fe249
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1609CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1609CSharp12UnitTests : SA1609CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1610CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1610CSharp12UnitTests.cs
new file mode 100644
index 000000000..5465ff313
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1610CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1610CSharp12UnitTests : SA1610CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1611CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1611CSharp12UnitTests.cs
new file mode 100644
index 000000000..62c49ad12
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1611CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1611CSharp12UnitTests : SA1611CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1612CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1612CSharp12UnitTests.cs
new file mode 100644
index 000000000..d588a7346
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1612CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1612CSharp12UnitTests : SA1612CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1613CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1613CSharp12UnitTests.cs
new file mode 100644
index 000000000..16e24ff9d
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1613CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1613CSharp12UnitTests : SA1613CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1614CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1614CSharp12UnitTests.cs
new file mode 100644
index 000000000..5fe48470b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1614CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1614CSharp12UnitTests : SA1614CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1615CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1615CSharp12UnitTests.cs
new file mode 100644
index 000000000..994203b2f
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1615CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1615CSharp12UnitTests : SA1615CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1616CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1616CSharp12UnitTests.cs
new file mode 100644
index 000000000..263b18f9b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1616CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1616CSharp12UnitTests : SA1616CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1617CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1617CSharp12UnitTests.cs
new file mode 100644
index 000000000..c96ce8c8e
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1617CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1617CSharp12UnitTests : SA1617CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1618CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1618CSharp12UnitTests.cs
new file mode 100644
index 000000000..c2dc9df19
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1618CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1618CSharp12UnitTests : SA1618CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1619CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1619CSharp12UnitTests.cs
new file mode 100644
index 000000000..82d8e5494
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1619CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1619CSharp12UnitTests : SA1619CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1620CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1620CSharp12UnitTests.cs
new file mode 100644
index 000000000..f62590820
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1620CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1620CSharp12UnitTests : SA1620CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1621CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1621CSharp12UnitTests.cs
new file mode 100644
index 000000000..2c8d26cdb
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1621CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1621CSharp12UnitTests : SA1621CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1622CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1622CSharp12UnitTests.cs
new file mode 100644
index 000000000..5c98f63a6
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1622CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1622CSharp12UnitTests : SA1622CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1623CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1623CSharp12UnitTests.cs
new file mode 100644
index 000000000..998836eb0
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1623CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1623CSharp12UnitTests : SA1623CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1624CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1624CSharp12UnitTests.cs
new file mode 100644
index 000000000..d36be8b30
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1624CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1624CSharp12UnitTests : SA1624CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1625CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1625CSharp12UnitTests.cs
new file mode 100644
index 000000000..4ed6760c8
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1625CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1625CSharp12UnitTests : SA1625CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1626CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1626CSharp12UnitTests.cs
new file mode 100644
index 000000000..48b24faf5
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1626CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1626CSharp12UnitTests : SA1626CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1627CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1627CSharp12UnitTests.cs
new file mode 100644
index 000000000..583d4232e
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1627CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1627CSharp12UnitTests : SA1627CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1628CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1628CSharp12UnitTests.cs
new file mode 100644
index 000000000..ec18bdb3a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1628CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1628CSharp12UnitTests : SA1628CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1629CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1629CSharp12UnitTests.cs
new file mode 100644
index 000000000..379596818
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1629CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1629CSharp12UnitTests : SA1629CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1630CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1630CSharp12UnitTests.cs
new file mode 100644
index 000000000..6eb50f663
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1630CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1630CSharp12UnitTests : SA1630CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1631CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1631CSharp12UnitTests.cs
new file mode 100644
index 000000000..7534f9be3
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1631CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1631CSharp12UnitTests : SA1631CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1632CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1632CSharp12UnitTests.cs
new file mode 100644
index 000000000..a57660f66
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1632CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1632CSharp12UnitTests : SA1632CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1633CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1633CSharp12UnitTests.cs
new file mode 100644
index 000000000..fba7a0231
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1633CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1633CSharp12UnitTests : SA1633CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1634CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1634CSharp12UnitTests.cs
new file mode 100644
index 000000000..d180703df
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1634CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1634CSharp12UnitTests : SA1634CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1635CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1635CSharp12UnitTests.cs
new file mode 100644
index 000000000..8d22bff7a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1635CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1635CSharp12UnitTests : SA1635CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1636CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1636CSharp12UnitTests.cs
new file mode 100644
index 000000000..ede4f64d3
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1636CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1636CSharp12UnitTests : SA1636CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1637CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1637CSharp12UnitTests.cs
new file mode 100644
index 000000000..3cf10501e
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1637CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1637CSharp12UnitTests : SA1637CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1638CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1638CSharp12UnitTests.cs
new file mode 100644
index 000000000..c4a93ce02
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1638CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1638CSharp12UnitTests : SA1638CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1639CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1639CSharp12UnitTests.cs
new file mode 100644
index 000000000..ed35d825c
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1639CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1639CSharp12UnitTests : SA1639CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1640CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1640CSharp12UnitTests.cs
new file mode 100644
index 000000000..a21e8e336
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1640CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1640CSharp12UnitTests : SA1640CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1641CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1641CSharp12UnitTests.cs
new file mode 100644
index 000000000..00a729c6a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1641CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1641CSharp12UnitTests : SA1641CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1642CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1642CSharp12UnitTests.cs
new file mode 100644
index 000000000..51a3ac211
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1642CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1642CSharp12UnitTests : SA1642CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1643CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1643CSharp12UnitTests.cs
new file mode 100644
index 000000000..4661a4744
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1643CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1643CSharp12UnitTests : SA1643CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1644CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1644CSharp12UnitTests.cs
new file mode 100644
index 000000000..05cc6590e
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1644CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1644CSharp12UnitTests : SA1644CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1645CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1645CSharp12UnitTests.cs
new file mode 100644
index 000000000..fcbe3a739
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1645CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1645CSharp12UnitTests : SA1645CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1646CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1646CSharp12UnitTests.cs
new file mode 100644
index 000000000..3282dcb3f
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1646CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1646CSharp12UnitTests : SA1646CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1647CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1647CSharp12UnitTests.cs
new file mode 100644
index 000000000..5b8154cda
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1647CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1647CSharp12UnitTests : SA1647CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1648CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1648CSharp12UnitTests.cs
new file mode 100644
index 000000000..fcbb4713a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1648CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1648CSharp12UnitTests : SA1648CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1649CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1649CSharp12UnitTests.cs
new file mode 100644
index 000000000..7bb593dd2
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1649CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1649CSharp12UnitTests : SA1649CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1650CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1650CSharp12UnitTests.cs
new file mode 100644
index 000000000..9c175f263
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1650CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1650CSharp12UnitTests : SA1650CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1651CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1651CSharp12UnitTests.cs
new file mode 100644
index 000000000..848644a7a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1651CSharp12UnitTests.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.CSharp12.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.DocumentationRules;
+
+ public partial class SA1651CSharp12UnitTests : SA1651CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/HelperTests/SymbolNameHelpersCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/HelperTests/SymbolNameHelpersCSharp12UnitTests.cs
new file mode 100644
index 000000000..d358496b0
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/HelperTests/SymbolNameHelpersCSharp12UnitTests.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.CSharp12.HelperTests
+{
+ using StyleCop.Analyzers.Test.CSharp11.HelperTests;
+
+ public partial class SymbolNameHelpersCSharp12UnitTests : SymbolNameHelpersCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1500CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1500CSharp12UnitTests.cs
new file mode 100644
index 000000000..1ec187771
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1500CSharp12UnitTests.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.CSharp12.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.LayoutRules;
+
+ public partial class SA1500CSharp12UnitTests : SA1500CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1501CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1501CSharp12UnitTests.cs
new file mode 100644
index 000000000..ede784dc3
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1501CSharp12UnitTests.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.CSharp12.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.LayoutRules;
+
+ public partial class SA1501CSharp12UnitTests : SA1501CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1502CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1502CSharp12UnitTests.cs
new file mode 100644
index 000000000..37c1cfc65
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1502CSharp12UnitTests.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.CSharp12.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.LayoutRules;
+
+ public partial class SA1502CSharp12UnitTests : SA1502CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1503CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1503CSharp12UnitTests.cs
new file mode 100644
index 000000000..bb88a854c
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1503CSharp12UnitTests.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.CSharp12.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.LayoutRules;
+
+ public partial class SA1503CSharp12UnitTests : SA1503CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1504CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1504CSharp12UnitTests.cs
new file mode 100644
index 000000000..c54ac19b7
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1504CSharp12UnitTests.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.CSharp12.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.LayoutRules;
+
+ public partial class SA1504CSharp12UnitTests : SA1504CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1505CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1505CSharp12UnitTests.cs
new file mode 100644
index 000000000..a3b59fff0
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1505CSharp12UnitTests.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.CSharp12.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.LayoutRules;
+
+ public partial class SA1505CSharp12UnitTests : SA1505CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1506CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1506CSharp12UnitTests.cs
new file mode 100644
index 000000000..1c9ca8487
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1506CSharp12UnitTests.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.CSharp12.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.LayoutRules;
+
+ public partial class SA1506CSharp12UnitTests : SA1506CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1507CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1507CSharp12UnitTests.cs
new file mode 100644
index 000000000..4f64be7f0
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1507CSharp12UnitTests.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.CSharp12.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.LayoutRules;
+
+ public partial class SA1507CSharp12UnitTests : SA1507CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1508CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1508CSharp12UnitTests.cs
new file mode 100644
index 000000000..6bc975f7a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1508CSharp12UnitTests.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.CSharp12.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.LayoutRules;
+
+ public partial class SA1508CSharp12UnitTests : SA1508CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1509CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1509CSharp12UnitTests.cs
new file mode 100644
index 000000000..accaf2ce4
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1509CSharp12UnitTests.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.CSharp12.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.LayoutRules;
+
+ public partial class SA1509CSharp12UnitTests : SA1509CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1510CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1510CSharp12UnitTests.cs
new file mode 100644
index 000000000..4754f566b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1510CSharp12UnitTests.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.CSharp12.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.LayoutRules;
+
+ public partial class SA1510CSharp12UnitTests : SA1510CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1511CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1511CSharp12UnitTests.cs
new file mode 100644
index 000000000..c8c74b5af
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1511CSharp12UnitTests.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.CSharp12.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.LayoutRules;
+
+ public partial class SA1511CSharp12UnitTests : SA1511CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1512CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1512CSharp12UnitTests.cs
new file mode 100644
index 000000000..2dc37aae9
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1512CSharp12UnitTests.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.CSharp12.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.LayoutRules;
+
+ public partial class SA1512CSharp12UnitTests : SA1512CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1513CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1513CSharp12UnitTests.cs
new file mode 100644
index 000000000..47cc412e4
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1513CSharp12UnitTests.cs
@@ -0,0 +1,36 @@
+// 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.CSharp12.LayoutRules
+{
+ using System.Threading;
+ using System.Threading.Tasks;
+ using Microsoft.CodeAnalysis.Testing;
+ using StyleCop.Analyzers.Test.CSharp11.LayoutRules;
+ using Xunit;
+
+ using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
+ StyleCop.Analyzers.LayoutRules.SA1513ClosingBraceMustBeFollowedByBlankLine,
+ StyleCop.Analyzers.LayoutRules.SA1513CodeFixProvider>;
+
+ public partial class SA1513CSharp12UnitTests : SA1513CSharp11UnitTests
+ {
+ [Fact]
+ [WorkItem(3720, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3720")]
+ public async Task TestObjectInitializerInCollectionExpressionAsync()
+ {
+ var testCode = @"
+public class Foo
+{
+ public Foo[] TestMethod() =>
+ [
+ new Foo
+ {
+ }
+ ];
+}";
+
+ await VerifyCSharpFixAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, testCode, CancellationToken.None).ConfigureAwait(false);
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1514CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1514CSharp12UnitTests.cs
new file mode 100644
index 000000000..74acc4e99
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1514CSharp12UnitTests.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.CSharp12.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.LayoutRules;
+
+ public partial class SA1514CSharp12UnitTests : SA1514CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1515CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1515CSharp12UnitTests.cs
new file mode 100644
index 000000000..e5f42bbf7
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1515CSharp12UnitTests.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.CSharp12.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.LayoutRules;
+
+ public partial class SA1515CSharp12UnitTests : SA1515CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1516CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1516CSharp12UnitTests.cs
new file mode 100644
index 000000000..e3808a076
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1516CSharp12UnitTests.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.CSharp12.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.LayoutRules;
+
+ public partial class SA1516CSharp12UnitTests : SA1516CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1516UsingGroupsCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1516UsingGroupsCSharp12UnitTests.cs
new file mode 100644
index 000000000..7d623c45f
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1516UsingGroupsCSharp12UnitTests.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.CSharp12.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.LayoutRules;
+
+ public partial class SA1516UsingGroupsCSharp12UnitTests : SA1516UsingGroupsCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1517CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1517CSharp12UnitTests.cs
new file mode 100644
index 000000000..f730fdba0
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1517CSharp12UnitTests.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.CSharp12.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.LayoutRules;
+
+ public partial class SA1517CSharp12UnitTests : SA1517CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1518CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1518CSharp12UnitTests.cs
new file mode 100644
index 000000000..7aac4c5c2
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1518CSharp12UnitTests.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.CSharp12.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.LayoutRules;
+
+ public partial class SA1518CSharp12UnitTests : SA1518CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1519CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1519CSharp12UnitTests.cs
new file mode 100644
index 000000000..4ab533793
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1519CSharp12UnitTests.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.CSharp12.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.LayoutRules;
+
+ public partial class SA1519CSharp12UnitTests : SA1519CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1520CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1520CSharp12UnitTests.cs
new file mode 100644
index 000000000..42e9e2bab
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1520CSharp12UnitTests.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.CSharp12.LayoutRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.LayoutRules;
+
+ public partial class SA1520CSharp12UnitTests : SA1520CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/AccessorDeclarationSyntaxExtensionsCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/AccessorDeclarationSyntaxExtensionsCSharp12UnitTests.cs
new file mode 100644
index 000000000..6534cd4d8
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/AccessorDeclarationSyntaxExtensionsCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class AccessorDeclarationSyntaxExtensionsCSharp12UnitTests : AccessorDeclarationSyntaxExtensionsCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ArgumentSyntaxExtensionsCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ArgumentSyntaxExtensionsCSharp12UnitTests.cs
new file mode 100644
index 000000000..3c59e8afd
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ArgumentSyntaxExtensionsCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class ArgumentSyntaxExtensionsCSharp12UnitTests : ArgumentSyntaxExtensionsCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp12UnitTests.cs
new file mode 100644
index 000000000..b3132e555
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class BaseMethodDeclarationSyntaxExtensionsCSharp12UnitTests : BaseMethodDeclarationSyntaxExtensionsCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..5a0318141
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class CasePatternSwitchLabelSyntaxWrapperCSharp12UnitTests : CasePatternSwitchLabelSyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/CommonForEachStatementSyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/CommonForEachStatementSyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..b7cccfe53
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/CommonForEachStatementSyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class CommonForEachStatementSyntaxWrapperCSharp12UnitTests : CommonForEachStatementSyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ConstantPatternSyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ConstantPatternSyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..8698e02d4
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ConstantPatternSyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class ConstantPatternSyntaxWrapperCSharp12UnitTests : ConstantPatternSyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp12UnitTests.cs
new file mode 100644
index 000000000..06e11ac3f
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class ConstructorDeclarationSyntaxExtensionsCSharp12UnitTests : ConstructorDeclarationSyntaxExtensionsCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/CrefParameterSyntaxExtensionsCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/CrefParameterSyntaxExtensionsCSharp12UnitTests.cs
new file mode 100644
index 000000000..c09ee00d8
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/CrefParameterSyntaxExtensionsCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class CrefParameterSyntaxExtensionsCSharp12UnitTests : CrefParameterSyntaxExtensionsCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/DeclarationExpressionSyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/DeclarationExpressionSyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..5a949b734
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/DeclarationExpressionSyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class DeclarationExpressionSyntaxWrapperCSharp12UnitTests : DeclarationExpressionSyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/DeclarationPatternSyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/DeclarationPatternSyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..3c8e526c3
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/DeclarationPatternSyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class DeclarationPatternSyntaxWrapperCSharp12UnitTests : DeclarationPatternSyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/DestructorDeclarationSyntaxExtensionsCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/DestructorDeclarationSyntaxExtensionsCSharp12UnitTests.cs
new file mode 100644
index 000000000..8197c2d8d
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/DestructorDeclarationSyntaxExtensionsCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class DestructorDeclarationSyntaxExtensionsCSharp12UnitTests : DestructorDeclarationSyntaxExtensionsCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/DiscardDesignationSyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/DiscardDesignationSyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..998bb278b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/DiscardDesignationSyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class DiscardDesignationSyntaxWrapperCSharp12UnitTests : DiscardDesignationSyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..e16e8f8ee
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp12UnitTests : ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/IsPatternExpressionSyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/IsPatternExpressionSyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..fbd658570
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/IsPatternExpressionSyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class IsPatternExpressionSyntaxWrapperCSharp12UnitTests : IsPatternExpressionSyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/LanguageVersionExCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/LanguageVersionExCSharp12UnitTests.cs
new file mode 100644
index 000000000..c9e16ad8c
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/LanguageVersionExCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class LanguageVersionExCSharp12UnitTests : LanguageVersionExCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/LightupHelpersCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/LightupHelpersCSharp12UnitTests.cs
new file mode 100644
index 000000000..896d63d87
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/LightupHelpersCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class LightupHelpersCSharp12UnitTests : LightupHelpersCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/LocalFunctionStatementSyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/LocalFunctionStatementSyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..3d1369b93
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/LocalFunctionStatementSyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class LocalFunctionStatementSyntaxWrapperCSharp12UnitTests : LocalFunctionStatementSyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/MethodKindExCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/MethodKindExCSharp12UnitTests.cs
new file mode 100644
index 000000000..6212aeb5b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/MethodKindExCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class MethodKindExCSharp12UnitTests : MethodKindExCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/OperationKindExCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/OperationKindExCSharp12UnitTests.cs
new file mode 100644
index 000000000..912fb6f0b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/OperationKindExCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class OperationKindExCSharp12UnitTests : OperationKindExCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..313574ccc
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class ParenthesizedVariableDesignationSyntaxWrapperCSharp12UnitTests : ParenthesizedVariableDesignationSyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/PatternSyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/PatternSyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..08d3f8c8b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/PatternSyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class PatternSyntaxWrapperCSharp12UnitTests : PatternSyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/RefExpressionSyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/RefExpressionSyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..9ed8857fc
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/RefExpressionSyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class RefExpressionSyntaxWrapperCSharp12UnitTests : RefExpressionSyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/RefTypeSyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/RefTypeSyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..dc6d25e77
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/RefTypeSyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class RefTypeSyntaxWrapperCSharp12UnitTests : RefTypeSyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SingleVariableDesignationSyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SingleVariableDesignationSyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..fee719d8c
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SingleVariableDesignationSyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class SingleVariableDesignationSyntaxWrapperCSharp12UnitTests : SingleVariableDesignationSyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp12UnitTests.cs
new file mode 100644
index 000000000..6cb44c0d4
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class StackAllocArrayCreationExpressionSyntaxExtensionsCSharp12UnitTests : StackAllocArrayCreationExpressionSyntaxExtensionsCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SwitchExpressionArmSyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SwitchExpressionArmSyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..4b185e6b2
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SwitchExpressionArmSyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class SwitchExpressionArmSyntaxWrapperCSharp12UnitTests : SwitchExpressionArmSyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SwitchExpressionSyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SwitchExpressionSyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..61f5a769f
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SwitchExpressionSyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class SwitchExpressionSyntaxWrapperCSharp12UnitTests : SwitchExpressionSyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SyntaxKindExCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SyntaxKindExCSharp12UnitTests.cs
new file mode 100644
index 000000000..70554aa99
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SyntaxKindExCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class SyntaxKindExCSharp12UnitTests : SyntaxKindExCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..c0a88ca91
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class SyntaxWrapperCSharp12UnitTests : SyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SyntaxWrapperHelperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SyntaxWrapperHelperCSharp12UnitTests.cs
new file mode 100644
index 000000000..82a38a28f
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SyntaxWrapperHelperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class SyntaxWrapperHelperCSharp12UnitTests : SyntaxWrapperHelperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ThrowExpressionSyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ThrowExpressionSyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..721b6f89c
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ThrowExpressionSyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class ThrowExpressionSyntaxWrapperCSharp12UnitTests : ThrowExpressionSyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/TupleElementSyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/TupleElementSyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..cec6b6fd5
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/TupleElementSyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class TupleElementSyntaxWrapperCSharp12UnitTests : TupleElementSyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/TupleExpressionSyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/TupleExpressionSyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..6480514d4
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/TupleExpressionSyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class TupleExpressionSyntaxWrapperCSharp12UnitTests : TupleExpressionSyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/TupleTypeSyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/TupleTypeSyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..8a7ad4a46
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/TupleTypeSyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class TupleTypeSyntaxWrapperCSharp12UnitTests : TupleTypeSyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/VariableDesignationSyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/VariableDesignationSyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..3b526ab02
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/VariableDesignationSyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class VariableDesignationSyntaxWrapperCSharp12UnitTests : VariableDesignationSyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/WhenClauseSyntaxWrapperCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/WhenClauseSyntaxWrapperCSharp12UnitTests.cs
new file mode 100644
index 000000000..790261961
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/WhenClauseSyntaxWrapperCSharp12UnitTests.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.CSharp12.Lightup
+{
+ using StyleCop.Analyzers.Test.CSharp11.Lightup;
+
+ public partial class WhenClauseSyntaxWrapperCSharp12UnitTests : WhenClauseSyntaxWrapperCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1119CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1119CSharp12UnitTests.cs
new file mode 100644
index 000000000..d61cdaf6f
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1119CSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1119CSharp12UnitTests : SA1119CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1400CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1400CSharp12UnitTests.cs
new file mode 100644
index 000000000..821898eca
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1400CSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1400CSharp12UnitTests : SA1400CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1401CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1401CSharp12UnitTests.cs
new file mode 100644
index 000000000..c3c6f3f27
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1401CSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1401CSharp12UnitTests : SA1401CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForClassCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForClassCSharp12UnitTests.cs
new file mode 100644
index 000000000..76891c499
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForClassCSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1402ForClassCSharp12UnitTests : SA1402ForClassCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForDelegateCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForDelegateCSharp12UnitTests.cs
new file mode 100644
index 000000000..582c3a6cc
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForDelegateCSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1402ForDelegateCSharp12UnitTests : SA1402ForDelegateCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForEnumCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForEnumCSharp12UnitTests.cs
new file mode 100644
index 000000000..182ae31f4
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForEnumCSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1402ForEnumCSharp12UnitTests : SA1402ForEnumCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForInterfaceCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForInterfaceCSharp12UnitTests.cs
new file mode 100644
index 000000000..a6c94d843
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForInterfaceCSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1402ForInterfaceCSharp12UnitTests : SA1402ForInterfaceCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForRecordCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForRecordCSharp12UnitTests.cs
new file mode 100644
index 000000000..6664726cc
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForRecordCSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1402ForRecordCSharp12UnitTests : SA1402ForRecordCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForRecordClassCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForRecordClassCSharp12UnitTests.cs
new file mode 100644
index 000000000..6f101a11e
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForRecordClassCSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1402ForRecordClassCSharp12UnitTests : SA1402ForRecordClassCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForRecordStructCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForRecordStructCSharp12UnitTests.cs
new file mode 100644
index 000000000..7c571e758
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForRecordStructCSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1402ForRecordStructCSharp12UnitTests : SA1402ForRecordStructCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForStructCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForStructCSharp12UnitTests.cs
new file mode 100644
index 000000000..0ec6ef886
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForStructCSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1402ForStructCSharp12UnitTests : SA1402ForStructCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1403CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1403CSharp12UnitTests.cs
new file mode 100644
index 000000000..65bc7d227
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1403CSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1403CSharp12UnitTests : SA1403CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1404CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1404CSharp12UnitTests.cs
new file mode 100644
index 000000000..01276ea10
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1404CSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1404CSharp12UnitTests : SA1404CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1405CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1405CSharp12UnitTests.cs
new file mode 100644
index 000000000..541cf7040
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1405CSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1405CSharp12UnitTests : SA1405CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1406CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1406CSharp12UnitTests.cs
new file mode 100644
index 000000000..3416b36a9
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1406CSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1406CSharp12UnitTests : SA1406CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1407CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1407CSharp12UnitTests.cs
new file mode 100644
index 000000000..5644a7bda
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1407CSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1407CSharp12UnitTests : SA1407CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1408CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1408CSharp12UnitTests.cs
new file mode 100644
index 000000000..d6e1015c5
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1408CSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1408CSharp12UnitTests : SA1408CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1409CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1409CSharp12UnitTests.cs
new file mode 100644
index 000000000..fa67db8a5
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1409CSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1409CSharp12UnitTests : SA1409CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1410CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1410CSharp12UnitTests.cs
new file mode 100644
index 000000000..c4becdf09
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1410CSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1410CSharp12UnitTests : SA1410CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1411CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1411CSharp12UnitTests.cs
new file mode 100644
index 000000000..1eddf8d2d
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1411CSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1411CSharp12UnitTests : SA1411CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1412CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1412CSharp12UnitTests.cs
new file mode 100644
index 000000000..40ff7879b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1412CSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1412CSharp12UnitTests : SA1412CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1413CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1413CSharp12UnitTests.cs
new file mode 100644
index 000000000..b1fdea503
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1413CSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1413CSharp12UnitTests : SA1413CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1414CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1414CSharp12UnitTests.cs
new file mode 100644
index 000000000..b1cb00750
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1414CSharp12UnitTests.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.CSharp12.MaintainabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules;
+
+ public partial class SA1414CSharp12UnitTests : SA1414CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1300CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1300CSharp12UnitTests.cs
new file mode 100644
index 000000000..559ecfce9
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1300CSharp12UnitTests.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.CSharp12.NamingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.NamingRules;
+
+ public partial class SA1300CSharp12UnitTests : SA1300CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1301CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1301CSharp12UnitTests.cs
new file mode 100644
index 000000000..d31fd39a5
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1301CSharp12UnitTests.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.CSharp12.NamingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.NamingRules;
+
+ public partial class SA1301CSharp12UnitTests : SA1301CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1302CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1302CSharp12UnitTests.cs
new file mode 100644
index 000000000..3e5383ae0
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1302CSharp12UnitTests.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.CSharp12.NamingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.NamingRules;
+
+ public partial class SA1302CSharp12UnitTests : SA1302CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1303CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1303CSharp12UnitTests.cs
new file mode 100644
index 000000000..8073c907f
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1303CSharp12UnitTests.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.CSharp12.NamingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.NamingRules;
+
+ public partial class SA1303CSharp12UnitTests : SA1303CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1304CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1304CSharp12UnitTests.cs
new file mode 100644
index 000000000..152a01dad
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1304CSharp12UnitTests.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.CSharp12.NamingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.NamingRules;
+
+ public partial class SA1304CSharp12UnitTests : SA1304CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1305CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1305CSharp12UnitTests.cs
new file mode 100644
index 000000000..596f19cfe
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1305CSharp12UnitTests.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.CSharp12.NamingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.NamingRules;
+
+ public partial class SA1305CSharp12UnitTests : SA1305CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1306CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1306CSharp12UnitTests.cs
new file mode 100644
index 000000000..73083bbc7
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1306CSharp12UnitTests.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.CSharp12.NamingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.NamingRules;
+
+ public partial class SA1306CSharp12UnitTests : SA1306CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1307CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1307CSharp12UnitTests.cs
new file mode 100644
index 000000000..84ef32339
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1307CSharp12UnitTests.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.CSharp12.NamingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.NamingRules;
+
+ public partial class SA1307CSharp12UnitTests : SA1307CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1308CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1308CSharp12UnitTests.cs
new file mode 100644
index 000000000..21757c819
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1308CSharp12UnitTests.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.CSharp12.NamingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.NamingRules;
+
+ public partial class SA1308CSharp12UnitTests : SA1308CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1309CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1309CSharp12UnitTests.cs
new file mode 100644
index 000000000..f72ba4f15
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1309CSharp12UnitTests.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.CSharp12.NamingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.NamingRules;
+
+ public partial class SA1309CSharp12UnitTests : SA1309CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1310CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1310CSharp12UnitTests.cs
new file mode 100644
index 000000000..e467133aa
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1310CSharp12UnitTests.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.CSharp12.NamingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.NamingRules;
+
+ public partial class SA1310CSharp12UnitTests : SA1310CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1311CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1311CSharp12UnitTests.cs
new file mode 100644
index 000000000..ce4325418
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1311CSharp12UnitTests.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.CSharp12.NamingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.NamingRules;
+
+ public partial class SA1311CSharp12UnitTests : SA1311CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1312CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1312CSharp12UnitTests.cs
new file mode 100644
index 000000000..ede71bded
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1312CSharp12UnitTests.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.CSharp12.NamingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.NamingRules;
+
+ public partial class SA1312CSharp12UnitTests : SA1312CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1313CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1313CSharp12UnitTests.cs
new file mode 100644
index 000000000..3c6bbd31e
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1313CSharp12UnitTests.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.CSharp12.NamingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.NamingRules;
+
+ public partial class SA1313CSharp12UnitTests : SA1313CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1314CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1314CSharp12UnitTests.cs
new file mode 100644
index 000000000..98278bc71
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1314CSharp12UnitTests.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.CSharp12.NamingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.NamingRules;
+
+ public partial class SA1314CSharp12UnitTests : SA1314CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1316CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1316CSharp12UnitTests.cs
new file mode 100644
index 000000000..4437f6f0a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1316CSharp12UnitTests.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.CSharp12.NamingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.NamingRules;
+
+ public partial class SA1316CSharp12UnitTests : SA1316CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SX1309CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SX1309CSharp12UnitTests.cs
new file mode 100644
index 000000000..c48d6f672
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SX1309CSharp12UnitTests.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.CSharp12.NamingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.NamingRules;
+
+ public partial class SX1309CSharp12UnitTests : SX1309CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SX1309SCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SX1309SCSharp12UnitTests.cs
new file mode 100644
index 000000000..eee608d9b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SX1309SCSharp12UnitTests.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.CSharp12.NamingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.NamingRules;
+
+ public partial class SX1309SCSharp12UnitTests : SX1309SCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1200CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1200CSharp12UnitTests.cs
new file mode 100644
index 000000000..632757aea
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1200CSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class SA1200CSharp12UnitTests : SA1200CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1200OutsideNamespaceCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1200OutsideNamespaceCSharp12UnitTests.cs
new file mode 100644
index 000000000..9167f1632
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1200OutsideNamespaceCSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class SA1200OutsideNamespaceCSharp12UnitTests : SA1200OutsideNamespaceCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1200PreserveCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1200PreserveCSharp12UnitTests.cs
new file mode 100644
index 000000000..2711fcb1e
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1200PreserveCSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class SA1200PreserveCSharp12UnitTests : SA1200PreserveCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1201CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1201CSharp12UnitTests.cs
new file mode 100644
index 000000000..55a37d9fb
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1201CSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class SA1201CSharp12UnitTests : SA1201CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1202CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1202CSharp12UnitTests.cs
new file mode 100644
index 000000000..39a561c0a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1202CSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class SA1202CSharp12UnitTests : SA1202CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1203CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1203CSharp12UnitTests.cs
new file mode 100644
index 000000000..fbb956c81
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1203CSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class SA1203CSharp12UnitTests : SA1203CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1204CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1204CSharp12UnitTests.cs
new file mode 100644
index 000000000..70bcd2a7a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1204CSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class SA1204CSharp12UnitTests : SA1204CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1205CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1205CSharp12UnitTests.cs
new file mode 100644
index 000000000..6e6ac5f6a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1205CSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class SA1205CSharp12UnitTests : SA1205CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1206CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1206CSharp12UnitTests.cs
new file mode 100644
index 000000000..d7a891bcc
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1206CSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class SA1206CSharp12UnitTests : SA1206CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1206CodeFixProviderCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1206CodeFixProviderCSharp12UnitTests.cs
new file mode 100644
index 000000000..707947617
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1206CodeFixProviderCSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class SA1206CodeFixProviderCSharp12UnitTests : SA1206CodeFixProviderCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1207CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1207CSharp12UnitTests.cs
new file mode 100644
index 000000000..5df414383
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1207CSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class SA1207CSharp12UnitTests : SA1207CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1208CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1208CSharp12UnitTests.cs
new file mode 100644
index 000000000..1951de1b8
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1208CSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class SA1208CSharp12UnitTests : SA1208CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1209CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1209CSharp12UnitTests.cs
new file mode 100644
index 000000000..8519c6bc5
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1209CSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class SA1209CSharp12UnitTests : SA1209CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1210CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1210CSharp12UnitTests.cs
new file mode 100644
index 000000000..ca321e5f5
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1210CSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class SA1210CSharp12UnitTests : SA1210CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1210CombinedSystemDirectivesCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1210CombinedSystemDirectivesCSharp12UnitTests.cs
new file mode 100644
index 000000000..d0ffd8b81
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1210CombinedSystemDirectivesCSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class SA1210CombinedSystemDirectivesCSharp12UnitTests : SA1210CombinedSystemDirectivesCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1211CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1211CSharp12UnitTests.cs
new file mode 100644
index 000000000..6a09f9434
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1211CSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class SA1211CSharp12UnitTests : SA1211CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1212CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1212CSharp12UnitTests.cs
new file mode 100644
index 000000000..c6308b3bb
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1212CSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class SA1212CSharp12UnitTests : SA1212CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1213CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1213CSharp12UnitTests.cs
new file mode 100644
index 000000000..0a1aa4dfb
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1213CSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class SA1213CSharp12UnitTests : SA1213CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1214CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1214CSharp12UnitTests.cs
new file mode 100644
index 000000000..d7331d6a0
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1214CSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class SA1214CSharp12UnitTests : SA1214CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1215CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1215CSharp12UnitTests.cs
new file mode 100644
index 000000000..67bc76ea5
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1215CSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class SA1215CSharp12UnitTests : SA1215CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1216CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1216CSharp12UnitTests.cs
new file mode 100644
index 000000000..be8f84b66
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1216CSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class SA1216CSharp12UnitTests : SA1216CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1217CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1217CSharp12UnitTests.cs
new file mode 100644
index 000000000..52d2b7749
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1217CSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class SA1217CSharp12UnitTests : SA1217CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/UsingCodeFixProviderCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/UsingCodeFixProviderCSharp12UnitTests.cs
new file mode 100644
index 000000000..7f3d5f140
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/UsingCodeFixProviderCSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class UsingCodeFixProviderCSharp12UnitTests : UsingCodeFixProviderCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp12UnitTests.cs
new file mode 100644
index 000000000..260d447df
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class UsingCodeFixProviderCombinedSystemDirectivesCSharp12UnitTests : UsingCodeFixProviderCombinedSystemDirectivesCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp12UnitTests.cs
new file mode 100644
index 000000000..0b9542d1c
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class UsingCodeFixProviderGroupSeparationCSharp12UnitTests : UsingCodeFixProviderGroupSeparationCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/UsingCodeFixProviderRegressionCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/UsingCodeFixProviderRegressionCSharp12UnitTests.cs
new file mode 100644
index 000000000..4f55e0859
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/UsingCodeFixProviderRegressionCSharp12UnitTests.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.CSharp12.OrderingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.OrderingRules;
+
+ public partial class UsingCodeFixProviderRegressionCSharp12UnitTests : UsingCodeFixProviderRegressionCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Properties/AssemblyInfo.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000..faebdb0d6
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Properties/AssemblyInfo.cs
@@ -0,0 +1,12 @@
+// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
+// Licensed under the MIT License. See LICENSE in the project root for license information.
+
+using System;
+using System.Runtime.InteropServices;
+
+[assembly: CLSCompliant(false)]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1100CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1100CSharp12UnitTests.cs
new file mode 100644
index 000000000..3a066a4d4
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1100CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1100CSharp12UnitTests : SA1100CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1101CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1101CSharp12UnitTests.cs
new file mode 100644
index 000000000..883984a13
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1101CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1101CSharp12UnitTests : SA1101CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1102CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1102CSharp12UnitTests.cs
new file mode 100644
index 000000000..7d2a82b0e
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1102CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1102CSharp12UnitTests : SA1102CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1103CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1103CSharp12UnitTests.cs
new file mode 100644
index 000000000..930eb7695
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1103CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1103CSharp12UnitTests : SA1103CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1104CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1104CSharp12UnitTests.cs
new file mode 100644
index 000000000..2b075d8c1
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1104CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1104CSharp12UnitTests : SA1104CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1105CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1105CSharp12UnitTests.cs
new file mode 100644
index 000000000..6ada77ff0
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1105CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1105CSharp12UnitTests : SA1105CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1106CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1106CSharp12UnitTests.cs
new file mode 100644
index 000000000..071222226
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1106CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1106CSharp12UnitTests : SA1106CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1107CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1107CSharp12UnitTests.cs
new file mode 100644
index 000000000..c613dc8c2
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1107CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1107CSharp12UnitTests : SA1107CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1108CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1108CSharp12UnitTests.cs
new file mode 100644
index 000000000..554518a17
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1108CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1108CSharp12UnitTests : SA1108CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1109CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1109CSharp12UnitTests.cs
new file mode 100644
index 000000000..8d3cb6f5a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1109CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1109CSharp12UnitTests : SA1109CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1110CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1110CSharp12UnitTests.cs
new file mode 100644
index 000000000..1ebc82119
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1110CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1110CSharp12UnitTests : SA1110CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1111CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1111CSharp12UnitTests.cs
new file mode 100644
index 000000000..b67e9a3b2
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1111CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1111CSharp12UnitTests : SA1111CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1112CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1112CSharp12UnitTests.cs
new file mode 100644
index 000000000..2434476e4
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1112CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1112CSharp12UnitTests : SA1112CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1113CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1113CSharp12UnitTests.cs
new file mode 100644
index 000000000..66dd338ba
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1113CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1113CSharp12UnitTests : SA1113CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1114CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1114CSharp12UnitTests.cs
new file mode 100644
index 000000000..88f30e266
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1114CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1114CSharp12UnitTests : SA1114CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1115CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1115CSharp12UnitTests.cs
new file mode 100644
index 000000000..f99e7db0a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1115CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1115CSharp12UnitTests : SA1115CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1116CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1116CSharp12UnitTests.cs
new file mode 100644
index 000000000..fb5ab1b7f
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1116CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1116CSharp12UnitTests : SA1116CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1117CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1117CSharp12UnitTests.cs
new file mode 100644
index 000000000..e36a9c1b7
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1117CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1117CSharp12UnitTests : SA1117CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1118CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1118CSharp12UnitTests.cs
new file mode 100644
index 000000000..f9e1f8c7b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1118CSharp12UnitTests.cs
@@ -0,0 +1,43 @@
+// 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.CSharp12.ReadabilityRules
+{
+ using System.Threading;
+ using System.Threading.Tasks;
+ using Microsoft.CodeAnalysis.Testing;
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+ using Xunit;
+
+ using static StyleCop.Analyzers.Test.Verifiers.StyleCopDiagnosticVerifier<
+ StyleCop.Analyzers.ReadabilityRules.SA1118ParameterMustNotSpanMultipleLines>;
+
+ public partial class SA1118CSharp12UnitTests : SA1118CSharp11UnitTests
+ {
+ [Fact]
+ [WorkItem(3732, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3732")]
+ public async Task TestCollectionExpressionAsync()
+ {
+ var testCode = @"
+class Foo
+{
+ public void TestMethod()
+ {
+ AnotherMethod(
+ 42,
+ [
+ 1,
+ 2,
+ 3
+ ]);
+ }
+
+ public void AnotherMethod(int x, int[] y)
+ {
+ }
+}";
+
+ await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1120CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1120CSharp12UnitTests.cs
new file mode 100644
index 000000000..f0232b445
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1120CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1120CSharp12UnitTests : SA1120CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1121CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1121CSharp12UnitTests.cs
new file mode 100644
index 000000000..7514597a8
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1121CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1121CSharp12UnitTests : SA1121CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1122CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1122CSharp12UnitTests.cs
new file mode 100644
index 000000000..f4fcda365
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1122CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1122CSharp12UnitTests : SA1122CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1123CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1123CSharp12UnitTests.cs
new file mode 100644
index 000000000..729fe84a8
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1123CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1123CSharp12UnitTests : SA1123CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1124CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1124CSharp12UnitTests.cs
new file mode 100644
index 000000000..78211b320
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1124CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1124CSharp12UnitTests : SA1124CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1125CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1125CSharp12UnitTests.cs
new file mode 100644
index 000000000..fb8f67ad6
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1125CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1125CSharp12UnitTests : SA1125CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1126CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1126CSharp12UnitTests.cs
new file mode 100644
index 000000000..d41b8d2ae
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1126CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1126CSharp12UnitTests : SA1126CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1127CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1127CSharp12UnitTests.cs
new file mode 100644
index 000000000..694d14c79
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1127CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1127CSharp12UnitTests : SA1127CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1128CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1128CSharp12UnitTests.cs
new file mode 100644
index 000000000..94d236f0a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1128CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1128CSharp12UnitTests : SA1128CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1129CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1129CSharp12UnitTests.cs
new file mode 100644
index 000000000..bb1bcd2a3
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1129CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1129CSharp12UnitTests : SA1129CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1130CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1130CSharp12UnitTests.cs
new file mode 100644
index 000000000..a0253a0c5
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1130CSharp12UnitTests.cs
@@ -0,0 +1,23 @@
+// 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.CSharp12.ReadabilityRules
+{
+ using Microsoft.CodeAnalysis.Testing;
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1130CSharp12UnitTests : SA1130CSharp11UnitTests
+ {
+ protected override DiagnosticResult[] GetCompilerExpectedResultCodeFixSpecialCases()
+ {
+ return new[]
+ {
+ DiagnosticResult.CompilerError("CS1065").WithLocation(12, 53),
+ DiagnosticResult.CompilerError("CS7014").WithLocation(13, 47),
+ DiagnosticResult.CompilerError("CS1670").WithLocation(14, 47),
+ DiagnosticResult.CompilerError("CS1669").WithLocation(15, 42),
+ DiagnosticResult.CompilerError("CS0225").WithLocation(14, 47),
+ };
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1131CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1131CSharp12UnitTests.cs
new file mode 100644
index 000000000..7d09d8cfd
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1131CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1131CSharp12UnitTests : SA1131CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1132CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1132CSharp12UnitTests.cs
new file mode 100644
index 000000000..134fda68c
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1132CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1132CSharp12UnitTests : SA1132CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1133CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1133CSharp12UnitTests.cs
new file mode 100644
index 000000000..2d59c0da2
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1133CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1133CSharp12UnitTests : SA1133CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1134CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1134CSharp12UnitTests.cs
new file mode 100644
index 000000000..f64d2cdf7
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1134CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1134CSharp12UnitTests : SA1134CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1135CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1135CSharp12UnitTests.cs
new file mode 100644
index 000000000..5b015b1b7
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1135CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1135CSharp12UnitTests : SA1135CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1136CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1136CSharp12UnitTests.cs
new file mode 100644
index 000000000..9ecf78616
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1136CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1136CSharp12UnitTests : SA1136CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1137CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1137CSharp12UnitTests.cs
new file mode 100644
index 000000000..32aa35907
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1137CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1137CSharp12UnitTests : SA1137CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1139CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1139CSharp12UnitTests.cs
new file mode 100644
index 000000000..7959b14c5
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1139CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1139CSharp12UnitTests : SA1139CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1141CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1141CSharp12UnitTests.cs
new file mode 100644
index 000000000..59a64e721
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1141CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1141CSharp12UnitTests : SA1141CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1142CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1142CSharp12UnitTests.cs
new file mode 100644
index 000000000..3990598c3
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1142CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SA1142CSharp12UnitTests : SA1142CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SX1101CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SX1101CSharp12UnitTests.cs
new file mode 100644
index 000000000..bde93ce4c
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SX1101CSharp12UnitTests.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.CSharp12.ReadabilityRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules;
+
+ public partial class SX1101CSharp12UnitTests : SX1101CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Settings/SettingsCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Settings/SettingsCSharp12UnitTests.cs
new file mode 100644
index 000000000..4d39b9424
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Settings/SettingsCSharp12UnitTests.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.CSharp12.Settings
+{
+ using StyleCop.Analyzers.Test.CSharp11.Settings;
+
+ public partial class SettingsCSharp12UnitTests : SettingsCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Settings/SettingsFileCodeFixProviderCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Settings/SettingsFileCodeFixProviderCSharp12UnitTests.cs
new file mode 100644
index 000000000..5c265a3fe
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Settings/SettingsFileCodeFixProviderCSharp12UnitTests.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.CSharp12.Settings
+{
+ using StyleCop.Analyzers.Test.CSharp11.Settings;
+
+ public partial class SettingsFileCodeFixProviderCSharp12UnitTests : SettingsFileCodeFixProviderCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1000CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1000CSharp12UnitTests.cs
new file mode 100644
index 000000000..88f73ce32
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1000CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1000CSharp12UnitTests : SA1000CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1001CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1001CSharp12UnitTests.cs
new file mode 100644
index 000000000..d30920309
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1001CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1001CSharp12UnitTests : SA1001CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1002CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1002CSharp12UnitTests.cs
new file mode 100644
index 000000000..54a14c9ea
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1002CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1002CSharp12UnitTests : SA1002CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1003CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1003CSharp12UnitTests.cs
new file mode 100644
index 000000000..ed17bb71b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1003CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1003CSharp12UnitTests : SA1003CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1004CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1004CSharp12UnitTests.cs
new file mode 100644
index 000000000..d832043fb
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1004CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1004CSharp12UnitTests : SA1004CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1005CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1005CSharp12UnitTests.cs
new file mode 100644
index 000000000..17c8b288c
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1005CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1005CSharp12UnitTests : SA1005CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1006CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1006CSharp12UnitTests.cs
new file mode 100644
index 000000000..684629414
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1006CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1006CSharp12UnitTests : SA1006CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1007CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1007CSharp12UnitTests.cs
new file mode 100644
index 000000000..7aee3f8b6
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1007CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1007CSharp12UnitTests : SA1007CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1008CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1008CSharp12UnitTests.cs
new file mode 100644
index 000000000..f0544bc37
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1008CSharp12UnitTests.cs
@@ -0,0 +1,32 @@
+// 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.CSharp12.SpacingRules
+{
+ using System.Threading;
+ using System.Threading.Tasks;
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+ using Xunit;
+
+ using static StyleCop.Analyzers.SpacingRules.SA1008OpeningParenthesisMustBeSpacedCorrectly;
+ using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
+ StyleCop.Analyzers.SpacingRules.SA1008OpeningParenthesisMustBeSpacedCorrectly,
+ StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>;
+
+ public partial class SA1008CSharp12UnitTests : SA1008CSharp11UnitTests
+ {
+ [Fact]
+ [WorkItem(3743, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3743")]
+ public async Task TestTupleUsingAliasAsync()
+ {
+ const string testCode = @"
+using TestAlias ={|#0:(|}string X, bool Y);";
+
+ const string fixedCode = @"
+using TestAlias = (string X, bool Y);";
+
+ var expected = Diagnostic(DescriptorPreceded).WithLocation(0);
+ await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false);
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1009CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1009CSharp12UnitTests.cs
new file mode 100644
index 000000000..434f1f720
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1009CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1009CSharp12UnitTests : SA1009CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1010CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1010CSharp12UnitTests.cs
new file mode 100644
index 000000000..60bbffff8
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1010CSharp12UnitTests.cs
@@ -0,0 +1,49 @@
+// 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.CSharp12.SpacingRules
+{
+ using System.Threading;
+ using System.Threading.Tasks;
+ using Microsoft.CodeAnalysis.Testing;
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+ using Xunit;
+
+ using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier<
+ StyleCop.Analyzers.SpacingRules.SA1010OpeningSquareBracketsMustBeSpacedCorrectly,
+ StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>;
+
+ public partial class SA1010CSharp12UnitTests : SA1010CSharp11UnitTests
+ {
+ [Fact]
+ [WorkItem(3687, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3687")]
+ public async Task TestCollectionExpressionAsync()
+ {
+ var testCode = $@"
+using System.Collections.Generic;
+
+namespace TestNamespace
+{{
+ public class TestClass
+ {{
+ protected static readonly int[] DefaultMetadataPaths = [1, 2];
+
+ public void TestMethod(List x, int y)
+ {{
+ List foo = [];
+ foo = [42];
+ foo = [..x, y];
+ Bar([1 ,2, 3]);
+ }}
+
+ public void Bar(int[] x)
+ {{
+ }}
+ }}
+}}
+";
+
+ await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1011CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1011CSharp12UnitTests.cs
new file mode 100644
index 000000000..f546ff7e0
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1011CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1011CSharp12UnitTests : SA1011CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1012CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1012CSharp12UnitTests.cs
new file mode 100644
index 000000000..ffd23f332
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1012CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1012CSharp12UnitTests : SA1012CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1013CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1013CSharp12UnitTests.cs
new file mode 100644
index 000000000..463d491c0
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1013CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1013CSharp12UnitTests : SA1013CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1014CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1014CSharp12UnitTests.cs
new file mode 100644
index 000000000..8893d944e
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1014CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1014CSharp12UnitTests : SA1014CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1015CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1015CSharp12UnitTests.cs
new file mode 100644
index 000000000..a01446ce9
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1015CSharp12UnitTests.cs
@@ -0,0 +1,21 @@
+// 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.CSharp12.SpacingRules
+{
+ using Microsoft.CodeAnalysis.Testing;
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1015CSharp12UnitTests : SA1015CSharp11UnitTests
+ {
+ protected override DiagnosticResult[] GetExpectedResultMissingToken()
+ {
+ return new[]
+ {
+ DiagnosticResult.CompilerError("CS1003").WithLocation(7, 35).WithArguments(","),
+ DiagnosticResult.CompilerError("CS1003").WithLocation(7, 36).WithArguments(">"),
+ DiagnosticResult.CompilerError("CS1026").WithLocation(7, 36),
+ };
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1016CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1016CSharp12UnitTests.cs
new file mode 100644
index 000000000..92f063a5d
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1016CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1016CSharp12UnitTests : SA1016CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1017CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1017CSharp12UnitTests.cs
new file mode 100644
index 000000000..2be1eb007
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1017CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1017CSharp12UnitTests : SA1017CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1018CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1018CSharp12UnitTests.cs
new file mode 100644
index 000000000..c07aa71e4
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1018CSharp12UnitTests.cs
@@ -0,0 +1,23 @@
+// 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.CSharp12.SpacingRules
+{
+ using Microsoft.CodeAnalysis.Testing;
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1018CSharp12UnitTests : SA1018CSharp11UnitTests
+ {
+ protected override DiagnosticResult[] GetExpectedResultSyntaxErrorAtEndOfFile()
+ {
+ return new[]
+ {
+ DiagnosticResult.CompilerError("CS1031").WithLocation(10, 2),
+ DiagnosticResult.CompilerError("CS8803").WithLocation(11, 1),
+ DiagnosticResult.CompilerError("CS8805").WithLocation(11, 1),
+ DiagnosticResult.CompilerError("CS1001").WithLocation(11, 2),
+ DiagnosticResult.CompilerError("CS1002").WithLocation(11, 2),
+ };
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1019CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1019CSharp12UnitTests.cs
new file mode 100644
index 000000000..5e4836ea9
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1019CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1019CSharp12UnitTests : SA1019CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1020CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1020CSharp12UnitTests.cs
new file mode 100644
index 000000000..a633eb73b
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1020CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1020CSharp12UnitTests : SA1020CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1021CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1021CSharp12UnitTests.cs
new file mode 100644
index 000000000..012715e71
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1021CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1021CSharp12UnitTests : SA1021CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1022CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1022CSharp12UnitTests.cs
new file mode 100644
index 000000000..68539d93e
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1022CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1022CSharp12UnitTests : SA1022CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1023CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1023CSharp12UnitTests.cs
new file mode 100644
index 000000000..de9134b23
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1023CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1023CSharp12UnitTests : SA1023CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1024CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1024CSharp12UnitTests.cs
new file mode 100644
index 000000000..9a0cf7b57
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1024CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1024CSharp12UnitTests : SA1024CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1025CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1025CSharp12UnitTests.cs
new file mode 100644
index 000000000..e038ec962
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1025CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1025CSharp12UnitTests : SA1025CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1026CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1026CSharp12UnitTests.cs
new file mode 100644
index 000000000..62987c401
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1026CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1026CSharp12UnitTests : SA1026CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1027AlternateIndentationCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1027AlternateIndentationCSharp12UnitTests.cs
new file mode 100644
index 000000000..e434b41c4
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1027AlternateIndentationCSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1027AlternateIndentationCSharp12UnitTests : SA1027AlternateIndentationCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1027CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1027CSharp12UnitTests.cs
new file mode 100644
index 000000000..9888b07d3
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1027CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1027CSharp12UnitTests : SA1027CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1027UseTabsCSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1027UseTabsCSharp12UnitTests.cs
new file mode 100644
index 000000000..8f01e1b50
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1027UseTabsCSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1027UseTabsCSharp12UnitTests : SA1027UseTabsCSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1028CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1028CSharp12UnitTests.cs
new file mode 100644
index 000000000..8a32d29ad
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1028CSharp12UnitTests.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.CSharp12.SpacingRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpacingRules;
+
+ public partial class SA1028CSharp12UnitTests : SA1028CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpecialRules/SA0001CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpecialRules/SA0001CSharp12UnitTests.cs
new file mode 100644
index 000000000..d37ad0179
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpecialRules/SA0001CSharp12UnitTests.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.CSharp12.SpecialRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpecialRules;
+
+ public partial class SA0001CSharp12UnitTests : SA0001CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpecialRules/SA0002CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpecialRules/SA0002CSharp12UnitTests.cs
new file mode 100644
index 000000000..9d9511ab7
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpecialRules/SA0002CSharp12UnitTests.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.CSharp12.SpecialRules
+{
+ using StyleCop.Analyzers.Test.CSharp11.SpecialRules;
+
+ public partial class SA0002CSharp12UnitTests : SA0002CSharp11UnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/StyleCop.Analyzers.Test.CSharp12.csproj b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/StyleCop.Analyzers.Test.CSharp12.csproj
new file mode 100644
index 000000000..ddb37f4f9
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/StyleCop.Analyzers.Test.CSharp12.csproj
@@ -0,0 +1,38 @@
+
+
+
+
+ net472
+ false
+ true
+ true
+
+
+
+ ..\StyleCop.Analyzers.Internal.ruleset
+
+
+
+ true
+ ..\..\build\keys\TestingKey.snk
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/AnalyzerConfigurationCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/AnalyzerConfigurationCSharp7UnitTests.cs
new file mode 100644
index 000000000..d739ae277
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/AnalyzerConfigurationCSharp7UnitTests.cs
@@ -0,0 +1,9 @@
+// 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.CSharp7
+{
+ public partial class AnalyzerConfigurationCSharp7UnitTests : AnalyzerConfigurationUnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/AnalyzerConfigurationTestsCSharp7.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/AnalyzerConfigurationTestsCSharp7.cs
deleted file mode 100644
index e2a2e8c8f..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/AnalyzerConfigurationTestsCSharp7.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-// 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.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
deleted file mode 100644
index 9beeed04c..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/CSharp7InheritdocCodeFixProviderUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.CSharp7.DocumentationRules
-{
- using StyleCop.Analyzers.Test.DocumentationRules;
-
- public class CSharp7InheritdocCodeFixProviderUnitTests : InheritdocCodeFixProviderUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/CSharp7NoXmlFileHeaderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/CSharp7NoXmlFileHeaderUnitTests.cs
deleted file mode 100644
index 20f958d0d..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/CSharp7NoXmlFileHeaderUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.CSharp7.DocumentationRules
-{
- using StyleCop.Analyzers.Test.DocumentationRules;
-
- public class CSharp7NoXmlFileHeaderUnitTests : NoXmlFileHeaderUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/InheritdocCodeFixProviderCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/InheritdocCodeFixProviderCSharp7UnitTests.cs
new file mode 100644
index 000000000..649c19df9
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/InheritdocCodeFixProviderCSharp7UnitTests.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.CSharp7.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.DocumentationRules;
+
+ public partial class InheritdocCodeFixProviderCSharp7UnitTests : InheritdocCodeFixProviderUnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/NoXmlFileHeaderCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/NoXmlFileHeaderCSharp7UnitTests.cs
new file mode 100644
index 000000000..abd78da9e
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/NoXmlFileHeaderCSharp7UnitTests.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.CSharp7.DocumentationRules
+{
+ using StyleCop.Analyzers.Test.DocumentationRules;
+
+ public partial class NoXmlFileHeaderCSharp7UnitTests : NoXmlFileHeaderUnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1600CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1600CSharp7UnitTests.cs
index 6e1c36b11..105ba5506 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1600CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1600CSharp7UnitTests.cs
@@ -10,7 +10,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
using StyleCop.Analyzers.Test.DocumentationRules;
using Xunit;
- public class SA1600CSharp7UnitTests : SA1600UnitTests
+ public partial class SA1600CSharp7UnitTests : SA1600UnitTests
{
protected override LanguageVersion LanguageVersion => LanguageVersion.CSharp7_2;
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1601CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1601CSharp7UnitTests.cs
index 33a327977..d2c033fb0 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1601CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1601CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1601CSharp7UnitTests : SA1601UnitTests
+ public partial class SA1601CSharp7UnitTests : SA1601UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1602CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1602CSharp7UnitTests.cs
index 556009ca4..44b798e9c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1602CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1602CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1602CSharp7UnitTests : SA1602UnitTests
+ public partial class SA1602CSharp7UnitTests : SA1602UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1603CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1603CSharp7UnitTests.cs
index 8c0b08703..3518ceb14 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1603CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1603CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1603CSharp7UnitTests : SA1603UnitTests
+ public partial class SA1603CSharp7UnitTests : SA1603UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1604CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1604CSharp7UnitTests.cs
index 3e9c88331..e5e64861a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1604CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1604CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1604CSharp7UnitTests : SA1604UnitTests
+ public partial class SA1604CSharp7UnitTests : SA1604UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1605CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1605CSharp7UnitTests.cs
index 98ba3a930..236ab0649 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1605CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1605CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1605CSharp7UnitTests : SA1605UnitTests
+ public partial class SA1605CSharp7UnitTests : SA1605UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1606CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1606CSharp7UnitTests.cs
index 24dee3fed..dc3dbc779 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1606CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1606CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1606CSharp7UnitTests : SA1606UnitTests
+ public partial class SA1606CSharp7UnitTests : SA1606UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1607CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1607CSharp7UnitTests.cs
index 3763f3b66..9913fd0db 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1607CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1607CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1607CSharp7UnitTests : SA1607UnitTests
+ public partial class SA1607CSharp7UnitTests : SA1607UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1608CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1608CSharp7UnitTests.cs
index b7a76cb73..6c1640047 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1608CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1608CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1608CSharp7UnitTests : SA1608UnitTests
+ public partial class SA1608CSharp7UnitTests : SA1608UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1609CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1609CSharp7UnitTests.cs
index 149983842..da5eabe62 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1609CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1609CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1609CSharp7UnitTests : SA1609UnitTests
+ public partial class SA1609CSharp7UnitTests : SA1609UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1610CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1610CSharp7UnitTests.cs
index b62bfdb96..7285a9eaf 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1610CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1610CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1610CSharp7UnitTests : SA1610UnitTests
+ public partial class SA1610CSharp7UnitTests : SA1610UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1611CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1611CSharp7UnitTests.cs
index f111cbf9d..47374b265 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1611CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1611CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1611CSharp7UnitTests : SA1611UnitTests
+ public partial class SA1611CSharp7UnitTests : SA1611UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1612CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1612CSharp7UnitTests.cs
index 1c29a4fca..f5ec0ea9d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1612CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1612CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1612CSharp7UnitTests : SA1612UnitTests
+ public partial class SA1612CSharp7UnitTests : SA1612UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1613CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1613CSharp7UnitTests.cs
index 4d479620a..52e00dfc3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1613CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1613CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1613CSharp7UnitTests : SA1613UnitTests
+ public partial class SA1613CSharp7UnitTests : SA1613UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1614CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1614CSharp7UnitTests.cs
index f139fa7c1..ed4222130 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1614CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1614CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1614CSharp7UnitTests : SA1614UnitTests
+ public partial class SA1614CSharp7UnitTests : SA1614UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1615CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1615CSharp7UnitTests.cs
index 26b7217c6..e0dbeb923 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1615CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1615CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1615CSharp7UnitTests : SA1615UnitTests
+ public partial class SA1615CSharp7UnitTests : SA1615UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1616CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1616CSharp7UnitTests.cs
index 7cb4668b7..236b715ab 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1616CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1616CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1616CSharp7UnitTests : SA1616UnitTests
+ public partial class SA1616CSharp7UnitTests : SA1616UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1617CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1617CSharp7UnitTests.cs
index 350dd4287..ae1defbc3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1617CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1617CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1617CSharp7UnitTests : SA1617UnitTests
+ public partial class SA1617CSharp7UnitTests : SA1617UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1618CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1618CSharp7UnitTests.cs
index f7f7e92f9..8cad7a62a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1618CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1618CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1618CSharp7UnitTests : SA1618UnitTests
+ public partial class SA1618CSharp7UnitTests : SA1618UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1619CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1619CSharp7UnitTests.cs
index ad3be2ae1..8b3e20318 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1619CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1619CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1619CSharp7UnitTests : SA1619UnitTests
+ public partial class SA1619CSharp7UnitTests : SA1619UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1620CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1620CSharp7UnitTests.cs
index 096779bed..de61ca319 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1620CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1620CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1620CSharp7UnitTests : SA1620UnitTests
+ public partial class SA1620CSharp7UnitTests : SA1620UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1621CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1621CSharp7UnitTests.cs
index 7a91e9e35..6e551a1b4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1621CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1621CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1621CSharp7UnitTests : SA1621UnitTests
+ public partial class SA1621CSharp7UnitTests : SA1621UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1622CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1622CSharp7UnitTests.cs
index 741d0ec7c..d58d0ad17 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1622CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1622CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1622CSharp7UnitTests : SA1622UnitTests
+ public partial class SA1622CSharp7UnitTests : SA1622UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1623CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1623CSharp7UnitTests.cs
index 317481a53..93f02805c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1623CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1623CSharp7UnitTests.cs
@@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
StyleCop.Analyzers.DocumentationRules.PropertySummaryDocumentationAnalyzer,
StyleCop.Analyzers.DocumentationRules.PropertySummaryDocumentationCodeFixProvider>;
- public class SA1623CSharp7UnitTests : SA1623UnitTests
+ public partial class SA1623CSharp7UnitTests : SA1623UnitTests
{
///
/// Verifies that property documentation that does not start with the appropriate text will result in a
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1624CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1624CSharp7UnitTests.cs
index e1aadc47b..75ed164cc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1624CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1624CSharp7UnitTests.cs
@@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
StyleCop.Analyzers.DocumentationRules.PropertySummaryDocumentationAnalyzer,
StyleCop.Analyzers.DocumentationRules.PropertySummaryDocumentationCodeFixProvider>;
- public class SA1624CSharp7UnitTests : SA1624UnitTests
+ public partial class SA1624CSharp7UnitTests : SA1624UnitTests
{
///
/// Verifies that documentation that starts with the proper text for multiple expression-bodied accessors will
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1625CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1625CSharp7UnitTests.cs
index defe4c42b..337451909 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1625CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1625CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1625CSharp7UnitTests : SA1625UnitTests
+ public partial class SA1625CSharp7UnitTests : SA1625UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1626CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1626CSharp7UnitTests.cs
index 4ed6df2e3..49b4c7532 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1626CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1626CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1626CSharp7UnitTests : SA1626UnitTests
+ public partial class SA1626CSharp7UnitTests : SA1626UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1627CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1627CSharp7UnitTests.cs
index b7ce91147..6798c6561 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1627CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1627CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1627CSharp7UnitTests : SA1627UnitTests
+ public partial class SA1627CSharp7UnitTests : SA1627UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1628CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1628CSharp7UnitTests.cs
index 48696db10..67559a8e4 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1628CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1628CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1628CSharp7UnitTests : SA1628UnitTests
+ public partial class SA1628CSharp7UnitTests : SA1628UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1629CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1629CSharp7UnitTests.cs
index 8340aed7b..a75f87da3 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1629CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1629CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1629CSharp7UnitTests : SA1629UnitTests
+ public partial class SA1629CSharp7UnitTests : SA1629UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1630CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1630CSharp7UnitTests.cs
index 491e9134e..5a053f43f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1630CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1630CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1630CSharp7UnitTests : SA1630UnitTests
+ public partial class SA1630CSharp7UnitTests : SA1630UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1631CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1631CSharp7UnitTests.cs
index 9c09bdd04..e18f6108e 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1631CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1631CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1631CSharp7UnitTests : SA1631UnitTests
+ public partial class SA1631CSharp7UnitTests : SA1631UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1632CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1632CSharp7UnitTests.cs
index 039301103..1f3e00df6 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1632CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1632CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1632CSharp7UnitTests : SA1632UnitTests
+ public partial class SA1632CSharp7UnitTests : SA1632UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1633CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1633CSharp7UnitTests.cs
index b9ffb1f50..753e047ae 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1633CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1633CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1633CSharp7UnitTests : SA1633UnitTests
+ public partial class SA1633CSharp7UnitTests : SA1633UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1634CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1634CSharp7UnitTests.cs
index ca298af85..968d6bf7c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1634CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1634CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1634CSharp7UnitTests : SA1634UnitTests
+ public partial class SA1634CSharp7UnitTests : SA1634UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1635CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1635CSharp7UnitTests.cs
index 94edb2976..87022206f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1635CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1635CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1635CSharp7UnitTests : SA1635UnitTests
+ public partial class SA1635CSharp7UnitTests : SA1635UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1636CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1636CSharp7UnitTests.cs
index fefd904a8..8767be2e7 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1636CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1636CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1636CSharp7UnitTests : SA1636UnitTests
+ public partial class SA1636CSharp7UnitTests : SA1636UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1637CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1637CSharp7UnitTests.cs
index 9501f7883..ec3c55efa 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1637CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1637CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1637CSharp7UnitTests : SA1637UnitTests
+ public partial class SA1637CSharp7UnitTests : SA1637UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1638CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1638CSharp7UnitTests.cs
index 1e6bc2c96..1a45d81c8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1638CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1638CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1638CSharp7UnitTests : SA1638UnitTests
+ public partial class SA1638CSharp7UnitTests : SA1638UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1639CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1639CSharp7UnitTests.cs
index c3371919b..6f9c69d7d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1639CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1639CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1639CSharp7UnitTests : SA1639UnitTests
+ public partial class SA1639CSharp7UnitTests : SA1639UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1640CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1640CSharp7UnitTests.cs
index 831fb730e..278e40584 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1640CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1640CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1640CSharp7UnitTests : SA1640UnitTests
+ public partial class SA1640CSharp7UnitTests : SA1640UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1641CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1641CSharp7UnitTests.cs
index 7f609497d..1fb908b26 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1641CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1641CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1641CSharp7UnitTests : SA1641UnitTests
+ public partial class SA1641CSharp7UnitTests : SA1641UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1642CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1642CSharp7UnitTests.cs
index b1f5f1a01..01fe01d9f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1642CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1642CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1642CSharp7UnitTests : SA1642UnitTests
+ public partial class SA1642CSharp7UnitTests : SA1642UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1643CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1643CSharp7UnitTests.cs
index 0e673912f..264440bbc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1643CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1643CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1643CSharp7UnitTests : SA1643UnitTests
+ public partial class SA1643CSharp7UnitTests : SA1643UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1644CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1644CSharp7UnitTests.cs
index be69b26b4..adb8bc6a2 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1644CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1644CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1644CSharp7UnitTests : SA1644UnitTests
+ public partial class SA1644CSharp7UnitTests : SA1644UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1645CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1645CSharp7UnitTests.cs
index 02253c775..7ea1f2889 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1645CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1645CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1645CSharp7UnitTests : SA1645UnitTests
+ public partial class SA1645CSharp7UnitTests : SA1645UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1646CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1646CSharp7UnitTests.cs
index ad07602cb..09b9edf3d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1646CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1646CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1646CSharp7UnitTests : SA1646UnitTests
+ public partial class SA1646CSharp7UnitTests : SA1646UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1647CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1647CSharp7UnitTests.cs
index b11e990a5..5512fc0d5 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1647CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1647CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1647CSharp7UnitTests : SA1647UnitTests
+ public partial class SA1647CSharp7UnitTests : SA1647UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1648CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1648CSharp7UnitTests.cs
index ea528e055..934985890 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1648CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1648CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1648CSharp7UnitTests : SA1648UnitTests
+ public partial class SA1648CSharp7UnitTests : SA1648UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1649CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1649CSharp7UnitTests.cs
index 88618dd0f..1d9d5db6f 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1649CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1649CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1649CSharp7UnitTests : SA1649UnitTests
+ public partial class SA1649CSharp7UnitTests : SA1649UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1650CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1650CSharp7UnitTests.cs
index f7b3b197f..4c5d2d586 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1650CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1650CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1650CSharp7UnitTests : SA1650UnitTests
+ public partial class SA1650CSharp7UnitTests : SA1650UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1651CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1651CSharp7UnitTests.cs
index c2e5544d4..90bfd00ee 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1651CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1651CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
- public class SA1651CSharp7UnitTests : SA1651UnitTests
+ public partial class SA1651CSharp7UnitTests : SA1651UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/HelperTests/SymbolNameHelpersCSharp7Tests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/HelperTests/SymbolNameHelpersCSharp7Tests.cs
deleted file mode 100644
index 4dfe221d2..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/HelperTests/SymbolNameHelpersCSharp7Tests.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) Tunnel Vision Laboratories, 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.HelperTests
-{
- using System.Threading.Tasks;
- using StyleCop.Analyzers.Test.HelperTests;
- using Xunit;
-
- ///
- /// Unit tests for the class in the context of C# 7.x.
- ///
- public class SymbolNameHelpersCSharp7Tests : SymbolNameHelpersTests
- {
- ///
- /// Verify the workings of
- /// for standard use cases.
- ///
- /// A string representation of a type or namespace to process.
- /// if is a namespace;
- /// if is a type to be used as an alias target.
- /// A representing the asynchronous unit test.
- [Theory]
- [InlineData("System.ValueTuple")]
- [InlineData("System.ValueTuple")]
- [InlineData("System.ValueTuple")]
- [InlineData("System.ValueTuple")]
- [InlineData("System.Collections.Generic.KeyValuePair")]
- [InlineData("System.Collections.Generic.KeyValuePair")]
- [InlineData("System.Nullable<(int, object)>")]
- [WorkItem(3149, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3149")]
- public Task VerifyToQualifiedStringTuplesAsync(string inputString, bool isNamespace = false)
- {
- return this.PerformTestAsync(inputString, isNamespace);
- }
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/HelperTests/SymbolNameHelpersCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/HelperTests/SymbolNameHelpersCSharp7UnitTests.cs
new file mode 100644
index 000000000..11d2b2dca
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/HelperTests/SymbolNameHelpersCSharp7UnitTests.cs
@@ -0,0 +1,39 @@
+// Copyright (c) Tunnel Vision Laboratories, 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.HelperTests
+{
+ using System.Threading.Tasks;
+ using StyleCop.Analyzers.Test.HelperTests;
+ using Xunit;
+
+ ///
+ /// Unit tests for the class in the context of C# 7.x.
+ ///
+ public partial class SymbolNameHelpersCSharp7UnitTests : SymbolNameHelpersUnitTests
+ {
+ ///
+ /// Verify the workings of
+ /// for standard use cases.
+ ///
+ /// A string representation of a type or namespace to process.
+ /// if is a namespace;
+ /// if is a type to be used as an alias target.
+ /// A representing the asynchronous unit test.
+ [Theory]
+ [InlineData("System.ValueTuple")]
+ [InlineData("System.ValueTuple")]
+ [InlineData("System.ValueTuple")]
+ [InlineData("System.ValueTuple")]
+ [InlineData("System.Collections.Generic.KeyValuePair")]
+ [InlineData("System.Collections.Generic.KeyValuePair")]
+ [InlineData("System.Nullable<(int, object)>")]
+ [WorkItem(3149, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3149")]
+ public Task VerifyToQualifiedStringTuplesAsync(string inputString, bool isNamespace = false)
+ {
+ return this.PerformTestAsync(inputString, isNamespace);
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1500CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1500CSharp7UnitTests.cs
index 13aa70fb0..5bac4de27 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1500CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1500CSharp7UnitTests.cs
@@ -16,7 +16,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
StyleCop.Analyzers.LayoutRules.SA1500BracesForMultiLineStatementsMustNotShareLine,
StyleCop.Analyzers.LayoutRules.SA1500CodeFixProvider>;
- public class SA1500CSharp7UnitTests : SA1500UnitTests
+ public partial class SA1500CSharp7UnitTests : SA1500UnitTests
{
///
/// Verifies that no diagnostics are reported for the valid local functions defined in this test.
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1501CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1501CSharp7UnitTests.cs
index 663148c6e..2f1714efd 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1501CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1501CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
- public class SA1501CSharp7UnitTests : SA1501UnitTests
+ public partial class SA1501CSharp7UnitTests : SA1501UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1502CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1502CSharp7UnitTests.cs
index c0526dbb5..ee437b38b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1502CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1502CSharp7UnitTests.cs
@@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
StyleCop.Analyzers.LayoutRules.SA1502ElementMustNotBeOnASingleLine,
StyleCop.Analyzers.LayoutRules.SA1502CodeFixProvider>;
- public class SA1502CSharp7UnitTests : SA1502UnitTests
+ public partial class SA1502CSharp7UnitTests : SA1502UnitTests
{
///
/// Verifies that a valid local function will pass without diagnostic.
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1503CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1503CSharp7UnitTests.cs
index edb171af2..b61180ca8 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1503CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1503CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
- public class SA1503CSharp7UnitTests : SA1503UnitTests
+ public partial class SA1503CSharp7UnitTests : SA1503UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1504CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1504CSharp7UnitTests.cs
index 09ed94599..6f6cf5c45 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1504CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1504CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
- public class SA1504CSharp7UnitTests : SA1504UnitTests
+ public partial class SA1504CSharp7UnitTests : SA1504UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1505CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1505CSharp7UnitTests.cs
index 3e0022567..cf7cdbb49 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1505CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1505CSharp7UnitTests.cs
@@ -16,7 +16,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
StyleCop.Analyzers.LayoutRules.SA1505OpeningBracesMustNotBeFollowedByBlankLine,
StyleCop.Analyzers.LayoutRules.SA1505CodeFixProvider>;
- public class SA1505CSharp7UnitTests : SA1505UnitTests
+ public partial class SA1505CSharp7UnitTests : SA1505UnitTests
{
///
/// Verifies that a valid local function will not produce any diagnostics.
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1506CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1506CSharp7UnitTests.cs
index 6bf8c812d..97e1b4e4b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1506CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1506CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
- public class SA1506CSharp7UnitTests : SA1506UnitTests
+ public partial class SA1506CSharp7UnitTests : SA1506UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1507CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1507CSharp7UnitTests.cs
index 51a378b66..25029725b 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1507CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1507CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
- public class SA1507CSharp7UnitTests : SA1507UnitTests
+ public partial class SA1507CSharp7UnitTests : SA1507UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1508CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1508CSharp7UnitTests.cs
index 49a23ccab..91da7c367 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1508CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1508CSharp7UnitTests.cs
@@ -16,7 +16,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
StyleCop.Analyzers.LayoutRules.SA1508ClosingBracesMustNotBePrecededByBlankLine,
StyleCop.Analyzers.LayoutRules.SA1508CodeFixProvider>;
- public class SA1508CSharp7UnitTests : SA1508UnitTests
+ public partial class SA1508CSharp7UnitTests : SA1508UnitTests
{
///
/// Verifies that a valid local function will not produce any diagnostics.
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1509CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1509CSharp7UnitTests.cs
index d45118e8f..a2e9cf61a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1509CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1509CSharp7UnitTests.cs
@@ -16,7 +16,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
StyleCop.Analyzers.LayoutRules.SA1509OpeningBracesMustNotBePrecededByBlankLine,
StyleCop.Analyzers.LayoutRules.SA1509CodeFixProvider>;
- public class SA1509CSharp7UnitTests : SA1509UnitTests
+ public partial class SA1509CSharp7UnitTests : SA1509UnitTests
{
[Fact]
public async Task TestLocalFunctionDeclarationOpeningBraceHasBlankLineAsync()
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1510CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1510CSharp7UnitTests.cs
index c2f37d1f2..f3dae512d 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1510CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1510CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
- public class SA1510CSharp7UnitTests : SA1510UnitTests
+ public partial class SA1510CSharp7UnitTests : SA1510UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1511CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1511CSharp7UnitTests.cs
index a6483dc1d..7a6265901 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1511CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1511CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
- public class SA1511CSharp7UnitTests : SA1511UnitTests
+ public partial class SA1511CSharp7UnitTests : SA1511UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1512CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1512CSharp7UnitTests.cs
index eb2756707..1a14fc80c 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1512CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1512CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
- public class SA1512CSharp7UnitTests : SA1512UnitTests
+ public partial class SA1512CSharp7UnitTests : SA1512UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1513CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1513CSharp7UnitTests.cs
index 2a54043ad..88c4df0df 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1513CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1513CSharp7UnitTests.cs
@@ -16,7 +16,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
StyleCop.Analyzers.LayoutRules.SA1513ClosingBraceMustBeFollowedByBlankLine,
StyleCop.Analyzers.LayoutRules.SA1513CodeFixProvider>;
- public class SA1513CSharp7UnitTests : SA1513UnitTests
+ public partial class SA1513CSharp7UnitTests : SA1513UnitTests
{
///
/// Verifies that all valid usages of a closing brace in new C# 7 syntax without a following blank line will
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1514CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1514CSharp7UnitTests.cs
index 41c7dd9b4..ec8b88303 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1514CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1514CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
- public class SA1514CSharp7UnitTests : SA1514UnitTests
+ public partial class SA1514CSharp7UnitTests : SA1514UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1515CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1515CSharp7UnitTests.cs
index b6c735f2b..2c57c7072 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1515CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1515CSharp7UnitTests.cs
@@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
StyleCop.Analyzers.LayoutRules.SA1515SingleLineCommentMustBePrecededByBlankLine,
StyleCop.Analyzers.LayoutRules.SA1515CodeFixProvider>;
- public class SA1515CSharp7UnitTests : SA1515UnitTests
+ public partial class SA1515CSharp7UnitTests : SA1515UnitTests
{
[Fact]
public async Task TestCommentAfterCasePatternSwitchLabelAsync()
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516CSharp7UnitTests.cs
index 55d95fcf9..ca718d310 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
- public class SA1516CSharp7UnitTests : SA1516UnitTests
+ public partial class SA1516CSharp7UnitTests : SA1516UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516CSharp7UsingGroupsUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516CSharp7UsingGroupsUnitTests.cs
deleted file mode 100644
index eafb27a7b..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516CSharp7UsingGroupsUnitTests.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.CSharp7.LayoutRules
-{
- using StyleCop.Analyzers.Test.LayoutRules;
-
- public class SA1516CSharp7UsingGroupsUnitTests : SA1516UsingGroupsUnitTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516UsingGroupsCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516UsingGroupsCSharp7UnitTests.cs
new file mode 100644
index 000000000..66c3ee2a2
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516UsingGroupsCSharp7UnitTests.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.CSharp7.LayoutRules
+{
+ using StyleCop.Analyzers.Test.LayoutRules;
+
+ public partial class SA1516UsingGroupsCSharp7UnitTests : SA1516UsingGroupsUnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1517CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1517CSharp7UnitTests.cs
index 0788525e8..413549c5a 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1517CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1517CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
- public class SA1517CSharp7UnitTests : SA1517UnitTests
+ public partial class SA1517CSharp7UnitTests : SA1517UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1518CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1518CSharp7UnitTests.cs
index 8db062f54..91e1d06bc 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1518CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1518CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
- public class SA1518CSharp7UnitTests : SA1518UnitTests
+ public partial class SA1518CSharp7UnitTests : SA1518UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1519CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1519CSharp7UnitTests.cs
index f3269ca9d..17f251418 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1519CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1519CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
- public class SA1519CSharp7UnitTests : SA1519UnitTests
+ public partial class SA1519CSharp7UnitTests : SA1519UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1520CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1520CSharp7UnitTests.cs
index a5b560321..34e970166 100644
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1520CSharp7UnitTests.cs
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1520CSharp7UnitTests.cs
@@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules
{
using StyleCop.Analyzers.Test.LayoutRules;
- public class SA1520CSharp7UnitTests : SA1520UnitTests
+ public partial class SA1520CSharp7UnitTests : SA1520UnitTests
{
}
}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/AccessorDeclarationSyntaxExtensionsCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/AccessorDeclarationSyntaxExtensionsCSharp7UnitTests.cs
new file mode 100644
index 000000000..545c80ed1
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/AccessorDeclarationSyntaxExtensionsCSharp7UnitTests.cs
@@ -0,0 +1,33 @@
+// Copyright (c) Tunnel Vision Laboratories, 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 Microsoft.CodeAnalysis.CSharp;
+ using StyleCop.Analyzers.Lightup;
+ using Xunit;
+
+ public class AccessorDeclarationSyntaxExtensionsCSharp7UnitTests
+ {
+ [Fact]
+ public void TestExpressionBody()
+ {
+ var accessorDeclarationSyntax = SyntaxFactory.AccessorDeclaration(SyntaxKind.GetAccessorDeclaration)
+ .WithExpressionBody(SyntaxFactory.ArrowExpressionClause(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
+ Assert.Same(accessorDeclarationSyntax.ExpressionBody, AccessorDeclarationSyntaxExtensions.ExpressionBody(accessorDeclarationSyntax));
+ }
+
+ [Fact]
+ public void TestWithExpressionBody()
+ {
+ var accessorDeclarationSyntax = SyntaxFactory.AccessorDeclaration(SyntaxKind.GetAccessorDeclaration);
+ var expressionBody = SyntaxFactory.ArrowExpressionClause(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression));
+ var accessorWithBody = AccessorDeclarationSyntaxExtensions.WithExpressionBody(accessorDeclarationSyntax, expressionBody);
+ Assert.Null(accessorDeclarationSyntax.ExpressionBody);
+ Assert.NotNull(accessorWithBody.ExpressionBody);
+ Assert.Equal(SyntaxKind.NullLiteralExpression, accessorWithBody.ExpressionBody.Expression.Kind());
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/AccessorDeclarationSyntaxExtensionsTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/AccessorDeclarationSyntaxExtensionsTests.cs
deleted file mode 100644
index 5380cd304..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/AccessorDeclarationSyntaxExtensionsTests.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) Tunnel Vision Laboratories, 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 Microsoft.CodeAnalysis.CSharp;
- using StyleCop.Analyzers.Lightup;
- using Xunit;
-
- public class AccessorDeclarationSyntaxExtensionsTests
- {
- [Fact]
- public void TestExpressionBody()
- {
- var accessorDeclarationSyntax = SyntaxFactory.AccessorDeclaration(SyntaxKind.GetAccessorDeclaration)
- .WithExpressionBody(SyntaxFactory.ArrowExpressionClause(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
- Assert.Same(accessorDeclarationSyntax.ExpressionBody, AccessorDeclarationSyntaxExtensions.ExpressionBody(accessorDeclarationSyntax));
- }
-
- [Fact]
- public void TestWithExpressionBody()
- {
- var accessorDeclarationSyntax = SyntaxFactory.AccessorDeclaration(SyntaxKind.GetAccessorDeclaration);
- var expressionBody = SyntaxFactory.ArrowExpressionClause(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression));
- var accessorWithBody = AccessorDeclarationSyntaxExtensions.WithExpressionBody(accessorDeclarationSyntax, expressionBody);
- Assert.Null(accessorDeclarationSyntax.ExpressionBody);
- Assert.NotNull(accessorWithBody.ExpressionBody);
- Assert.Equal(SyntaxKind.NullLiteralExpression, accessorWithBody.ExpressionBody.Expression.Kind());
- }
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ArgumentSyntaxExtensionsCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ArgumentSyntaxExtensionsCSharp7UnitTests.cs
new file mode 100644
index 000000000..204b1d916
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ArgumentSyntaxExtensionsCSharp7UnitTests.cs
@@ -0,0 +1,35 @@
+// Copyright (c) Tunnel Vision Laboratories, 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 Microsoft.CodeAnalysis.CSharp;
+ using StyleCop.Analyzers.Lightup;
+ using Xunit;
+
+ public class ArgumentSyntaxExtensionsCSharp7UnitTests
+ {
+ [Fact]
+ public void TestRefKindKeyword()
+ {
+ var argumentSyntax = SyntaxFactory.Argument(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression))
+ .WithRefKindKeyword(SyntaxFactory.Token(SyntaxKind.InKeyword));
+ Assert.Equal(argumentSyntax.RefKindKeyword, ArgumentSyntaxExtensions.RefKindKeyword(argumentSyntax));
+ Assert.Equal(argumentSyntax.RefOrOutKeyword, ArgumentSyntaxExtensions.RefKindKeyword(argumentSyntax));
+ }
+
+ [Fact]
+ public void TestWithRefKindKeyword()
+ {
+ var argumentSyntax = SyntaxFactory.Argument(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression));
+
+ var refKindKeyword = SyntaxFactory.Token(SyntaxKind.InKeyword);
+ Assert.Equal(default, ArgumentSyntaxExtensions.RefKindKeyword(argumentSyntax));
+ var argumentWithInKeyword = ArgumentSyntaxExtensions.WithRefKindKeyword(argumentSyntax, refKindKeyword);
+ Assert.NotNull(argumentWithInKeyword);
+ Assert.True(refKindKeyword.IsEquivalentTo(argumentWithInKeyword.RefKindKeyword));
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ArgumentSyntaxExtensionsTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ArgumentSyntaxExtensionsTests.cs
deleted file mode 100644
index 88ad9ebe1..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ArgumentSyntaxExtensionsTests.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) Tunnel Vision Laboratories, 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 Microsoft.CodeAnalysis.CSharp;
- using StyleCop.Analyzers.Lightup;
- using Xunit;
-
- public class ArgumentSyntaxExtensionsTests
- {
- [Fact]
- public void TestRefKindKeyword()
- {
- var argumentSyntax = SyntaxFactory.Argument(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression))
- .WithRefKindKeyword(SyntaxFactory.Token(SyntaxKind.InKeyword));
- Assert.Equal(argumentSyntax.RefKindKeyword, ArgumentSyntaxExtensions.RefKindKeyword(argumentSyntax));
- Assert.Equal(argumentSyntax.RefOrOutKeyword, ArgumentSyntaxExtensions.RefKindKeyword(argumentSyntax));
- }
-
- [Fact]
- public void TestWithRefKindKeyword()
- {
- var argumentSyntax = SyntaxFactory.Argument(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression));
-
- var refKindKeyword = SyntaxFactory.Token(SyntaxKind.InKeyword);
- Assert.Equal(default, ArgumentSyntaxExtensions.RefKindKeyword(argumentSyntax));
- var argumentWithInKeyword = ArgumentSyntaxExtensions.WithRefKindKeyword(argumentSyntax, refKindKeyword);
- Assert.NotNull(argumentWithInKeyword);
- Assert.True(refKindKeyword.IsEquivalentTo(argumentWithInKeyword.RefKindKeyword));
- }
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp7UnitTests.cs
new file mode 100644
index 000000000..9cf68c825
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp7UnitTests.cs
@@ -0,0 +1,22 @@
+// Copyright (c) Tunnel Vision Laboratories, 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 Microsoft.CodeAnalysis.CSharp;
+ using StyleCop.Analyzers.Lightup;
+ using Xunit;
+
+ public class BaseMethodDeclarationSyntaxExtensionsCSharp7UnitTests
+ {
+ [Fact]
+ public void TestExpressionBody()
+ {
+ var syntax = SyntaxFactory.ConstructorDeclaration(SyntaxFactory.Identifier("Anything"))
+ .WithExpressionBody(SyntaxFactory.ArrowExpressionClause(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
+ Assert.Same(syntax.ExpressionBody, BaseMethodDeclarationSyntaxExtensions.ExpressionBody(syntax));
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/BaseMethodDeclarationSyntaxExtensionsTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/BaseMethodDeclarationSyntaxExtensionsTests.cs
deleted file mode 100644
index 6c337366c..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/BaseMethodDeclarationSyntaxExtensionsTests.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright (c) Tunnel Vision Laboratories, 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 Microsoft.CodeAnalysis.CSharp;
- using StyleCop.Analyzers.Lightup;
- using Xunit;
-
- public class BaseMethodDeclarationSyntaxExtensionsTests
- {
- [Fact]
- public void TestExpressionBody()
- {
- var syntax = SyntaxFactory.ConstructorDeclaration(SyntaxFactory.Identifier("Anything"))
- .WithExpressionBody(SyntaxFactory.ArrowExpressionClause(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
- Assert.Same(syntax.ExpressionBody, BaseMethodDeclarationSyntaxExtensions.ExpressionBody(syntax));
- }
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp7UnitTests.cs
new file mode 100644
index 000000000..13c0b5343
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp7UnitTests.cs
@@ -0,0 +1,119 @@
+// Copyright (c) Tunnel Vision Laboratories, 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 System;
+ using Microsoft.CodeAnalysis;
+ using Microsoft.CodeAnalysis.CSharp;
+ using Microsoft.CodeAnalysis.CSharp.Syntax;
+ using StyleCop.Analyzers.Lightup;
+ using Xunit;
+
+ public class CasePatternSwitchLabelSyntaxWrapperCSharp7UnitTests
+ {
+ [Fact]
+ public void TestNull()
+ {
+ var syntaxNode = default(SyntaxNode);
+ var wrapper = (CasePatternSwitchLabelSyntaxWrapper)syntaxNode;
+ Assert.Null(wrapper.SyntaxNode);
+ Assert.Throws(() => wrapper.Pattern);
+ Assert.Throws(() => wrapper.WhenClause);
+ Assert.Throws(() => wrapper.WithKeyword(SyntaxFactory.Token(SyntaxKind.CaseKeyword)));
+ Assert.Throws(() => wrapper.WithColonToken(SyntaxFactory.Token(SyntaxKind.ColonToken)));
+ Assert.Throws(() => wrapper.WithPattern((PatternSyntaxWrapper)null));
+ Assert.Throws(() => wrapper.WithWhenClause((WhenClauseSyntaxWrapper)null));
+ }
+
+ [Fact]
+ public void TestProperties()
+ {
+ var syntaxNode = this.CreateCasePatternSwitchLabel();
+ Assert.True(syntaxNode.IsKind(SyntaxKind.CasePatternSwitchLabel));
+ Assert.True(syntaxNode.IsKind(SyntaxKindEx.CasePatternSwitchLabel));
+
+ var wrapper = (CasePatternSwitchLabelSyntaxWrapper)syntaxNode;
+ Assert.Same(syntaxNode, wrapper.SyntaxNode);
+ Assert.Same(syntaxNode.Pattern, wrapper.Pattern.SyntaxNode);
+ Assert.Same(syntaxNode.WhenClause, wrapper.WhenClause.SyntaxNode);
+ ////There are no properties for Keyword and ColonToken, so we can't test them..
+
+ var newKeyword = SyntaxFactory.Token(SyntaxKind.CaseKeyword).WithLeadingTrivia(SyntaxFactory.Space);
+ var wrapperWithModifiedKeyword = wrapper.WithKeyword(newKeyword);
+ Assert.NotNull(wrapperWithModifiedKeyword.SyntaxNode);
+ ////There is no property for Keyword, so we can't test it...
+ ////Assert.Equal(1, wrapperWithModifiedKeyword.Keyword.LeadingTrivia.Count);
+ ////Assert.Equal(" ", wrapperWithModifiedKeyword.Keyword.LeadingTrivia.ToString());
+
+ var newColonToken = SyntaxFactory.Token(SyntaxKind.ColonToken).WithLeadingTrivia(SyntaxFactory.Space);
+ var wrapperWithModifiedColonToken = wrapper.WithColonToken(newColonToken);
+ Assert.NotNull(wrapperWithModifiedColonToken.SyntaxNode);
+ ////There is no property for ColonToken, so we can't test it...
+ ////Assert.Equal(1, wrapperWithModifiedColonToken.ColonToken.LeadingTrivia.Count);
+ ////Assert.Equal(" ", wrapperWithModifiedColonToken.ColonToken.LeadingTrivia.ToString());
+
+ var newPattern = SyntaxFactory.ConstantPattern(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression));
+ var wrapperWithModifiedPattern = wrapper.WithPattern((PatternSyntaxWrapper)newPattern);
+ Assert.NotNull(wrapperWithModifiedPattern.SyntaxNode);
+ Assert.NotSame(syntaxNode.Pattern, wrapperWithModifiedPattern.Pattern.SyntaxNode);
+ Assert.Equal(SyntaxKind.ConstantPattern, wrapperWithModifiedPattern.Pattern.SyntaxNode.Kind());
+ Assert.Equal(SyntaxKind.NullLiteralExpression, ((ConstantPatternSyntax)wrapperWithModifiedPattern.Pattern).Expression.Kind());
+
+ var newWhenClause = SyntaxFactory.WhenClause(SyntaxFactory.LiteralExpression(SyntaxKind.TrueLiteralExpression));
+ var wrapperWithModifiedWhenClause = wrapper.WithWhenClause((WhenClauseSyntaxWrapper)newWhenClause);
+ Assert.NotNull(wrapperWithModifiedWhenClause.SyntaxNode);
+ Assert.NotSame(syntaxNode.WhenClause, wrapperWithModifiedWhenClause.WhenClause.SyntaxNode);
+ Assert.Equal(SyntaxKind.WhenClause, wrapperWithModifiedWhenClause.WhenClause.SyntaxNode.Kind());
+ Assert.Equal(SyntaxKind.TrueLiteralExpression, wrapperWithModifiedWhenClause.WhenClause.Condition.Kind());
+ }
+
+ [Fact]
+ public void TestIsInstance()
+ {
+ Assert.False(CasePatternSwitchLabelSyntaxWrapper.IsInstance(null));
+ Assert.False(CasePatternSwitchLabelSyntaxWrapper.IsInstance(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
+
+ var syntaxNode = this.CreateCasePatternSwitchLabel();
+ Assert.True(CasePatternSwitchLabelSyntaxWrapper.IsInstance(syntaxNode));
+ }
+
+ [Fact]
+ public void TestConversionsNull()
+ {
+ var syntaxNode = default(SyntaxNode);
+ var wrapper = (CasePatternSwitchLabelSyntaxWrapper)syntaxNode;
+
+ SwitchLabelSyntax syntax = wrapper;
+ Assert.Null(syntax);
+ }
+
+ [Fact]
+ public void TestConversions()
+ {
+ var syntaxNode = this.CreateCasePatternSwitchLabel();
+ var wrapper = (CasePatternSwitchLabelSyntaxWrapper)syntaxNode;
+
+ SwitchLabelSyntax syntax = wrapper;
+ Assert.Same(syntaxNode, syntax);
+ }
+
+ [Fact]
+ public void TestInvalidConversion()
+ {
+ var syntaxNode = SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression);
+ Assert.Throws(() => (CasePatternSwitchLabelSyntaxWrapper)syntaxNode);
+ }
+
+ private CasePatternSwitchLabelSyntax CreateCasePatternSwitchLabel()
+ {
+ return SyntaxFactory.CasePatternSwitchLabel(
+ SyntaxFactory.Token(SyntaxKind.CaseKeyword),
+ SyntaxFactory.ConstantPattern(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)),
+ SyntaxFactory.WhenClause(SyntaxFactory.LiteralExpression(SyntaxKind.FalseLiteralExpression)),
+ SyntaxFactory.Token(SyntaxKind.ColonToken));
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CasePatternSwitchLabelSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CasePatternSwitchLabelSyntaxWrapperTests.cs
deleted file mode 100644
index 1a7faf733..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CasePatternSwitchLabelSyntaxWrapperTests.cs
+++ /dev/null
@@ -1,119 +0,0 @@
-// Copyright (c) Tunnel Vision Laboratories, 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 System;
- using Microsoft.CodeAnalysis;
- using Microsoft.CodeAnalysis.CSharp;
- using Microsoft.CodeAnalysis.CSharp.Syntax;
- using StyleCop.Analyzers.Lightup;
- using Xunit;
-
- public class CasePatternSwitchLabelSyntaxWrapperTests
- {
- [Fact]
- public void TestNull()
- {
- var syntaxNode = default(SyntaxNode);
- var wrapper = (CasePatternSwitchLabelSyntaxWrapper)syntaxNode;
- Assert.Null(wrapper.SyntaxNode);
- Assert.Throws(() => wrapper.Pattern);
- Assert.Throws(() => wrapper.WhenClause);
- Assert.Throws(() => wrapper.WithKeyword(SyntaxFactory.Token(SyntaxKind.CaseKeyword)));
- Assert.Throws(() => wrapper.WithColonToken(SyntaxFactory.Token(SyntaxKind.ColonToken)));
- Assert.Throws(() => wrapper.WithPattern((PatternSyntaxWrapper)null));
- Assert.Throws(() => wrapper.WithWhenClause((WhenClauseSyntaxWrapper)null));
- }
-
- [Fact]
- public void TestProperties()
- {
- var syntaxNode = this.CreateCasePatternSwitchLabel();
- Assert.True(syntaxNode.IsKind(SyntaxKind.CasePatternSwitchLabel));
- Assert.True(syntaxNode.IsKind(SyntaxKindEx.CasePatternSwitchLabel));
-
- var wrapper = (CasePatternSwitchLabelSyntaxWrapper)syntaxNode;
- Assert.Same(syntaxNode, wrapper.SyntaxNode);
- Assert.Same(syntaxNode.Pattern, wrapper.Pattern.SyntaxNode);
- Assert.Same(syntaxNode.WhenClause, wrapper.WhenClause.SyntaxNode);
- ////There are no properties for Keyword and ColonToken, so we can't test them..
-
- var newKeyword = SyntaxFactory.Token(SyntaxKind.CaseKeyword).WithLeadingTrivia(SyntaxFactory.Space);
- var wrapperWithModifiedKeyword = wrapper.WithKeyword(newKeyword);
- Assert.NotNull(wrapperWithModifiedKeyword.SyntaxNode);
- ////There is no property for Keyword, so we can't test it...
- ////Assert.Equal(1, wrapperWithModifiedKeyword.Keyword.LeadingTrivia.Count);
- ////Assert.Equal(" ", wrapperWithModifiedKeyword.Keyword.LeadingTrivia.ToString());
-
- var newColonToken = SyntaxFactory.Token(SyntaxKind.ColonToken).WithLeadingTrivia(SyntaxFactory.Space);
- var wrapperWithModifiedColonToken = wrapper.WithColonToken(newColonToken);
- Assert.NotNull(wrapperWithModifiedColonToken.SyntaxNode);
- ////There is no property for ColonToken, so we can't test it...
- ////Assert.Equal(1, wrapperWithModifiedColonToken.ColonToken.LeadingTrivia.Count);
- ////Assert.Equal(" ", wrapperWithModifiedColonToken.ColonToken.LeadingTrivia.ToString());
-
- var newPattern = SyntaxFactory.ConstantPattern(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression));
- var wrapperWithModifiedPattern = wrapper.WithPattern((PatternSyntaxWrapper)newPattern);
- Assert.NotNull(wrapperWithModifiedPattern.SyntaxNode);
- Assert.NotSame(syntaxNode.Pattern, wrapperWithModifiedPattern.Pattern.SyntaxNode);
- Assert.Equal(SyntaxKind.ConstantPattern, wrapperWithModifiedPattern.Pattern.SyntaxNode.Kind());
- Assert.Equal(SyntaxKind.NullLiteralExpression, ((ConstantPatternSyntax)wrapperWithModifiedPattern.Pattern).Expression.Kind());
-
- var newWhenClause = SyntaxFactory.WhenClause(SyntaxFactory.LiteralExpression(SyntaxKind.TrueLiteralExpression));
- var wrapperWithModifiedWhenClause = wrapper.WithWhenClause((WhenClauseSyntaxWrapper)newWhenClause);
- Assert.NotNull(wrapperWithModifiedWhenClause.SyntaxNode);
- Assert.NotSame(syntaxNode.WhenClause, wrapperWithModifiedWhenClause.WhenClause.SyntaxNode);
- Assert.Equal(SyntaxKind.WhenClause, wrapperWithModifiedWhenClause.WhenClause.SyntaxNode.Kind());
- Assert.Equal(SyntaxKind.TrueLiteralExpression, wrapperWithModifiedWhenClause.WhenClause.Condition.Kind());
- }
-
- [Fact]
- public void TestIsInstance()
- {
- Assert.False(CasePatternSwitchLabelSyntaxWrapper.IsInstance(null));
- Assert.False(CasePatternSwitchLabelSyntaxWrapper.IsInstance(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
-
- var syntaxNode = this.CreateCasePatternSwitchLabel();
- Assert.True(CasePatternSwitchLabelSyntaxWrapper.IsInstance(syntaxNode));
- }
-
- [Fact]
- public void TestConversionsNull()
- {
- var syntaxNode = default(SyntaxNode);
- var wrapper = (CasePatternSwitchLabelSyntaxWrapper)syntaxNode;
-
- SwitchLabelSyntax syntax = wrapper;
- Assert.Null(syntax);
- }
-
- [Fact]
- public void TestConversions()
- {
- var syntaxNode = this.CreateCasePatternSwitchLabel();
- var wrapper = (CasePatternSwitchLabelSyntaxWrapper)syntaxNode;
-
- SwitchLabelSyntax syntax = wrapper;
- Assert.Same(syntaxNode, syntax);
- }
-
- [Fact]
- public void TestInvalidConversion()
- {
- var syntaxNode = SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression);
- Assert.Throws(() => (CasePatternSwitchLabelSyntaxWrapper)syntaxNode);
- }
-
- private CasePatternSwitchLabelSyntax CreateCasePatternSwitchLabel()
- {
- return SyntaxFactory.CasePatternSwitchLabel(
- SyntaxFactory.Token(SyntaxKind.CaseKeyword),
- SyntaxFactory.ConstantPattern(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)),
- SyntaxFactory.WhenClause(SyntaxFactory.LiteralExpression(SyntaxKind.FalseLiteralExpression)),
- SyntaxFactory.Token(SyntaxKind.ColonToken));
- }
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstantPatternSyntaxWrapperCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstantPatternSyntaxWrapperCSharp7UnitTests.cs
new file mode 100644
index 000000000..88771ce1a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstantPatternSyntaxWrapperCSharp7UnitTests.cs
@@ -0,0 +1,92 @@
+// Copyright (c) Tunnel Vision Laboratories, 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 System;
+ using Microsoft.CodeAnalysis;
+ using Microsoft.CodeAnalysis.CSharp;
+ using StyleCop.Analyzers.Lightup;
+ using Xunit;
+
+ public class ConstantPatternSyntaxWrapperCSharp7UnitTests
+ {
+ [Fact]
+ public void TestNull()
+ {
+ var syntaxNode = default(SyntaxNode);
+ var constantPatternSyntax = (ConstantPatternSyntaxWrapper)syntaxNode;
+ Assert.Null(constantPatternSyntax.SyntaxNode);
+ Assert.Throws(() => constantPatternSyntax.Expression);
+ Assert.Throws(() => constantPatternSyntax.WithExpression(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
+ }
+
+ [Fact]
+ public void TestExpression()
+ {
+ var syntaxNode = SyntaxFactory.ConstantPattern(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression));
+ Assert.True(syntaxNode.IsKind(SyntaxKind.ConstantPattern));
+ Assert.True(syntaxNode.IsKind(SyntaxKindEx.ConstantPattern));
+
+ var constantPatternSyntax = (ConstantPatternSyntaxWrapper)syntaxNode;
+ Assert.Same(syntaxNode, constantPatternSyntax.SyntaxNode);
+ Assert.Same(syntaxNode.Expression, constantPatternSyntax.Expression);
+
+ constantPatternSyntax = constantPatternSyntax.WithExpression(SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(1)));
+ Assert.NotNull(constantPatternSyntax.SyntaxNode);
+ Assert.NotSame(syntaxNode, constantPatternSyntax.SyntaxNode);
+ Assert.Equal(SyntaxKind.NumericLiteralExpression, constantPatternSyntax.Expression.Kind());
+ }
+
+ [Fact]
+ public void TestIsInstance()
+ {
+ Assert.False(ConstantPatternSyntaxWrapper.IsInstance(null));
+ Assert.False(ConstantPatternSyntaxWrapper.IsInstance(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
+
+ var syntaxNode = SyntaxFactory.ConstantPattern(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression));
+ Assert.True(ConstantPatternSyntaxWrapper.IsInstance(syntaxNode));
+ }
+
+ [Fact]
+ public void TestConversionsNull()
+ {
+ var syntaxNode = default(SyntaxNode);
+ var constantPatternSyntax = (ConstantPatternSyntaxWrapper)syntaxNode;
+
+ PatternSyntaxWrapper patternSyntax = constantPatternSyntax;
+ Assert.Null(patternSyntax.SyntaxNode);
+
+ constantPatternSyntax = (ConstantPatternSyntaxWrapper)patternSyntax;
+ Assert.Null(constantPatternSyntax.SyntaxNode);
+
+ SyntaxNode syntax = constantPatternSyntax;
+ Assert.Null(syntax);
+ }
+
+ [Fact]
+ public void TestConversions()
+ {
+ var syntaxNode = SyntaxFactory.ConstantPattern(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression));
+ var constantPatternSyntax = (ConstantPatternSyntaxWrapper)syntaxNode;
+
+ PatternSyntaxWrapper patternSyntax = constantPatternSyntax;
+ Assert.Same(syntaxNode, patternSyntax.SyntaxNode);
+
+ constantPatternSyntax = (ConstantPatternSyntaxWrapper)patternSyntax;
+ Assert.Same(syntaxNode, constantPatternSyntax.SyntaxNode);
+
+ SyntaxNode syntax = constantPatternSyntax;
+ Assert.Same(syntaxNode, syntax);
+ }
+
+ [Fact]
+ public void TestInvalidConversion()
+ {
+ var syntaxNode = SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression);
+ Assert.Throws(() => (ConstantPatternSyntaxWrapper)syntaxNode);
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstantPatternSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstantPatternSyntaxWrapperTests.cs
deleted file mode 100644
index c5186a70a..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstantPatternSyntaxWrapperTests.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-// Copyright (c) Tunnel Vision Laboratories, 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 System;
- using Microsoft.CodeAnalysis;
- using Microsoft.CodeAnalysis.CSharp;
- using StyleCop.Analyzers.Lightup;
- using Xunit;
-
- public class ConstantPatternSyntaxWrapperTests
- {
- [Fact]
- public void TestNull()
- {
- var syntaxNode = default(SyntaxNode);
- var constantPatternSyntax = (ConstantPatternSyntaxWrapper)syntaxNode;
- Assert.Null(constantPatternSyntax.SyntaxNode);
- Assert.Throws(() => constantPatternSyntax.Expression);
- Assert.Throws(() => constantPatternSyntax.WithExpression(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
- }
-
- [Fact]
- public void TestExpression()
- {
- var syntaxNode = SyntaxFactory.ConstantPattern(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression));
- Assert.True(syntaxNode.IsKind(SyntaxKind.ConstantPattern));
- Assert.True(syntaxNode.IsKind(SyntaxKindEx.ConstantPattern));
-
- var constantPatternSyntax = (ConstantPatternSyntaxWrapper)syntaxNode;
- Assert.Same(syntaxNode, constantPatternSyntax.SyntaxNode);
- Assert.Same(syntaxNode.Expression, constantPatternSyntax.Expression);
-
- constantPatternSyntax = constantPatternSyntax.WithExpression(SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(1)));
- Assert.NotNull(constantPatternSyntax.SyntaxNode);
- Assert.NotSame(syntaxNode, constantPatternSyntax.SyntaxNode);
- Assert.Equal(SyntaxKind.NumericLiteralExpression, constantPatternSyntax.Expression.Kind());
- }
-
- [Fact]
- public void TestIsInstance()
- {
- Assert.False(ConstantPatternSyntaxWrapper.IsInstance(null));
- Assert.False(ConstantPatternSyntaxWrapper.IsInstance(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
-
- var syntaxNode = SyntaxFactory.ConstantPattern(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression));
- Assert.True(ConstantPatternSyntaxWrapper.IsInstance(syntaxNode));
- }
-
- [Fact]
- public void TestConversionsNull()
- {
- var syntaxNode = default(SyntaxNode);
- var constantPatternSyntax = (ConstantPatternSyntaxWrapper)syntaxNode;
-
- PatternSyntaxWrapper patternSyntax = constantPatternSyntax;
- Assert.Null(patternSyntax.SyntaxNode);
-
- constantPatternSyntax = (ConstantPatternSyntaxWrapper)patternSyntax;
- Assert.Null(constantPatternSyntax.SyntaxNode);
-
- SyntaxNode syntax = constantPatternSyntax;
- Assert.Null(syntax);
- }
-
- [Fact]
- public void TestConversions()
- {
- var syntaxNode = SyntaxFactory.ConstantPattern(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression));
- var constantPatternSyntax = (ConstantPatternSyntaxWrapper)syntaxNode;
-
- PatternSyntaxWrapper patternSyntax = constantPatternSyntax;
- Assert.Same(syntaxNode, patternSyntax.SyntaxNode);
-
- constantPatternSyntax = (ConstantPatternSyntaxWrapper)patternSyntax;
- Assert.Same(syntaxNode, constantPatternSyntax.SyntaxNode);
-
- SyntaxNode syntax = constantPatternSyntax;
- Assert.Same(syntaxNode, syntax);
- }
-
- [Fact]
- public void TestInvalidConversion()
- {
- var syntaxNode = SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression);
- Assert.Throws(() => (ConstantPatternSyntaxWrapper)syntaxNode);
- }
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp7UnitTests.cs
new file mode 100644
index 000000000..3833dd262
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp7UnitTests.cs
@@ -0,0 +1,25 @@
+// Copyright (c) Tunnel Vision Laboratories, 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 Microsoft.CodeAnalysis.CSharp;
+ using StyleCop.Analyzers.Lightup;
+ using Xunit;
+
+ public class ConstructorDeclarationSyntaxExtensionsCSharp7UnitTests
+ {
+ [Fact]
+ public void TestWithExpressionBody()
+ {
+ var syntax = SyntaxFactory.ConstructorDeclaration(SyntaxFactory.Identifier("Anything"));
+ var expressionBody = SyntaxFactory.ArrowExpressionClause(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression));
+ var syntaxWithBody = ConstructorDeclarationSyntaxExtensions.WithExpressionBody(syntax, expressionBody);
+ Assert.Null(syntax.ExpressionBody);
+ Assert.NotNull(syntaxWithBody.ExpressionBody);
+ Assert.Equal(SyntaxKind.NullLiteralExpression, syntaxWithBody.ExpressionBody.Expression.Kind());
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstructorDeclarationSyntaxExtensionsTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstructorDeclarationSyntaxExtensionsTests.cs
deleted file mode 100644
index 113afa2e0..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstructorDeclarationSyntaxExtensionsTests.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) Tunnel Vision Laboratories, 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 Microsoft.CodeAnalysis.CSharp;
- using StyleCop.Analyzers.Lightup;
- using Xunit;
-
- public class ConstructorDeclarationSyntaxExtensionsTests
- {
- [Fact]
- public void TestWithExpressionBody()
- {
- var syntax = SyntaxFactory.ConstructorDeclaration(SyntaxFactory.Identifier("Anything"));
- var expressionBody = SyntaxFactory.ArrowExpressionClause(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression));
- var syntaxWithBody = ConstructorDeclarationSyntaxExtensions.WithExpressionBody(syntax, expressionBody);
- Assert.Null(syntax.ExpressionBody);
- Assert.NotNull(syntaxWithBody.ExpressionBody);
- Assert.Equal(SyntaxKind.NullLiteralExpression, syntaxWithBody.ExpressionBody.Expression.Kind());
- }
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CrefParameterSyntaxExtensionsCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CrefParameterSyntaxExtensionsCSharp7UnitTests.cs
new file mode 100644
index 000000000..1fab8f136
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CrefParameterSyntaxExtensionsCSharp7UnitTests.cs
@@ -0,0 +1,35 @@
+// Copyright (c) Tunnel Vision Laboratories, 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 Microsoft.CodeAnalysis.CSharp;
+ using StyleCop.Analyzers.Lightup;
+ using Xunit;
+
+ public class CrefParameterSyntaxExtensionsCSharp7UnitTests
+ {
+ [Fact]
+ public void TestRefKindKeyword()
+ {
+ var crefParameterSyntax = SyntaxFactory.CrefParameter(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword)))
+ .WithRefKindKeyword(SyntaxFactory.Token(SyntaxKind.InKeyword));
+ Assert.Equal(crefParameterSyntax.RefKindKeyword, CrefParameterSyntaxExtensions.RefKindKeyword(crefParameterSyntax));
+ Assert.Equal(crefParameterSyntax.RefOrOutKeyword, CrefParameterSyntaxExtensions.RefKindKeyword(crefParameterSyntax));
+ }
+
+ [Fact]
+ public void TestWithRefKindKeyword()
+ {
+ var crefParameterSyntax = SyntaxFactory.CrefParameter(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword)));
+
+ var refKindKeyword = SyntaxFactory.Token(SyntaxKind.InKeyword);
+ Assert.Equal(default, CrefParameterSyntaxExtensions.RefKindKeyword(crefParameterSyntax));
+ var crefParameterWithInKeyword = CrefParameterSyntaxExtensions.WithRefKindKeyword(crefParameterSyntax, refKindKeyword);
+ Assert.NotNull(crefParameterWithInKeyword);
+ Assert.True(refKindKeyword.IsEquivalentTo(crefParameterWithInKeyword.RefKindKeyword));
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CrefParameterSyntaxExtensionsTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CrefParameterSyntaxExtensionsTests.cs
deleted file mode 100644
index 8ffaba5f9..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CrefParameterSyntaxExtensionsTests.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) Tunnel Vision Laboratories, 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 Microsoft.CodeAnalysis.CSharp;
- using StyleCop.Analyzers.Lightup;
- using Xunit;
-
- public class CrefParameterSyntaxExtensionsTests
- {
- [Fact]
- public void TestRefKindKeyword()
- {
- var crefParameterSyntax = SyntaxFactory.CrefParameter(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword)))
- .WithRefKindKeyword(SyntaxFactory.Token(SyntaxKind.InKeyword));
- Assert.Equal(crefParameterSyntax.RefKindKeyword, CrefParameterSyntaxExtensions.RefKindKeyword(crefParameterSyntax));
- Assert.Equal(crefParameterSyntax.RefOrOutKeyword, CrefParameterSyntaxExtensions.RefKindKeyword(crefParameterSyntax));
- }
-
- [Fact]
- public void TestWithRefKindKeyword()
- {
- var crefParameterSyntax = SyntaxFactory.CrefParameter(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword)));
-
- var refKindKeyword = SyntaxFactory.Token(SyntaxKind.InKeyword);
- Assert.Equal(default, CrefParameterSyntaxExtensions.RefKindKeyword(crefParameterSyntax));
- var crefParameterWithInKeyword = CrefParameterSyntaxExtensions.WithRefKindKeyword(crefParameterSyntax, refKindKeyword);
- Assert.NotNull(crefParameterWithInKeyword);
- Assert.True(refKindKeyword.IsEquivalentTo(crefParameterWithInKeyword.RefKindKeyword));
- }
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationExpressionSyntaxWrapperCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationExpressionSyntaxWrapperCSharp7UnitTests.cs
new file mode 100644
index 000000000..7f87f6ae7
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationExpressionSyntaxWrapperCSharp7UnitTests.cs
@@ -0,0 +1,107 @@
+// Copyright (c) Tunnel Vision Laboratories, 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 System;
+ using Microsoft.CodeAnalysis;
+ using Microsoft.CodeAnalysis.CSharp;
+ using Microsoft.CodeAnalysis.CSharp.Syntax;
+ using StyleCop.Analyzers.Lightup;
+ using Xunit;
+
+ public class DeclarationExpressionSyntaxWrapperCSharp7UnitTests
+ {
+ [Fact]
+ public void TestNull()
+ {
+ var syntaxNode = default(SyntaxNode);
+ var declarationExpressionSyntax = (DeclarationExpressionSyntaxWrapper)syntaxNode;
+ Assert.Null(declarationExpressionSyntax.SyntaxNode);
+ Assert.Throws(() => declarationExpressionSyntax.Type);
+ Assert.Throws(() => declarationExpressionSyntax.Designation);
+ Assert.Throws(() => declarationExpressionSyntax.WithType(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword))));
+ Assert.Throws(() => declarationExpressionSyntax.WithDesignation((VariableDesignationSyntaxWrapper)SyntaxFactory.DiscardDesignation()));
+ }
+
+ [Fact]
+ public void TestProperties()
+ {
+ var syntaxNode = SyntaxFactory.DeclarationExpression(
+ SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword)),
+ SyntaxFactory.DiscardDesignation());
+ Assert.True(syntaxNode.IsKind(SyntaxKind.DeclarationExpression));
+ Assert.True(syntaxNode.IsKind(SyntaxKindEx.DeclarationExpression));
+
+ var declarationExpressionSyntax = (DeclarationExpressionSyntaxWrapper)syntaxNode;
+ Assert.Same(syntaxNode, declarationExpressionSyntax.SyntaxNode);
+ Assert.Same(syntaxNode.Type, declarationExpressionSyntax.Type);
+ Assert.Same(syntaxNode.Designation, declarationExpressionSyntax.Designation.SyntaxNode);
+
+ declarationExpressionSyntax = declarationExpressionSyntax.WithType(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword)));
+ Assert.NotNull(declarationExpressionSyntax.SyntaxNode);
+ Assert.NotSame(syntaxNode, declarationExpressionSyntax.SyntaxNode);
+ Assert.Same(((DeclarationExpressionSyntax)declarationExpressionSyntax.SyntaxNode).Type, declarationExpressionSyntax.Type);
+
+ declarationExpressionSyntax = declarationExpressionSyntax.WithDesignation((VariableDesignationSyntaxWrapper)SyntaxFactory.SingleVariableDesignation(SyntaxFactory.Identifier("Anything")));
+ Assert.NotNull(declarationExpressionSyntax.SyntaxNode);
+ Assert.NotSame(syntaxNode, declarationExpressionSyntax.SyntaxNode);
+ Assert.Same(((DeclarationExpressionSyntax)declarationExpressionSyntax.SyntaxNode).Designation, declarationExpressionSyntax.Designation.SyntaxNode);
+ }
+
+ [Fact]
+ public void TestIsInstance()
+ {
+ Assert.False(DeclarationExpressionSyntaxWrapper.IsInstance(null));
+ Assert.False(DeclarationExpressionSyntaxWrapper.IsInstance(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
+
+ var syntaxNode = SyntaxFactory.DeclarationExpression(
+ SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword)),
+ SyntaxFactory.DiscardDesignation());
+ Assert.True(DeclarationExpressionSyntaxWrapper.IsInstance(syntaxNode));
+ }
+
+ [Fact]
+ public void TestConversionsNull()
+ {
+ var syntaxNode = default(SyntaxNode);
+ var declarationExpressionSyntax = (DeclarationExpressionSyntaxWrapper)syntaxNode;
+
+ ExpressionSyntax expressionSyntax = declarationExpressionSyntax;
+ Assert.Null(expressionSyntax);
+
+ declarationExpressionSyntax = (DeclarationExpressionSyntaxWrapper)expressionSyntax;
+ Assert.Null(declarationExpressionSyntax.SyntaxNode);
+
+ SyntaxNode syntax = declarationExpressionSyntax;
+ Assert.Null(syntax);
+ }
+
+ [Fact]
+ public void TestConversions()
+ {
+ var syntaxNode = SyntaxFactory.DeclarationExpression(
+ SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword)),
+ SyntaxFactory.DiscardDesignation());
+ var declarationExpressionSyntax = (DeclarationExpressionSyntaxWrapper)syntaxNode;
+
+ ExpressionSyntax expressionSyntax = declarationExpressionSyntax;
+ Assert.Same(syntaxNode, expressionSyntax);
+
+ declarationExpressionSyntax = (DeclarationExpressionSyntaxWrapper)expressionSyntax;
+ Assert.Same(syntaxNode, declarationExpressionSyntax.SyntaxNode);
+
+ SyntaxNode syntax = declarationExpressionSyntax;
+ Assert.Same(syntaxNode, syntax);
+ }
+
+ [Fact]
+ public void TestInvalidConversion()
+ {
+ var syntaxNode = SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression);
+ Assert.Throws(() => (DeclarationExpressionSyntaxWrapper)syntaxNode);
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationExpressionSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationExpressionSyntaxWrapperTests.cs
deleted file mode 100644
index ebc064251..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationExpressionSyntaxWrapperTests.cs
+++ /dev/null
@@ -1,107 +0,0 @@
-// Copyright (c) Tunnel Vision Laboratories, 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 System;
- using Microsoft.CodeAnalysis;
- using Microsoft.CodeAnalysis.CSharp;
- using Microsoft.CodeAnalysis.CSharp.Syntax;
- using StyleCop.Analyzers.Lightup;
- using Xunit;
-
- public class DeclarationExpressionSyntaxWrapperTests
- {
- [Fact]
- public void TestNull()
- {
- var syntaxNode = default(SyntaxNode);
- var declarationExpressionSyntax = (DeclarationExpressionSyntaxWrapper)syntaxNode;
- Assert.Null(declarationExpressionSyntax.SyntaxNode);
- Assert.Throws(() => declarationExpressionSyntax.Type);
- Assert.Throws(() => declarationExpressionSyntax.Designation);
- Assert.Throws(() => declarationExpressionSyntax.WithType(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword))));
- Assert.Throws(() => declarationExpressionSyntax.WithDesignation((VariableDesignationSyntaxWrapper)SyntaxFactory.DiscardDesignation()));
- }
-
- [Fact]
- public void TestProperties()
- {
- var syntaxNode = SyntaxFactory.DeclarationExpression(
- SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword)),
- SyntaxFactory.DiscardDesignation());
- Assert.True(syntaxNode.IsKind(SyntaxKind.DeclarationExpression));
- Assert.True(syntaxNode.IsKind(SyntaxKindEx.DeclarationExpression));
-
- var declarationExpressionSyntax = (DeclarationExpressionSyntaxWrapper)syntaxNode;
- Assert.Same(syntaxNode, declarationExpressionSyntax.SyntaxNode);
- Assert.Same(syntaxNode.Type, declarationExpressionSyntax.Type);
- Assert.Same(syntaxNode.Designation, declarationExpressionSyntax.Designation.SyntaxNode);
-
- declarationExpressionSyntax = declarationExpressionSyntax.WithType(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword)));
- Assert.NotNull(declarationExpressionSyntax.SyntaxNode);
- Assert.NotSame(syntaxNode, declarationExpressionSyntax.SyntaxNode);
- Assert.Same(((DeclarationExpressionSyntax)declarationExpressionSyntax.SyntaxNode).Type, declarationExpressionSyntax.Type);
-
- declarationExpressionSyntax = declarationExpressionSyntax.WithDesignation((VariableDesignationSyntaxWrapper)SyntaxFactory.SingleVariableDesignation(SyntaxFactory.Identifier("Anything")));
- Assert.NotNull(declarationExpressionSyntax.SyntaxNode);
- Assert.NotSame(syntaxNode, declarationExpressionSyntax.SyntaxNode);
- Assert.Same(((DeclarationExpressionSyntax)declarationExpressionSyntax.SyntaxNode).Designation, declarationExpressionSyntax.Designation.SyntaxNode);
- }
-
- [Fact]
- public void TestIsInstance()
- {
- Assert.False(DeclarationExpressionSyntaxWrapper.IsInstance(null));
- Assert.False(DeclarationExpressionSyntaxWrapper.IsInstance(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
-
- var syntaxNode = SyntaxFactory.DeclarationExpression(
- SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword)),
- SyntaxFactory.DiscardDesignation());
- Assert.True(DeclarationExpressionSyntaxWrapper.IsInstance(syntaxNode));
- }
-
- [Fact]
- public void TestConversionsNull()
- {
- var syntaxNode = default(SyntaxNode);
- var declarationExpressionSyntax = (DeclarationExpressionSyntaxWrapper)syntaxNode;
-
- ExpressionSyntax expressionSyntax = declarationExpressionSyntax;
- Assert.Null(expressionSyntax);
-
- declarationExpressionSyntax = (DeclarationExpressionSyntaxWrapper)expressionSyntax;
- Assert.Null(declarationExpressionSyntax.SyntaxNode);
-
- SyntaxNode syntax = declarationExpressionSyntax;
- Assert.Null(syntax);
- }
-
- [Fact]
- public void TestConversions()
- {
- var syntaxNode = SyntaxFactory.DeclarationExpression(
- SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword)),
- SyntaxFactory.DiscardDesignation());
- var declarationExpressionSyntax = (DeclarationExpressionSyntaxWrapper)syntaxNode;
-
- ExpressionSyntax expressionSyntax = declarationExpressionSyntax;
- Assert.Same(syntaxNode, expressionSyntax);
-
- declarationExpressionSyntax = (DeclarationExpressionSyntaxWrapper)expressionSyntax;
- Assert.Same(syntaxNode, declarationExpressionSyntax.SyntaxNode);
-
- SyntaxNode syntax = declarationExpressionSyntax;
- Assert.Same(syntaxNode, syntax);
- }
-
- [Fact]
- public void TestInvalidConversion()
- {
- var syntaxNode = SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression);
- Assert.Throws(() => (DeclarationExpressionSyntaxWrapper)syntaxNode);
- }
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationPatternSyntaxWrapperCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationPatternSyntaxWrapperCSharp7UnitTests.cs
new file mode 100644
index 000000000..9f7f804a7
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationPatternSyntaxWrapperCSharp7UnitTests.cs
@@ -0,0 +1,107 @@
+// Copyright (c) Tunnel Vision Laboratories, 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 System;
+ using Microsoft.CodeAnalysis;
+ using Microsoft.CodeAnalysis.CSharp;
+ using Microsoft.CodeAnalysis.CSharp.Syntax;
+ using StyleCop.Analyzers.Lightup;
+ using Xunit;
+
+ public class DeclarationPatternSyntaxWrapperCSharp7UnitTests
+ {
+ [Fact]
+ public void TestNull()
+ {
+ var syntaxNode = default(SyntaxNode);
+ var declarationPatternSyntax = (DeclarationPatternSyntaxWrapper)syntaxNode;
+ Assert.Null(declarationPatternSyntax.SyntaxNode);
+ Assert.Throws(() => declarationPatternSyntax.Type);
+ Assert.Throws(() => declarationPatternSyntax.Designation);
+ Assert.Throws(() => declarationPatternSyntax.WithType(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword))));
+ Assert.Throws(() => declarationPatternSyntax.WithDesignation((VariableDesignationSyntaxWrapper)SyntaxFactory.DiscardDesignation()));
+ }
+
+ [Fact]
+ public void TestProperties()
+ {
+ var syntaxNode = SyntaxFactory.DeclarationPattern(
+ SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword)),
+ SyntaxFactory.DiscardDesignation());
+ Assert.True(syntaxNode.IsKind(SyntaxKind.DeclarationPattern));
+ Assert.True(syntaxNode.IsKind(SyntaxKindEx.DeclarationPattern));
+
+ var declarationPatternSyntax = (DeclarationPatternSyntaxWrapper)syntaxNode;
+ Assert.Same(syntaxNode, declarationPatternSyntax.SyntaxNode);
+ Assert.Same(syntaxNode.Type, declarationPatternSyntax.Type);
+ Assert.Same(syntaxNode.Designation, declarationPatternSyntax.Designation.SyntaxNode);
+
+ declarationPatternSyntax = declarationPatternSyntax.WithType(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword)));
+ Assert.NotNull(declarationPatternSyntax.SyntaxNode);
+ Assert.NotSame(syntaxNode, declarationPatternSyntax.SyntaxNode);
+ Assert.Same(((DeclarationPatternSyntax)declarationPatternSyntax.SyntaxNode).Type, declarationPatternSyntax.Type);
+
+ declarationPatternSyntax = declarationPatternSyntax.WithDesignation((VariableDesignationSyntaxWrapper)SyntaxFactory.SingleVariableDesignation(SyntaxFactory.Identifier("Anything")));
+ Assert.NotNull(declarationPatternSyntax.SyntaxNode);
+ Assert.NotSame(syntaxNode, declarationPatternSyntax.SyntaxNode);
+ Assert.Same(((DeclarationPatternSyntax)declarationPatternSyntax.SyntaxNode).Designation, declarationPatternSyntax.Designation.SyntaxNode);
+ }
+
+ [Fact]
+ public void TestIsInstance()
+ {
+ Assert.False(DeclarationPatternSyntaxWrapper.IsInstance(null));
+ Assert.False(DeclarationPatternSyntaxWrapper.IsInstance(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
+
+ var syntaxNode = SyntaxFactory.DeclarationPattern(
+ SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword)),
+ SyntaxFactory.DiscardDesignation());
+ Assert.True(DeclarationPatternSyntaxWrapper.IsInstance(syntaxNode));
+ }
+
+ [Fact]
+ public void TestConversionsNull()
+ {
+ var syntaxNode = default(SyntaxNode);
+ var declarationPatternSyntax = (DeclarationPatternSyntaxWrapper)syntaxNode;
+
+ PatternSyntaxWrapper patternSyntax = declarationPatternSyntax;
+ Assert.Null(patternSyntax.SyntaxNode);
+
+ declarationPatternSyntax = (DeclarationPatternSyntaxWrapper)patternSyntax;
+ Assert.Null(declarationPatternSyntax.SyntaxNode);
+
+ SyntaxNode syntax = declarationPatternSyntax;
+ Assert.Null(syntax);
+ }
+
+ [Fact]
+ public void TestConversions()
+ {
+ var syntaxNode = SyntaxFactory.DeclarationPattern(
+ SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword)),
+ SyntaxFactory.DiscardDesignation());
+ var declarationPatternSyntax = (DeclarationPatternSyntaxWrapper)syntaxNode;
+
+ PatternSyntaxWrapper patternSyntax = declarationPatternSyntax;
+ Assert.Same(syntaxNode, patternSyntax.SyntaxNode);
+
+ declarationPatternSyntax = (DeclarationPatternSyntaxWrapper)patternSyntax;
+ Assert.Same(syntaxNode, declarationPatternSyntax.SyntaxNode);
+
+ SyntaxNode syntax = declarationPatternSyntax;
+ Assert.Same(syntaxNode, syntax);
+ }
+
+ [Fact]
+ public void TestInvalidConversion()
+ {
+ var syntaxNode = SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression);
+ Assert.Throws(() => (DeclarationPatternSyntaxWrapper)syntaxNode);
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationPatternSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationPatternSyntaxWrapperTests.cs
deleted file mode 100644
index b5af0b867..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationPatternSyntaxWrapperTests.cs
+++ /dev/null
@@ -1,107 +0,0 @@
-// Copyright (c) Tunnel Vision Laboratories, 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 System;
- using Microsoft.CodeAnalysis;
- using Microsoft.CodeAnalysis.CSharp;
- using Microsoft.CodeAnalysis.CSharp.Syntax;
- using StyleCop.Analyzers.Lightup;
- using Xunit;
-
- public class DeclarationPatternSyntaxWrapperTests
- {
- [Fact]
- public void TestNull()
- {
- var syntaxNode = default(SyntaxNode);
- var declarationPatternSyntax = (DeclarationPatternSyntaxWrapper)syntaxNode;
- Assert.Null(declarationPatternSyntax.SyntaxNode);
- Assert.Throws(() => declarationPatternSyntax.Type);
- Assert.Throws(() => declarationPatternSyntax.Designation);
- Assert.Throws(() => declarationPatternSyntax.WithType(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword))));
- Assert.Throws(() => declarationPatternSyntax.WithDesignation((VariableDesignationSyntaxWrapper)SyntaxFactory.DiscardDesignation()));
- }
-
- [Fact]
- public void TestProperties()
- {
- var syntaxNode = SyntaxFactory.DeclarationPattern(
- SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword)),
- SyntaxFactory.DiscardDesignation());
- Assert.True(syntaxNode.IsKind(SyntaxKind.DeclarationPattern));
- Assert.True(syntaxNode.IsKind(SyntaxKindEx.DeclarationPattern));
-
- var declarationPatternSyntax = (DeclarationPatternSyntaxWrapper)syntaxNode;
- Assert.Same(syntaxNode, declarationPatternSyntax.SyntaxNode);
- Assert.Same(syntaxNode.Type, declarationPatternSyntax.Type);
- Assert.Same(syntaxNode.Designation, declarationPatternSyntax.Designation.SyntaxNode);
-
- declarationPatternSyntax = declarationPatternSyntax.WithType(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword)));
- Assert.NotNull(declarationPatternSyntax.SyntaxNode);
- Assert.NotSame(syntaxNode, declarationPatternSyntax.SyntaxNode);
- Assert.Same(((DeclarationPatternSyntax)declarationPatternSyntax.SyntaxNode).Type, declarationPatternSyntax.Type);
-
- declarationPatternSyntax = declarationPatternSyntax.WithDesignation((VariableDesignationSyntaxWrapper)SyntaxFactory.SingleVariableDesignation(SyntaxFactory.Identifier("Anything")));
- Assert.NotNull(declarationPatternSyntax.SyntaxNode);
- Assert.NotSame(syntaxNode, declarationPatternSyntax.SyntaxNode);
- Assert.Same(((DeclarationPatternSyntax)declarationPatternSyntax.SyntaxNode).Designation, declarationPatternSyntax.Designation.SyntaxNode);
- }
-
- [Fact]
- public void TestIsInstance()
- {
- Assert.False(DeclarationPatternSyntaxWrapper.IsInstance(null));
- Assert.False(DeclarationPatternSyntaxWrapper.IsInstance(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
-
- var syntaxNode = SyntaxFactory.DeclarationPattern(
- SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword)),
- SyntaxFactory.DiscardDesignation());
- Assert.True(DeclarationPatternSyntaxWrapper.IsInstance(syntaxNode));
- }
-
- [Fact]
- public void TestConversionsNull()
- {
- var syntaxNode = default(SyntaxNode);
- var declarationPatternSyntax = (DeclarationPatternSyntaxWrapper)syntaxNode;
-
- PatternSyntaxWrapper patternSyntax = declarationPatternSyntax;
- Assert.Null(patternSyntax.SyntaxNode);
-
- declarationPatternSyntax = (DeclarationPatternSyntaxWrapper)patternSyntax;
- Assert.Null(declarationPatternSyntax.SyntaxNode);
-
- SyntaxNode syntax = declarationPatternSyntax;
- Assert.Null(syntax);
- }
-
- [Fact]
- public void TestConversions()
- {
- var syntaxNode = SyntaxFactory.DeclarationPattern(
- SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword)),
- SyntaxFactory.DiscardDesignation());
- var declarationPatternSyntax = (DeclarationPatternSyntaxWrapper)syntaxNode;
-
- PatternSyntaxWrapper patternSyntax = declarationPatternSyntax;
- Assert.Same(syntaxNode, patternSyntax.SyntaxNode);
-
- declarationPatternSyntax = (DeclarationPatternSyntaxWrapper)patternSyntax;
- Assert.Same(syntaxNode, declarationPatternSyntax.SyntaxNode);
-
- SyntaxNode syntax = declarationPatternSyntax;
- Assert.Same(syntaxNode, syntax);
- }
-
- [Fact]
- public void TestInvalidConversion()
- {
- var syntaxNode = SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression);
- Assert.Throws(() => (DeclarationPatternSyntaxWrapper)syntaxNode);
- }
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DestructorDeclarationSyntaxExtensionsCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DestructorDeclarationSyntaxExtensionsCSharp7UnitTests.cs
new file mode 100644
index 000000000..6aa3847c9
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DestructorDeclarationSyntaxExtensionsCSharp7UnitTests.cs
@@ -0,0 +1,25 @@
+// Copyright (c) Tunnel Vision Laboratories, 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 Microsoft.CodeAnalysis.CSharp;
+ using StyleCop.Analyzers.Lightup;
+ using Xunit;
+
+ public class DestructorDeclarationSyntaxExtensionsCSharp7UnitTests
+ {
+ [Fact]
+ public void TestWithExpressionBody()
+ {
+ var syntax = SyntaxFactory.DestructorDeclaration(SyntaxFactory.Identifier("Anything"));
+ var expressionBody = SyntaxFactory.ArrowExpressionClause(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression));
+ var syntaxWithBody = DestructorDeclarationSyntaxExtensions.WithExpressionBody(syntax, expressionBody);
+ Assert.Null(syntax.ExpressionBody);
+ Assert.NotNull(syntaxWithBody.ExpressionBody);
+ Assert.Equal(SyntaxKind.NullLiteralExpression, syntaxWithBody.ExpressionBody.Expression.Kind());
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DestructorDeclarationSyntaxExtensionsTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DestructorDeclarationSyntaxExtensionsTests.cs
deleted file mode 100644
index e3703629d..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DestructorDeclarationSyntaxExtensionsTests.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) Tunnel Vision Laboratories, 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 Microsoft.CodeAnalysis.CSharp;
- using StyleCop.Analyzers.Lightup;
- using Xunit;
-
- public class DestructorDeclarationSyntaxExtensionsTests
- {
- [Fact]
- public void TestWithExpressionBody()
- {
- var syntax = SyntaxFactory.DestructorDeclaration(SyntaxFactory.Identifier("Anything"));
- var expressionBody = SyntaxFactory.ArrowExpressionClause(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression));
- var syntaxWithBody = DestructorDeclarationSyntaxExtensions.WithExpressionBody(syntax, expressionBody);
- Assert.Null(syntax.ExpressionBody);
- Assert.NotNull(syntaxWithBody.ExpressionBody);
- Assert.Equal(SyntaxKind.NullLiteralExpression, syntaxWithBody.ExpressionBody.Expression.Kind());
- }
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DiscardDesignationSyntaxWrapperCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DiscardDesignationSyntaxWrapperCSharp7UnitTests.cs
new file mode 100644
index 000000000..a90077aba
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DiscardDesignationSyntaxWrapperCSharp7UnitTests.cs
@@ -0,0 +1,93 @@
+// Copyright (c) Tunnel Vision Laboratories, 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 System;
+ using Microsoft.CodeAnalysis;
+ using Microsoft.CodeAnalysis.CSharp;
+ using StyleCop.Analyzers.Helpers;
+ using StyleCop.Analyzers.Lightup;
+ using Xunit;
+
+ public class DiscardDesignationSyntaxWrapperCSharp7UnitTests
+ {
+ [Fact]
+ public void TestNull()
+ {
+ var syntaxNode = default(SyntaxNode);
+ var discardDesignationSyntax = (DiscardDesignationSyntaxWrapper)syntaxNode;
+ Assert.Null(discardDesignationSyntax.SyntaxNode);
+ Assert.Throws(() => discardDesignationSyntax.UnderscoreToken);
+ Assert.Throws(() => discardDesignationSyntax.WithUnderscoreToken(SyntaxFactory.Token(SyntaxKind.UnderscoreToken)));
+ }
+
+ [Fact]
+ public void TestUnderscoreToken()
+ {
+ var syntaxNode = SyntaxFactory.DiscardDesignation();
+ Assert.True(syntaxNode.IsKind(SyntaxKind.DiscardDesignation));
+ Assert.True(syntaxNode.IsKind(SyntaxKindEx.DiscardDesignation));
+
+ var discardDesignationSyntax = (DiscardDesignationSyntaxWrapper)syntaxNode;
+ Assert.Same(syntaxNode, discardDesignationSyntax.SyntaxNode);
+ Assert.Equal(syntaxNode.UnderscoreToken, discardDesignationSyntax.UnderscoreToken);
+
+ discardDesignationSyntax = discardDesignationSyntax.WithUnderscoreToken(SpacingExtensions.WithoutTrivia(SyntaxFactory.Token(SyntaxKind.UnderscoreToken)));
+ Assert.NotNull(discardDesignationSyntax.SyntaxNode);
+ Assert.NotSame(syntaxNode, discardDesignationSyntax.SyntaxNode);
+ Assert.False(syntaxNode.UnderscoreToken.IsEquivalentTo(discardDesignationSyntax.UnderscoreToken));
+ }
+
+ [Fact]
+ public void TestIsInstance()
+ {
+ Assert.False(DiscardDesignationSyntaxWrapper.IsInstance(null));
+ Assert.False(DiscardDesignationSyntaxWrapper.IsInstance(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
+
+ var syntaxNode = SyntaxFactory.DiscardDesignation();
+ Assert.True(DiscardDesignationSyntaxWrapper.IsInstance(syntaxNode));
+ }
+
+ [Fact]
+ public void TestConversionsNull()
+ {
+ var syntaxNode = default(SyntaxNode);
+ var discardDesignationSyntax = (DiscardDesignationSyntaxWrapper)syntaxNode;
+
+ VariableDesignationSyntaxWrapper variableDesignationSyntax = discardDesignationSyntax;
+ Assert.Null(variableDesignationSyntax.SyntaxNode);
+
+ discardDesignationSyntax = (DiscardDesignationSyntaxWrapper)variableDesignationSyntax;
+ Assert.Null(discardDesignationSyntax.SyntaxNode);
+
+ SyntaxNode syntax = discardDesignationSyntax;
+ Assert.Null(syntax);
+ }
+
+ [Fact]
+ public void TestConversions()
+ {
+ var syntaxNode = SyntaxFactory.DiscardDesignation();
+ var discardDesignationSyntax = (DiscardDesignationSyntaxWrapper)syntaxNode;
+
+ VariableDesignationSyntaxWrapper variableDesignationSyntax = discardDesignationSyntax;
+ Assert.Same(syntaxNode, variableDesignationSyntax.SyntaxNode);
+
+ discardDesignationSyntax = (DiscardDesignationSyntaxWrapper)variableDesignationSyntax;
+ Assert.Same(syntaxNode, discardDesignationSyntax.SyntaxNode);
+
+ SyntaxNode syntax = discardDesignationSyntax;
+ Assert.Same(syntaxNode, syntax);
+ }
+
+ [Fact]
+ public void TestInvalidConversion()
+ {
+ var syntaxNode = SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression);
+ Assert.Throws(() => (DiscardDesignationSyntaxWrapper)syntaxNode);
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DiscardDesignationSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DiscardDesignationSyntaxWrapperTests.cs
deleted file mode 100644
index cd6cd86b1..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DiscardDesignationSyntaxWrapperTests.cs
+++ /dev/null
@@ -1,93 +0,0 @@
-// Copyright (c) Tunnel Vision Laboratories, 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 System;
- using Microsoft.CodeAnalysis;
- using Microsoft.CodeAnalysis.CSharp;
- using StyleCop.Analyzers.Helpers;
- using StyleCop.Analyzers.Lightup;
- using Xunit;
-
- public class DiscardDesignationSyntaxWrapperTests
- {
- [Fact]
- public void TestNull()
- {
- var syntaxNode = default(SyntaxNode);
- var discardDesignationSyntax = (DiscardDesignationSyntaxWrapper)syntaxNode;
- Assert.Null(discardDesignationSyntax.SyntaxNode);
- Assert.Throws(() => discardDesignationSyntax.UnderscoreToken);
- Assert.Throws(() => discardDesignationSyntax.WithUnderscoreToken(SyntaxFactory.Token(SyntaxKind.UnderscoreToken)));
- }
-
- [Fact]
- public void TestUnderscoreToken()
- {
- var syntaxNode = SyntaxFactory.DiscardDesignation();
- Assert.True(syntaxNode.IsKind(SyntaxKind.DiscardDesignation));
- Assert.True(syntaxNode.IsKind(SyntaxKindEx.DiscardDesignation));
-
- var discardDesignationSyntax = (DiscardDesignationSyntaxWrapper)syntaxNode;
- Assert.Same(syntaxNode, discardDesignationSyntax.SyntaxNode);
- Assert.Equal(syntaxNode.UnderscoreToken, discardDesignationSyntax.UnderscoreToken);
-
- discardDesignationSyntax = discardDesignationSyntax.WithUnderscoreToken(SpacingExtensions.WithoutTrivia(SyntaxFactory.Token(SyntaxKind.UnderscoreToken)));
- Assert.NotNull(discardDesignationSyntax.SyntaxNode);
- Assert.NotSame(syntaxNode, discardDesignationSyntax.SyntaxNode);
- Assert.False(syntaxNode.UnderscoreToken.IsEquivalentTo(discardDesignationSyntax.UnderscoreToken));
- }
-
- [Fact]
- public void TestIsInstance()
- {
- Assert.False(DiscardDesignationSyntaxWrapper.IsInstance(null));
- Assert.False(DiscardDesignationSyntaxWrapper.IsInstance(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
-
- var syntaxNode = SyntaxFactory.DiscardDesignation();
- Assert.True(DiscardDesignationSyntaxWrapper.IsInstance(syntaxNode));
- }
-
- [Fact]
- public void TestConversionsNull()
- {
- var syntaxNode = default(SyntaxNode);
- var discardDesignationSyntax = (DiscardDesignationSyntaxWrapper)syntaxNode;
-
- VariableDesignationSyntaxWrapper variableDesignationSyntax = discardDesignationSyntax;
- Assert.Null(variableDesignationSyntax.SyntaxNode);
-
- discardDesignationSyntax = (DiscardDesignationSyntaxWrapper)variableDesignationSyntax;
- Assert.Null(discardDesignationSyntax.SyntaxNode);
-
- SyntaxNode syntax = discardDesignationSyntax;
- Assert.Null(syntax);
- }
-
- [Fact]
- public void TestConversions()
- {
- var syntaxNode = SyntaxFactory.DiscardDesignation();
- var discardDesignationSyntax = (DiscardDesignationSyntaxWrapper)syntaxNode;
-
- VariableDesignationSyntaxWrapper variableDesignationSyntax = discardDesignationSyntax;
- Assert.Same(syntaxNode, variableDesignationSyntax.SyntaxNode);
-
- discardDesignationSyntax = (DiscardDesignationSyntaxWrapper)variableDesignationSyntax;
- Assert.Same(syntaxNode, discardDesignationSyntax.SyntaxNode);
-
- SyntaxNode syntax = discardDesignationSyntax;
- Assert.Same(syntaxNode, syntax);
- }
-
- [Fact]
- public void TestInvalidConversion()
- {
- var syntaxNode = SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression);
- Assert.Throws(() => (DiscardDesignationSyntaxWrapper)syntaxNode);
- }
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp7UnitTests.cs
new file mode 100644
index 000000000..052aa002a
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp7UnitTests.cs
@@ -0,0 +1,132 @@
+// Copyright (c) Tunnel Vision Laboratories, 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 System;
+ using Microsoft.CodeAnalysis;
+ using Microsoft.CodeAnalysis.CSharp;
+ using Microsoft.CodeAnalysis.CSharp.Syntax;
+ using StyleCop.Analyzers.Lightup;
+ using Xunit;
+
+ public class ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp7UnitTests
+ {
+ [Fact]
+ public void TestNull()
+ {
+ var syntaxNode = default(SyntaxNode);
+ var wrapper = (ImplicitStackAllocArrayCreationExpressionSyntaxWrapper)syntaxNode;
+ Assert.Null(wrapper.SyntaxNode);
+ Assert.Throws(() => wrapper.StackAllocKeyword);
+ Assert.Throws(() => wrapper.OpenBracketToken);
+ Assert.Throws(() => wrapper.CloseBracketToken);
+ Assert.Throws(() => wrapper.Initializer);
+ Assert.Throws(() => wrapper.WithStackAllocKeyword(SyntaxFactory.Token(SyntaxKind.StackAllocKeyword)));
+ Assert.Throws(() => wrapper.WithOpenBracketToken(SyntaxFactory.Token(SyntaxKind.OpenBracketToken)));
+ Assert.Throws(() => wrapper.WithCloseBracketToken(SyntaxFactory.Token(SyntaxKind.CloseBracketToken)));
+ Assert.Throws(() => wrapper.WithInitializer(SyntaxFactory.InitializerExpression(SyntaxKind.ArrayInitializerExpression)));
+ Assert.Throws(() => wrapper.AddInitializerExpressions());
+ }
+
+ [Fact]
+ public void TestProperties()
+ {
+ var syntaxNode = this.CreateImplicitStackAllocArrayCreationExpression();
+ Assert.True(syntaxNode.IsKind(SyntaxKind.ImplicitStackAllocArrayCreationExpression));
+ Assert.True(syntaxNode.IsKind(SyntaxKindEx.ImplicitStackAllocArrayCreationExpression));
+
+ var wrapper = (ImplicitStackAllocArrayCreationExpressionSyntaxWrapper)syntaxNode;
+ Assert.Same(syntaxNode, wrapper.SyntaxNode);
+ Assert.Equal(syntaxNode.StackAllocKeyword, wrapper.StackAllocKeyword); // This is a struct, so we can't use Same()
+ Assert.Equal(syntaxNode.OpenBracketToken, wrapper.OpenBracketToken); // This is a struct, so we can't use Same()
+ Assert.Equal(syntaxNode.CloseBracketToken, wrapper.CloseBracketToken); // This is a struct, so we can't use Same()
+ Assert.Same(syntaxNode.Initializer, wrapper.Initializer);
+
+ var newStackAllocKeyword = SyntaxFactory.Token(SyntaxKind.StackAllocKeyword);
+ var wrapperWithModifiedStackAllocKeyword = wrapper.WithStackAllocKeyword(newStackAllocKeyword);
+ Assert.NotNull(wrapperWithModifiedStackAllocKeyword.SyntaxNode);
+ Assert.NotEqual(syntaxNode.StackAllocKeyword, wrapperWithModifiedStackAllocKeyword.StackAllocKeyword);
+ Assert.Equal(SyntaxKind.StackAllocKeyword, wrapperWithModifiedStackAllocKeyword.StackAllocKeyword.Kind());
+ Assert.Equal("stackalloc", wrapperWithModifiedStackAllocKeyword.StackAllocKeyword.Text);
+
+ var newOpenBracketToken = SyntaxFactory.Token(SyntaxKind.OpenBracketToken);
+ var wrapperWithModifiedOpenBracketToken = wrapper.WithOpenBracketToken(newOpenBracketToken);
+ Assert.NotNull(wrapperWithModifiedOpenBracketToken.SyntaxNode);
+ Assert.NotEqual(syntaxNode.OpenBracketToken, wrapperWithModifiedOpenBracketToken.OpenBracketToken);
+ Assert.Equal(SyntaxKind.OpenBracketToken, wrapperWithModifiedOpenBracketToken.OpenBracketToken.Kind());
+ Assert.Equal("[", wrapperWithModifiedOpenBracketToken.OpenBracketToken.Text);
+
+ var newCloseBracketToken = SyntaxFactory.Token(SyntaxKind.CloseBracketToken);
+ var wrapperWithModifiedCloseBracketToken = wrapper.WithCloseBracketToken(newCloseBracketToken);
+ Assert.NotNull(wrapperWithModifiedCloseBracketToken.SyntaxNode);
+ Assert.NotEqual(syntaxNode.CloseBracketToken, wrapperWithModifiedCloseBracketToken.CloseBracketToken);
+ Assert.Equal(SyntaxKind.CloseBracketToken, wrapperWithModifiedCloseBracketToken.CloseBracketToken.Kind());
+ Assert.Equal("]", wrapperWithModifiedCloseBracketToken.CloseBracketToken.Text);
+
+ var newInitializer = SyntaxFactory.InitializerExpression(SyntaxKind.ArrayInitializerExpression);
+ var wrapperWithModifiedInitializer = wrapper.WithInitializer(newInitializer);
+ Assert.NotNull(wrapperWithModifiedInitializer.SyntaxNode);
+ Assert.NotSame(syntaxNode.Initializer, wrapperWithModifiedInitializer.Initializer);
+ Assert.Empty(wrapperWithModifiedInitializer.Initializer.Expressions);
+
+ var addedInitializerExpressions = new ExpressionSyntax[] { SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(2)) };
+ var wrapperWithAddedInitializerExpressions = wrapper.AddInitializerExpressions(addedInitializerExpressions);
+ Assert.NotNull(wrapperWithAddedInitializerExpressions.SyntaxNode);
+ Assert.NotSame(syntaxNode.Initializer, wrapperWithAddedInitializerExpressions.Initializer);
+ Assert.Equal(2, wrapperWithAddedInitializerExpressions.Initializer.Expressions.Count);
+ Assert.Equal("1", wrapperWithAddedInitializerExpressions.Initializer.Expressions[0].ToString());
+ Assert.Equal("2", wrapperWithAddedInitializerExpressions.Initializer.Expressions[1].ToString());
+ }
+
+ [Fact]
+ public void TestIsInstance()
+ {
+ Assert.False(ImplicitStackAllocArrayCreationExpressionSyntaxWrapper.IsInstance(null));
+ Assert.False(ImplicitStackAllocArrayCreationExpressionSyntaxWrapper.IsInstance(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
+
+ var syntaxNode = this.CreateImplicitStackAllocArrayCreationExpression();
+ Assert.True(ImplicitStackAllocArrayCreationExpressionSyntaxWrapper.IsInstance(syntaxNode));
+ }
+
+ [Fact]
+ public void TestConversionsNull()
+ {
+ var syntaxNode = default(SyntaxNode);
+ var wrapper = (ImplicitStackAllocArrayCreationExpressionSyntaxWrapper)syntaxNode;
+
+ ExpressionSyntax syntax = wrapper;
+ Assert.Null(syntax);
+ }
+
+ [Fact]
+ public void TestConversions()
+ {
+ var syntaxNode = this.CreateImplicitStackAllocArrayCreationExpression();
+ var wrapper = (ImplicitStackAllocArrayCreationExpressionSyntaxWrapper)syntaxNode;
+
+ ExpressionSyntax syntax = wrapper;
+ Assert.Same(syntaxNode, syntax);
+ }
+
+ [Fact]
+ public void TestInvalidConversion()
+ {
+ var syntaxNode = SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression);
+ Assert.Throws(() => (ImplicitStackAllocArrayCreationExpressionSyntaxWrapper)syntaxNode);
+ }
+
+ private ImplicitStackAllocArrayCreationExpressionSyntax CreateImplicitStackAllocArrayCreationExpression()
+ {
+ return SyntaxFactory.ImplicitStackAllocArrayCreationExpression(
+ stackAllocKeyword: SyntaxFactory.Token(SyntaxKind.StackAllocKeyword),
+ openBracketToken: SyntaxFactory.Token(SyntaxKind.OpenBracketToken),
+ closeBracketToken: SyntaxFactory.Token(SyntaxKind.CloseBracketToken),
+ initializer: SyntaxFactory.InitializerExpression(
+ SyntaxKind.ArrayInitializerExpression,
+ SyntaxFactory.SingletonSeparatedList(SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(1)))));
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTests.cs
deleted file mode 100644
index 849920055..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTests.cs
+++ /dev/null
@@ -1,132 +0,0 @@
-// Copyright (c) Tunnel Vision Laboratories, 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 System;
- using Microsoft.CodeAnalysis;
- using Microsoft.CodeAnalysis.CSharp;
- using Microsoft.CodeAnalysis.CSharp.Syntax;
- using StyleCop.Analyzers.Lightup;
- using Xunit;
-
- public class ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTests
- {
- [Fact]
- public void TestNull()
- {
- var syntaxNode = default(SyntaxNode);
- var wrapper = (ImplicitStackAllocArrayCreationExpressionSyntaxWrapper)syntaxNode;
- Assert.Null(wrapper.SyntaxNode);
- Assert.Throws(() => wrapper.StackAllocKeyword);
- Assert.Throws(() => wrapper.OpenBracketToken);
- Assert.Throws(() => wrapper.CloseBracketToken);
- Assert.Throws(() => wrapper.Initializer);
- Assert.Throws(() => wrapper.WithStackAllocKeyword(SyntaxFactory.Token(SyntaxKind.StackAllocKeyword)));
- Assert.Throws(() => wrapper.WithOpenBracketToken(SyntaxFactory.Token(SyntaxKind.OpenBracketToken)));
- Assert.Throws(() => wrapper.WithCloseBracketToken(SyntaxFactory.Token(SyntaxKind.CloseBracketToken)));
- Assert.Throws(() => wrapper.WithInitializer(SyntaxFactory.InitializerExpression(SyntaxKind.ArrayInitializerExpression)));
- Assert.Throws(() => wrapper.AddInitializerExpressions());
- }
-
- [Fact]
- public void TestProperties()
- {
- var syntaxNode = this.CreateImplicitStackAllocArrayCreationExpression();
- Assert.True(syntaxNode.IsKind(SyntaxKind.ImplicitStackAllocArrayCreationExpression));
- Assert.True(syntaxNode.IsKind(SyntaxKindEx.ImplicitStackAllocArrayCreationExpression));
-
- var wrapper = (ImplicitStackAllocArrayCreationExpressionSyntaxWrapper)syntaxNode;
- Assert.Same(syntaxNode, wrapper.SyntaxNode);
- Assert.Equal(syntaxNode.StackAllocKeyword, wrapper.StackAllocKeyword); // This is a struct, so we can't use Same()
- Assert.Equal(syntaxNode.OpenBracketToken, wrapper.OpenBracketToken); // This is a struct, so we can't use Same()
- Assert.Equal(syntaxNode.CloseBracketToken, wrapper.CloseBracketToken); // This is a struct, so we can't use Same()
- Assert.Same(syntaxNode.Initializer, wrapper.Initializer);
-
- var newStackAllocKeyword = SyntaxFactory.Token(SyntaxKind.StackAllocKeyword);
- var wrapperWithModifiedStackAllocKeyword = wrapper.WithStackAllocKeyword(newStackAllocKeyword);
- Assert.NotNull(wrapperWithModifiedStackAllocKeyword.SyntaxNode);
- Assert.NotEqual(syntaxNode.StackAllocKeyword, wrapperWithModifiedStackAllocKeyword.StackAllocKeyword);
- Assert.Equal(SyntaxKind.StackAllocKeyword, wrapperWithModifiedStackAllocKeyword.StackAllocKeyword.Kind());
- Assert.Equal("stackalloc", wrapperWithModifiedStackAllocKeyword.StackAllocKeyword.Text);
-
- var newOpenBracketToken = SyntaxFactory.Token(SyntaxKind.OpenBracketToken);
- var wrapperWithModifiedOpenBracketToken = wrapper.WithOpenBracketToken(newOpenBracketToken);
- Assert.NotNull(wrapperWithModifiedOpenBracketToken.SyntaxNode);
- Assert.NotEqual(syntaxNode.OpenBracketToken, wrapperWithModifiedOpenBracketToken.OpenBracketToken);
- Assert.Equal(SyntaxKind.OpenBracketToken, wrapperWithModifiedOpenBracketToken.OpenBracketToken.Kind());
- Assert.Equal("[", wrapperWithModifiedOpenBracketToken.OpenBracketToken.Text);
-
- var newCloseBracketToken = SyntaxFactory.Token(SyntaxKind.CloseBracketToken);
- var wrapperWithModifiedCloseBracketToken = wrapper.WithCloseBracketToken(newCloseBracketToken);
- Assert.NotNull(wrapperWithModifiedCloseBracketToken.SyntaxNode);
- Assert.NotEqual(syntaxNode.CloseBracketToken, wrapperWithModifiedCloseBracketToken.CloseBracketToken);
- Assert.Equal(SyntaxKind.CloseBracketToken, wrapperWithModifiedCloseBracketToken.CloseBracketToken.Kind());
- Assert.Equal("]", wrapperWithModifiedCloseBracketToken.CloseBracketToken.Text);
-
- var newInitializer = SyntaxFactory.InitializerExpression(SyntaxKind.ArrayInitializerExpression);
- var wrapperWithModifiedInitializer = wrapper.WithInitializer(newInitializer);
- Assert.NotNull(wrapperWithModifiedInitializer.SyntaxNode);
- Assert.NotSame(syntaxNode.Initializer, wrapperWithModifiedInitializer.Initializer);
- Assert.Empty(wrapperWithModifiedInitializer.Initializer.Expressions);
-
- var addedInitializerExpressions = new ExpressionSyntax[] { SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(2)) };
- var wrapperWithAddedInitializerExpressions = wrapper.AddInitializerExpressions(addedInitializerExpressions);
- Assert.NotNull(wrapperWithAddedInitializerExpressions.SyntaxNode);
- Assert.NotSame(syntaxNode.Initializer, wrapperWithAddedInitializerExpressions.Initializer);
- Assert.Equal(2, wrapperWithAddedInitializerExpressions.Initializer.Expressions.Count);
- Assert.Equal("1", wrapperWithAddedInitializerExpressions.Initializer.Expressions[0].ToString());
- Assert.Equal("2", wrapperWithAddedInitializerExpressions.Initializer.Expressions[1].ToString());
- }
-
- [Fact]
- public void TestIsInstance()
- {
- Assert.False(ImplicitStackAllocArrayCreationExpressionSyntaxWrapper.IsInstance(null));
- Assert.False(ImplicitStackAllocArrayCreationExpressionSyntaxWrapper.IsInstance(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
-
- var syntaxNode = this.CreateImplicitStackAllocArrayCreationExpression();
- Assert.True(ImplicitStackAllocArrayCreationExpressionSyntaxWrapper.IsInstance(syntaxNode));
- }
-
- [Fact]
- public void TestConversionsNull()
- {
- var syntaxNode = default(SyntaxNode);
- var wrapper = (ImplicitStackAllocArrayCreationExpressionSyntaxWrapper)syntaxNode;
-
- ExpressionSyntax syntax = wrapper;
- Assert.Null(syntax);
- }
-
- [Fact]
- public void TestConversions()
- {
- var syntaxNode = this.CreateImplicitStackAllocArrayCreationExpression();
- var wrapper = (ImplicitStackAllocArrayCreationExpressionSyntaxWrapper)syntaxNode;
-
- ExpressionSyntax syntax = wrapper;
- Assert.Same(syntaxNode, syntax);
- }
-
- [Fact]
- public void TestInvalidConversion()
- {
- var syntaxNode = SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression);
- Assert.Throws(() => (ImplicitStackAllocArrayCreationExpressionSyntaxWrapper)syntaxNode);
- }
-
- private ImplicitStackAllocArrayCreationExpressionSyntax CreateImplicitStackAllocArrayCreationExpression()
- {
- return SyntaxFactory.ImplicitStackAllocArrayCreationExpression(
- stackAllocKeyword: SyntaxFactory.Token(SyntaxKind.StackAllocKeyword),
- openBracketToken: SyntaxFactory.Token(SyntaxKind.OpenBracketToken),
- closeBracketToken: SyntaxFactory.Token(SyntaxKind.CloseBracketToken),
- initializer: SyntaxFactory.InitializerExpression(
- SyntaxKind.ArrayInitializerExpression,
- SyntaxFactory.SingletonSeparatedList(SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(1)))));
- }
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/IsPatternExpressionSyntaxWrapperCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/IsPatternExpressionSyntaxWrapperCSharp7UnitTests.cs
new file mode 100644
index 000000000..4728d5901
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/IsPatternExpressionSyntaxWrapperCSharp7UnitTests.cs
@@ -0,0 +1,101 @@
+// Copyright (c) Tunnel Vision Laboratories, 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 System;
+ using Microsoft.CodeAnalysis;
+ using Microsoft.CodeAnalysis.CSharp;
+ using Microsoft.CodeAnalysis.CSharp.Syntax;
+ using StyleCop.Analyzers.Lightup;
+ using Xunit;
+
+ public class IsPatternExpressionSyntaxWrapperCSharp7UnitTests
+ {
+ [Fact]
+ public void TestNull()
+ {
+ var syntaxNode = default(SyntaxNode);
+ var isPatternExpressionSyntax = (IsPatternExpressionSyntaxWrapper)syntaxNode;
+ Assert.Null(isPatternExpressionSyntax.SyntaxNode);
+ Assert.Throws(() => isPatternExpressionSyntax.Expression);
+ Assert.Throws(() => isPatternExpressionSyntax.IsKeyword);
+ Assert.Throws(() => isPatternExpressionSyntax.Pattern);
+ Assert.Throws(() => isPatternExpressionSyntax.WithExpression(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
+ Assert.Throws(() => isPatternExpressionSyntax.WithIsKeyword(SyntaxFactory.Token(SyntaxKind.IsKeyword)));
+ Assert.Throws(() => isPatternExpressionSyntax.WithPattern((PatternSyntaxWrapper)SyntaxFactory.ConstantPattern(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression))));
+ }
+
+ [Fact]
+ public void TestProperties()
+ {
+ var syntaxNode = SyntaxFactory.IsPatternExpression(SyntaxFactory.DefaultExpression(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword))), SyntaxFactory.ConstantPattern(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
+ Assert.True(syntaxNode.IsKind(SyntaxKind.IsPatternExpression));
+ Assert.True(syntaxNode.IsKind(SyntaxKindEx.IsPatternExpression));
+
+ var isPatternExpressionSyntax = (IsPatternExpressionSyntaxWrapper)syntaxNode;
+ Assert.Same(syntaxNode, isPatternExpressionSyntax.SyntaxNode);
+ Assert.Same(syntaxNode.Expression, isPatternExpressionSyntax.Expression);
+ Assert.True(syntaxNode.IsKeyword.IsEquivalentTo(isPatternExpressionSyntax.IsKeyword));
+ Assert.Same(syntaxNode.Pattern, isPatternExpressionSyntax.Pattern.SyntaxNode);
+ Assert.Equal(SyntaxKind.NullLiteralExpression, ((ConstantPatternSyntax)isPatternExpressionSyntax.Pattern).Expression.Kind());
+
+ var newExpression = SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(0));
+ var modifiedExpression = isPatternExpressionSyntax.WithExpression(newExpression);
+ Assert.NotNull(modifiedExpression.SyntaxNode);
+ Assert.NotSame(syntaxNode.Expression, modifiedExpression.Expression);
+ Assert.Equal(SyntaxKind.NumericLiteralExpression, modifiedExpression.Expression.Kind());
+
+ var newIsKeyword = SyntaxFactory.Token(SyntaxKind.IsKeyword).WithLeadingTrivia(SyntaxFactory.Space);
+ var modifiedIsKeyword = isPatternExpressionSyntax.WithIsKeyword(newIsKeyword);
+ Assert.NotNull(modifiedIsKeyword.SyntaxNode);
+ Assert.Single(modifiedIsKeyword.IsKeyword.LeadingTrivia);
+ Assert.Equal(" ", modifiedIsKeyword.IsKeyword.LeadingTrivia.ToString());
+
+ var newPattern = SyntaxFactory.ConstantPattern(newExpression);
+ var modifiedPattern = isPatternExpressionSyntax.WithPattern((PatternSyntaxWrapper)newPattern);
+ Assert.NotNull(modifiedPattern.SyntaxNode);
+ Assert.Equal(SyntaxKind.DefaultExpression, modifiedPattern.Expression.Kind());
+ Assert.Equal(SyntaxKind.NumericLiteralExpression, ((ConstantPatternSyntax)modifiedPattern.Pattern).Expression.Kind());
+ }
+
+ [Fact]
+ public void TestIsInstance()
+ {
+ Assert.False(IsPatternExpressionSyntaxWrapper.IsInstance(null));
+ Assert.False(IsPatternExpressionSyntaxWrapper.IsInstance(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
+
+ var syntaxNode = SyntaxFactory.IsPatternExpression(SyntaxFactory.DefaultExpression(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword))), SyntaxFactory.ConstantPattern(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
+ Assert.True(IsPatternExpressionSyntaxWrapper.IsInstance(syntaxNode));
+ }
+
+ [Fact]
+ public void TestConversionsNull()
+ {
+ var syntaxNode = default(SyntaxNode);
+ var isPatternExpressionSyntax = (IsPatternExpressionSyntaxWrapper)syntaxNode;
+
+ ExpressionSyntax syntax = isPatternExpressionSyntax;
+ Assert.Null(syntax);
+ }
+
+ [Fact]
+ public void TestConversions()
+ {
+ var syntaxNode = SyntaxFactory.IsPatternExpression(SyntaxFactory.DefaultExpression(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword))), SyntaxFactory.ConstantPattern(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
+ var isPatternExpressionSyntax = (IsPatternExpressionSyntaxWrapper)syntaxNode;
+
+ ExpressionSyntax syntax = isPatternExpressionSyntax;
+ Assert.Same(syntaxNode, syntax);
+ }
+
+ [Fact]
+ public void TestInvalidConversion()
+ {
+ var syntaxNode = SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression);
+ Assert.Throws(() => (IsPatternExpressionSyntaxWrapper)syntaxNode);
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/IsPatternExpressionSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/IsPatternExpressionSyntaxWrapperTests.cs
deleted file mode 100644
index 42529f685..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/IsPatternExpressionSyntaxWrapperTests.cs
+++ /dev/null
@@ -1,101 +0,0 @@
-// Copyright (c) Tunnel Vision Laboratories, 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 System;
- using Microsoft.CodeAnalysis;
- using Microsoft.CodeAnalysis.CSharp;
- using Microsoft.CodeAnalysis.CSharp.Syntax;
- using StyleCop.Analyzers.Lightup;
- using Xunit;
-
- public class IsPatternExpressionSyntaxWrapperTests
- {
- [Fact]
- public void TestNull()
- {
- var syntaxNode = default(SyntaxNode);
- var isPatternExpressionSyntax = (IsPatternExpressionSyntaxWrapper)syntaxNode;
- Assert.Null(isPatternExpressionSyntax.SyntaxNode);
- Assert.Throws(() => isPatternExpressionSyntax.Expression);
- Assert.Throws(() => isPatternExpressionSyntax.IsKeyword);
- Assert.Throws(() => isPatternExpressionSyntax.Pattern);
- Assert.Throws(() => isPatternExpressionSyntax.WithExpression(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
- Assert.Throws(() => isPatternExpressionSyntax.WithIsKeyword(SyntaxFactory.Token(SyntaxKind.IsKeyword)));
- Assert.Throws(() => isPatternExpressionSyntax.WithPattern((PatternSyntaxWrapper)SyntaxFactory.ConstantPattern(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression))));
- }
-
- [Fact]
- public void TestProperties()
- {
- var syntaxNode = SyntaxFactory.IsPatternExpression(SyntaxFactory.DefaultExpression(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword))), SyntaxFactory.ConstantPattern(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
- Assert.True(syntaxNode.IsKind(SyntaxKind.IsPatternExpression));
- Assert.True(syntaxNode.IsKind(SyntaxKindEx.IsPatternExpression));
-
- var isPatternExpressionSyntax = (IsPatternExpressionSyntaxWrapper)syntaxNode;
- Assert.Same(syntaxNode, isPatternExpressionSyntax.SyntaxNode);
- Assert.Same(syntaxNode.Expression, isPatternExpressionSyntax.Expression);
- Assert.True(syntaxNode.IsKeyword.IsEquivalentTo(isPatternExpressionSyntax.IsKeyword));
- Assert.Same(syntaxNode.Pattern, isPatternExpressionSyntax.Pattern.SyntaxNode);
- Assert.Equal(SyntaxKind.NullLiteralExpression, ((ConstantPatternSyntax)isPatternExpressionSyntax.Pattern).Expression.Kind());
-
- var newExpression = SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(0));
- var modifiedExpression = isPatternExpressionSyntax.WithExpression(newExpression);
- Assert.NotNull(modifiedExpression.SyntaxNode);
- Assert.NotSame(syntaxNode.Expression, modifiedExpression.Expression);
- Assert.Equal(SyntaxKind.NumericLiteralExpression, modifiedExpression.Expression.Kind());
-
- var newIsKeyword = SyntaxFactory.Token(SyntaxKind.IsKeyword).WithLeadingTrivia(SyntaxFactory.Space);
- var modifiedIsKeyword = isPatternExpressionSyntax.WithIsKeyword(newIsKeyword);
- Assert.NotNull(modifiedIsKeyword.SyntaxNode);
- Assert.Single(modifiedIsKeyword.IsKeyword.LeadingTrivia);
- Assert.Equal(" ", modifiedIsKeyword.IsKeyword.LeadingTrivia.ToString());
-
- var newPattern = SyntaxFactory.ConstantPattern(newExpression);
- var modifiedPattern = isPatternExpressionSyntax.WithPattern((PatternSyntaxWrapper)newPattern);
- Assert.NotNull(modifiedPattern.SyntaxNode);
- Assert.Equal(SyntaxKind.DefaultExpression, modifiedPattern.Expression.Kind());
- Assert.Equal(SyntaxKind.NumericLiteralExpression, ((ConstantPatternSyntax)modifiedPattern.Pattern).Expression.Kind());
- }
-
- [Fact]
- public void TestIsInstance()
- {
- Assert.False(IsPatternExpressionSyntaxWrapper.IsInstance(null));
- Assert.False(IsPatternExpressionSyntaxWrapper.IsInstance(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
-
- var syntaxNode = SyntaxFactory.IsPatternExpression(SyntaxFactory.DefaultExpression(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword))), SyntaxFactory.ConstantPattern(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
- Assert.True(IsPatternExpressionSyntaxWrapper.IsInstance(syntaxNode));
- }
-
- [Fact]
- public void TestConversionsNull()
- {
- var syntaxNode = default(SyntaxNode);
- var isPatternExpressionSyntax = (IsPatternExpressionSyntaxWrapper)syntaxNode;
-
- ExpressionSyntax syntax = isPatternExpressionSyntax;
- Assert.Null(syntax);
- }
-
- [Fact]
- public void TestConversions()
- {
- var syntaxNode = SyntaxFactory.IsPatternExpression(SyntaxFactory.DefaultExpression(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword))), SyntaxFactory.ConstantPattern(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
- var isPatternExpressionSyntax = (IsPatternExpressionSyntaxWrapper)syntaxNode;
-
- ExpressionSyntax syntax = isPatternExpressionSyntax;
- Assert.Same(syntaxNode, syntax);
- }
-
- [Fact]
- public void TestInvalidConversion()
- {
- var syntaxNode = SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression);
- Assert.Throws(() => (IsPatternExpressionSyntaxWrapper)syntaxNode);
- }
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LanguageVersionExCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LanguageVersionExCSharp7UnitTests.cs
new file mode 100644
index 000000000..344176dc3
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LanguageVersionExCSharp7UnitTests.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.CSharp7.Lightup
+{
+ using StyleCop.Analyzers.Test.Lightup;
+
+ public partial class LanguageVersionExCSharp7UnitTests : LanguageVersionExUnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LanguageVersionExTestsCSharp7.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LanguageVersionExTestsCSharp7.cs
deleted file mode 100644
index 147dd2122..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LanguageVersionExTestsCSharp7.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.CSharp7.Lightup
-{
- using StyleCop.Analyzers.Test.Lightup;
-
- public class LanguageVersionExTestsCSharp7 : LanguageVersionExTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LightupHelpersCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LightupHelpersCSharp7UnitTests.cs
new file mode 100644
index 000000000..65e6a223e
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LightupHelpersCSharp7UnitTests.cs
@@ -0,0 +1,19 @@
+// Copyright (c) Tunnel Vision Laboratories, 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.Lightup;
+ using StyleCop.Analyzers.Test.Lightup;
+
+ ///
+ /// This class tests edge case behavior of in Roslyn 2+. It extends
+ /// since the tests defined there are valid in both environments without
+ /// alteration.
+ ///
+ public partial class LightupHelpersCSharp7UnitTests : LightupHelpersUnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LightupHelpersTestsCSharp7.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LightupHelpersTestsCSharp7.cs
deleted file mode 100644
index 874c70289..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LightupHelpersTestsCSharp7.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (c) Tunnel Vision Laboratories, 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.Lightup;
- using StyleCop.Analyzers.Test.Lightup;
-
- ///
- /// This class tests edge case behavior of in Roslyn 2+. It extends
- /// since the tests defined there are valid in both environments without
- /// alteration.
- ///
- public class LightupHelpersTestsCSharp7 : LightupHelpersTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LocalFunctionStatementSyntaxWrapperCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LocalFunctionStatementSyntaxWrapperCSharp7UnitTests.cs
new file mode 100644
index 000000000..cbd3b74a1
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LocalFunctionStatementSyntaxWrapperCSharp7UnitTests.cs
@@ -0,0 +1,214 @@
+// Copyright (c) Tunnel Vision Laboratories, 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 System;
+ using System.Collections.Immutable;
+ using Microsoft.CodeAnalysis;
+ using Microsoft.CodeAnalysis.CSharp;
+ using Microsoft.CodeAnalysis.CSharp.Syntax;
+ using StyleCop.Analyzers.Lightup;
+ using Xunit;
+
+ public class LocalFunctionStatementSyntaxWrapperCSharp7UnitTests
+ {
+ [Fact]
+ public void TestNull()
+ {
+ var syntaxNode = default(SyntaxNode);
+ var wrapper = (LocalFunctionStatementSyntaxWrapper)syntaxNode;
+ Assert.Null(wrapper.SyntaxNode);
+ Assert.Throws(() => wrapper.Modifiers);
+ Assert.Throws(() => wrapper.ReturnType);
+ Assert.Throws(() => wrapper.Identifier);
+ Assert.Throws(() => wrapper.TypeParameterList);
+ Assert.Throws(() => wrapper.ParameterList);
+ Assert.Throws(() => wrapper.ConstraintClauses);
+ Assert.Throws(() => wrapper.Body);
+ Assert.Throws(() => wrapper.ExpressionBody);
+ Assert.Throws(() => wrapper.SemicolonToken);
+ Assert.Throws(() => wrapper.WithModifiers(SyntaxFactory.TokenList()));
+ Assert.Throws(() => wrapper.WithReturnType(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword))));
+ Assert.Throws(() => wrapper.WithIdentifier(SyntaxFactory.Identifier("Identifier")));
+ Assert.Throws(() => wrapper.WithTypeParameterList(SyntaxFactory.TypeParameterList()));
+ Assert.Throws(() => wrapper.WithParameterList(SyntaxFactory.ParameterList()));
+ Assert.Throws(() => wrapper.WithConstraintClauses(SyntaxFactory.List()));
+ Assert.Throws(() => wrapper.WithBody(SyntaxFactory.Block()));
+ Assert.Throws(() => wrapper.WithExpressionBody(SyntaxFactory.ArrowExpressionClause(SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(0)))));
+ Assert.Throws(() => wrapper.WithSemicolonToken(SyntaxFactory.Token(SyntaxKind.SemicolonToken)));
+ Assert.Throws(() => wrapper.AddModifiers());
+ Assert.Throws(() => wrapper.AddTypeParameterListParameters());
+ Assert.Throws(() => wrapper.AddParameterListParameters());
+ Assert.Throws(() => wrapper.AddConstraintClauses());
+ Assert.Throws(() => wrapper.AddBodyStatements());
+ }
+
+ [Fact]
+ public void TestProperties()
+ {
+ var syntaxNode = this.CreateLocalFunctionStatement();
+ Assert.True(syntaxNode.IsKind(SyntaxKind.LocalFunctionStatement));
+ Assert.True(syntaxNode.IsKind(SyntaxKindEx.LocalFunctionStatement));
+
+ var wrapper = (LocalFunctionStatementSyntaxWrapper)syntaxNode;
+ Assert.Same(syntaxNode, wrapper.SyntaxNode);
+ Assert.Equal(syntaxNode.Modifiers, wrapper.Modifiers); // This is a struct, so we can't use Same()
+ Assert.Same(syntaxNode.ReturnType, wrapper.ReturnType);
+ Assert.Equal(syntaxNode.Identifier, wrapper.Identifier); // This is a struct, so we can't use Same()
+ Assert.Same(syntaxNode.TypeParameterList, wrapper.TypeParameterList);
+ Assert.Same(syntaxNode.ParameterList, wrapper.ParameterList);
+ Assert.Equal(syntaxNode.ConstraintClauses, wrapper.ConstraintClauses); // This is a struct, so we can't use Same()
+ Assert.Same(syntaxNode.Body, wrapper.Body);
+ Assert.Same(syntaxNode.ExpressionBody, wrapper.ExpressionBody);
+ Assert.True(syntaxNode.SemicolonToken.IsEquivalentTo(wrapper.SemicolonToken));
+
+ var newModifiers = SyntaxFactory.TokenList();
+ var wrapperWithModifiedModifiers = wrapper.WithModifiers(newModifiers);
+ Assert.NotNull(wrapperWithModifiedModifiers.SyntaxNode);
+ Assert.NotEqual(syntaxNode.Modifiers, wrapperWithModifiedModifiers.Modifiers);
+ Assert.Empty(wrapperWithModifiedModifiers.Modifiers);
+
+ var newReturnType = SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.BoolKeyword));
+ var wrapperWithModifiedReturnType = wrapper.WithReturnType(newReturnType);
+ Assert.NotNull(wrapperWithModifiedReturnType.SyntaxNode);
+ Assert.NotSame(syntaxNode.ReturnType, wrapperWithModifiedReturnType.ReturnType);
+ Assert.Equal(SyntaxKind.PredefinedType, wrapperWithModifiedReturnType.ReturnType.Kind());
+
+ var newIdentifier = SyntaxFactory.Identifier("NewIdentifier");
+ var wrapperWithModifiedIdentifier = wrapper.WithIdentifier(newIdentifier);
+ Assert.NotNull(wrapperWithModifiedIdentifier.SyntaxNode);
+ Assert.NotEqual(syntaxNode.Identifier, wrapperWithModifiedIdentifier.Identifier);
+ Assert.Equal(SyntaxKind.IdentifierToken, wrapperWithModifiedIdentifier.Identifier.Kind());
+ Assert.Equal("NewIdentifier", wrapperWithModifiedIdentifier.Identifier.Text);
+
+ var newTypeParameterList = SyntaxFactory.TypeParameterList();
+ var wrapperWithModifiedTypeParameterList = wrapper.WithTypeParameterList(newTypeParameterList);
+ Assert.NotNull(wrapperWithModifiedTypeParameterList.SyntaxNode);
+ Assert.NotSame(syntaxNode.TypeParameterList, wrapperWithModifiedTypeParameterList.TypeParameterList);
+ Assert.Empty(wrapperWithModifiedTypeParameterList.TypeParameterList.Parameters);
+
+ var newParameterList = SyntaxFactory.ParameterList();
+ var wrapperWithModifiedParameterList = wrapper.WithParameterList(newParameterList);
+ Assert.NotNull(wrapperWithModifiedParameterList.SyntaxNode);
+ Assert.NotSame(syntaxNode.ParameterList, wrapperWithModifiedParameterList.ParameterList);
+ Assert.Empty(wrapperWithModifiedParameterList.ParameterList.Parameters);
+
+ var newConstraintClauses = SyntaxFactory.List();
+ var wrapperWithModifiedConstraintClauses = wrapper.WithConstraintClauses(newConstraintClauses);
+ Assert.NotNull(wrapperWithModifiedConstraintClauses.SyntaxNode);
+ Assert.NotEqual(syntaxNode.ConstraintClauses, wrapperWithModifiedConstraintClauses.ConstraintClauses);
+ Assert.Empty(wrapperWithModifiedConstraintClauses.ConstraintClauses);
+
+ var newBody = SyntaxFactory.Block();
+ var wrapperWithModifiedBody = wrapper.WithBody(newBody);
+ Assert.NotNull(wrapperWithModifiedBody.SyntaxNode);
+ Assert.Equal(SyntaxKind.Block, wrapperWithModifiedBody.Body.Kind());
+ Assert.Empty(wrapperWithModifiedBody.Body.Statements);
+
+ var newExpressionBody = SyntaxFactory.ArrowExpressionClause(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression));
+ var wrapperWithModifiedExpressionBody = wrapper.WithExpressionBody(newExpressionBody);
+ Assert.NotNull(wrapperWithModifiedExpressionBody.SyntaxNode);
+ Assert.Equal(SyntaxKind.ArrowExpressionClause, wrapperWithModifiedExpressionBody.ExpressionBody.Kind());
+ Assert.Equal(SyntaxKind.NullLiteralExpression, wrapperWithModifiedExpressionBody.ExpressionBody.Expression.Kind());
+
+ var newSemicolonToken = SyntaxFactory.Token(SyntaxKind.SemicolonToken).WithLeadingTrivia(SyntaxFactory.Space);
+ var wrapperWithModifiedSemicolonToken = wrapper.WithSemicolonToken(newSemicolonToken);
+ Assert.NotNull(wrapperWithModifiedSemicolonToken.SyntaxNode);
+ Assert.Single(wrapperWithModifiedSemicolonToken.SemicolonToken.LeadingTrivia);
+ Assert.Equal(" ", wrapperWithModifiedSemicolonToken.SemicolonToken.LeadingTrivia.ToString());
+
+ var addedModifiers = new SyntaxToken[] { SyntaxFactory.Token(SyntaxKind.AsyncKeyword) };
+ var wrapperWithAddedModifiers = wrapper.AddModifiers(addedModifiers);
+ Assert.NotNull(wrapperWithAddedModifiers.SyntaxNode);
+ Assert.NotEqual(syntaxNode.Modifiers, wrapperWithAddedModifiers.Modifiers);
+ Assert.Equal(2, wrapperWithAddedModifiers.Modifiers.Count);
+ Assert.Equal(SyntaxKind.PrivateKeyword, wrapperWithAddedModifiers.Modifiers[0].Kind());
+ Assert.Equal(SyntaxKind.AsyncKeyword, wrapperWithAddedModifiers.Modifiers[1].Kind());
+
+ var addedTypeParameterList = new TypeParameterSyntax[] { SyntaxFactory.TypeParameter("T2") };
+ var wrapperWithAddedTypeParameterList = wrapper.AddTypeParameterListParameters(addedTypeParameterList);
+ Assert.NotNull(wrapperWithAddedTypeParameterList.SyntaxNode);
+ Assert.NotSame(syntaxNode.TypeParameterList, wrapperWithAddedTypeParameterList.TypeParameterList);
+ Assert.Equal(2, wrapperWithAddedTypeParameterList.TypeParameterList.Parameters.Count);
+ Assert.Equal("T1", wrapperWithAddedTypeParameterList.TypeParameterList.Parameters[0].Identifier.Text);
+ Assert.Equal("T2", wrapperWithAddedTypeParameterList.TypeParameterList.Parameters[1].Identifier.Text);
+
+ var addedParameterList = new ParameterSyntax[] { SyntaxFactory.Parameter(SyntaxFactory.Identifier("param2")) };
+ var wrapperWithAddedParameterList = wrapper.AddParameterListParameters(addedParameterList);
+ Assert.NotNull(wrapperWithAddedParameterList.SyntaxNode);
+ Assert.NotSame(syntaxNode.ParameterList, wrapperWithAddedParameterList.ParameterList);
+ Assert.Equal(2, wrapperWithAddedParameterList.ParameterList.Parameters.Count);
+ Assert.Equal("param1", wrapperWithAddedParameterList.ParameterList.Parameters[0].Identifier.Text);
+ Assert.Equal("param2", wrapperWithAddedParameterList.ParameterList.Parameters[1].Identifier.Text);
+
+ var addedConstraintClauses = new TypeParameterConstraintClauseSyntax[] { SyntaxFactory.TypeParameterConstraintClause(SyntaxFactory.IdentifierName("constraint2")) };
+ var wrapperWithAddedConstraintClauses = wrapper.AddConstraintClauses(addedConstraintClauses);
+ Assert.NotNull(wrapperWithAddedConstraintClauses.SyntaxNode);
+ Assert.NotEqual(syntaxNode.ConstraintClauses, wrapperWithAddedConstraintClauses.ConstraintClauses);
+ Assert.Equal(2, wrapperWithAddedConstraintClauses.ConstraintClauses.Count);
+ Assert.Equal("constraint1", wrapperWithAddedConstraintClauses.ConstraintClauses[0].Name.Identifier.Text);
+ Assert.Equal("constraint2", wrapperWithAddedConstraintClauses.ConstraintClauses[1].Name.Identifier.Text);
+
+ var addedBodyStatements = new StatementSyntax[] { SyntaxFactory.ReturnStatement() };
+ var wrapperWithAddedBodyStatements = wrapper.AddBodyStatements(addedBodyStatements);
+ Assert.NotNull(wrapperWithAddedBodyStatements.SyntaxNode);
+ Assert.Equal(SyntaxKind.Block, wrapperWithAddedBodyStatements.Body.Kind());
+ Assert.Equal(2, wrapperWithAddedBodyStatements.Body.Statements.Count);
+ Assert.Equal(SyntaxKind.BreakStatement, wrapperWithAddedBodyStatements.Body.Statements[0].Kind());
+ Assert.Equal(SyntaxKind.ReturnStatement, wrapperWithAddedBodyStatements.Body.Statements[1].Kind());
+ }
+
+ [Fact]
+ public void TestIsInstance()
+ {
+ Assert.False(LocalFunctionStatementSyntaxWrapper.IsInstance(null));
+ Assert.False(LocalFunctionStatementSyntaxWrapper.IsInstance(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
+
+ var syntaxNode = this.CreateLocalFunctionStatement();
+ Assert.True(LocalFunctionStatementSyntaxWrapper.IsInstance(syntaxNode));
+ }
+
+ [Fact]
+ public void TestConversionsNull()
+ {
+ var syntaxNode = default(SyntaxNode);
+ var wrapper = (LocalFunctionStatementSyntaxWrapper)syntaxNode;
+
+ StatementSyntax syntax = wrapper;
+ Assert.Null(syntax);
+ }
+
+ [Fact]
+ public void TestConversions()
+ {
+ var syntaxNode = this.CreateLocalFunctionStatement();
+ var wrapper = (LocalFunctionStatementSyntaxWrapper)syntaxNode;
+
+ StatementSyntax syntax = wrapper;
+ Assert.Same(syntaxNode, syntax);
+ }
+
+ [Fact]
+ public void TestInvalidConversion()
+ {
+ var syntaxNode = SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression);
+ Assert.Throws(() => (LocalFunctionStatementSyntaxWrapper)syntaxNode);
+ }
+
+ private LocalFunctionStatementSyntax CreateLocalFunctionStatement()
+ {
+ return SyntaxFactory.LocalFunctionStatement(
+ modifiers: SyntaxFactory.TokenList(SyntaxFactory.TokenList(SyntaxFactory.Token(SyntaxKind.PrivateKeyword))),
+ returnType: SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword)),
+ identifier: SyntaxFactory.Identifier("Identifier"),
+ typeParameterList: SyntaxFactory.TypeParameterList(SyntaxFactory.SeparatedList(ImmutableArray.Create(SyntaxFactory.TypeParameter("T1")))),
+ parameterList: SyntaxFactory.ParameterList(SyntaxFactory.SeparatedList(ImmutableArray.Create(SyntaxFactory.Parameter(SyntaxFactory.Identifier("param1"))))),
+ constraintClauses: SyntaxFactory.List(ImmutableArray.Create(SyntaxFactory.TypeParameterConstraintClause(SyntaxFactory.IdentifierName("constraint1")))),
+ body: SyntaxFactory.Block(SyntaxFactory.BreakStatement()),
+ expressionBody: SyntaxFactory.ArrowExpressionClause(SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(0))));
+ }
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LocalFunctionStatementSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LocalFunctionStatementSyntaxWrapperTests.cs
deleted file mode 100644
index 8c4ee7d17..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LocalFunctionStatementSyntaxWrapperTests.cs
+++ /dev/null
@@ -1,214 +0,0 @@
-// Copyright (c) Tunnel Vision Laboratories, 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 System;
- using System.Collections.Immutable;
- using Microsoft.CodeAnalysis;
- using Microsoft.CodeAnalysis.CSharp;
- using Microsoft.CodeAnalysis.CSharp.Syntax;
- using StyleCop.Analyzers.Lightup;
- using Xunit;
-
- public class LocalFunctionStatementSyntaxWrapperTests
- {
- [Fact]
- public void TestNull()
- {
- var syntaxNode = default(SyntaxNode);
- var wrapper = (LocalFunctionStatementSyntaxWrapper)syntaxNode;
- Assert.Null(wrapper.SyntaxNode);
- Assert.Throws(() => wrapper.Modifiers);
- Assert.Throws(() => wrapper.ReturnType);
- Assert.Throws(() => wrapper.Identifier);
- Assert.Throws(() => wrapper.TypeParameterList);
- Assert.Throws(() => wrapper.ParameterList);
- Assert.Throws(() => wrapper.ConstraintClauses);
- Assert.Throws(() => wrapper.Body);
- Assert.Throws(() => wrapper.ExpressionBody);
- Assert.Throws(() => wrapper.SemicolonToken);
- Assert.Throws(() => wrapper.WithModifiers(SyntaxFactory.TokenList()));
- Assert.Throws(() => wrapper.WithReturnType(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword))));
- Assert.Throws(() => wrapper.WithIdentifier(SyntaxFactory.Identifier("Identifier")));
- Assert.Throws(() => wrapper.WithTypeParameterList(SyntaxFactory.TypeParameterList()));
- Assert.Throws(() => wrapper.WithParameterList(SyntaxFactory.ParameterList()));
- Assert.Throws(() => wrapper.WithConstraintClauses(SyntaxFactory.List()));
- Assert.Throws(() => wrapper.WithBody(SyntaxFactory.Block()));
- Assert.Throws(() => wrapper.WithExpressionBody(SyntaxFactory.ArrowExpressionClause(SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(0)))));
- Assert.Throws(() => wrapper.WithSemicolonToken(SyntaxFactory.Token(SyntaxKind.SemicolonToken)));
- Assert.Throws(() => wrapper.AddModifiers());
- Assert.Throws(() => wrapper.AddTypeParameterListParameters());
- Assert.Throws(() => wrapper.AddParameterListParameters());
- Assert.Throws(() => wrapper.AddConstraintClauses());
- Assert.Throws(() => wrapper.AddBodyStatements());
- }
-
- [Fact]
- public void TestProperties()
- {
- var syntaxNode = this.CreateLocalFunctionStatement();
- Assert.True(syntaxNode.IsKind(SyntaxKind.LocalFunctionStatement));
- Assert.True(syntaxNode.IsKind(SyntaxKindEx.LocalFunctionStatement));
-
- var wrapper = (LocalFunctionStatementSyntaxWrapper)syntaxNode;
- Assert.Same(syntaxNode, wrapper.SyntaxNode);
- Assert.Equal(syntaxNode.Modifiers, wrapper.Modifiers); // This is a struct, so we can't use Same()
- Assert.Same(syntaxNode.ReturnType, wrapper.ReturnType);
- Assert.Equal(syntaxNode.Identifier, wrapper.Identifier); // This is a struct, so we can't use Same()
- Assert.Same(syntaxNode.TypeParameterList, wrapper.TypeParameterList);
- Assert.Same(syntaxNode.ParameterList, wrapper.ParameterList);
- Assert.Equal(syntaxNode.ConstraintClauses, wrapper.ConstraintClauses); // This is a struct, so we can't use Same()
- Assert.Same(syntaxNode.Body, wrapper.Body);
- Assert.Same(syntaxNode.ExpressionBody, wrapper.ExpressionBody);
- Assert.True(syntaxNode.SemicolonToken.IsEquivalentTo(wrapper.SemicolonToken));
-
- var newModifiers = SyntaxFactory.TokenList();
- var wrapperWithModifiedModifiers = wrapper.WithModifiers(newModifiers);
- Assert.NotNull(wrapperWithModifiedModifiers.SyntaxNode);
- Assert.NotEqual(syntaxNode.Modifiers, wrapperWithModifiedModifiers.Modifiers);
- Assert.Empty(wrapperWithModifiedModifiers.Modifiers);
-
- var newReturnType = SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.BoolKeyword));
- var wrapperWithModifiedReturnType = wrapper.WithReturnType(newReturnType);
- Assert.NotNull(wrapperWithModifiedReturnType.SyntaxNode);
- Assert.NotSame(syntaxNode.ReturnType, wrapperWithModifiedReturnType.ReturnType);
- Assert.Equal(SyntaxKind.PredefinedType, wrapperWithModifiedReturnType.ReturnType.Kind());
-
- var newIdentifier = SyntaxFactory.Identifier("NewIdentifier");
- var wrapperWithModifiedIdentifier = wrapper.WithIdentifier(newIdentifier);
- Assert.NotNull(wrapperWithModifiedIdentifier.SyntaxNode);
- Assert.NotEqual(syntaxNode.Identifier, wrapperWithModifiedIdentifier.Identifier);
- Assert.Equal(SyntaxKind.IdentifierToken, wrapperWithModifiedIdentifier.Identifier.Kind());
- Assert.Equal("NewIdentifier", wrapperWithModifiedIdentifier.Identifier.Text);
-
- var newTypeParameterList = SyntaxFactory.TypeParameterList();
- var wrapperWithModifiedTypeParameterList = wrapper.WithTypeParameterList(newTypeParameterList);
- Assert.NotNull(wrapperWithModifiedTypeParameterList.SyntaxNode);
- Assert.NotSame(syntaxNode.TypeParameterList, wrapperWithModifiedTypeParameterList.TypeParameterList);
- Assert.Empty(wrapperWithModifiedTypeParameterList.TypeParameterList.Parameters);
-
- var newParameterList = SyntaxFactory.ParameterList();
- var wrapperWithModifiedParameterList = wrapper.WithParameterList(newParameterList);
- Assert.NotNull(wrapperWithModifiedParameterList.SyntaxNode);
- Assert.NotSame(syntaxNode.ParameterList, wrapperWithModifiedParameterList.ParameterList);
- Assert.Empty(wrapperWithModifiedParameterList.ParameterList.Parameters);
-
- var newConstraintClauses = SyntaxFactory.List();
- var wrapperWithModifiedConstraintClauses = wrapper.WithConstraintClauses(newConstraintClauses);
- Assert.NotNull(wrapperWithModifiedConstraintClauses.SyntaxNode);
- Assert.NotEqual(syntaxNode.ConstraintClauses, wrapperWithModifiedConstraintClauses.ConstraintClauses);
- Assert.Empty(wrapperWithModifiedConstraintClauses.ConstraintClauses);
-
- var newBody = SyntaxFactory.Block();
- var wrapperWithModifiedBody = wrapper.WithBody(newBody);
- Assert.NotNull(wrapperWithModifiedBody.SyntaxNode);
- Assert.Equal(SyntaxKind.Block, wrapperWithModifiedBody.Body.Kind());
- Assert.Empty(wrapperWithModifiedBody.Body.Statements);
-
- var newExpressionBody = SyntaxFactory.ArrowExpressionClause(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression));
- var wrapperWithModifiedExpressionBody = wrapper.WithExpressionBody(newExpressionBody);
- Assert.NotNull(wrapperWithModifiedExpressionBody.SyntaxNode);
- Assert.Equal(SyntaxKind.ArrowExpressionClause, wrapperWithModifiedExpressionBody.ExpressionBody.Kind());
- Assert.Equal(SyntaxKind.NullLiteralExpression, wrapperWithModifiedExpressionBody.ExpressionBody.Expression.Kind());
-
- var newSemicolonToken = SyntaxFactory.Token(SyntaxKind.SemicolonToken).WithLeadingTrivia(SyntaxFactory.Space);
- var wrapperWithModifiedSemicolonToken = wrapper.WithSemicolonToken(newSemicolonToken);
- Assert.NotNull(wrapperWithModifiedSemicolonToken.SyntaxNode);
- Assert.Single(wrapperWithModifiedSemicolonToken.SemicolonToken.LeadingTrivia);
- Assert.Equal(" ", wrapperWithModifiedSemicolonToken.SemicolonToken.LeadingTrivia.ToString());
-
- var addedModifiers = new SyntaxToken[] { SyntaxFactory.Token(SyntaxKind.AsyncKeyword) };
- var wrapperWithAddedModifiers = wrapper.AddModifiers(addedModifiers);
- Assert.NotNull(wrapperWithAddedModifiers.SyntaxNode);
- Assert.NotEqual(syntaxNode.Modifiers, wrapperWithAddedModifiers.Modifiers);
- Assert.Equal(2, wrapperWithAddedModifiers.Modifiers.Count);
- Assert.Equal(SyntaxKind.PrivateKeyword, wrapperWithAddedModifiers.Modifiers[0].Kind());
- Assert.Equal(SyntaxKind.AsyncKeyword, wrapperWithAddedModifiers.Modifiers[1].Kind());
-
- var addedTypeParameterList = new TypeParameterSyntax[] { SyntaxFactory.TypeParameter("T2") };
- var wrapperWithAddedTypeParameterList = wrapper.AddTypeParameterListParameters(addedTypeParameterList);
- Assert.NotNull(wrapperWithAddedTypeParameterList.SyntaxNode);
- Assert.NotSame(syntaxNode.TypeParameterList, wrapperWithAddedTypeParameterList.TypeParameterList);
- Assert.Equal(2, wrapperWithAddedTypeParameterList.TypeParameterList.Parameters.Count);
- Assert.Equal("T1", wrapperWithAddedTypeParameterList.TypeParameterList.Parameters[0].Identifier.Text);
- Assert.Equal("T2", wrapperWithAddedTypeParameterList.TypeParameterList.Parameters[1].Identifier.Text);
-
- var addedParameterList = new ParameterSyntax[] { SyntaxFactory.Parameter(SyntaxFactory.Identifier("param2")) };
- var wrapperWithAddedParameterList = wrapper.AddParameterListParameters(addedParameterList);
- Assert.NotNull(wrapperWithAddedParameterList.SyntaxNode);
- Assert.NotSame(syntaxNode.ParameterList, wrapperWithAddedParameterList.ParameterList);
- Assert.Equal(2, wrapperWithAddedParameterList.ParameterList.Parameters.Count);
- Assert.Equal("param1", wrapperWithAddedParameterList.ParameterList.Parameters[0].Identifier.Text);
- Assert.Equal("param2", wrapperWithAddedParameterList.ParameterList.Parameters[1].Identifier.Text);
-
- var addedConstraintClauses = new TypeParameterConstraintClauseSyntax[] { SyntaxFactory.TypeParameterConstraintClause(SyntaxFactory.IdentifierName("constraint2")) };
- var wrapperWithAddedConstraintClauses = wrapper.AddConstraintClauses(addedConstraintClauses);
- Assert.NotNull(wrapperWithAddedConstraintClauses.SyntaxNode);
- Assert.NotEqual(syntaxNode.ConstraintClauses, wrapperWithAddedConstraintClauses.ConstraintClauses);
- Assert.Equal(2, wrapperWithAddedConstraintClauses.ConstraintClauses.Count);
- Assert.Equal("constraint1", wrapperWithAddedConstraintClauses.ConstraintClauses[0].Name.Identifier.Text);
- Assert.Equal("constraint2", wrapperWithAddedConstraintClauses.ConstraintClauses[1].Name.Identifier.Text);
-
- var addedBodyStatements = new StatementSyntax[] { SyntaxFactory.ReturnStatement() };
- var wrapperWithAddedBodyStatements = wrapper.AddBodyStatements(addedBodyStatements);
- Assert.NotNull(wrapperWithAddedBodyStatements.SyntaxNode);
- Assert.Equal(SyntaxKind.Block, wrapperWithAddedBodyStatements.Body.Kind());
- Assert.Equal(2, wrapperWithAddedBodyStatements.Body.Statements.Count);
- Assert.Equal(SyntaxKind.BreakStatement, wrapperWithAddedBodyStatements.Body.Statements[0].Kind());
- Assert.Equal(SyntaxKind.ReturnStatement, wrapperWithAddedBodyStatements.Body.Statements[1].Kind());
- }
-
- [Fact]
- public void TestIsInstance()
- {
- Assert.False(LocalFunctionStatementSyntaxWrapper.IsInstance(null));
- Assert.False(LocalFunctionStatementSyntaxWrapper.IsInstance(SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression)));
-
- var syntaxNode = this.CreateLocalFunctionStatement();
- Assert.True(LocalFunctionStatementSyntaxWrapper.IsInstance(syntaxNode));
- }
-
- [Fact]
- public void TestConversionsNull()
- {
- var syntaxNode = default(SyntaxNode);
- var wrapper = (LocalFunctionStatementSyntaxWrapper)syntaxNode;
-
- StatementSyntax syntax = wrapper;
- Assert.Null(syntax);
- }
-
- [Fact]
- public void TestConversions()
- {
- var syntaxNode = this.CreateLocalFunctionStatement();
- var wrapper = (LocalFunctionStatementSyntaxWrapper)syntaxNode;
-
- StatementSyntax syntax = wrapper;
- Assert.Same(syntaxNode, syntax);
- }
-
- [Fact]
- public void TestInvalidConversion()
- {
- var syntaxNode = SyntaxFactory.LiteralExpression(SyntaxKind.NullLiteralExpression);
- Assert.Throws(() => (LocalFunctionStatementSyntaxWrapper)syntaxNode);
- }
-
- private LocalFunctionStatementSyntax CreateLocalFunctionStatement()
- {
- return SyntaxFactory.LocalFunctionStatement(
- modifiers: SyntaxFactory.TokenList(SyntaxFactory.TokenList(SyntaxFactory.Token(SyntaxKind.PrivateKeyword))),
- returnType: SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.IntKeyword)),
- identifier: SyntaxFactory.Identifier("Identifier"),
- typeParameterList: SyntaxFactory.TypeParameterList(SyntaxFactory.SeparatedList(ImmutableArray.Create(SyntaxFactory.TypeParameter("T1")))),
- parameterList: SyntaxFactory.ParameterList(SyntaxFactory.SeparatedList(ImmutableArray.Create(SyntaxFactory.Parameter(SyntaxFactory.Identifier("param1"))))),
- constraintClauses: SyntaxFactory.List(ImmutableArray.Create(SyntaxFactory.TypeParameterConstraintClause(SyntaxFactory.IdentifierName("constraint1")))),
- body: SyntaxFactory.Block(SyntaxFactory.BreakStatement()),
- expressionBody: SyntaxFactory.ArrowExpressionClause(SyntaxFactory.LiteralExpression(SyntaxKind.NumericLiteralExpression, SyntaxFactory.Literal(0))));
- }
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/MethodKindExCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/MethodKindExCSharp7UnitTests.cs
new file mode 100644
index 000000000..85670fe52
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/MethodKindExCSharp7UnitTests.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.CSharp7.Lightup
+{
+ using StyleCop.Analyzers.Test.Lightup;
+
+ public partial class MethodKindExCSharp7UnitTests : MethodKindExUnitTests
+ {
+ }
+}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/MethodKindExTestsCSharp7.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/MethodKindExTestsCSharp7.cs
deleted file mode 100644
index 60563fdbc..000000000
--- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/MethodKindExTestsCSharp7.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.CSharp7.Lightup
-{
- using StyleCop.Analyzers.Test.Lightup;
-
- public class MethodKindExTestsCSharp7 : MethodKindExTests
- {
- }
-}
diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/OperationKindExCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/OperationKindExCSharp7UnitTests.cs
new file mode 100644
index 000000000..86dd7b017
--- /dev/null
+++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/OperationKindExCSharp7UnitTests.cs
@@ -0,0 +1,85 @@
+// Copyright (c) Tunnel Vision Laboratories, 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 System.Collections.Generic;
+ using System.Reflection;
+ using Microsoft.CodeAnalysis;
+ using StyleCop.Analyzers.Lightup;
+ using Xunit;
+
+ public class OperationKindExCSharp7UnitTests
+ {
+ private static readonly Dictionary OperationKindToName;
+ private static readonly Dictionary NameToOperationKind;
+
+ static OperationKindExCSharp7UnitTests()
+ {
+ var renamedOperations =
+ new Dictionary()
+ {
+ { "BinaryOperator", "Binary" },
+ { "ConstructorBodyOperation", "ConstructorBody" },
+ { "MethodBodyOperation", "MethodBody" },
+ { "TupleBinaryOperator", "TupleBinary" },
+ { "UnaryOperator", "Unary" },
+ };
+
+ OperationKindToName = new Dictionary();
+ NameToOperationKind = new Dictionary();
+
+ foreach (var field in typeof(OperationKind).GetTypeInfo().DeclaredFields)
+ {
+ if (!field.IsStatic)
+ {
+ continue;
+ }
+
+ var value = (OperationKind)field.GetRawConstantValue();
+ var name = field.Name;
+ if (renamedOperations.TryGetValue(name, out var newName))
+ {
+ name = newName;
+ }
+
+ if (!OperationKindToName.ContainsKey(value))
+ {
+ OperationKindToName[value] = name;
+ }
+
+ if (!NameToOperationKind.ContainsKey(name))
+ {
+ NameToOperationKind.Add(name, value);
+ }
+ }
+ }
+
+ public static IEnumerable