From f8f0b4b126f55c4619d0930c4a5aeb59f0c572a2 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Sun, 5 Mar 2023 17:27:05 -0600 Subject: [PATCH 01/36] Rewrite IOperationWrapper as a wrapper structure around IOperation --- .../OperationLightupGenerator.cs | 68 +++++++++++++++++- .../IAddressOfOperationWrapper.g.cs | 4 +- .../IAnonymousFunctionOperationWrapper.g.cs | 4 +- ...onymousObjectCreationOperationWrapper.g.cs | 4 +- .../IArgumentOperationWrapper.g.cs | 4 +- .../IArrayCreationOperationWrapper.g.cs | 4 +- ...ArrayElementReferenceOperationWrapper.g.cs | 4 +- .../IArrayInitializerOperationWrapper.g.cs | 4 +- .../IAssignmentOperationWrapper.g.cs | 4 +- .../IAwaitOperationWrapper.g.cs | 4 +- .../IBinaryOperationWrapper.g.cs | 4 +- .../IBinaryPatternOperationWrapper.g.cs | 4 +- .../IBlockOperationWrapper.g.cs | 4 +- .../IBranchOperationWrapper.g.cs | 4 +- .../ICaseClauseOperationWrapper.g.cs | 4 +- .../ICatchClauseOperationWrapper.g.cs | 4 +- .../ICaughtExceptionOperationWrapper.g.cs | 4 +- .../ICoalesceAssignmentOperationWrapper.g.cs | 4 +- .../ICoalesceOperationWrapper.g.cs | 4 +- ...ionElementInitializerOperationWrapper.g.cs | 4 +- .../ICompoundAssignmentOperationWrapper.g.cs | 4 +- ...itionalAccessInstanceOperationWrapper.g.cs | 4 +- .../IConditionalAccessOperationWrapper.g.cs | 4 +- .../IConditionalOperationWrapper.g.cs | 4 +- .../IConstantPatternOperationWrapper.g.cs | 4 +- .../IConstructorBodyOperationWrapper.g.cs | 4 +- .../IConversionOperationWrapper.g.cs | 4 +- ...DeclarationExpressionOperationWrapper.g.cs | 4 +- .../IDeclarationPatternOperationWrapper.g.cs | 4 +- ...onstructionAssignmentOperationWrapper.g.cs | 4 +- .../IDefaultCaseClauseOperationWrapper.g.cs | 4 +- .../IDefaultValueOperationWrapper.g.cs | 4 +- .../IDelegateCreationOperationWrapper.g.cs | 4 +- .../IDiscardOperationWrapper.g.cs | 4 +- .../IDiscardPatternOperationWrapper.g.cs | 4 +- ...IDynamicIndexerAccessOperationWrapper.g.cs | 4 +- .../IDynamicInvocationOperationWrapper.g.cs | 4 +- ...ynamicMemberReferenceOperationWrapper.g.cs | 4 +- ...DynamicObjectCreationOperationWrapper.g.cs | 4 +- .../IEmptyOperationWrapper.g.cs | 4 +- .../IEndOperationWrapper.g.cs | 4 +- .../IEventAssignmentOperationWrapper.g.cs | 4 +- .../IEventReferenceOperationWrapper.g.cs | 4 +- .../IExpressionStatementOperationWrapper.g.cs | 4 +- .../IFieldInitializerOperationWrapper.g.cs | 4 +- .../IFieldReferenceOperationWrapper.g.cs | 4 +- ...FlowAnonymousFunctionOperationWrapper.g.cs | 4 +- .../IFlowCaptureOperationWrapper.g.cs | 4 +- ...IFlowCaptureReferenceOperationWrapper.g.cs | 4 +- .../IForEachLoopOperationWrapper.g.cs | 4 +- .../IForLoopOperationWrapper.g.cs | 4 +- .../IForToLoopOperationWrapper.g.cs | 4 +- ...IIncrementOrDecrementOperationWrapper.g.cs | 4 +- .../IInstanceReferenceOperationWrapper.g.cs | 4 +- ...rpolatedStringContentOperationWrapper.g.cs | 4 +- .../IInterpolatedStringOperationWrapper.g.cs | 4 +- ...nterpolatedStringTextOperationWrapper.g.cs | 4 +- .../IInterpolationOperationWrapper.g.cs | 4 +- .../IInvalidOperationWrapper.g.cs | 4 +- .../IInvocationOperationWrapper.g.cs | 4 +- .../IIsNullOperationWrapper.g.cs | 4 +- .../IIsPatternOperationWrapper.g.cs | 4 +- .../IIsTypeOperationWrapper.g.cs | 4 +- .../ILabeledOperationWrapper.g.cs | 4 +- .../ILiteralOperationWrapper.g.cs | 4 +- .../ILocalFunctionOperationWrapper.g.cs | 4 +- .../ILocalReferenceOperationWrapper.g.cs | 4 +- .../ILockOperationWrapper.g.cs | 4 +- .../ILoopOperationWrapper.g.cs | 4 +- .../IMemberInitializerOperationWrapper.g.cs | 4 +- .../IMemberReferenceOperationWrapper.g.cs | 4 +- .../IMethodBodyBaseOperationWrapper.g.cs | 4 +- .../IMethodBodyOperationWrapper.g.cs | 4 +- .../IMethodReferenceOperationWrapper.g.cs | 4 +- .../INameOfOperationWrapper.g.cs | 4 +- .../INegatedPatternOperationWrapper.g.cs | 4 +- .../IObjectCreationOperationWrapper.g.cs | 4 +- ...CollectionInitializerOperationWrapper.g.cs | 4 +- .../IOmittedArgumentOperationWrapper.g.cs | 4 +- ...IParameterInitializerOperationWrapper.g.cs | 4 +- .../IParameterReferenceOperationWrapper.g.cs | 4 +- .../IParenthesizedOperationWrapper.g.cs | 4 +- .../IPatternCaseClauseOperationWrapper.g.cs | 4 +- .../IPatternOperationWrapper.g.cs | 4 +- .../IPropertyInitializerOperationWrapper.g.cs | 4 +- .../IPropertyReferenceOperationWrapper.g.cs | 4 +- .../IPropertySubpatternOperationWrapper.g.cs | 4 +- .../IRaiseEventOperationWrapper.g.cs | 4 +- .../IRangeCaseClauseOperationWrapper.g.cs | 4 +- .../IRangeOperationWrapper.g.cs | 4 +- .../IReDimClauseOperationWrapper.g.cs | 4 +- .../IReDimOperationWrapper.g.cs | 4 +- .../IRecursivePatternOperationWrapper.g.cs | 4 +- ...IRelationalCaseClauseOperationWrapper.g.cs | 4 +- .../IRelationalPatternOperationWrapper.g.cs | 4 +- .../IReturnOperationWrapper.g.cs | 4 +- .../ISimpleAssignmentOperationWrapper.g.cs | 4 +- ...SingleValueCaseClauseOperationWrapper.g.cs | 4 +- .../ISizeOfOperationWrapper.g.cs | 4 +- ...itializationSemaphoreOperationWrapper.g.cs | 4 +- .../IStopOperationWrapper.g.cs | 4 +- .../ISwitchCaseOperationWrapper.g.cs | 4 +- .../ISwitchExpressionArmOperationWrapper.g.cs | 4 +- .../ISwitchExpressionOperationWrapper.g.cs | 4 +- .../ISwitchOperationWrapper.g.cs | 4 +- .../ISymbolInitializerOperationWrapper.g.cs | 4 +- .../IThrowOperationWrapper.g.cs | 4 +- .../ITranslatedQueryOperationWrapper.g.cs | 4 +- .../ITryOperationWrapper.g.cs | 4 +- .../ITupleBinaryOperationWrapper.g.cs | 4 +- .../ITupleOperationWrapper.g.cs | 4 +- .../ITypeOfOperationWrapper.g.cs | 4 +- ...rameterObjectCreationOperationWrapper.g.cs | 4 +- .../ITypePatternOperationWrapper.g.cs | 4 +- .../IUnaryOperationWrapper.g.cs | 4 +- .../IUsingDeclarationOperationWrapper.g.cs | 4 +- .../IUsingOperationWrapper.g.cs | 4 +- ...iableDeclarationGroupOperationWrapper.g.cs | 4 +- .../IVariableDeclarationOperationWrapper.g.cs | 4 +- .../IVariableDeclaratorOperationWrapper.g.cs | 4 +- .../IVariableInitializerOperationWrapper.g.cs | 4 +- .../IWhileLoopOperationWrapper.g.cs | 4 +- .../IWithOperationWrapper.g.cs | 4 +- .../OperationWrapperHelper.g.cs | 1 + .../Lightup/IOperationWrapper.cs | 69 ++++++++++++++++--- .../StyleCop.Analyzers.csproj | 1 + 126 files changed, 493 insertions(+), 134 deletions(-) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/OperationLightupGenerator.cs b/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/OperationLightupGenerator.cs index f9aa8be29..401d28451 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/OperationLightupGenerator.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/OperationLightupGenerator.cs @@ -310,6 +310,57 @@ private void GenerateOperationInterface(in SourceProductionContext context, Inte semicolonToken: SyntaxFactory.Token(SyntaxKind.SemicolonToken))); } + // public static explicit operator IFieldReferenceOperationWrapper(IOperationWrapper wrapper) + // => FromOperation(wrapper.WrappedOperation); + members = members.Add(SyntaxFactory.ConversionOperatorDeclaration( + attributeLists: default, + modifiers: SyntaxFactory.TokenList(SyntaxFactory.Token(SyntaxKind.PublicKeyword), SyntaxFactory.Token(SyntaxKind.StaticKeyword)), + implicitOrExplicitKeyword: SyntaxFactory.Token(SyntaxKind.ExplicitKeyword), + operatorKeyword: SyntaxFactory.Token(SyntaxKind.OperatorKeyword), + type: SyntaxFactory.IdentifierName(node.WrapperName), + parameterList: SyntaxFactory.ParameterList(SyntaxFactory.SingletonSeparatedList(SyntaxFactory.Parameter( + attributeLists: default, + modifiers: default, + type: SyntaxFactory.IdentifierName("IOperationWrapper"), + identifier: SyntaxFactory.Identifier("wrapper"), + @default: null))), + body: null, + expressionBody: SyntaxFactory.ArrowExpressionClause(SyntaxFactory.InvocationExpression( + expression: SyntaxFactory.IdentifierName("FromOperation"), + argumentList: SyntaxFactory.ArgumentList(SyntaxFactory.SingletonSeparatedList(SyntaxFactory.Argument( + SyntaxFactory.MemberAccessExpression( + SyntaxKind.SimpleMemberAccessExpression, + expression: SyntaxFactory.IdentifierName("wrapper"), + name: SyntaxFactory.IdentifierName("WrappedOperation"))))))), + semicolonToken: SyntaxFactory.Token(SyntaxKind.SemicolonToken))); + + // public static implicit operator IOperationWrapper(IFieldReferenceOperationWrapper wrapper) + // => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); + members = members.Add(SyntaxFactory.ConversionOperatorDeclaration( + attributeLists: default, + modifiers: SyntaxFactory.TokenList(SyntaxFactory.Token(SyntaxKind.PublicKeyword), SyntaxFactory.Token(SyntaxKind.StaticKeyword)), + implicitOrExplicitKeyword: SyntaxFactory.Token(SyntaxKind.ImplicitKeyword), + operatorKeyword: SyntaxFactory.Token(SyntaxKind.OperatorKeyword), + type: SyntaxFactory.IdentifierName("IOperationWrapper"), + parameterList: SyntaxFactory.ParameterList(SyntaxFactory.SingletonSeparatedList(SyntaxFactory.Parameter( + attributeLists: default, + modifiers: default, + type: SyntaxFactory.IdentifierName(node.WrapperName), + identifier: SyntaxFactory.Identifier("wrapper"), + @default: null))), + body: null, + expressionBody: SyntaxFactory.ArrowExpressionClause(SyntaxFactory.InvocationExpression( + expression: SyntaxFactory.MemberAccessExpression( + SyntaxKind.SimpleMemberAccessExpression, + expression: SyntaxFactory.IdentifierName("IOperationWrapper"), + name: SyntaxFactory.IdentifierName("FromUpcast")), + argumentList: SyntaxFactory.ArgumentList(SyntaxFactory.SingletonSeparatedList(SyntaxFactory.Argument( + SyntaxFactory.MemberAccessExpression( + SyntaxKind.SimpleMemberAccessExpression, + expression: SyntaxFactory.IdentifierName("wrapper"), + name: SyntaxFactory.IdentifierName("WrappedOperation"))))))), + semicolonToken: SyntaxFactory.Token(SyntaxKind.SemicolonToken))); + if (node.BaseInterface is { } baseDefinition) { var inheritedProperties = baseDefinition.Properties; @@ -556,7 +607,7 @@ 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 wrapperNamespace = SyntaxFactory.NamespaceDeclaration( @@ -637,6 +688,21 @@ private void GenerateOperationWrapperHelper(in SourceProductionContext context, SyntaxFactory.IdentifierName("Type"), }))))))))))); + // builder.Add(typeof(IOperationWrapper), typeof(IOperation)); + staticCtorStatements = staticCtorStatements.Add(SyntaxFactory.ExpressionStatement( + SyntaxFactory.InvocationExpression( + expression: SyntaxFactory.MemberAccessExpression( + SyntaxKind.SimpleMemberAccessExpression, + expression: SyntaxFactory.IdentifierName("builder"), + name: SyntaxFactory.IdentifierName("Add")), + argumentList: SyntaxFactory.ArgumentList( + SyntaxFactory.SeparatedList( + new[] + { + SyntaxFactory.Argument(SyntaxFactory.TypeOfExpression(SyntaxFactory.IdentifierName("IOperationWrapper"))), + SyntaxFactory.Argument(SyntaxFactory.TypeOfExpression(SyntaxFactory.IdentifierName("IOperation"))), + }))))); + foreach (var node in wrapperTypes) { // builder.Add(typeof(IArgumentOperationWrapper), codeAnalysisAssembly.GetType(IArgumentOperationWrapper.WrappedTypeName)); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IAddressOfOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IAddressOfOperationWrapper.g.cs index 1f6c711a3..c15464308 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IAddressOfOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IAddressOfOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IAddressOfOperationWrapper : IOperationWrapper + internal readonly struct IAddressOfOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IAddressOfOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IAddressOfOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Reference => ReferenceAccessor(this.WrappedOperation); + public static explicit operator IAddressOfOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IAddressOfOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IAddressOfOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IAnonymousFunctionOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IAnonymousFunctionOperationWrapper.g.cs index f3acadc11..b2b8f85a3 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IAnonymousFunctionOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IAnonymousFunctionOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IAnonymousFunctionOperationWrapper : IOperationWrapper + internal readonly struct IAnonymousFunctionOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IAnonymousFunctionOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IAnonymousFunctionOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public IMethodSymbol Symbol => SymbolAccessor(this.WrappedOperation); public IBlockOperationWrapper Body => IBlockOperationWrapper.FromOperation(BodyAccessor(this.WrappedOperation)); + public static explicit operator IAnonymousFunctionOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IAnonymousFunctionOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IAnonymousFunctionOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IAnonymousObjectCreationOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IAnonymousObjectCreationOperationWrapper.g.cs index cf9ec5b58..80fb2cbd8 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IAnonymousObjectCreationOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IAnonymousObjectCreationOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IAnonymousObjectCreationOperationWrapper : IOperationWrapper + internal readonly struct IAnonymousObjectCreationOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IAnonymousObjectCreationOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IAnonymousObjectCreationOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public ImmutableArray Initializers => InitializersAccessor(this.WrappedOperation); + public static explicit operator IAnonymousObjectCreationOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IAnonymousObjectCreationOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IAnonymousObjectCreationOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IArgumentOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IArgumentOperationWrapper.g.cs index 65b01b2b8..ee7fb731c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IArgumentOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IArgumentOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IArgumentOperationWrapper : IOperationWrapper + internal readonly struct IArgumentOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IArgumentOperation"; private static readonly Type WrappedType; @@ -33,6 +33,8 @@ private IArgumentOperationWrapper(IOperation operation) public IOperation Value => ValueAccessor(this.WrappedOperation); public object InConversion => throw new NotImplementedException("Property 'IArgumentOperation.InConversion' has unsupported type 'CommonConversion'"); public object OutConversion => throw new NotImplementedException("Property 'IArgumentOperation.OutConversion' has unsupported type 'CommonConversion'"); + public static explicit operator IArgumentOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IArgumentOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IArgumentOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IArrayCreationOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IArrayCreationOperationWrapper.g.cs index 1dba3d451..9772d16fb 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IArrayCreationOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IArrayCreationOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IArrayCreationOperationWrapper : IOperationWrapper + internal readonly struct IArrayCreationOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IArrayCreationOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IArrayCreationOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public ImmutableArray DimensionSizes => DimensionSizesAccessor(this.WrappedOperation); public IArrayInitializerOperationWrapper Initializer => IArrayInitializerOperationWrapper.FromOperation(InitializerAccessor(this.WrappedOperation)); + public static explicit operator IArrayCreationOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IArrayCreationOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IArrayCreationOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IArrayElementReferenceOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IArrayElementReferenceOperationWrapper.g.cs index d67990cbf..546a020d8 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IArrayElementReferenceOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IArrayElementReferenceOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IArrayElementReferenceOperationWrapper : IOperationWrapper + internal readonly struct IArrayElementReferenceOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IArrayElementReferenceOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IArrayElementReferenceOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation ArrayReference => ArrayReferenceAccessor(this.WrappedOperation); public ImmutableArray Indices => IndicesAccessor(this.WrappedOperation); + public static explicit operator IArrayElementReferenceOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IArrayElementReferenceOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IArrayElementReferenceOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IArrayInitializerOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IArrayInitializerOperationWrapper.g.cs index d43a6ade2..60eeb5485 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IArrayInitializerOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IArrayInitializerOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IArrayInitializerOperationWrapper : IOperationWrapper + internal readonly struct IArrayInitializerOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IArrayInitializerOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IArrayInitializerOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public ImmutableArray ElementValues => ElementValuesAccessor(this.WrappedOperation); + public static explicit operator IArrayInitializerOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IArrayInitializerOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IArrayInitializerOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IAssignmentOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IAssignmentOperationWrapper.g.cs index 7ee8b0522..d1cd9cb3e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IAssignmentOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IAssignmentOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IAssignmentOperationWrapper : IOperationWrapper + internal readonly struct IAssignmentOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IAssignmentOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IAssignmentOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Target => TargetAccessor(this.WrappedOperation); public IOperation Value => ValueAccessor(this.WrappedOperation); + public static explicit operator IAssignmentOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IAssignmentOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IAssignmentOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IAwaitOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IAwaitOperationWrapper.g.cs index a43814a0e..75b1e8934 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IAwaitOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IAwaitOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IAwaitOperationWrapper : IOperationWrapper + internal readonly struct IAwaitOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IAwaitOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IAwaitOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Operation => OperationAccessor(this.WrappedOperation); + public static explicit operator IAwaitOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IAwaitOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IAwaitOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IBinaryOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IBinaryOperationWrapper.g.cs index b5edf8fdd..5ca2c247f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IBinaryOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IBinaryOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IBinaryOperationWrapper : IOperationWrapper + internal readonly struct IBinaryOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IBinaryOperation"; private static readonly Type WrappedType; @@ -43,6 +43,8 @@ private IBinaryOperationWrapper(IOperation operation) public bool IsChecked => IsCheckedAccessor(this.WrappedOperation); public bool IsCompareText => IsCompareTextAccessor(this.WrappedOperation); public IMethodSymbol OperatorMethod => OperatorMethodAccessor(this.WrappedOperation); + public static explicit operator IBinaryOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IBinaryOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IBinaryOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IBinaryPatternOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IBinaryPatternOperationWrapper.g.cs index e9376ded2..2ee77ab8c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IBinaryPatternOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IBinaryPatternOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IBinaryPatternOperationWrapper : IOperationWrapper + internal readonly struct IBinaryPatternOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IBinaryPatternOperation"; private static readonly Type WrappedType; @@ -31,6 +31,8 @@ private IBinaryPatternOperationWrapper(IOperation operation) public object OperatorKind => throw new NotImplementedException("Property 'IBinaryPatternOperation.OperatorKind' has unsupported type 'BinaryOperatorKind'"); public IPatternOperationWrapper LeftPattern => IPatternOperationWrapper.FromOperation(LeftPatternAccessor(this.WrappedOperation)); public IPatternOperationWrapper RightPattern => IPatternOperationWrapper.FromOperation(RightPatternAccessor(this.WrappedOperation)); + public static explicit operator IBinaryPatternOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IBinaryPatternOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public ITypeSymbol InputType => ((IPatternOperationWrapper)this).InputType; public ITypeSymbol NarrowedType => ((IPatternOperationWrapper)this).NarrowedType; public static explicit operator IBinaryPatternOperationWrapper(IPatternOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IBlockOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IBlockOperationWrapper.g.cs index 97b553944..f92318d04 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IBlockOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IBlockOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IBlockOperationWrapper : IOperationWrapper + internal readonly struct IBlockOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IBlockOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IBlockOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public ImmutableArray Operations => OperationsAccessor(this.WrappedOperation); public ImmutableArray Locals => LocalsAccessor(this.WrappedOperation); + public static explicit operator IBlockOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IBlockOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IBlockOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IBranchOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IBranchOperationWrapper.g.cs index 02a4e268d..0f3b2431d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IBranchOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IBranchOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IBranchOperationWrapper : IOperationWrapper + internal readonly struct IBranchOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IBranchOperation"; private static readonly Type WrappedType; @@ -28,6 +28,8 @@ private IBranchOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public ILabelSymbol Target => TargetAccessor(this.WrappedOperation); public object BranchKind => throw new NotImplementedException("Property 'IBranchOperation.BranchKind' has unsupported type 'BranchKind'"); + public static explicit operator IBranchOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IBranchOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IBranchOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICaseClauseOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICaseClauseOperationWrapper.g.cs index 841d8eea4..5af08b36c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICaseClauseOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICaseClauseOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ICaseClauseOperationWrapper : IOperationWrapper + internal readonly struct ICaseClauseOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ICaseClauseOperation"; private static readonly Type WrappedType; @@ -28,6 +28,8 @@ private ICaseClauseOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public object CaseKind => throw new NotImplementedException("Property 'ICaseClauseOperation.CaseKind' has unsupported type 'CaseKind'"); public ILabelSymbol Label => LabelAccessor(this.WrappedOperation); + public static explicit operator ICaseClauseOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ICaseClauseOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ICaseClauseOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICatchClauseOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICatchClauseOperationWrapper.g.cs index acc911ffb..a94af5284 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICatchClauseOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICatchClauseOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ICatchClauseOperationWrapper : IOperationWrapper + internal readonly struct ICatchClauseOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ICatchClauseOperation"; private static readonly Type WrappedType; @@ -39,6 +39,8 @@ private ICatchClauseOperationWrapper(IOperation operation) public ImmutableArray Locals => LocalsAccessor(this.WrappedOperation); public IOperation Filter => FilterAccessor(this.WrappedOperation); public IBlockOperationWrapper Handler => IBlockOperationWrapper.FromOperation(HandlerAccessor(this.WrappedOperation)); + public static explicit operator ICatchClauseOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ICatchClauseOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ICatchClauseOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICaughtExceptionOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICaughtExceptionOperationWrapper.g.cs index 0b277c7a2..fa5ae1ac2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICaughtExceptionOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICaughtExceptionOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ICaughtExceptionOperationWrapper : IOperationWrapper + internal readonly struct ICaughtExceptionOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.FlowAnalysis.ICaughtExceptionOperation"; private static readonly Type WrappedType; @@ -24,6 +24,8 @@ private ICaughtExceptionOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; + public static explicit operator ICaughtExceptionOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ICaughtExceptionOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ICaughtExceptionOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICoalesceAssignmentOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICoalesceAssignmentOperationWrapper.g.cs index 4789394f0..421c5ca5a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICoalesceAssignmentOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICoalesceAssignmentOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ICoalesceAssignmentOperationWrapper : IOperationWrapper + internal readonly struct ICoalesceAssignmentOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ICoalesceAssignmentOperation"; private static readonly Type WrappedType; @@ -24,6 +24,8 @@ private ICoalesceAssignmentOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; + public static explicit operator ICoalesceAssignmentOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ICoalesceAssignmentOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public IOperation Target => ((IAssignmentOperationWrapper)this).Target; public IOperation Value => ((IAssignmentOperationWrapper)this).Value; public static explicit operator ICoalesceAssignmentOperationWrapper(IAssignmentOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICoalesceOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICoalesceOperationWrapper.g.cs index 92e076651..f487fe9b5 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICoalesceOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICoalesceOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ICoalesceOperationWrapper : IOperationWrapper + internal readonly struct ICoalesceOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ICoalesceOperation"; private static readonly Type WrappedType; @@ -31,6 +31,8 @@ private ICoalesceOperationWrapper(IOperation operation) public IOperation Value => ValueAccessor(this.WrappedOperation); public IOperation WhenNull => WhenNullAccessor(this.WrappedOperation); public object ValueConversion => throw new NotImplementedException("Property 'ICoalesceOperation.ValueConversion' has unsupported type 'CommonConversion'"); + public static explicit operator ICoalesceOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ICoalesceOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ICoalesceOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICollectionElementInitializerOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICollectionElementInitializerOperationWrapper.g.cs index c2706bb48..e5cfe4546 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICollectionElementInitializerOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICollectionElementInitializerOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ICollectionElementInitializerOperationWrapper : IOperationWrapper + internal readonly struct ICollectionElementInitializerOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ICollectionElementInitializerOperation"; private static readonly Type WrappedType; @@ -33,6 +33,8 @@ private ICollectionElementInitializerOperationWrapper(IOperation operation) public IMethodSymbol AddMethod => AddMethodAccessor(this.WrappedOperation); public ImmutableArray Arguments => ArgumentsAccessor(this.WrappedOperation); public bool IsDynamic => IsDynamicAccessor(this.WrappedOperation); + public static explicit operator ICollectionElementInitializerOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ICollectionElementInitializerOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ICollectionElementInitializerOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICompoundAssignmentOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICompoundAssignmentOperationWrapper.g.cs index 35b78e68e..ab80b1866 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICompoundAssignmentOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ICompoundAssignmentOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ICompoundAssignmentOperationWrapper : IOperationWrapper + internal readonly struct ICompoundAssignmentOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ICompoundAssignmentOperation"; private static readonly Type WrappedType; @@ -36,6 +36,8 @@ private ICompoundAssignmentOperationWrapper(IOperation operation) public bool IsLifted => IsLiftedAccessor(this.WrappedOperation); public bool IsChecked => IsCheckedAccessor(this.WrappedOperation); public IMethodSymbol OperatorMethod => OperatorMethodAccessor(this.WrappedOperation); + public static explicit operator ICompoundAssignmentOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ICompoundAssignmentOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public IOperation Target => ((IAssignmentOperationWrapper)this).Target; public IOperation Value => ((IAssignmentOperationWrapper)this).Value; public static explicit operator ICompoundAssignmentOperationWrapper(IAssignmentOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConditionalAccessInstanceOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConditionalAccessInstanceOperationWrapper.g.cs index aa1866e24..699a9b01a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConditionalAccessInstanceOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConditionalAccessInstanceOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IConditionalAccessInstanceOperationWrapper : IOperationWrapper + internal readonly struct IConditionalAccessInstanceOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IConditionalAccessInstanceOperation"; private static readonly Type WrappedType; @@ -24,6 +24,8 @@ private IConditionalAccessInstanceOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; + public static explicit operator IConditionalAccessInstanceOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IConditionalAccessInstanceOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IConditionalAccessInstanceOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConditionalAccessOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConditionalAccessOperationWrapper.g.cs index e09720f18..1228ba488 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConditionalAccessOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConditionalAccessOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IConditionalAccessOperationWrapper : IOperationWrapper + internal readonly struct IConditionalAccessOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IConditionalAccessOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IConditionalAccessOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Operation => OperationAccessor(this.WrappedOperation); public IOperation WhenNotNull => WhenNotNullAccessor(this.WrappedOperation); + public static explicit operator IConditionalAccessOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IConditionalAccessOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IConditionalAccessOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConditionalOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConditionalOperationWrapper.g.cs index af228ab9c..07aea6579 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConditionalOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConditionalOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IConditionalOperationWrapper : IOperationWrapper + internal readonly struct IConditionalOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IConditionalOperation"; private static readonly Type WrappedType; @@ -36,6 +36,8 @@ private IConditionalOperationWrapper(IOperation operation) public IOperation WhenTrue => WhenTrueAccessor(this.WrappedOperation); public IOperation WhenFalse => WhenFalseAccessor(this.WrappedOperation); public bool IsRef => IsRefAccessor(this.WrappedOperation); + public static explicit operator IConditionalOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IConditionalOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IConditionalOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConstantPatternOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConstantPatternOperationWrapper.g.cs index 4f6d09f0d..cfe474883 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConstantPatternOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConstantPatternOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IConstantPatternOperationWrapper : IOperationWrapper + internal readonly struct IConstantPatternOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IConstantPatternOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IConstantPatternOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Value => ValueAccessor(this.WrappedOperation); + public static explicit operator IConstantPatternOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IConstantPatternOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public ITypeSymbol InputType => ((IPatternOperationWrapper)this).InputType; public ITypeSymbol NarrowedType => ((IPatternOperationWrapper)this).NarrowedType; public static explicit operator IConstantPatternOperationWrapper(IPatternOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConstructorBodyOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConstructorBodyOperationWrapper.g.cs index e25d29b32..de028075e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConstructorBodyOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConstructorBodyOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IConstructorBodyOperationWrapper : IOperationWrapper + internal readonly struct IConstructorBodyOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IConstructorBodyOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IConstructorBodyOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public ImmutableArray Locals => LocalsAccessor(this.WrappedOperation); public IOperation Initializer => InitializerAccessor(this.WrappedOperation); + public static explicit operator IConstructorBodyOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IConstructorBodyOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public IBlockOperationWrapper BlockBody => ((IMethodBodyBaseOperationWrapper)this).BlockBody; public IBlockOperationWrapper ExpressionBody => ((IMethodBodyBaseOperationWrapper)this).ExpressionBody; public static explicit operator IConstructorBodyOperationWrapper(IMethodBodyBaseOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConversionOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConversionOperationWrapper.g.cs index 945b105e2..94c59a7d3 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConversionOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IConversionOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IConversionOperationWrapper : IOperationWrapper + internal readonly struct IConversionOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IConversionOperation"; private static readonly Type WrappedType; @@ -37,6 +37,8 @@ private IConversionOperationWrapper(IOperation operation) public object Conversion => throw new NotImplementedException("Property 'IConversionOperation.Conversion' has unsupported type 'CommonConversion'"); public bool IsTryCast => IsTryCastAccessor(this.WrappedOperation); public bool IsChecked => IsCheckedAccessor(this.WrappedOperation); + public static explicit operator IConversionOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IConversionOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IConversionOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDeclarationExpressionOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDeclarationExpressionOperationWrapper.g.cs index 04df94add..8d4595b24 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDeclarationExpressionOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDeclarationExpressionOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IDeclarationExpressionOperationWrapper : IOperationWrapper + internal readonly struct IDeclarationExpressionOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IDeclarationExpressionOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IDeclarationExpressionOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Expression => ExpressionAccessor(this.WrappedOperation); + public static explicit operator IDeclarationExpressionOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IDeclarationExpressionOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IDeclarationExpressionOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDeclarationPatternOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDeclarationPatternOperationWrapper.g.cs index 3cd0c5dd4..74ee4e6c4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDeclarationPatternOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDeclarationPatternOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IDeclarationPatternOperationWrapper : IOperationWrapper + internal readonly struct IDeclarationPatternOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IDeclarationPatternOperation"; private static readonly Type WrappedType; @@ -33,6 +33,8 @@ private IDeclarationPatternOperationWrapper(IOperation operation) public ITypeSymbol MatchedType => MatchedTypeAccessor(this.WrappedOperation); public bool MatchesNull => MatchesNullAccessor(this.WrappedOperation); public ISymbol DeclaredSymbol => DeclaredSymbolAccessor(this.WrappedOperation); + public static explicit operator IDeclarationPatternOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IDeclarationPatternOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public ITypeSymbol InputType => ((IPatternOperationWrapper)this).InputType; public ITypeSymbol NarrowedType => ((IPatternOperationWrapper)this).NarrowedType; public static explicit operator IDeclarationPatternOperationWrapper(IPatternOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDeconstructionAssignmentOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDeconstructionAssignmentOperationWrapper.g.cs index d3ada77c4..21a53890b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDeconstructionAssignmentOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDeconstructionAssignmentOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IDeconstructionAssignmentOperationWrapper : IOperationWrapper + internal readonly struct IDeconstructionAssignmentOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IDeconstructionAssignmentOperation"; private static readonly Type WrappedType; @@ -24,6 +24,8 @@ private IDeconstructionAssignmentOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; + public static explicit operator IDeconstructionAssignmentOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IDeconstructionAssignmentOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public IOperation Target => ((IAssignmentOperationWrapper)this).Target; public IOperation Value => ((IAssignmentOperationWrapper)this).Value; public static explicit operator IDeconstructionAssignmentOperationWrapper(IAssignmentOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDefaultCaseClauseOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDefaultCaseClauseOperationWrapper.g.cs index 5cae4d63c..a88f01da3 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDefaultCaseClauseOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDefaultCaseClauseOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IDefaultCaseClauseOperationWrapper : IOperationWrapper + internal readonly struct IDefaultCaseClauseOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IDefaultCaseClauseOperation"; private static readonly Type WrappedType; @@ -24,6 +24,8 @@ private IDefaultCaseClauseOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; + public static explicit operator IDefaultCaseClauseOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IDefaultCaseClauseOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public object CaseKind => ((ICaseClauseOperationWrapper)this).CaseKind; public ILabelSymbol Label => ((ICaseClauseOperationWrapper)this).Label; public static explicit operator IDefaultCaseClauseOperationWrapper(ICaseClauseOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDefaultValueOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDefaultValueOperationWrapper.g.cs index 95a0b3f88..93fe593c6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDefaultValueOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDefaultValueOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IDefaultValueOperationWrapper : IOperationWrapper + internal readonly struct IDefaultValueOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IDefaultValueOperation"; private static readonly Type WrappedType; @@ -24,6 +24,8 @@ private IDefaultValueOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; + public static explicit operator IDefaultValueOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IDefaultValueOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IDefaultValueOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDelegateCreationOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDelegateCreationOperationWrapper.g.cs index 9b34749ea..998be0e94 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDelegateCreationOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDelegateCreationOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IDelegateCreationOperationWrapper : IOperationWrapper + internal readonly struct IDelegateCreationOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IDelegateCreationOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IDelegateCreationOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Target => TargetAccessor(this.WrappedOperation); + public static explicit operator IDelegateCreationOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IDelegateCreationOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IDelegateCreationOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDiscardOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDiscardOperationWrapper.g.cs index a8ec2a92c..af53508b6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDiscardOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDiscardOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IDiscardOperationWrapper : IOperationWrapper + internal readonly struct IDiscardOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IDiscardOperation"; private static readonly Type WrappedType; @@ -25,6 +25,8 @@ private IDiscardOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public object DiscardSymbol => throw new NotImplementedException("Property 'IDiscardOperation.DiscardSymbol' has unsupported type 'IDiscardSymbol'"); + public static explicit operator IDiscardOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IDiscardOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IDiscardOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDiscardPatternOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDiscardPatternOperationWrapper.g.cs index ddc435b22..ebcfc587d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDiscardPatternOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDiscardPatternOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IDiscardPatternOperationWrapper : IOperationWrapper + internal readonly struct IDiscardPatternOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IDiscardPatternOperation"; private static readonly Type WrappedType; @@ -24,6 +24,8 @@ private IDiscardPatternOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; + public static explicit operator IDiscardPatternOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IDiscardPatternOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public ITypeSymbol InputType => ((IPatternOperationWrapper)this).InputType; public ITypeSymbol NarrowedType => ((IPatternOperationWrapper)this).NarrowedType; public static explicit operator IDiscardPatternOperationWrapper(IPatternOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDynamicIndexerAccessOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDynamicIndexerAccessOperationWrapper.g.cs index 45e78bf64..e28bf9458 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDynamicIndexerAccessOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDynamicIndexerAccessOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IDynamicIndexerAccessOperationWrapper : IOperationWrapper + internal readonly struct IDynamicIndexerAccessOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IDynamicIndexerAccessOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IDynamicIndexerAccessOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Operation => OperationAccessor(this.WrappedOperation); public ImmutableArray Arguments => ArgumentsAccessor(this.WrappedOperation); + public static explicit operator IDynamicIndexerAccessOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IDynamicIndexerAccessOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IDynamicIndexerAccessOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDynamicInvocationOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDynamicInvocationOperationWrapper.g.cs index bad7af84a..218cd9e88 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDynamicInvocationOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDynamicInvocationOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IDynamicInvocationOperationWrapper : IOperationWrapper + internal readonly struct IDynamicInvocationOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IDynamicInvocationOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IDynamicInvocationOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Operation => OperationAccessor(this.WrappedOperation); public ImmutableArray Arguments => ArgumentsAccessor(this.WrappedOperation); + public static explicit operator IDynamicInvocationOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IDynamicInvocationOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IDynamicInvocationOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDynamicMemberReferenceOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDynamicMemberReferenceOperationWrapper.g.cs index e0a4a8f54..204c49498 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDynamicMemberReferenceOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDynamicMemberReferenceOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IDynamicMemberReferenceOperationWrapper : IOperationWrapper + internal readonly struct IDynamicMemberReferenceOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IDynamicMemberReferenceOperation"; private static readonly Type WrappedType; @@ -36,6 +36,8 @@ private IDynamicMemberReferenceOperationWrapper(IOperation operation) public string MemberName => MemberNameAccessor(this.WrappedOperation); public ImmutableArray TypeArguments => TypeArgumentsAccessor(this.WrappedOperation); public ITypeSymbol ContainingType => ContainingTypeAccessor(this.WrappedOperation); + public static explicit operator IDynamicMemberReferenceOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IDynamicMemberReferenceOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IDynamicMemberReferenceOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDynamicObjectCreationOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDynamicObjectCreationOperationWrapper.g.cs index 741e0cbbc..242077aea 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDynamicObjectCreationOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IDynamicObjectCreationOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IDynamicObjectCreationOperationWrapper : IOperationWrapper + internal readonly struct IDynamicObjectCreationOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IDynamicObjectCreationOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IDynamicObjectCreationOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public IObjectOrCollectionInitializerOperationWrapper Initializer => IObjectOrCollectionInitializerOperationWrapper.FromOperation(InitializerAccessor(this.WrappedOperation)); public ImmutableArray Arguments => ArgumentsAccessor(this.WrappedOperation); + public static explicit operator IDynamicObjectCreationOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IDynamicObjectCreationOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IDynamicObjectCreationOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IEmptyOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IEmptyOperationWrapper.g.cs index 0ebf663a6..5227ce196 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IEmptyOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IEmptyOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IEmptyOperationWrapper : IOperationWrapper + internal readonly struct IEmptyOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IEmptyOperation"; private static readonly Type WrappedType; @@ -24,6 +24,8 @@ private IEmptyOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; + public static explicit operator IEmptyOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IEmptyOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IEmptyOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IEndOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IEndOperationWrapper.g.cs index a4da7468a..870ebe0e5 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IEndOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IEndOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IEndOperationWrapper : IOperationWrapper + internal readonly struct IEndOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IEndOperation"; private static readonly Type WrappedType; @@ -24,6 +24,8 @@ private IEndOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; + public static explicit operator IEndOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IEndOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IEndOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IEventAssignmentOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IEventAssignmentOperationWrapper.g.cs index 36717ff4c..905cb2b44 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IEventAssignmentOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IEventAssignmentOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IEventAssignmentOperationWrapper : IOperationWrapper + internal readonly struct IEventAssignmentOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IEventAssignmentOperation"; private static readonly Type WrappedType; @@ -33,6 +33,8 @@ private IEventAssignmentOperationWrapper(IOperation operation) public IOperation EventReference => EventReferenceAccessor(this.WrappedOperation); public IOperation HandlerValue => HandlerValueAccessor(this.WrappedOperation); public bool Adds => AddsAccessor(this.WrappedOperation); + public static explicit operator IEventAssignmentOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IEventAssignmentOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IEventAssignmentOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IEventReferenceOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IEventReferenceOperationWrapper.g.cs index 77e1b0b62..96aa29fa9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IEventReferenceOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IEventReferenceOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IEventReferenceOperationWrapper : IOperationWrapper + internal readonly struct IEventReferenceOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IEventReferenceOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IEventReferenceOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public IEventSymbol Event => EventAccessor(this.WrappedOperation); + public static explicit operator IEventReferenceOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IEventReferenceOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public IOperation Instance => ((IMemberReferenceOperationWrapper)this).Instance; public ISymbol Member => ((IMemberReferenceOperationWrapper)this).Member; public static explicit operator IEventReferenceOperationWrapper(IMemberReferenceOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IExpressionStatementOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IExpressionStatementOperationWrapper.g.cs index cc31ef675..9ec328f97 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IExpressionStatementOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IExpressionStatementOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IExpressionStatementOperationWrapper : IOperationWrapper + internal readonly struct IExpressionStatementOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IExpressionStatementOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IExpressionStatementOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Operation => OperationAccessor(this.WrappedOperation); + public static explicit operator IExpressionStatementOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IExpressionStatementOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IExpressionStatementOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IFieldInitializerOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IFieldInitializerOperationWrapper.g.cs index 96b5746ba..15b3b89de 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IFieldInitializerOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IFieldInitializerOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IFieldInitializerOperationWrapper : IOperationWrapper + internal readonly struct IFieldInitializerOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IFieldInitializerOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IFieldInitializerOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public ImmutableArray InitializedFields => InitializedFieldsAccessor(this.WrappedOperation); + public static explicit operator IFieldInitializerOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IFieldInitializerOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public ImmutableArray Locals => ((ISymbolInitializerOperationWrapper)this).Locals; public IOperation Value => ((ISymbolInitializerOperationWrapper)this).Value; public static explicit operator IFieldInitializerOperationWrapper(ISymbolInitializerOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IFieldReferenceOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IFieldReferenceOperationWrapper.g.cs index 644c3302f..6abd08ea7 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IFieldReferenceOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IFieldReferenceOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IFieldReferenceOperationWrapper : IOperationWrapper + internal readonly struct IFieldReferenceOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IFieldReferenceOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IFieldReferenceOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public IFieldSymbol Field => FieldAccessor(this.WrappedOperation); public bool IsDeclaration => IsDeclarationAccessor(this.WrappedOperation); + public static explicit operator IFieldReferenceOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IFieldReferenceOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public IOperation Instance => ((IMemberReferenceOperationWrapper)this).Instance; public ISymbol Member => ((IMemberReferenceOperationWrapper)this).Member; public static explicit operator IFieldReferenceOperationWrapper(IMemberReferenceOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IFlowAnonymousFunctionOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IFlowAnonymousFunctionOperationWrapper.g.cs index 6e2411efd..8190e6ba8 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IFlowAnonymousFunctionOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IFlowAnonymousFunctionOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IFlowAnonymousFunctionOperationWrapper : IOperationWrapper + internal readonly struct IFlowAnonymousFunctionOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.FlowAnalysis.IFlowAnonymousFunctionOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IFlowAnonymousFunctionOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public IMethodSymbol Symbol => SymbolAccessor(this.WrappedOperation); + public static explicit operator IFlowAnonymousFunctionOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IFlowAnonymousFunctionOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IFlowAnonymousFunctionOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IFlowCaptureOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IFlowCaptureOperationWrapper.g.cs index 14562c7b7..c2ea9dbce 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IFlowCaptureOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IFlowCaptureOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IFlowCaptureOperationWrapper : IOperationWrapper + internal readonly struct IFlowCaptureOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.FlowAnalysis.IFlowCaptureOperation"; private static readonly Type WrappedType; @@ -28,6 +28,8 @@ private IFlowCaptureOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public object Id => throw new NotImplementedException("Property 'IFlowCaptureOperation.Id' has unsupported type 'CaptureId'"); public IOperation Value => ValueAccessor(this.WrappedOperation); + public static explicit operator IFlowCaptureOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IFlowCaptureOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IFlowCaptureOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IFlowCaptureReferenceOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IFlowCaptureReferenceOperationWrapper.g.cs index 89239497f..2fc7756c3 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IFlowCaptureReferenceOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IFlowCaptureReferenceOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IFlowCaptureReferenceOperationWrapper : IOperationWrapper + internal readonly struct IFlowCaptureReferenceOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.FlowAnalysis.IFlowCaptureReferenceOperation"; private static readonly Type WrappedType; @@ -25,6 +25,8 @@ private IFlowCaptureReferenceOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public object Id => throw new NotImplementedException("Property 'IFlowCaptureReferenceOperation.Id' has unsupported type 'CaptureId'"); + public static explicit operator IFlowCaptureReferenceOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IFlowCaptureReferenceOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IFlowCaptureReferenceOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IForEachLoopOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IForEachLoopOperationWrapper.g.cs index 0b520d461..58e008b59 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IForEachLoopOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IForEachLoopOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IForEachLoopOperationWrapper : IOperationWrapper + internal readonly struct IForEachLoopOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IForEachLoopOperation"; private static readonly Type WrappedType; @@ -36,6 +36,8 @@ private IForEachLoopOperationWrapper(IOperation operation) public IOperation Collection => CollectionAccessor(this.WrappedOperation); public ImmutableArray NextVariables => NextVariablesAccessor(this.WrappedOperation); public bool IsAsynchronous => IsAsynchronousAccessor(this.WrappedOperation); + public static explicit operator IForEachLoopOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IForEachLoopOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public object LoopKind => ((ILoopOperationWrapper)this).LoopKind; public IOperation Body => ((ILoopOperationWrapper)this).Body; public ImmutableArray Locals => ((ILoopOperationWrapper)this).Locals; diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IForLoopOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IForLoopOperationWrapper.g.cs index b7fd630d3..fdb5a3f13 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IForLoopOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IForLoopOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IForLoopOperationWrapper : IOperationWrapper + internal readonly struct IForLoopOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IForLoopOperation"; private static readonly Type WrappedType; @@ -36,6 +36,8 @@ private IForLoopOperationWrapper(IOperation operation) public ImmutableArray ConditionLocals => ConditionLocalsAccessor(this.WrappedOperation); public IOperation Condition => ConditionAccessor(this.WrappedOperation); public ImmutableArray AtLoopBottom => AtLoopBottomAccessor(this.WrappedOperation); + public static explicit operator IForLoopOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IForLoopOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public object LoopKind => ((ILoopOperationWrapper)this).LoopKind; public IOperation Body => ((ILoopOperationWrapper)this).Body; public ImmutableArray Locals => ((ILoopOperationWrapper)this).Locals; diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IForToLoopOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IForToLoopOperationWrapper.g.cs index ae4d268e3..7a76c4904 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IForToLoopOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IForToLoopOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IForToLoopOperationWrapper : IOperationWrapper + internal readonly struct IForToLoopOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IForToLoopOperation"; private static readonly Type WrappedType; @@ -42,6 +42,8 @@ private IForToLoopOperationWrapper(IOperation operation) public IOperation StepValue => StepValueAccessor(this.WrappedOperation); public bool IsChecked => IsCheckedAccessor(this.WrappedOperation); public ImmutableArray NextVariables => NextVariablesAccessor(this.WrappedOperation); + public static explicit operator IForToLoopOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IForToLoopOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public object LoopKind => ((ILoopOperationWrapper)this).LoopKind; public IOperation Body => ((ILoopOperationWrapper)this).Body; public ImmutableArray Locals => ((ILoopOperationWrapper)this).Locals; diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IIncrementOrDecrementOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IIncrementOrDecrementOperationWrapper.g.cs index 258102724..c455d3d5e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IIncrementOrDecrementOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IIncrementOrDecrementOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IIncrementOrDecrementOperationWrapper : IOperationWrapper + internal readonly struct IIncrementOrDecrementOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IIncrementOrDecrementOperation"; private static readonly Type WrappedType; @@ -39,6 +39,8 @@ private IIncrementOrDecrementOperationWrapper(IOperation operation) public bool IsChecked => IsCheckedAccessor(this.WrappedOperation); public IOperation Target => TargetAccessor(this.WrappedOperation); public IMethodSymbol OperatorMethod => OperatorMethodAccessor(this.WrappedOperation); + public static explicit operator IIncrementOrDecrementOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IIncrementOrDecrementOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IIncrementOrDecrementOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInstanceReferenceOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInstanceReferenceOperationWrapper.g.cs index e87aeee53..222f3f617 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInstanceReferenceOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInstanceReferenceOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IInstanceReferenceOperationWrapper : IOperationWrapper + internal readonly struct IInstanceReferenceOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IInstanceReferenceOperation"; private static readonly Type WrappedType; @@ -25,6 +25,8 @@ private IInstanceReferenceOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public object ReferenceKind => throw new NotImplementedException("Property 'IInstanceReferenceOperation.ReferenceKind' has unsupported type 'InstanceReferenceKind'"); + public static explicit operator IInstanceReferenceOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IInstanceReferenceOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IInstanceReferenceOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInterpolatedStringContentOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInterpolatedStringContentOperationWrapper.g.cs index 32eed1f2d..ce38bc7af 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInterpolatedStringContentOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInterpolatedStringContentOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IInterpolatedStringContentOperationWrapper : IOperationWrapper + internal readonly struct IInterpolatedStringContentOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IInterpolatedStringContentOperation"; private static readonly Type WrappedType; @@ -24,6 +24,8 @@ private IInterpolatedStringContentOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; + public static explicit operator IInterpolatedStringContentOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IInterpolatedStringContentOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IInterpolatedStringContentOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInterpolatedStringOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInterpolatedStringOperationWrapper.g.cs index a4cdbf022..8a4f9910c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInterpolatedStringOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInterpolatedStringOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IInterpolatedStringOperationWrapper : IOperationWrapper + internal readonly struct IInterpolatedStringOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IInterpolatedStringOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IInterpolatedStringOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public ImmutableArray Parts => PartsAccessor(this.WrappedOperation); + public static explicit operator IInterpolatedStringOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IInterpolatedStringOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IInterpolatedStringOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInterpolatedStringTextOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInterpolatedStringTextOperationWrapper.g.cs index 865a47d8f..001b943e2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInterpolatedStringTextOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInterpolatedStringTextOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IInterpolatedStringTextOperationWrapper : IOperationWrapper + internal readonly struct IInterpolatedStringTextOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IInterpolatedStringTextOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IInterpolatedStringTextOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Text => TextAccessor(this.WrappedOperation); + public static explicit operator IInterpolatedStringTextOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IInterpolatedStringTextOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static explicit operator IInterpolatedStringTextOperationWrapper(IInterpolatedStringContentOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); public static implicit operator IInterpolatedStringContentOperationWrapper(IInterpolatedStringTextOperationWrapper wrapper) => IInterpolatedStringContentOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IInterpolatedStringTextOperationWrapper FromOperation(IOperation operation) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInterpolationOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInterpolationOperationWrapper.g.cs index 81becf0b0..1c83e04d4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInterpolationOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInterpolationOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IInterpolationOperationWrapper : IOperationWrapper + internal readonly struct IInterpolationOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IInterpolationOperation"; private static readonly Type WrappedType; @@ -33,6 +33,8 @@ private IInterpolationOperationWrapper(IOperation operation) public IOperation Expression => ExpressionAccessor(this.WrappedOperation); public IOperation Alignment => AlignmentAccessor(this.WrappedOperation); public IOperation FormatString => FormatStringAccessor(this.WrappedOperation); + public static explicit operator IInterpolationOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IInterpolationOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static explicit operator IInterpolationOperationWrapper(IInterpolatedStringContentOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); public static implicit operator IInterpolatedStringContentOperationWrapper(IInterpolationOperationWrapper wrapper) => IInterpolatedStringContentOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IInterpolationOperationWrapper FromOperation(IOperation operation) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInvalidOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInvalidOperationWrapper.g.cs index 1d56cc0dd..9ce2a81bc 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInvalidOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInvalidOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IInvalidOperationWrapper : IOperationWrapper + internal readonly struct IInvalidOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IInvalidOperation"; private static readonly Type WrappedType; @@ -24,6 +24,8 @@ private IInvalidOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; + public static explicit operator IInvalidOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IInvalidOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IInvalidOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInvocationOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInvocationOperationWrapper.g.cs index bcb742063..fcf4d9b74 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInvocationOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IInvocationOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IInvocationOperationWrapper : IOperationWrapper + internal readonly struct IInvocationOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IInvocationOperation"; private static readonly Type WrappedType; @@ -36,6 +36,8 @@ private IInvocationOperationWrapper(IOperation operation) public IOperation Instance => InstanceAccessor(this.WrappedOperation); public bool IsVirtual => IsVirtualAccessor(this.WrappedOperation); public ImmutableArray Arguments => ArgumentsAccessor(this.WrappedOperation); + public static explicit operator IInvocationOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IInvocationOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IInvocationOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IIsNullOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IIsNullOperationWrapper.g.cs index 54ebef62e..d062479a2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IIsNullOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IIsNullOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IIsNullOperationWrapper : IOperationWrapper + internal readonly struct IIsNullOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.FlowAnalysis.IIsNullOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IIsNullOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Operand => OperandAccessor(this.WrappedOperation); + public static explicit operator IIsNullOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IIsNullOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IIsNullOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IIsPatternOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IIsPatternOperationWrapper.g.cs index 4389618ed..952dfb654 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IIsPatternOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IIsPatternOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IIsPatternOperationWrapper : IOperationWrapper + internal readonly struct IIsPatternOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IIsPatternOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IIsPatternOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Value => ValueAccessor(this.WrappedOperation); public IPatternOperationWrapper Pattern => IPatternOperationWrapper.FromOperation(PatternAccessor(this.WrappedOperation)); + public static explicit operator IIsPatternOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IIsPatternOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IIsPatternOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IIsTypeOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IIsTypeOperationWrapper.g.cs index 819facf43..1d489b413 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IIsTypeOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IIsTypeOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IIsTypeOperationWrapper : IOperationWrapper + internal readonly struct IIsTypeOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IIsTypeOperation"; private static readonly Type WrappedType; @@ -33,6 +33,8 @@ private IIsTypeOperationWrapper(IOperation operation) public IOperation ValueOperand => ValueOperandAccessor(this.WrappedOperation); public ITypeSymbol TypeOperand => TypeOperandAccessor(this.WrappedOperation); public bool IsNegated => IsNegatedAccessor(this.WrappedOperation); + public static explicit operator IIsTypeOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IIsTypeOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IIsTypeOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILabeledOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILabeledOperationWrapper.g.cs index ca3c8bdd8..bef0f03e3 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILabeledOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILabeledOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ILabeledOperationWrapper : IOperationWrapper + internal readonly struct ILabeledOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ILabeledOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private ILabeledOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public ILabelSymbol Label => LabelAccessor(this.WrappedOperation); public IOperation Operation => OperationAccessor(this.WrappedOperation); + public static explicit operator ILabeledOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ILabeledOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ILabeledOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILiteralOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILiteralOperationWrapper.g.cs index 95f100067..e21c59551 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILiteralOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILiteralOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ILiteralOperationWrapper : IOperationWrapper + internal readonly struct ILiteralOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ILiteralOperation"; private static readonly Type WrappedType; @@ -24,6 +24,8 @@ private ILiteralOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; + public static explicit operator ILiteralOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ILiteralOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ILiteralOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILocalFunctionOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILocalFunctionOperationWrapper.g.cs index 48f303de0..893fc8e53 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILocalFunctionOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILocalFunctionOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ILocalFunctionOperationWrapper : IOperationWrapper + internal readonly struct ILocalFunctionOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ILocalFunctionOperation"; private static readonly Type WrappedType; @@ -33,6 +33,8 @@ private ILocalFunctionOperationWrapper(IOperation operation) public IMethodSymbol Symbol => SymbolAccessor(this.WrappedOperation); public IBlockOperationWrapper Body => IBlockOperationWrapper.FromOperation(BodyAccessor(this.WrappedOperation)); public IBlockOperationWrapper IgnoredBody => IBlockOperationWrapper.FromOperation(IgnoredBodyAccessor(this.WrappedOperation)); + public static explicit operator ILocalFunctionOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ILocalFunctionOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ILocalFunctionOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILocalReferenceOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILocalReferenceOperationWrapper.g.cs index 3143945b7..27568607b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILocalReferenceOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILocalReferenceOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ILocalReferenceOperationWrapper : IOperationWrapper + internal readonly struct ILocalReferenceOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ILocalReferenceOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private ILocalReferenceOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public ILocalSymbol Local => LocalAccessor(this.WrappedOperation); public bool IsDeclaration => IsDeclarationAccessor(this.WrappedOperation); + public static explicit operator ILocalReferenceOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ILocalReferenceOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ILocalReferenceOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILockOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILockOperationWrapper.g.cs index 40528704a..bedd9005a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILockOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILockOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ILockOperationWrapper : IOperationWrapper + internal readonly struct ILockOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ILockOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private ILockOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation LockedValue => LockedValueAccessor(this.WrappedOperation); public IOperation Body => BodyAccessor(this.WrappedOperation); + public static explicit operator ILockOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ILockOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ILockOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILoopOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILoopOperationWrapper.g.cs index 719fc4026..4cd599c4a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILoopOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ILoopOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ILoopOperationWrapper : IOperationWrapper + internal readonly struct ILoopOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ILoopOperation"; private static readonly Type WrappedType; @@ -37,6 +37,8 @@ private ILoopOperationWrapper(IOperation operation) public ImmutableArray Locals => LocalsAccessor(this.WrappedOperation); public ILabelSymbol ContinueLabel => ContinueLabelAccessor(this.WrappedOperation); public ILabelSymbol ExitLabel => ExitLabelAccessor(this.WrappedOperation); + public static explicit operator ILoopOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ILoopOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ILoopOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IMemberInitializerOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IMemberInitializerOperationWrapper.g.cs index 42eb6e180..f3e1a795b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IMemberInitializerOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IMemberInitializerOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IMemberInitializerOperationWrapper : IOperationWrapper + internal readonly struct IMemberInitializerOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IMemberInitializerOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IMemberInitializerOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation InitializedMember => InitializedMemberAccessor(this.WrappedOperation); public IObjectOrCollectionInitializerOperationWrapper Initializer => IObjectOrCollectionInitializerOperationWrapper.FromOperation(InitializerAccessor(this.WrappedOperation)); + public static explicit operator IMemberInitializerOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IMemberInitializerOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IMemberInitializerOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IMemberReferenceOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IMemberReferenceOperationWrapper.g.cs index 4d1c87c5b..3cab32b77 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IMemberReferenceOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IMemberReferenceOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IMemberReferenceOperationWrapper : IOperationWrapper + internal readonly struct IMemberReferenceOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IMemberReferenceOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IMemberReferenceOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Instance => InstanceAccessor(this.WrappedOperation); public ISymbol Member => MemberAccessor(this.WrappedOperation); + public static explicit operator IMemberReferenceOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IMemberReferenceOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IMemberReferenceOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IMethodBodyBaseOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IMethodBodyBaseOperationWrapper.g.cs index 3a8b5d665..279d8edeb 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IMethodBodyBaseOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IMethodBodyBaseOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IMethodBodyBaseOperationWrapper : IOperationWrapper + internal readonly struct IMethodBodyBaseOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IMethodBodyBaseOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IMethodBodyBaseOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public IBlockOperationWrapper BlockBody => IBlockOperationWrapper.FromOperation(BlockBodyAccessor(this.WrappedOperation)); public IBlockOperationWrapper ExpressionBody => IBlockOperationWrapper.FromOperation(ExpressionBodyAccessor(this.WrappedOperation)); + public static explicit operator IMethodBodyBaseOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IMethodBodyBaseOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IMethodBodyBaseOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IMethodBodyOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IMethodBodyOperationWrapper.g.cs index f20870e74..05cf1ccc7 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IMethodBodyOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IMethodBodyOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IMethodBodyOperationWrapper : IOperationWrapper + internal readonly struct IMethodBodyOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IMethodBodyOperation"; private static readonly Type WrappedType; @@ -24,6 +24,8 @@ private IMethodBodyOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; + public static explicit operator IMethodBodyOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IMethodBodyOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public IBlockOperationWrapper BlockBody => ((IMethodBodyBaseOperationWrapper)this).BlockBody; public IBlockOperationWrapper ExpressionBody => ((IMethodBodyBaseOperationWrapper)this).ExpressionBody; public static explicit operator IMethodBodyOperationWrapper(IMethodBodyBaseOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IMethodReferenceOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IMethodReferenceOperationWrapper.g.cs index 5d87c95b5..743b0faef 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IMethodReferenceOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IMethodReferenceOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IMethodReferenceOperationWrapper : IOperationWrapper + internal readonly struct IMethodReferenceOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IMethodReferenceOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IMethodReferenceOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public IMethodSymbol Method => MethodAccessor(this.WrappedOperation); public bool IsVirtual => IsVirtualAccessor(this.WrappedOperation); + public static explicit operator IMethodReferenceOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IMethodReferenceOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public IOperation Instance => ((IMemberReferenceOperationWrapper)this).Instance; public ISymbol Member => ((IMemberReferenceOperationWrapper)this).Member; public static explicit operator IMethodReferenceOperationWrapper(IMemberReferenceOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/INameOfOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/INameOfOperationWrapper.g.cs index 03a8196bf..1fab5f4d7 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/INameOfOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/INameOfOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct INameOfOperationWrapper : IOperationWrapper + internal readonly struct INameOfOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.INameOfOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private INameOfOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Argument => ArgumentAccessor(this.WrappedOperation); + public static explicit operator INameOfOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(INameOfOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static INameOfOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/INegatedPatternOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/INegatedPatternOperationWrapper.g.cs index 6a6c2c8ec..ab8639f69 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/INegatedPatternOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/INegatedPatternOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct INegatedPatternOperationWrapper : IOperationWrapper + internal readonly struct INegatedPatternOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.INegatedPatternOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private INegatedPatternOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public IPatternOperationWrapper Pattern => IPatternOperationWrapper.FromOperation(PatternAccessor(this.WrappedOperation)); + public static explicit operator INegatedPatternOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(INegatedPatternOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public ITypeSymbol InputType => ((IPatternOperationWrapper)this).InputType; public ITypeSymbol NarrowedType => ((IPatternOperationWrapper)this).NarrowedType; public static explicit operator INegatedPatternOperationWrapper(IPatternOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IObjectCreationOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IObjectCreationOperationWrapper.g.cs index eeb5c6c5a..2715fd04e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IObjectCreationOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IObjectCreationOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IObjectCreationOperationWrapper : IOperationWrapper + internal readonly struct IObjectCreationOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IObjectCreationOperation"; private static readonly Type WrappedType; @@ -33,6 +33,8 @@ private IObjectCreationOperationWrapper(IOperation operation) public IMethodSymbol Constructor => ConstructorAccessor(this.WrappedOperation); public IObjectOrCollectionInitializerOperationWrapper Initializer => IObjectOrCollectionInitializerOperationWrapper.FromOperation(InitializerAccessor(this.WrappedOperation)); public ImmutableArray Arguments => ArgumentsAccessor(this.WrappedOperation); + public static explicit operator IObjectCreationOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IObjectCreationOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IObjectCreationOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IObjectOrCollectionInitializerOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IObjectOrCollectionInitializerOperationWrapper.g.cs index 0ed280fd9..2fa9e8867 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IObjectOrCollectionInitializerOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IObjectOrCollectionInitializerOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IObjectOrCollectionInitializerOperationWrapper : IOperationWrapper + internal readonly struct IObjectOrCollectionInitializerOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IObjectOrCollectionInitializerOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IObjectOrCollectionInitializerOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public ImmutableArray Initializers => InitializersAccessor(this.WrappedOperation); + public static explicit operator IObjectOrCollectionInitializerOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IObjectOrCollectionInitializerOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IObjectOrCollectionInitializerOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IOmittedArgumentOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IOmittedArgumentOperationWrapper.g.cs index ac3d49071..1c41fa9c5 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IOmittedArgumentOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IOmittedArgumentOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IOmittedArgumentOperationWrapper : IOperationWrapper + internal readonly struct IOmittedArgumentOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IOmittedArgumentOperation"; private static readonly Type WrappedType; @@ -24,6 +24,8 @@ private IOmittedArgumentOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; + public static explicit operator IOmittedArgumentOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IOmittedArgumentOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IOmittedArgumentOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IParameterInitializerOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IParameterInitializerOperationWrapper.g.cs index 36ad403b4..c1bcc07eb 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IParameterInitializerOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IParameterInitializerOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IParameterInitializerOperationWrapper : IOperationWrapper + internal readonly struct IParameterInitializerOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IParameterInitializerOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IParameterInitializerOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public IParameterSymbol Parameter => ParameterAccessor(this.WrappedOperation); + public static explicit operator IParameterInitializerOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IParameterInitializerOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public ImmutableArray Locals => ((ISymbolInitializerOperationWrapper)this).Locals; public IOperation Value => ((ISymbolInitializerOperationWrapper)this).Value; public static explicit operator IParameterInitializerOperationWrapper(ISymbolInitializerOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IParameterReferenceOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IParameterReferenceOperationWrapper.g.cs index c0796124c..fa4d5e437 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IParameterReferenceOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IParameterReferenceOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IParameterReferenceOperationWrapper : IOperationWrapper + internal readonly struct IParameterReferenceOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IParameterReferenceOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IParameterReferenceOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public IParameterSymbol Parameter => ParameterAccessor(this.WrappedOperation); + public static explicit operator IParameterReferenceOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IParameterReferenceOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IParameterReferenceOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IParenthesizedOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IParenthesizedOperationWrapper.g.cs index 60745c327..3d69102b6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IParenthesizedOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IParenthesizedOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IParenthesizedOperationWrapper : IOperationWrapper + internal readonly struct IParenthesizedOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IParenthesizedOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IParenthesizedOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Operand => OperandAccessor(this.WrappedOperation); + public static explicit operator IParenthesizedOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IParenthesizedOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IParenthesizedOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IPatternCaseClauseOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IPatternCaseClauseOperationWrapper.g.cs index 1d2dc9f6a..8725fe4b9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IPatternCaseClauseOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IPatternCaseClauseOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IPatternCaseClauseOperationWrapper : IOperationWrapper + internal readonly struct IPatternCaseClauseOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IPatternCaseClauseOperation"; private static readonly Type WrappedType; @@ -33,6 +33,8 @@ private IPatternCaseClauseOperationWrapper(IOperation operation) public ILabelSymbol Label => LabelAccessor(this.WrappedOperation); public IPatternOperationWrapper Pattern => IPatternOperationWrapper.FromOperation(PatternAccessor(this.WrappedOperation)); public IOperation Guard => GuardAccessor(this.WrappedOperation); + public static explicit operator IPatternCaseClauseOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IPatternCaseClauseOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public object CaseKind => ((ICaseClauseOperationWrapper)this).CaseKind; public static explicit operator IPatternCaseClauseOperationWrapper(ICaseClauseOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); public static implicit operator ICaseClauseOperationWrapper(IPatternCaseClauseOperationWrapper wrapper) => ICaseClauseOperationWrapper.FromUpcast(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IPatternOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IPatternOperationWrapper.g.cs index 30409f345..ec2136da2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IPatternOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IPatternOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IPatternOperationWrapper : IOperationWrapper + internal readonly struct IPatternOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IPatternOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IPatternOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public ITypeSymbol InputType => InputTypeAccessor(this.WrappedOperation); public ITypeSymbol NarrowedType => NarrowedTypeAccessor(this.WrappedOperation); + public static explicit operator IPatternOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IPatternOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IPatternOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IPropertyInitializerOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IPropertyInitializerOperationWrapper.g.cs index 50e961680..9220f3697 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IPropertyInitializerOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IPropertyInitializerOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IPropertyInitializerOperationWrapper : IOperationWrapper + internal readonly struct IPropertyInitializerOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IPropertyInitializerOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IPropertyInitializerOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public ImmutableArray InitializedProperties => InitializedPropertiesAccessor(this.WrappedOperation); + public static explicit operator IPropertyInitializerOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IPropertyInitializerOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public ImmutableArray Locals => ((ISymbolInitializerOperationWrapper)this).Locals; public IOperation Value => ((ISymbolInitializerOperationWrapper)this).Value; public static explicit operator IPropertyInitializerOperationWrapper(ISymbolInitializerOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IPropertyReferenceOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IPropertyReferenceOperationWrapper.g.cs index 360f674e7..5c28964b4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IPropertyReferenceOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IPropertyReferenceOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IPropertyReferenceOperationWrapper : IOperationWrapper + internal readonly struct IPropertyReferenceOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IPropertyReferenceOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IPropertyReferenceOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public IPropertySymbol Property => PropertyAccessor(this.WrappedOperation); public ImmutableArray Arguments => ArgumentsAccessor(this.WrappedOperation); + public static explicit operator IPropertyReferenceOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IPropertyReferenceOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public IOperation Instance => ((IMemberReferenceOperationWrapper)this).Instance; public ISymbol Member => ((IMemberReferenceOperationWrapper)this).Member; public static explicit operator IPropertyReferenceOperationWrapper(IMemberReferenceOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IPropertySubpatternOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IPropertySubpatternOperationWrapper.g.cs index f04575fb1..fb6b7131b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IPropertySubpatternOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IPropertySubpatternOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IPropertySubpatternOperationWrapper : IOperationWrapper + internal readonly struct IPropertySubpatternOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IPropertySubpatternOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IPropertySubpatternOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Member => MemberAccessor(this.WrappedOperation); public IPatternOperationWrapper Pattern => IPatternOperationWrapper.FromOperation(PatternAccessor(this.WrappedOperation)); + public static explicit operator IPropertySubpatternOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IPropertySubpatternOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IPropertySubpatternOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRaiseEventOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRaiseEventOperationWrapper.g.cs index 153480dfd..290e5fbeb 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRaiseEventOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRaiseEventOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IRaiseEventOperationWrapper : IOperationWrapper + internal readonly struct IRaiseEventOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IRaiseEventOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IRaiseEventOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public IEventReferenceOperationWrapper EventReference => IEventReferenceOperationWrapper.FromOperation(EventReferenceAccessor(this.WrappedOperation)); public ImmutableArray Arguments => ArgumentsAccessor(this.WrappedOperation); + public static explicit operator IRaiseEventOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IRaiseEventOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IRaiseEventOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRangeCaseClauseOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRangeCaseClauseOperationWrapper.g.cs index 099e507c9..cdccda8a3 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRangeCaseClauseOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRangeCaseClauseOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IRangeCaseClauseOperationWrapper : IOperationWrapper + internal readonly struct IRangeCaseClauseOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IRangeCaseClauseOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IRangeCaseClauseOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation MinimumValue => MinimumValueAccessor(this.WrappedOperation); public IOperation MaximumValue => MaximumValueAccessor(this.WrappedOperation); + public static explicit operator IRangeCaseClauseOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IRangeCaseClauseOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public object CaseKind => ((ICaseClauseOperationWrapper)this).CaseKind; public ILabelSymbol Label => ((ICaseClauseOperationWrapper)this).Label; public static explicit operator IRangeCaseClauseOperationWrapper(ICaseClauseOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRangeOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRangeOperationWrapper.g.cs index 2ed9e3e9a..813897004 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRangeOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRangeOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IRangeOperationWrapper : IOperationWrapper + internal readonly struct IRangeOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IRangeOperation"; private static readonly Type WrappedType; @@ -36,6 +36,8 @@ private IRangeOperationWrapper(IOperation operation) public IOperation RightOperand => RightOperandAccessor(this.WrappedOperation); public bool IsLifted => IsLiftedAccessor(this.WrappedOperation); public IMethodSymbol Method => MethodAccessor(this.WrappedOperation); + public static explicit operator IRangeOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IRangeOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IRangeOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IReDimClauseOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IReDimClauseOperationWrapper.g.cs index 394334819..dd2b33c2d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IReDimClauseOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IReDimClauseOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IReDimClauseOperationWrapper : IOperationWrapper + internal readonly struct IReDimClauseOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IReDimClauseOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IReDimClauseOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Operand => OperandAccessor(this.WrappedOperation); public ImmutableArray DimensionSizes => DimensionSizesAccessor(this.WrappedOperation); + public static explicit operator IReDimClauseOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IReDimClauseOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IReDimClauseOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IReDimOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IReDimOperationWrapper.g.cs index e45b4589c..dfcc5f121 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IReDimOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IReDimOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IReDimOperationWrapper : IOperationWrapper + internal readonly struct IReDimOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IReDimOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IReDimOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public ImmutableArray Clauses => ClausesAccessor(this.WrappedOperation); public bool Preserve => PreserveAccessor(this.WrappedOperation); + public static explicit operator IReDimOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IReDimOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IReDimOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRecursivePatternOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRecursivePatternOperationWrapper.g.cs index ab90fa247..96c5f8509 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRecursivePatternOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRecursivePatternOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IRecursivePatternOperationWrapper : IOperationWrapper + internal readonly struct IRecursivePatternOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IRecursivePatternOperation"; private static readonly Type WrappedType; @@ -39,6 +39,8 @@ private IRecursivePatternOperationWrapper(IOperation operation) public ImmutableArray DeconstructionSubpatterns => DeconstructionSubpatternsAccessor(this.WrappedOperation); public ImmutableArray PropertySubpatterns => PropertySubpatternsAccessor(this.WrappedOperation); public ISymbol DeclaredSymbol => DeclaredSymbolAccessor(this.WrappedOperation); + public static explicit operator IRecursivePatternOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IRecursivePatternOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public ITypeSymbol InputType => ((IPatternOperationWrapper)this).InputType; public ITypeSymbol NarrowedType => ((IPatternOperationWrapper)this).NarrowedType; public static explicit operator IRecursivePatternOperationWrapper(IPatternOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRelationalCaseClauseOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRelationalCaseClauseOperationWrapper.g.cs index 26911eccc..d8b032455 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRelationalCaseClauseOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRelationalCaseClauseOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IRelationalCaseClauseOperationWrapper : IOperationWrapper + internal readonly struct IRelationalCaseClauseOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IRelationalCaseClauseOperation"; private static readonly Type WrappedType; @@ -28,6 +28,8 @@ private IRelationalCaseClauseOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Value => ValueAccessor(this.WrappedOperation); public object Relation => throw new NotImplementedException("Property 'IRelationalCaseClauseOperation.Relation' has unsupported type 'BinaryOperatorKind'"); + public static explicit operator IRelationalCaseClauseOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IRelationalCaseClauseOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public object CaseKind => ((ICaseClauseOperationWrapper)this).CaseKind; public ILabelSymbol Label => ((ICaseClauseOperationWrapper)this).Label; public static explicit operator IRelationalCaseClauseOperationWrapper(ICaseClauseOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRelationalPatternOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRelationalPatternOperationWrapper.g.cs index cbb4fdf7b..002fb5a01 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRelationalPatternOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IRelationalPatternOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IRelationalPatternOperationWrapper : IOperationWrapper + internal readonly struct IRelationalPatternOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IRelationalPatternOperation"; private static readonly Type WrappedType; @@ -28,6 +28,8 @@ private IRelationalPatternOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public object OperatorKind => throw new NotImplementedException("Property 'IRelationalPatternOperation.OperatorKind' has unsupported type 'BinaryOperatorKind'"); public IOperation Value => ValueAccessor(this.WrappedOperation); + public static explicit operator IRelationalPatternOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IRelationalPatternOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public ITypeSymbol InputType => ((IPatternOperationWrapper)this).InputType; public ITypeSymbol NarrowedType => ((IPatternOperationWrapper)this).NarrowedType; public static explicit operator IRelationalPatternOperationWrapper(IPatternOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IReturnOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IReturnOperationWrapper.g.cs index a8fed3e6b..6659d8729 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IReturnOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IReturnOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IReturnOperationWrapper : IOperationWrapper + internal readonly struct IReturnOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IReturnOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IReturnOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation ReturnedValue => ReturnedValueAccessor(this.WrappedOperation); + public static explicit operator IReturnOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IReturnOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IReturnOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISimpleAssignmentOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISimpleAssignmentOperationWrapper.g.cs index e52f072b4..353642091 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISimpleAssignmentOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISimpleAssignmentOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ISimpleAssignmentOperationWrapper : IOperationWrapper + internal readonly struct ISimpleAssignmentOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ISimpleAssignmentOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private ISimpleAssignmentOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public bool IsRef => IsRefAccessor(this.WrappedOperation); + public static explicit operator ISimpleAssignmentOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ISimpleAssignmentOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public IOperation Target => ((IAssignmentOperationWrapper)this).Target; public IOperation Value => ((IAssignmentOperationWrapper)this).Value; public static explicit operator ISimpleAssignmentOperationWrapper(IAssignmentOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISingleValueCaseClauseOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISingleValueCaseClauseOperationWrapper.g.cs index 7e4414922..81d950372 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISingleValueCaseClauseOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISingleValueCaseClauseOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ISingleValueCaseClauseOperationWrapper : IOperationWrapper + internal readonly struct ISingleValueCaseClauseOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ISingleValueCaseClauseOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private ISingleValueCaseClauseOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Value => ValueAccessor(this.WrappedOperation); + public static explicit operator ISingleValueCaseClauseOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ISingleValueCaseClauseOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public object CaseKind => ((ICaseClauseOperationWrapper)this).CaseKind; public ILabelSymbol Label => ((ICaseClauseOperationWrapper)this).Label; public static explicit operator ISingleValueCaseClauseOperationWrapper(ICaseClauseOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISizeOfOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISizeOfOperationWrapper.g.cs index ecc610ea9..df18e5d2d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISizeOfOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISizeOfOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ISizeOfOperationWrapper : IOperationWrapper + internal readonly struct ISizeOfOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ISizeOfOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private ISizeOfOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public ITypeSymbol TypeOperand => TypeOperandAccessor(this.WrappedOperation); + public static explicit operator ISizeOfOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ISizeOfOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ISizeOfOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IStaticLocalInitializationSemaphoreOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IStaticLocalInitializationSemaphoreOperationWrapper.g.cs index 72567dfd3..d1353805c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IStaticLocalInitializationSemaphoreOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IStaticLocalInitializationSemaphoreOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IStaticLocalInitializationSemaphoreOperationWrapper : IOperationWrapper + internal readonly struct IStaticLocalInitializationSemaphoreOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.FlowAnalysis.IStaticLocalInitializationSemaphoreOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IStaticLocalInitializationSemaphoreOperationWrapper(IOperation operation public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public ILocalSymbol Local => LocalAccessor(this.WrappedOperation); + public static explicit operator IStaticLocalInitializationSemaphoreOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IStaticLocalInitializationSemaphoreOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IStaticLocalInitializationSemaphoreOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IStopOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IStopOperationWrapper.g.cs index a83a22e28..54816076a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IStopOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IStopOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IStopOperationWrapper : IOperationWrapper + internal readonly struct IStopOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IStopOperation"; private static readonly Type WrappedType; @@ -24,6 +24,8 @@ private IStopOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; + public static explicit operator IStopOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IStopOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IStopOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISwitchCaseOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISwitchCaseOperationWrapper.g.cs index 5ad0903f0..f223babfc 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISwitchCaseOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISwitchCaseOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ISwitchCaseOperationWrapper : IOperationWrapper + internal readonly struct ISwitchCaseOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ISwitchCaseOperation"; private static readonly Type WrappedType; @@ -33,6 +33,8 @@ private ISwitchCaseOperationWrapper(IOperation operation) public ImmutableArray Clauses => ClausesAccessor(this.WrappedOperation); public ImmutableArray Body => BodyAccessor(this.WrappedOperation); public ImmutableArray Locals => LocalsAccessor(this.WrappedOperation); + public static explicit operator ISwitchCaseOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ISwitchCaseOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ISwitchCaseOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISwitchExpressionArmOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISwitchExpressionArmOperationWrapper.g.cs index 08b0988d1..ebff3fd46 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISwitchExpressionArmOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISwitchExpressionArmOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ISwitchExpressionArmOperationWrapper : IOperationWrapper + internal readonly struct ISwitchExpressionArmOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ISwitchExpressionArmOperation"; private static readonly Type WrappedType; @@ -36,6 +36,8 @@ private ISwitchExpressionArmOperationWrapper(IOperation operation) public IOperation Guard => GuardAccessor(this.WrappedOperation); public IOperation Value => ValueAccessor(this.WrappedOperation); public ImmutableArray Locals => LocalsAccessor(this.WrappedOperation); + public static explicit operator ISwitchExpressionArmOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ISwitchExpressionArmOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ISwitchExpressionArmOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISwitchExpressionOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISwitchExpressionOperationWrapper.g.cs index 7a1fda066..19a85d1cb 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISwitchExpressionOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISwitchExpressionOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ISwitchExpressionOperationWrapper : IOperationWrapper + internal readonly struct ISwitchExpressionOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ISwitchExpressionOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private ISwitchExpressionOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Value => ValueAccessor(this.WrappedOperation); public ImmutableArray Arms => ArmsAccessor(this.WrappedOperation); + public static explicit operator ISwitchExpressionOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ISwitchExpressionOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ISwitchExpressionOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISwitchOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISwitchOperationWrapper.g.cs index 98f507282..51413969d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISwitchOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISwitchOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ISwitchOperationWrapper : IOperationWrapper + internal readonly struct ISwitchOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ISwitchOperation"; private static readonly Type WrappedType; @@ -36,6 +36,8 @@ private ISwitchOperationWrapper(IOperation operation) public IOperation Value => ValueAccessor(this.WrappedOperation); public ImmutableArray Cases => CasesAccessor(this.WrappedOperation); public ILabelSymbol ExitLabel => ExitLabelAccessor(this.WrappedOperation); + public static explicit operator ISwitchOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ISwitchOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ISwitchOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISymbolInitializerOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISymbolInitializerOperationWrapper.g.cs index 1713aa112..ace41ae4e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISymbolInitializerOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ISymbolInitializerOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ISymbolInitializerOperationWrapper : IOperationWrapper + internal readonly struct ISymbolInitializerOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ISymbolInitializerOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private ISymbolInitializerOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public ImmutableArray Locals => LocalsAccessor(this.WrappedOperation); public IOperation Value => ValueAccessor(this.WrappedOperation); + public static explicit operator ISymbolInitializerOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ISymbolInitializerOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ISymbolInitializerOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IThrowOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IThrowOperationWrapper.g.cs index b6fe5dfd2..6bde3ae49 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IThrowOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IThrowOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IThrowOperationWrapper : IOperationWrapper + internal readonly struct IThrowOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IThrowOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IThrowOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Exception => ExceptionAccessor(this.WrappedOperation); + public static explicit operator IThrowOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IThrowOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IThrowOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITranslatedQueryOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITranslatedQueryOperationWrapper.g.cs index 779276924..67e544376 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITranslatedQueryOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITranslatedQueryOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ITranslatedQueryOperationWrapper : IOperationWrapper + internal readonly struct ITranslatedQueryOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ITranslatedQueryOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private ITranslatedQueryOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public IOperation Operation => OperationAccessor(this.WrappedOperation); + public static explicit operator ITranslatedQueryOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ITranslatedQueryOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ITranslatedQueryOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITryOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITryOperationWrapper.g.cs index 801d8496f..3f9a30eab 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITryOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITryOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ITryOperationWrapper : IOperationWrapper + internal readonly struct ITryOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ITryOperation"; private static readonly Type WrappedType; @@ -36,6 +36,8 @@ private ITryOperationWrapper(IOperation operation) public ImmutableArray Catches => CatchesAccessor(this.WrappedOperation); public IBlockOperationWrapper Finally => IBlockOperationWrapper.FromOperation(FinallyAccessor(this.WrappedOperation)); public ILabelSymbol ExitLabel => ExitLabelAccessor(this.WrappedOperation); + public static explicit operator ITryOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ITryOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ITryOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITupleBinaryOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITupleBinaryOperationWrapper.g.cs index ef14604f8..ff7d19065 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITupleBinaryOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITupleBinaryOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ITupleBinaryOperationWrapper : IOperationWrapper + internal readonly struct ITupleBinaryOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ITupleBinaryOperation"; private static readonly Type WrappedType; @@ -31,6 +31,8 @@ private ITupleBinaryOperationWrapper(IOperation operation) public object OperatorKind => throw new NotImplementedException("Property 'ITupleBinaryOperation.OperatorKind' has unsupported type 'BinaryOperatorKind'"); public IOperation LeftOperand => LeftOperandAccessor(this.WrappedOperation); public IOperation RightOperand => RightOperandAccessor(this.WrappedOperation); + public static explicit operator ITupleBinaryOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ITupleBinaryOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ITupleBinaryOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITupleOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITupleOperationWrapper.g.cs index 4fbc52598..2a0983508 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITupleOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITupleOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ITupleOperationWrapper : IOperationWrapper + internal readonly struct ITupleOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ITupleOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private ITupleOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public ImmutableArray Elements => ElementsAccessor(this.WrappedOperation); public ITypeSymbol NaturalType => NaturalTypeAccessor(this.WrappedOperation); + public static explicit operator ITupleOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ITupleOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ITupleOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITypeOfOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITypeOfOperationWrapper.g.cs index 416236aa3..00c4ada44 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITypeOfOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITypeOfOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ITypeOfOperationWrapper : IOperationWrapper + internal readonly struct ITypeOfOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ITypeOfOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private ITypeOfOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public ITypeSymbol TypeOperand => TypeOperandAccessor(this.WrappedOperation); + public static explicit operator ITypeOfOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ITypeOfOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ITypeOfOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITypeParameterObjectCreationOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITypeParameterObjectCreationOperationWrapper.g.cs index 975e79ff8..7423a8935 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITypeParameterObjectCreationOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITypeParameterObjectCreationOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ITypeParameterObjectCreationOperationWrapper : IOperationWrapper + internal readonly struct ITypeParameterObjectCreationOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ITypeParameterObjectCreationOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private ITypeParameterObjectCreationOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public IObjectOrCollectionInitializerOperationWrapper Initializer => IObjectOrCollectionInitializerOperationWrapper.FromOperation(InitializerAccessor(this.WrappedOperation)); + public static explicit operator ITypeParameterObjectCreationOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ITypeParameterObjectCreationOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static ITypeParameterObjectCreationOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITypePatternOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITypePatternOperationWrapper.g.cs index 6b3fdeeab..46f15d8be 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITypePatternOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/ITypePatternOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct ITypePatternOperationWrapper : IOperationWrapper + internal readonly struct ITypePatternOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.ITypePatternOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private ITypePatternOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public ITypeSymbol MatchedType => MatchedTypeAccessor(this.WrappedOperation); + public static explicit operator ITypePatternOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(ITypePatternOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public ITypeSymbol InputType => ((IPatternOperationWrapper)this).InputType; public ITypeSymbol NarrowedType => ((IPatternOperationWrapper)this).NarrowedType; public static explicit operator ITypePatternOperationWrapper(IPatternOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IUnaryOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IUnaryOperationWrapper.g.cs index 0bc7bab92..93b6c6c48 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IUnaryOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IUnaryOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IUnaryOperationWrapper : IOperationWrapper + internal readonly struct IUnaryOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IUnaryOperation"; private static readonly Type WrappedType; @@ -37,6 +37,8 @@ private IUnaryOperationWrapper(IOperation operation) public bool IsLifted => IsLiftedAccessor(this.WrappedOperation); public bool IsChecked => IsCheckedAccessor(this.WrappedOperation); public IMethodSymbol OperatorMethod => OperatorMethodAccessor(this.WrappedOperation); + public static explicit operator IUnaryOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IUnaryOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IUnaryOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IUsingDeclarationOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IUsingDeclarationOperationWrapper.g.cs index 77074feb4..c2a15dc47 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IUsingDeclarationOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IUsingDeclarationOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IUsingDeclarationOperationWrapper : IOperationWrapper + internal readonly struct IUsingDeclarationOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IUsingDeclarationOperation"; private static readonly Type WrappedType; @@ -30,6 +30,8 @@ private IUsingDeclarationOperationWrapper(IOperation operation) public ITypeSymbol Type => this.WrappedOperation.Type; public IVariableDeclarationGroupOperationWrapper DeclarationGroup => IVariableDeclarationGroupOperationWrapper.FromOperation(DeclarationGroupAccessor(this.WrappedOperation)); public bool IsAsynchronous => IsAsynchronousAccessor(this.WrappedOperation); + public static explicit operator IUsingDeclarationOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IUsingDeclarationOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IUsingDeclarationOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IUsingOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IUsingOperationWrapper.g.cs index fa8588793..a4f4b0dd0 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IUsingOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IUsingOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IUsingOperationWrapper : IOperationWrapper + internal readonly struct IUsingOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IUsingOperation"; private static readonly Type WrappedType; @@ -36,6 +36,8 @@ private IUsingOperationWrapper(IOperation operation) public IOperation Body => BodyAccessor(this.WrappedOperation); public ImmutableArray Locals => LocalsAccessor(this.WrappedOperation); public bool IsAsynchronous => IsAsynchronousAccessor(this.WrappedOperation); + public static explicit operator IUsingOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IUsingOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IUsingOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IVariableDeclarationGroupOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IVariableDeclarationGroupOperationWrapper.g.cs index 67fb2644c..32e3c1365 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IVariableDeclarationGroupOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IVariableDeclarationGroupOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IVariableDeclarationGroupOperationWrapper : IOperationWrapper + internal readonly struct IVariableDeclarationGroupOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IVariableDeclarationGroupOperation"; private static readonly Type WrappedType; @@ -27,6 +27,8 @@ private IVariableDeclarationGroupOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; public ImmutableArray Declarations => DeclarationsAccessor(this.WrappedOperation); + public static explicit operator IVariableDeclarationGroupOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IVariableDeclarationGroupOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IVariableDeclarationGroupOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IVariableDeclarationOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IVariableDeclarationOperationWrapper.g.cs index d1e49b930..8c8b4948b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IVariableDeclarationOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IVariableDeclarationOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IVariableDeclarationOperationWrapper : IOperationWrapper + internal readonly struct IVariableDeclarationOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IVariableDeclarationOperation"; private static readonly Type WrappedType; @@ -33,6 +33,8 @@ private IVariableDeclarationOperationWrapper(IOperation operation) public ImmutableArray Declarators => DeclaratorsAccessor(this.WrappedOperation); public IVariableInitializerOperationWrapper Initializer => IVariableInitializerOperationWrapper.FromOperation(InitializerAccessor(this.WrappedOperation)); public ImmutableArray IgnoredDimensions => IgnoredDimensionsAccessor(this.WrappedOperation); + public static explicit operator IVariableDeclarationOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IVariableDeclarationOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IVariableDeclarationOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IVariableDeclaratorOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IVariableDeclaratorOperationWrapper.g.cs index 85211c15c..a5280d1a9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IVariableDeclaratorOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IVariableDeclaratorOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IVariableDeclaratorOperationWrapper : IOperationWrapper + internal readonly struct IVariableDeclaratorOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IVariableDeclaratorOperation"; private static readonly Type WrappedType; @@ -33,6 +33,8 @@ private IVariableDeclaratorOperationWrapper(IOperation operation) public ILocalSymbol Symbol => SymbolAccessor(this.WrappedOperation); public IVariableInitializerOperationWrapper Initializer => IVariableInitializerOperationWrapper.FromOperation(InitializerAccessor(this.WrappedOperation)); public ImmutableArray IgnoredArguments => IgnoredArgumentsAccessor(this.WrappedOperation); + public static explicit operator IVariableDeclaratorOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IVariableDeclaratorOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IVariableDeclaratorOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IVariableInitializerOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IVariableInitializerOperationWrapper.g.cs index 7b4ba4b1b..ef145325d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IVariableInitializerOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IVariableInitializerOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IVariableInitializerOperationWrapper : IOperationWrapper + internal readonly struct IVariableInitializerOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IVariableInitializerOperation"; private static readonly Type WrappedType; @@ -24,6 +24,8 @@ private IVariableInitializerOperationWrapper(IOperation operation) public IOperation WrappedOperation => this.operation; public ITypeSymbol Type => this.WrappedOperation.Type; + public static explicit operator IVariableInitializerOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IVariableInitializerOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public ImmutableArray Locals => ((ISymbolInitializerOperationWrapper)this).Locals; public IOperation Value => ((ISymbolInitializerOperationWrapper)this).Value; public static explicit operator IVariableInitializerOperationWrapper(ISymbolInitializerOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IWhileLoopOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IWhileLoopOperationWrapper.g.cs index 73ff74041..9f8af0f9b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IWhileLoopOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IWhileLoopOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IWhileLoopOperationWrapper : IOperationWrapper + internal readonly struct IWhileLoopOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IWhileLoopOperation"; private static readonly Type WrappedType; @@ -36,6 +36,8 @@ private IWhileLoopOperationWrapper(IOperation operation) public bool ConditionIsTop => ConditionIsTopAccessor(this.WrappedOperation); public bool ConditionIsUntil => ConditionIsUntilAccessor(this.WrappedOperation); public IOperation IgnoredCondition => IgnoredConditionAccessor(this.WrappedOperation); + public static explicit operator IWhileLoopOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IWhileLoopOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public object LoopKind => ((ILoopOperationWrapper)this).LoopKind; public IOperation Body => ((ILoopOperationWrapper)this).Body; public ImmutableArray Locals => ((ILoopOperationWrapper)this).Locals; diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IWithOperationWrapper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IWithOperationWrapper.g.cs index c0a21953e..4a1f607b9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IWithOperationWrapper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IWithOperationWrapper.g.cs @@ -7,7 +7,7 @@ namespace StyleCop.Analyzers.Lightup using System.Collections.Immutable; using Microsoft.CodeAnalysis; - internal readonly struct IWithOperationWrapper : IOperationWrapper + internal readonly struct IWithOperationWrapper { internal const string WrappedTypeName = "Microsoft.CodeAnalysis.Operations.IWithOperation"; private static readonly Type WrappedType; @@ -33,6 +33,8 @@ private IWithOperationWrapper(IOperation operation) public IOperation Operand => OperandAccessor(this.WrappedOperation); public IMethodSymbol CloneMethod => CloneMethodAccessor(this.WrappedOperation); public IObjectOrCollectionInitializerOperationWrapper Initializer => IObjectOrCollectionInitializerOperationWrapper.FromOperation(InitializerAccessor(this.WrappedOperation)); + public static explicit operator IWithOperationWrapper(IOperationWrapper wrapper) => FromOperation(wrapper.WrappedOperation); + public static implicit operator IOperationWrapper(IWithOperationWrapper wrapper) => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); public static IWithOperationWrapper FromOperation(IOperation operation) { if (operation == null) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/OperationWrapperHelper.g.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/OperationWrapperHelper.g.cs index 371e9bf6f..f1f2d212b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/OperationWrapperHelper.g.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/OperationWrapperHelper.g.cs @@ -15,6 +15,7 @@ static OperationWrapperHelper() { var codeAnalysisAssembly = typeof(SyntaxNode).GetTypeInfo().Assembly; var builder = ImmutableDictionary.CreateBuilder(); + builder.Add(typeof(IOperationWrapper), typeof(IOperation)); builder.Add(typeof(ILoopOperationWrapper), codeAnalysisAssembly.GetType(ILoopOperationWrapper.WrappedTypeName)); builder.Add(typeof(IMemberReferenceOperationWrapper), codeAnalysisAssembly.GetType(IMemberReferenceOperationWrapper.WrappedTypeName)); builder.Add(typeof(IAssignmentOperationWrapper), codeAnalysisAssembly.GetType(IAssignmentOperationWrapper.WrappedTypeName)); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/IOperationWrapper.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/IOperationWrapper.cs index cba3fe66a..3f270bd74 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/IOperationWrapper.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/IOperationWrapper.cs @@ -3,28 +3,75 @@ namespace StyleCop.Analyzers.Lightup { + using System; + using System.Collections.Generic; + using System.Diagnostics.CodeAnalysis; using Microsoft.CodeAnalysis; - internal interface IOperationWrapper + internal readonly struct IOperationWrapper { - IOperation? WrappedOperation { get; } + internal const string WrappedTypeName = "Microsoft.CodeAnalysis.IOperation"; + private static readonly Func ParentAccessor; + private static readonly Func> ChildrenAccessor; + private static readonly Func LanguageAccessor; + private static readonly Func IsImplicitAccessor; + private static readonly Func SemanticModelAccessor; + private readonly IOperation operation; - ////IOperationWrapper Parent { get; } + static IOperationWrapper() + { + ParentAccessor = LightupHelpers.CreateOperationPropertyAccessor(typeof(IOperation), nameof(Parent)); + ChildrenAccessor = LightupHelpers.CreateOperationPropertyAccessor>(typeof(IOperation), nameof(Children)); + LanguageAccessor = LightupHelpers.CreateOperationPropertyAccessor(typeof(IOperation), nameof(Language)); + IsImplicitAccessor = LightupHelpers.CreateOperationPropertyAccessor(typeof(IOperation), nameof(IsImplicit)); + SemanticModelAccessor = LightupHelpers.CreateOperationPropertyAccessor(typeof(IOperation), nameof(SemanticModel)); + } - ////OperationKind Kind { get; } + private IOperationWrapper(IOperation operation) + { + this.operation = operation; + } - ////SyntaxNode Syntax { get; } + public IOperation WrappedOperation => this.operation; - ITypeSymbol? Type { get; } + public IOperationWrapper Parent => FromOperation(ParentAccessor(this.WrappedOperation)); - ////Optional ConstantValue { get; } + public OperationKind Kind => this.WrappedOperation.Kind; - ////IEnumerable Children { get; } + public SyntaxNode Syntax => this.WrappedOperation.Syntax; - ////string Language { get; } + public ITypeSymbol? Type => this.WrappedOperation.Type; - ////bool IsImplicit { get; } + public Optional ConstantValue => this.WrappedOperation.ConstantValue; - ////SemanticModel SemanticModel { get; } + public IEnumerable Children => ChildrenAccessor(this.WrappedOperation); + + ////OperationList ChildOperations { get; } + + public string Language => LanguageAccessor(this.WrappedOperation); + + public bool IsImplicit => IsImplicitAccessor(this.WrappedOperation); + + public SemanticModel? SemanticModel => SemanticModelAccessor(this.WrappedOperation); + + public static IOperationWrapper FromOperation(IOperation? operation) + { + if (operation == null) + { + return default; + } + + return new IOperationWrapper(operation); + } + + public static bool IsInstance([NotNullWhen(true)] IOperation? operation) + { + return operation != null; + } + + internal static IOperationWrapper FromUpcast(IOperation operation) + { + return new IOperationWrapper(operation); + } } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/StyleCop.Analyzers.csproj b/StyleCop.Analyzers/StyleCop.Analyzers/StyleCop.Analyzers.csproj index bafb2794e..1b7e93789 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/StyleCop.Analyzers.csproj +++ b/StyleCop.Analyzers/StyleCop.Analyzers/StyleCop.Analyzers.csproj @@ -30,6 +30,7 @@ + From 9b5db190f53bc6e8689b4df433684d92868fb6b0 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Wed, 29 Mar 2023 10:21:17 -0500 Subject: [PATCH 02/36] Generate IOperationWrapper --- .../OperationLightupGenerator.cs | 452 ++++++++++-------- .../IOperationWrapper.g.cs} | 31 +- .../Lightup/OperationInterfaces.xml | 12 + 3 files changed, 267 insertions(+), 228 deletions(-) rename StyleCop.Analyzers/StyleCop.Analyzers/Lightup/{IOperationWrapper.cs => .generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IOperationWrapper.g.cs} (77%) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/OperationLightupGenerator.cs b/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/OperationLightupGenerator.cs index 401d28451..5f9d08074 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/OperationLightupGenerator.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/OperationLightupGenerator.cs @@ -16,7 +16,6 @@ namespace StyleCop.Analyzers.CodeGeneration using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; - using Microsoft.CodeAnalysis.Text; [Generator] internal sealed class OperationLightupGenerator : IIncrementalGenerator @@ -70,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; } @@ -111,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; } @@ -152,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), @@ -163,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)))))), @@ -223,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) { @@ -272,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) @@ -310,60 +339,10 @@ private void GenerateOperationInterface(in SourceProductionContext context, Inte semicolonToken: SyntaxFactory.Token(SyntaxKind.SemicolonToken))); } - // public static explicit operator IFieldReferenceOperationWrapper(IOperationWrapper wrapper) - // => FromOperation(wrapper.WrappedOperation); - members = members.Add(SyntaxFactory.ConversionOperatorDeclaration( - attributeLists: default, - modifiers: SyntaxFactory.TokenList(SyntaxFactory.Token(SyntaxKind.PublicKeyword), SyntaxFactory.Token(SyntaxKind.StaticKeyword)), - implicitOrExplicitKeyword: SyntaxFactory.Token(SyntaxKind.ExplicitKeyword), - operatorKeyword: SyntaxFactory.Token(SyntaxKind.OperatorKeyword), - type: SyntaxFactory.IdentifierName(node.WrapperName), - parameterList: SyntaxFactory.ParameterList(SyntaxFactory.SingletonSeparatedList(SyntaxFactory.Parameter( - attributeLists: default, - modifiers: default, - type: SyntaxFactory.IdentifierName("IOperationWrapper"), - identifier: SyntaxFactory.Identifier("wrapper"), - @default: null))), - body: null, - expressionBody: SyntaxFactory.ArrowExpressionClause(SyntaxFactory.InvocationExpression( - expression: SyntaxFactory.IdentifierName("FromOperation"), - argumentList: SyntaxFactory.ArgumentList(SyntaxFactory.SingletonSeparatedList(SyntaxFactory.Argument( - SyntaxFactory.MemberAccessExpression( - SyntaxKind.SimpleMemberAccessExpression, - expression: SyntaxFactory.IdentifierName("wrapper"), - name: SyntaxFactory.IdentifierName("WrappedOperation"))))))), - semicolonToken: SyntaxFactory.Token(SyntaxKind.SemicolonToken))); - - // public static implicit operator IOperationWrapper(IFieldReferenceOperationWrapper wrapper) - // => IOperationWrapper.FromUpcast(wrapper.WrappedOperation); - members = members.Add(SyntaxFactory.ConversionOperatorDeclaration( - attributeLists: default, - modifiers: SyntaxFactory.TokenList(SyntaxFactory.Token(SyntaxKind.PublicKeyword), SyntaxFactory.Token(SyntaxKind.StaticKeyword)), - implicitOrExplicitKeyword: SyntaxFactory.Token(SyntaxKind.ImplicitKeyword), - operatorKeyword: SyntaxFactory.Token(SyntaxKind.OperatorKeyword), - type: SyntaxFactory.IdentifierName("IOperationWrapper"), - parameterList: SyntaxFactory.ParameterList(SyntaxFactory.SingletonSeparatedList(SyntaxFactory.Parameter( - attributeLists: default, - modifiers: default, - type: SyntaxFactory.IdentifierName(node.WrapperName), - identifier: SyntaxFactory.Identifier("wrapper"), - @default: null))), - body: null, - expressionBody: SyntaxFactory.ArrowExpressionClause(SyntaxFactory.InvocationExpression( - expression: SyntaxFactory.MemberAccessExpression( - SyntaxKind.SimpleMemberAccessExpression, - expression: SyntaxFactory.IdentifierName("IOperationWrapper"), - name: SyntaxFactory.IdentifierName("FromUpcast")), - argumentList: SyntaxFactory.ArgumentList(SyntaxFactory.SingletonSeparatedList(SyntaxFactory.Argument( - SyntaxFactory.MemberAccessExpression( - SyntaxKind.SimpleMemberAccessExpression, - expression: SyntaxFactory.IdentifierName("wrapper"), - name: SyntaxFactory.IdentifierName("WrappedOperation"))))))), - 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)) @@ -464,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)), @@ -478,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)), @@ -554,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) @@ -610,13 +601,21 @@ private void GenerateOperationInterface(in SourceProductionContext context, Inte 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 @@ -688,24 +687,33 @@ private void GenerateOperationWrapperHelper(in SourceProductionContext context, SyntaxFactory.IdentifierName("Type"), }))))))))))); - // builder.Add(typeof(IOperationWrapper), typeof(IOperation)); - staticCtorStatements = staticCtorStatements.Add(SyntaxFactory.ExpressionStatement( - SyntaxFactory.InvocationExpression( - expression: SyntaxFactory.MemberAccessExpression( - SyntaxKind.SimpleMemberAccessExpression, - expression: SyntaxFactory.IdentifierName("builder"), - name: SyntaxFactory.IdentifierName("Add")), - argumentList: SyntaxFactory.ArgumentList( - SyntaxFactory.SeparatedList( - new[] - { - SyntaxFactory.Argument(SyntaxFactory.TypeOfExpression(SyntaxFactory.IdentifierName("IOperationWrapper"))), - SyntaxFactory.Argument(SyntaxFactory.TypeOfExpression(SyntaxFactory.IdentifierName("IOperation"))), - }))))); - 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( @@ -717,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, }))))); } @@ -1055,10 +1053,26 @@ public InterfaceData(DocumentData documentData, XElement node, ImmutableArray<(s this.OperationKinds = operationKinds; this.InterfaceName = node.Attribute("Name").Value; - this.Namespace = node.Attribute("Namespace")?.Value ?? "Operations"; + + 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(); } @@ -1073,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; } @@ -1083,7 +1097,8 @@ public InterfaceData(DocumentData documentData, XElement node, ImmutableArray<(s { 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; } @@ -1091,6 +1106,21 @@ public InterfaceData(DocumentData documentData, XElement node, ImmutableArray<(s 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 @@ -1121,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"; @@ -1152,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/Lightup/IOperationWrapper.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IOperationWrapper.g.cs similarity index 77% rename from StyleCop.Analyzers/StyleCop.Analyzers/Lightup/IOperationWrapper.cs rename to StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IOperationWrapper.g.cs index 3f270bd74..39dd87f56 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/IOperationWrapper.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.OperationLightupGenerator/IOperationWrapper.g.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Lightup { using System; using System.Collections.Generic; - using System.Diagnostics.CodeAnalysis; + using System.Collections.Immutable; using Microsoft.CodeAnalysis; internal readonly struct IOperationWrapper @@ -15,16 +15,15 @@ namespace StyleCop.Analyzers.Lightup private static readonly Func> ChildrenAccessor; private static readonly Func LanguageAccessor; private static readonly Func IsImplicitAccessor; - private static readonly Func SemanticModelAccessor; + private static readonly Func SemanticModelAccessor; private readonly IOperation operation; - static IOperationWrapper() { ParentAccessor = LightupHelpers.CreateOperationPropertyAccessor(typeof(IOperation), nameof(Parent)); ChildrenAccessor = LightupHelpers.CreateOperationPropertyAccessor>(typeof(IOperation), nameof(Children)); LanguageAccessor = LightupHelpers.CreateOperationPropertyAccessor(typeof(IOperation), nameof(Language)); IsImplicitAccessor = LightupHelpers.CreateOperationPropertyAccessor(typeof(IOperation), nameof(IsImplicit)); - SemanticModelAccessor = LightupHelpers.CreateOperationPropertyAccessor(typeof(IOperation), nameof(SemanticModel)); + SemanticModelAccessor = LightupHelpers.CreateOperationPropertyAccessor(typeof(IOperation), nameof(SemanticModel)); } private IOperationWrapper(IOperation operation) @@ -33,28 +32,16 @@ private IOperationWrapper(IOperation operation) } public IOperation WrappedOperation => this.operation; - - public IOperationWrapper Parent => FromOperation(ParentAccessor(this.WrappedOperation)); - + public IOperation Parent => ParentAccessor(this.WrappedOperation); public OperationKind Kind => this.WrappedOperation.Kind; - public SyntaxNode Syntax => this.WrappedOperation.Syntax; - - public ITypeSymbol? Type => this.WrappedOperation.Type; - - public Optional ConstantValue => this.WrappedOperation.ConstantValue; - + public ITypeSymbol Type => this.WrappedOperation.Type; + public Optional ConstantValue => this.WrappedOperation.ConstantValue; public IEnumerable Children => ChildrenAccessor(this.WrappedOperation); - - ////OperationList ChildOperations { get; } - public string Language => LanguageAccessor(this.WrappedOperation); - public bool IsImplicit => IsImplicitAccessor(this.WrappedOperation); - - public SemanticModel? SemanticModel => SemanticModelAccessor(this.WrappedOperation); - - public static IOperationWrapper FromOperation(IOperation? operation) + public SemanticModel SemanticModel => SemanticModelAccessor(this.WrappedOperation); + public static IOperationWrapper FromOperation(IOperation operation) { if (operation == null) { @@ -64,7 +51,7 @@ public static IOperationWrapper FromOperation(IOperation? operation) return new IOperationWrapper(operation); } - public static bool IsInstance([NotNullWhen(true)] IOperation? operation) + public static bool IsInstance(IOperation operation) { return operation != null; } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/OperationInterfaces.xml b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/OperationInterfaces.xml index d4768896f..146c9cf42 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/OperationInterfaces.xml +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/OperationInterfaces.xml @@ -25,6 +25,18 @@ + + + + + + + + + + + + From 8eb1db36b3c332ea9bb62af894f94a6901e96dde Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Thu, 31 Aug 2023 16:08:24 -0500 Subject: [PATCH 03/36] Match default reference assemblies to default language version --- .../NamingRules/SA1313CSharp10UnitTests.cs | 11 +---- .../SA1101CSharp10UnitTests.cs | 8 +--- .../SA1206CSharp11CodeFixProviderUnitTests.cs | 18 +++----- .../SpacingRules/SA1010CSharp11UnitTests.cs | 8 +--- .../SpacingRules/SA1012CSharp11UnitTests.cs | 22 ++++------ .../NamingRules/SA1300CSharp9UnitTests.cs | 20 +-------- .../NamingRules/SA1313CSharp9UnitTests.cs | 11 +---- .../SA1101CSharp9UnitTests.cs | 8 +--- .../SpacingRules/SA1023CSharp9UnitTests.cs | 28 +++++------- .../DebugMessagesUnitTestsBase.cs | 21 +++++++-- .../SpacingRules/SA1009UnitTests.cs | 26 +++-------- .../Verifiers/GenericAnalyzerTest.cs | 44 +++++++++++-------- 12 files changed, 88 insertions(+), 137 deletions(-) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1313CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1313CSharp10UnitTests.cs index d099245cb..9d2127a9a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1313CSharp10UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1313CSharp10UnitTests.cs @@ -1,14 +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. -#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, @@ -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/ReadabilityRules/SA1101CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1101CSharp10UnitTests.cs index 33b092d9e..cc17c7e56 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1101CSharp10UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1101CSharp10UnitTests.cs @@ -5,8 +5,8 @@ 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, @@ -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.CSharp11/OrderingRules/SA1206CSharp11CodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CSharp11CodeFixProviderUnitTests.cs index 53cefd548..4371e2887 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CSharp11CodeFixProviderUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CSharp11CodeFixProviderUnitTests.cs @@ -5,8 +5,8 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules { using System.Threading; using System.Threading.Tasks; + using Microsoft.CodeAnalysis.Testing; using StyleCop.Analyzers.Test.CSharp10.OrderingRules; - using StyleCop.Analyzers.Test.Verifiers; using Xunit; using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier< StyleCop.Analyzers.OrderingRules.SA1206DeclarationKeywordsMustFollowOrder, @@ -43,17 +43,13 @@ internal struct SomeStruct public required int Field; }"; - await new CSharpTest() + DiagnosticResult[] expected = { - 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); + 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/SpacingRules/SA1010CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1010CSharp11UnitTests.cs index 58fb98289..017d102dc 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1010CSharp11UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1010CSharp11UnitTests.cs @@ -5,8 +5,8 @@ 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< @@ -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/SA1012CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1012CSharp11UnitTests.cs index 7d9c7dd52..1c33a19f2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1012CSharp11UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1012CSharp11UnitTests.cs @@ -5,8 +5,8 @@ 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, @@ -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.CSharp9/NamingRules/SA1300CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1300CSharp9UnitTests.cs index be42e3823..c0af19fad 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1300CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1300CSharp9UnitTests.cs @@ -1,15 +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. -#nullable disable - namespace StyleCop.Analyzers.Test.CSharp9.NamingRules { using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Testing; using StyleCop.Analyzers.Test.CSharp8.NamingRules; - using StyleCop.Analyzers.Test.Verifiers; using Xunit; using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier< StyleCop.Analyzers.NamingRules.SA1300ElementMustBeginWithUpperCaseLetter, @@ -40,15 +37,7 @@ public R(int a, int b) } "; - var test = new CSharpTest() - { - ReferenceAssemblies = GenericAnalyzerTest.ReferenceAssembliesNet50, - TestCode = testCode, - FixedCode = fixedCode, - }; - var expectedDiagnostics = this.GetExpectedResultTestPositionalRecord1(); - test.TestState.ExpectedDiagnostics.AddRange(expectedDiagnostics); - await test.RunAsync(CancellationToken.None).ConfigureAwait(false); + await VerifyCSharpFixAsync(testCode, this.GetExpectedResultTestPositionalRecord1(), fixedCode, CancellationToken.None).ConfigureAwait(false); } [Fact] @@ -74,12 +63,7 @@ public R(int a, int b) } "; - await new CSharpTest() - { - ReferenceAssemblies = GenericAnalyzerTest.ReferenceAssembliesNet50, - TestCode = testCode, - FixedCode = fixedCode, - }.RunAsync(CancellationToken.None).ConfigureAwait(false); + await VerifyCSharpFixAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, fixedCode, CancellationToken.None).ConfigureAwait(false); } protected virtual DiagnosticResult[] GetExpectedResultTestPositionalRecord1() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1313CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1313CSharp9UnitTests.cs index 96a628d23..1ee1ef5ef 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1313CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1313CSharp9UnitTests.cs @@ -1,14 +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. -#nullable disable - namespace StyleCop.Analyzers.Test.CSharp9.NamingRules { using System.Threading; using System.Threading.Tasks; + using Microsoft.CodeAnalysis.Testing; using StyleCop.Analyzers.Test.CSharp8.NamingRules; - using StyleCop.Analyzers.Test.Verifiers; using Xunit; using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier< StyleCop.Analyzers.NamingRules.SA1313ParameterNamesMustBeginWithLowerCaseLetter, @@ -41,12 +39,7 @@ public R(int a, int b) } "; - await new CSharpTest() - { - ReferenceAssemblies = GenericAnalyzerTest.ReferenceAssembliesNet50, - 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.CSharp9/ReadabilityRules/SA1101CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1101CSharp9UnitTests.cs index 8e29d86dd..b9ac5d103 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1101CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1101CSharp9UnitTests.cs @@ -5,8 +5,8 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using System.Threading; using System.Threading.Tasks; + using Microsoft.CodeAnalysis.Testing; using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - using StyleCop.Analyzers.Test.Verifiers; using Xunit; using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier< StyleCop.Analyzers.ReadabilityRules.SA1101PrefixLocalCallsWithThis, @@ -31,11 +31,7 @@ public A UpdateA(A value) } }"; - 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.CSharp9/SpacingRules/SA1023CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1023CSharp9UnitTests.cs index 3acea4d49..2ca8514ae 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1023CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1023CSharp9UnitTests.cs @@ -1,14 +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. -#nullable disable - namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using System.Threading; using System.Threading.Tasks; + using Microsoft.CodeAnalysis.Testing; using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - using StyleCop.Analyzers.Test.Verifiers; using Xunit; using static StyleCop.Analyzers.SpacingRules.SA1023DereferenceAndAccessOfSymbolsMustBeSpacedCorrectly; using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier< @@ -68,21 +66,17 @@ public async Task TestFunctionPointerTypeInvalidSpacingAsync() } "; - await new CSharpTest() + DiagnosticResult[] expected = { - ReferenceAssemblies = GenericAnalyzerTest.ReferenceAssembliesNet50, - TestCode = testCode, - FixedCode = fixedCode, - ExpectedDiagnostics = - { - Diagnostic(DescriptorNotPreceded).WithLocation(0), - Diagnostic(DescriptorNotFollowed).WithLocation(1), - Diagnostic(DescriptorNotPreceded).WithLocation(2), - Diagnostic(DescriptorFollowed).WithLocation(3), - Diagnostic(DescriptorNotPreceded).WithLocation(4), - Diagnostic(DescriptorFollowed).WithLocation(5), - }, - }.RunAsync().ConfigureAwait(false); + Diagnostic(DescriptorNotPreceded).WithLocation(0), + Diagnostic(DescriptorNotFollowed).WithLocation(1), + Diagnostic(DescriptorNotPreceded).WithLocation(2), + Diagnostic(DescriptorFollowed).WithLocation(3), + Diagnostic(DescriptorNotPreceded).WithLocation(4), + Diagnostic(DescriptorFollowed).WithLocation(5), + }; + + await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false); } } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/MaintainabilityRules/DebugMessagesUnitTestsBase.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/MaintainabilityRules/DebugMessagesUnitTestsBase.cs index 0c96f5712..49e91a050 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/MaintainabilityRules/DebugMessagesUnitTestsBase.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/MaintainabilityRules/DebugMessagesUnitTestsBase.cs @@ -6,6 +6,7 @@ namespace StyleCop.Analyzers.Test.MaintainabilityRules { using System.Collections.Generic; + using System.Diagnostics; using System.Linq; using System.Text; using System.Threading; @@ -14,6 +15,7 @@ namespace StyleCop.Analyzers.Test.MaintainabilityRules using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.Testing; using Microsoft.CodeAnalysis.Text; + using StyleCop.Analyzers.Lightup; using StyleCop.Analyzers.Test.Verifiers; using Xunit; @@ -98,10 +100,23 @@ public async Task TestConstantMessage_Inline_PassWrongTypeAsync() { var startLinePosition = new LinePosition(5, 15 + this.MethodName.Length + this.InitialArguments.Sum(i => i.Length + ", ".Length)); var endLinePosition = new LinePosition(startLinePosition.Line, startLinePosition.Character + 1); - DiagnosticResult[] expected = + DiagnosticResult[] expected; + if (LightupHelpers.SupportsCSharp11 && this.MethodName == nameof(Debug.Assert)) { - DiagnosticResult.CompilerError("CS1503").WithSpan(new FileLinePositionSpan("/0/Test0.cs", startLinePosition, endLinePosition)).WithMessage($"Argument {1 + this.InitialArguments.Count()}: cannot convert from 'int' to 'string'"), - }; + // For some reason this case wants to bind to Debug.Assert(bool, ref Debug.AssertInterpolatedStringHandler) + expected = new[] + { + DiagnosticResult.CompilerError("CS1620").WithSpan(new FileLinePositionSpan("/0/Test0.cs", startLinePosition, endLinePosition)).WithMessage($"Argument {1 + this.InitialArguments.Count()} must be passed with the 'ref' keyword"), + }; + } + else + { + var expectedType = LightupHelpers.SupportsCSharp8 ? "string?" : "string"; + expected = new[] + { + DiagnosticResult.CompilerError("CS1503").WithSpan(new FileLinePositionSpan("/0/Test0.cs", startLinePosition, endLinePosition)).WithMessage($"Argument {1 + this.InitialArguments.Count()}: cannot convert from 'int' to '{expectedType}'"), + }; + } await this.TestConstantMessage_Inline_PassExecuterAsync("3", expected).ConfigureAwait(false); } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1009UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1009UnitTests.cs index 6331f77ed..52871b857 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1009UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1009UnitTests.cs @@ -153,29 +153,13 @@ public void Method(int param1, int param2) await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false); } - [Fact] - public async Task TestAttributeWithParametersAndNoSpaceAfterClosingParenthesisAsync() - { - const string testCode = @"using System; -using System.Security.Permissions; - -[PermissionSet(SecurityAction.LinkDemand, Name = ""FullTrust"")] -public class Foo -{ - public void Method(int param1, int param2) - { - } -}"; - await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false); - } - [Fact] public async Task TestAttributeWithParametersAndSpaceAfterClosingParenthesisAsync() { const string testCode = @"using System; -using System.Security.Permissions; +using System.Runtime.InteropServices; -[PermissionSet(SecurityAction.LinkDemand, Name = ""FullTrust"") ] +[StructLayout(LayoutKind.Auto, CharSet = CharSet.Auto{|#0:)|} ] public class Foo { public void Method(int param1, int param2) @@ -184,9 +168,9 @@ public void Method(int param1, int param2) }"; const string fixedCode = @"using System; -using System.Security.Permissions; +using System.Runtime.InteropServices; -[PermissionSet(SecurityAction.LinkDemand, Name = ""FullTrust"")] +[StructLayout(LayoutKind.Auto, CharSet = CharSet.Auto)] public class Foo { public void Method(int param1, int param2) @@ -194,7 +178,7 @@ public void Method(int param1, int param2) } }"; - DiagnosticResult expected = Diagnostic(DescriptorNotFollowed).WithLocation(4, 61); + DiagnosticResult expected = Diagnostic(DescriptorNotFollowed).WithLocation(0); await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false); } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Verifiers/GenericAnalyzerTest.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Verifiers/GenericAnalyzerTest.cs index d3cd7a567..dabf87fbc 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Verifiers/GenericAnalyzerTest.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Verifiers/GenericAnalyzerTest.cs @@ -1,8 +1,6 @@ // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. -#nullable disable - namespace StyleCop.Analyzers.Test.Verifiers { using System; @@ -13,17 +11,12 @@ namespace StyleCop.Analyzers.Test.Verifiers using Microsoft.CodeAnalysis.Host.Mef; using Microsoft.CodeAnalysis.Testing; using Microsoft.VisualStudio.Composition; + using StyleCop.Analyzers.Lightup; internal static class GenericAnalyzerTest { internal static readonly ReferenceAssemblies ReferenceAssemblies; - internal static readonly ReferenceAssemblies ReferenceAssembliesNet50; - - internal static readonly ReferenceAssemblies ReferenceAssembliesNet60; - - internal static readonly ReferenceAssemblies ReferenceAssembliesNet70; - private static readonly Lazy ExportProviderFactory; static GenericAnalyzerTest() @@ -38,19 +31,34 @@ static GenericAnalyzerTest() _ => throw new InvalidOperationException("Unknown version."), }; - ReferenceAssemblies = ReferenceAssemblies.Default.AddPackages(ImmutableArray.Create( + // Use appropriate default reference assemblies per the support matrix: + // https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/configure-language-version + ReferenceAssemblies defaultReferenceAssemblies; + if (LightupHelpers.SupportsCSharp11) + { + defaultReferenceAssemblies = ReferenceAssemblies.Net.Net70; + } + else if (LightupHelpers.SupportsCSharp10) + { + defaultReferenceAssemblies = ReferenceAssemblies.Net.Net60; + } + else if (LightupHelpers.SupportsCSharp9) + { + defaultReferenceAssemblies = ReferenceAssemblies.Net.Net50; + } + else if (LightupHelpers.SupportsCSharp8) + { + defaultReferenceAssemblies = ReferenceAssemblies.NetCore.NetCoreApp30; + } + else + { + defaultReferenceAssemblies = ReferenceAssemblies.Default; + } + + ReferenceAssemblies = defaultReferenceAssemblies.AddPackages(ImmutableArray.Create( new PackageIdentity("Microsoft.CodeAnalysis.CSharp", codeAnalysisTestVersion), new PackageIdentity("System.ValueTuple", "4.5.0"))); - ReferenceAssembliesNet50 = ReferenceAssemblies.Net.Net50.AddPackages(ImmutableArray.Create( - new PackageIdentity("Microsoft.CodeAnalysis.CSharp", codeAnalysisTestVersion))); - - ReferenceAssembliesNet60 = ReferenceAssemblies.Net.Net60.AddPackages(ImmutableArray.Create( - new PackageIdentity("Microsoft.CodeAnalysis.CSharp", codeAnalysisTestVersion))); - - ReferenceAssembliesNet70 = ReferenceAssemblies.Net.Net70.AddPackages(ImmutableArray.Create( - new PackageIdentity("Microsoft.CodeAnalysis.CSharp", codeAnalysisTestVersion))); - ExportProviderFactory = new Lazy( () => { From a6e044033e99881569c06aefac2f1ef10cc2a3e1 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Thu, 31 Aug 2023 16:19:37 -0500 Subject: [PATCH 04/36] Update SA1202 to support interfaces and records Fixes #3693 --- .../OrderingRules/SA1202CSharp8UnitTests.cs | 50 +++++++++++++ .../Helpers/CommonMemberData.cs | 31 ++++++++ .../OrderingRules/SA1202UnitTests.cs | 73 ++++++++++++++----- .../Helpers/MemberOrderHelper.cs | 4 + .../SA1202ElementsMustBeOrderedByAccess.cs | 5 +- 5 files changed, 141 insertions(+), 22 deletions(-) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1202CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1202CSharp8UnitTests.cs index 3607bac01..be723ed43 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1202CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1202CSharp8UnitTests.cs @@ -3,9 +3,59 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { + using System.Threading; + using System.Threading.Tasks; using StyleCop.Analyzers.Test.CSharp7.OrderingRules; + using Xunit; + using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier< + StyleCop.Analyzers.OrderingRules.SA1202ElementsMustBeOrderedByAccess, + StyleCop.Analyzers.OrderingRules.ElementOrderCodeFixProvider>; public class SA1202CSharp8UnitTests : SA1202CSharp7UnitTests { + /// + /// Verifies that the analyzer will properly handle property access levels. + /// + /// A representing the asynchronous unit test. + [Fact] + public async Task TestPropertiesOfInterfaceAsync() + { + var testCode = @"public interface TestClass +{ + private string TestProperty1 { get { return """"; } set { } } + protected string {|#0:TestProperty2|} { get; set; } + protected internal string {|#1:TestProperty3|} { get; set; } + internal string {|#2:TestProperty4|} { get; set; } + public string {|#3:TestProperty5|} { get; set; } + string TestProperty0 { get; set; } +} +"; + + var fixedCode = @"public interface TestClass +{ + public string TestProperty5 { get; set; } + string TestProperty0 { get; set; } + internal string TestProperty4 { get; set; } + protected internal string TestProperty3 { get; set; } + protected string TestProperty2 { get; set; } + private string TestProperty1 { get { return """"; } set { } } +} +"; + + await new CSharpTest + { + TestCode = testCode, + ExpectedDiagnostics = + { + Diagnostic().WithLocation(0).WithArguments("protected", "private"), + Diagnostic().WithLocation(1).WithArguments("protected internal", "protected"), + Diagnostic().WithLocation(2).WithArguments("internal", "protected internal"), + Diagnostic().WithLocation(3).WithArguments("public", "internal"), + }, + FixedCode = fixedCode, + NumberOfIncrementalIterations = 5, + NumberOfFixAllIterations = 2, + }.RunAsync(CancellationToken.None).ConfigureAwait(false); + } } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Helpers/CommonMemberData.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Helpers/CommonMemberData.cs index 660ac0be6..3920ac2f4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Helpers/CommonMemberData.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Helpers/CommonMemberData.cs @@ -31,6 +31,37 @@ public static IEnumerable DataTypeDeclarationKeywords } } + public static IEnumerable ReferenceTypeDeclarationKeywords + { + get + { + yield return new[] { "class" }; + + if (LightupHelpers.SupportsCSharp9) + { + yield return new[] { "record" }; + } + + if (LightupHelpers.SupportsCSharp10) + { + yield return new[] { "record class" }; + } + } + } + + public static IEnumerable ValueTypeDeclarationKeywords + { + get + { + yield return new[] { "struct" }; + + if (LightupHelpers.SupportsCSharp10) + { + yield return new[] { "record struct" }; + } + } + } + public static IEnumerable RecordTypeDeclarationKeywords { get diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/OrderingRules/SA1202UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/OrderingRules/SA1202UnitTests.cs index 9c453b20f..bee19a46b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/OrderingRules/SA1202UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/OrderingRules/SA1202UnitTests.cs @@ -9,6 +9,7 @@ namespace StyleCop.Analyzers.Test.OrderingRules using System.Threading.Tasks; using Microsoft.CodeAnalysis.Testing; using StyleCop.Analyzers.OrderingRules; + using StyleCop.Analyzers.Test.Helpers; using Xunit; using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier< StyleCop.Analyzers.OrderingRules.SA1202ElementsMustBeOrderedByAccess, @@ -139,18 +140,20 @@ public class TestClass2 { } /// /// Verifies that the analyzer will properly handle property access levels. /// + /// The keyword used to declare the type. /// A representing the asynchronous unit test. - [Fact] - public async Task TestPropertiesAsync() + [Theory] + [MemberData(nameof(CommonMemberData.ReferenceTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] + public async Task TestPropertiesOfClassAsync(string keyword) { - var testCode = @"public class TestClass -{ - private string TestProperty1 { get; set; } - protected string TestProperty2 { get; set; } - protected internal string TestProperty3 { get; set; } - internal string TestProperty4 { get; set; } - public string TestProperty5 { get; set; } -} + var testCode = $@"public {keyword} TestClass +{{ + private string TestProperty1 {{ get; set; }} + protected string TestProperty2 {{ get; set; }} + protected internal string TestProperty3 {{ get; set; }} + internal string TestProperty4 {{ get; set; }} + public string TestProperty5 {{ get; set; }} +}} "; DiagnosticResult[] expected = @@ -161,14 +164,48 @@ public async Task TestPropertiesAsync() Diagnostic().WithLocation(7, 19).WithArguments("public", "internal"), }; - var fixedCode = @"public class TestClass -{ - public string TestProperty5 { get; set; } - internal string TestProperty4 { get; set; } - protected internal string TestProperty3 { get; set; } - protected string TestProperty2 { get; set; } - private string TestProperty1 { get; set; } -} + var fixedCode = $@"public {keyword} TestClass +{{ + public string TestProperty5 {{ get; set; }} + internal string TestProperty4 {{ get; set; }} + protected internal string TestProperty3 {{ get; set; }} + protected string TestProperty2 {{ get; set; }} + private string TestProperty1 {{ get; set; }} +}} +"; + + await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false); + } + + /// + /// Verifies that the analyzer will properly handle property access levels. + /// + /// The keyword used to declare the type. + /// A representing the asynchronous unit test. + [Theory] + [MemberData(nameof(CommonMemberData.ValueTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] + public async Task TestPropertiesOfStructAsync(string keyword) + { + var testCode = $@"public {keyword} TestClass +{{ + private string TestProperty1 {{ get; set; }} + internal string {{|#0:TestProperty4|}} {{ get; set; }} + public string {{|#1:TestProperty5|}} {{ get; set; }} +}} +"; + + DiagnosticResult[] expected = + { + Diagnostic().WithLocation(0).WithArguments("internal", "private"), + Diagnostic().WithLocation(1).WithArguments("public", "internal"), + }; + + var fixedCode = $@"public {keyword} TestClass +{{ + public string TestProperty5 {{ get; set; }} + internal string TestProperty4 {{ get; set; }} + private string TestProperty1 {{ get; set; }} +}} "; await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Helpers/MemberOrderHelper.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Helpers/MemberOrderHelper.cs index 12a1a3f4f..e59483b3c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Helpers/MemberOrderHelper.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Helpers/MemberOrderHelper.cs @@ -158,6 +158,10 @@ internal static AccessLevel GetAccessLevelForOrdering(SyntaxNode member, SyntaxT { accessibility = AccessLevel.Internal; } + else if (member.Parent.IsKind(SyntaxKind.InterfaceDeclaration)) + { + accessibility = AccessLevel.Public; + } else { accessibility = AccessLevel.Private; diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/OrderingRules/SA1202ElementsMustBeOrderedByAccess.cs b/StyleCop.Analyzers/StyleCop.Analyzers/OrderingRules/SA1202ElementsMustBeOrderedByAccess.cs index a7a3b211d..87f714933 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/OrderingRules/SA1202ElementsMustBeOrderedByAccess.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/OrderingRules/SA1202ElementsMustBeOrderedByAccess.cs @@ -53,9 +53,6 @@ internal class SA1202ElementsMustBeOrderedByAccess : DiagnosticAnalyzer private static readonly DiagnosticDescriptor Descriptor = new DiagnosticDescriptor(DiagnosticId, Title, MessageFormat, AnalyzerCategory.OrderingRules, DiagnosticSeverity.Warning, AnalyzerConstants.EnabledByDefault, Description, HelpLink); - private static readonly ImmutableArray TypeDeclarationKinds = - ImmutableArray.Create(SyntaxKind.ClassDeclaration, SyntaxKind.StructDeclaration); - private static readonly ImmutableHashSet MemberKinds = ImmutableHashSet.Create( SyntaxKind.DelegateDeclaration, SyntaxKind.EnumDeclaration, @@ -89,7 +86,7 @@ public override void Initialize(AnalysisContext context) { context.RegisterSyntaxNodeAction(CompilationUnitAction, SyntaxKind.CompilationUnit); context.RegisterSyntaxNodeAction(BaseNamespaceDeclarationAction, SyntaxKinds.BaseNamespaceDeclaration); - context.RegisterSyntaxNodeAction(TypeDeclarationAction, TypeDeclarationKinds); + context.RegisterSyntaxNodeAction(TypeDeclarationAction, SyntaxKinds.TypeDeclaration); }); } From d45ce58b131e82c1fff9df334d85bfdabafb7fa9 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Fri, 1 Sep 2023 15:42:19 -0500 Subject: [PATCH 05/36] Also add records as supported member kinds --- .../OrderingRules/SA1202UnitTests.cs | 28 +++++++++++-------- .../SA1202ElementsMustBeOrderedByAccess.cs | 4 ++- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/OrderingRules/SA1202UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/OrderingRules/SA1202UnitTests.cs index bee19a46b..8d27bfcd2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/OrderingRules/SA1202UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/OrderingRules/SA1202UnitTests.cs @@ -104,20 +104,22 @@ private class TestClass10 { } } /// - /// Verifies that the analyzer will properly handle class access levels. + /// Verifies that the analyzer will properly handle type access levels. /// + /// The keyword used to declare the type. /// A representing the asynchronous unit test. - [Fact] - public async Task TestClassOrderingAsync() + [Theory] + [MemberData(nameof(CommonMemberData.TypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] + public async Task TestTypeOrderingAsync(string keyword) { - var testCode = @"internal class TestClass1 { } -public class TestClass2 { } + var testCode = $@"internal {keyword} TestClass1 {{ }} +public {keyword} {{|#0:TestClass2|}} {{ }} "; - var expected = Diagnostic().WithLocation(2, 14).WithArguments("public", "internal"); + var expected = Diagnostic().WithLocation(0).WithArguments("public", "internal"); - var fixedCode = @"public class TestClass2 { } -internal class TestClass1 { } + var fixedCode = $@"public {keyword} TestClass2 {{ }} +internal {keyword} TestClass1 {{ }} "; await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false); @@ -126,12 +128,14 @@ internal class TestClass1 { } /// /// Verifies that the analyzer will properly handle interfaces before classes. /// + /// The keyword used to declare the type. /// A representing the asynchronous unit test. - [Fact] - public async Task TestInternalInterfaceBeforePublicClassAsync() + [Theory] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] + public async Task TestInternalInterfaceBeforePublicClassAsync(string keyword) { - var testCode = @"internal interface ITestInterface { } -public class TestClass2 { } + var testCode = $@"internal interface ITestInterface {{ }} +public {keyword} TestClass2 {{ }} "; await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/OrderingRules/SA1202ElementsMustBeOrderedByAccess.cs b/StyleCop.Analyzers/StyleCop.Analyzers/OrderingRules/SA1202ElementsMustBeOrderedByAccess.cs index 87f714933..2a94c3572 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/OrderingRules/SA1202ElementsMustBeOrderedByAccess.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/OrderingRules/SA1202ElementsMustBeOrderedByAccess.cs @@ -66,7 +66,9 @@ internal class SA1202ElementsMustBeOrderedByAccess : DiagnosticAnalyzer SyntaxKind.IndexerDeclaration, SyntaxKind.MethodDeclaration, SyntaxKind.ConversionOperatorDeclaration, - SyntaxKind.OperatorDeclaration); + SyntaxKind.OperatorDeclaration, + SyntaxKindEx.RecordDeclaration, + SyntaxKindEx.RecordStructDeclaration); private static readonly Action CompilationUnitAction = HandleCompilationUnit; private static readonly Action BaseNamespaceDeclarationAction = HandleBaseNamespaceDeclaration; From 4ba311ba7b56676d5a590a5c9c687e276194f1e2 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Mon, 11 Sep 2023 18:58:12 -0500 Subject: [PATCH 06/36] Fix failure to sort record kinds correctly --- .../OrderingRules/SA1201UnitTests.cs | 48 ++++++++++++++++++- .../Helpers/MemberOrderHelper.cs | 13 +++-- 2 files changed, 54 insertions(+), 7 deletions(-) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/OrderingRules/SA1201UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/OrderingRules/SA1201UnitTests.cs index f39577e06..745de4f8b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/OrderingRules/SA1201UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/OrderingRules/SA1201UnitTests.cs @@ -1,13 +1,14 @@ // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. -#nullable disable - namespace StyleCop.Analyzers.Test.OrderingRules { + using System.Collections.Generic; + using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Testing; + using StyleCop.Analyzers.Test.Helpers; using Xunit; using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier< @@ -16,6 +17,20 @@ namespace StyleCop.Analyzers.Test.OrderingRules public class SA1201UnitTests { + public static IEnumerable ValueTypesAndReferenceTypes + { + get + { + foreach (var valueTypeKeyword in CommonMemberData.ValueTypeDeclarationKeywords) + { + foreach (var referenceTypeKeyword in CommonMemberData.ReferenceTypeDeclarationKeywords) + { + yield return new object[] { valueTypeKeyword.Single(), referenceTypeKeyword.Single() }; + } + } + } + } + [Fact] public async Task TestOuterOrderCorrectOrderAsync() { @@ -52,6 +67,35 @@ public struct FooStruct { } await VerifyCSharpDiagnosticAsync("namespace OuterNamespace { " + testCode + " }", expected, CancellationToken.None).ConfigureAwait(false); } + [Theory] + [MemberData(nameof(ValueTypesAndReferenceTypes))] + public async Task TestClassBeforeStructAsync( + string structKeyword, + string classKeyword) + { + string testCode = $@" +public {classKeyword} FooClass {{ }} +public {structKeyword} {{|#0:FooStruct|}} {{ }} +"; + string fixedCode = $@"public {structKeyword} FooStruct {{ }} + +public {classKeyword} FooClass {{ }} +"; + + var reportedClassKind = classKeyword switch + { + "record class" => "record", + _ => classKeyword, + }; + + var expected = new[] + { + Diagnostic().WithLocation(0).WithArguments(structKeyword, reportedClassKind), + }; + + await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false); + } + [Fact] public async Task TestTypeMemberOrderCorrectOrderClassAsync() { diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Helpers/MemberOrderHelper.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Helpers/MemberOrderHelper.cs index e59483b3c..049c1ca10 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Helpers/MemberOrderHelper.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Helpers/MemberOrderHelper.cs @@ -1,8 +1,6 @@ // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. -#nullable disable - namespace StyleCop.Analyzers.Helpers { using System; @@ -16,7 +14,7 @@ namespace StyleCop.Analyzers.Helpers /// /// Helper for dealing with member priority. /// - internal struct MemberOrderHelper + internal readonly struct MemberOrderHelper { private static readonly ImmutableArray TypeMemberOrder = ImmutableArray.Create( SyntaxKind.ClassDeclaration, @@ -44,8 +42,13 @@ internal MemberOrderHelper(MemberDeclarationSyntax member, ImmutableArray SyntaxKind.EventDeclaration, + SyntaxKindEx.RecordDeclaration => SyntaxKind.ClassDeclaration, + SyntaxKindEx.RecordStructDeclaration => SyntaxKind.StructDeclaration, + var kind => kind, + }; this.Priority = 0; foreach (OrderingTrait trait in elementOrder) From fce493b686c6d0b9a1bdcfd2d46876f4e335cf49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Hellander?= Date: Sat, 16 Sep 2023 10:27:44 +0200 Subject: [PATCH 07/36] Update documentation for SA1308 to also mention prefix "t_" #3695 --- documentation/SA1308.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/SA1308.md b/documentation/SA1308.md index 30af452d0..89a6300bf 100644 --- a/documentation/SA1308.md +++ b/documentation/SA1308.md @@ -17,11 +17,11 @@ ## Cause -A field name in C# is prefixed with *m_* or *s_*. +A field name in C# is prefixed with *m_*, *s_*, or *t_*. ## Rule description -A violation of this rule occurs when a field name is prefixed by *m_* or *s_*. +A violation of this rule occurs when a field name is prefixed by *m_*, *s_*, or *t_*. By default, StyleCop disallows the use of underscores, *m_*, etc., to mark local class fields, in favor of the 'this.' prefix. The advantage of using 'this.' is that it applies equally to all element types including methods, properties, etc., and not just fields, making all calls to class members instantly recognizable, regardless of which editor is being used to view the code. Another advantage is that it creates a quick, recognizable differentiation between instance members and static members, which will not be prefixed. From 472780ca2e4cf6d95558bdf2ac1da2ba9ec2551a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Hellander?= Date: Sat, 16 Sep 2023 10:07:28 +0200 Subject: [PATCH 08/36] Update SA1642 and its code fix to handle record structs correctly. Also add tests for records and record classes. #3518 --- .../SA1642SA1643CodeFixProvider.cs | 32 +- .../DocumentationRules/SA1642UnitTests.cs | 276 +++++++++++------- ...yDocumentationMustBeginWithStandardText.cs | 5 +- 3 files changed, 196 insertions(+), 117 deletions(-) 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.Test/DocumentationRules/SA1642UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1642UnitTests.cs index 97393f89e..4433b5044 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1642UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1642UnitTests.cs @@ -5,10 +5,13 @@ namespace StyleCop.Analyzers.Test.DocumentationRules { + using System.Collections.Generic; + using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Testing; using StyleCop.Analyzers.DocumentationRules; + using StyleCop.Analyzers.Lightup; using StyleCop.Analyzers.Test.Helpers; using StyleCop.Analyzers.Test.Verifiers; using Xunit; @@ -21,8 +24,7 @@ namespace StyleCop.Analyzers.Test.DocumentationRules public class SA1642UnitTests { [Theory] - [InlineData("class")] - [InlineData("struct")] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] public async Task TestNoDocumentationAsync(string typeKind) { var testCode = $@"namespace FooNamespace @@ -38,8 +40,7 @@ public Foo(int arg) } [Theory] - [InlineData("class")] - [InlineData("struct")] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] public async Task TestEmptyPublicConstructorAsync(string typeKind) { await TestEmptyConstructorAsync(typeKind, "public").ConfigureAwait(false); @@ -54,62 +55,65 @@ public async Task TestEmptyNonPublicConstructorAsync(string typeKind) } [Theory] - [InlineData("class")] - [InlineData("struct")] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] public async Task TestEmptyStaticConstructorAsync(string typeKind) { await TestEmptyConstructorAsync(typeKind, "static").ConfigureAwait(false); } [Theory] - [InlineData("class")] - [InlineData("struct")] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] public async Task TestNonPrivateConstructorCorrectDocumentationSimpleAsync(string typeKind) { + var docTypeKind = GetDocTypeKind(typeKind); + await TestConstructorCorrectDocumentationSimpleAsync( typeKind, "public", - string.Format(DocumentationResources.NonPrivateConstructorStandardTextFirstPart, typeKind), - string.Format(DocumentationResources.NonPrivateConstructorStandardTextSecondPart, typeKind), + string.Format(DocumentationResources.NonPrivateConstructorStandardTextFirstPart, docTypeKind), + string.Format(DocumentationResources.NonPrivateConstructorStandardTextSecondPart, docTypeKind), false).ConfigureAwait(false); } [Theory] - [InlineData("class")] - [InlineData("struct")] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] public async Task TestNonPrivateConstructorCorrectDocumentationCustomizedAsync(string typeKind) { + var docTypeKind = GetDocTypeKind(typeKind); + await TestConstructorCorrectDocumentationCustomizedAsync( typeKind, "public", - string.Format(DocumentationResources.NonPrivateConstructorStandardTextFirstPart, typeKind), - string.Format(DocumentationResources.NonPrivateConstructorStandardTextSecondPart, typeKind), + string.Format(DocumentationResources.NonPrivateConstructorStandardTextFirstPart, docTypeKind), + string.Format(DocumentationResources.NonPrivateConstructorStandardTextSecondPart, docTypeKind), false).ConfigureAwait(false); } [Theory] - [InlineData("class")] - [InlineData("struct")] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] public async Task TestNonPrivateConstructorCorrectDocumentationGenericSimpleAsync(string typeKind) { + var docTypeKind = GetDocTypeKind(typeKind); + await TestConstructorCorrectDocumentationSimpleAsync( typeKind, "public", - string.Format(DocumentationResources.NonPrivateConstructorStandardTextFirstPart, typeKind), - string.Format(DocumentationResources.NonPrivateConstructorStandardTextSecondPart, typeKind), + string.Format(DocumentationResources.NonPrivateConstructorStandardTextFirstPart, docTypeKind), + string.Format(DocumentationResources.NonPrivateConstructorStandardTextSecondPart, docTypeKind), true).ConfigureAwait(false); } [Theory] - [InlineData("class")] - [InlineData("struct")] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] public async Task TestNonPrivateConstructorCorrectDocumentationGenericCustomizedAsync(string typeKind) { + var docTypeKind = GetDocTypeKind(typeKind); + await TestConstructorCorrectDocumentationCustomizedAsync( typeKind, "public", - string.Format(DocumentationResources.NonPrivateConstructorStandardTextFirstPart, typeKind), - string.Format(DocumentationResources.NonPrivateConstructorStandardTextSecondPart, typeKind), + string.Format(DocumentationResources.NonPrivateConstructorStandardTextFirstPart, docTypeKind), + string.Format(DocumentationResources.NonPrivateConstructorStandardTextSecondPart, docTypeKind), true).ConfigureAwait(false); } @@ -222,56 +226,60 @@ public async Task TestPrivateConstructorCorrectDocumentationGeneric_NonPrivateCu } [Theory] - [InlineData("class")] - [InlineData("struct")] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] public async Task TestStaticConstructorCorrectDocumentationAsync(string typeKind) { + var docTypeKind = GetDocTypeKind(typeKind); + await TestConstructorCorrectDocumentationAsync( typeKind, "static", - string.Format(DocumentationResources.StaticConstructorStandardTextFirstPart, typeKind), - string.Format(DocumentationResources.StaticConstructorStandardTextSecondPart, typeKind), + string.Format(DocumentationResources.StaticConstructorStandardTextFirstPart, docTypeKind), + string.Format(DocumentationResources.StaticConstructorStandardTextSecondPart, docTypeKind), string.Empty, false).ConfigureAwait(false); } [Theory] - [InlineData("class")] - [InlineData("struct")] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] public async Task TestStaticConstructorCorrectDocumentationGenericAsync(string typeKind) { + var docTypeKind = GetDocTypeKind(typeKind); + await TestConstructorCorrectDocumentationAsync( typeKind, "static", - string.Format(DocumentationResources.StaticConstructorStandardTextFirstPart, typeKind), - string.Format(DocumentationResources.StaticConstructorStandardTextSecondPart, typeKind), + string.Format(DocumentationResources.StaticConstructorStandardTextFirstPart, docTypeKind), + string.Format(DocumentationResources.StaticConstructorStandardTextSecondPart, docTypeKind), string.Empty, true).ConfigureAwait(false); } [Theory] - [InlineData("class")] - [InlineData("struct")] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] public async Task TestNonPrivateConstructorMissingDocumentationAsync(string typeKind) { + var docTypeKind = GetDocTypeKind(typeKind); + await TestConstructorMissingDocumentationAsync( typeKind, "public", - string.Format(DocumentationResources.NonPrivateConstructorStandardTextFirstPart, typeKind), - string.Format(DocumentationResources.NonPrivateConstructorStandardTextSecondPart, typeKind), + string.Format(DocumentationResources.NonPrivateConstructorStandardTextFirstPart, docTypeKind), + string.Format(DocumentationResources.NonPrivateConstructorStandardTextSecondPart, docTypeKind), false).ConfigureAwait(false); } [Theory] - [InlineData("class")] - [InlineData("struct")] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] public async Task TestNonPrivateConstructorMissingDocumentationGenericAsync(string typeKind) { + var docTypeKind = GetDocTypeKind(typeKind); + await TestConstructorMissingDocumentationAsync( typeKind, "public", - string.Format(DocumentationResources.NonPrivateConstructorStandardTextFirstPart, typeKind), - string.Format(DocumentationResources.NonPrivateConstructorStandardTextSecondPart, typeKind), + string.Format(DocumentationResources.NonPrivateConstructorStandardTextFirstPart, docTypeKind), + string.Format(DocumentationResources.NonPrivateConstructorStandardTextSecondPart, docTypeKind), true).ConfigureAwait(false); } @@ -302,54 +310,58 @@ public async Task TestPrivateConstructorMissingDocumentationGenericAsync(string } [Theory] - [InlineData("class")] - [InlineData("struct")] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] public async Task TestStaticConstructorMissingDocumentationAsync(string typeKind) { + var docTypeKind = GetDocTypeKind(typeKind); + await TestConstructorMissingDocumentationAsync( typeKind, "static", - string.Format(DocumentationResources.StaticConstructorStandardTextFirstPart, typeKind), - string.Format(DocumentationResources.StaticConstructorStandardTextSecondPart, typeKind), + string.Format(DocumentationResources.StaticConstructorStandardTextFirstPart, docTypeKind), + string.Format(DocumentationResources.StaticConstructorStandardTextSecondPart, docTypeKind), false).ConfigureAwait(false); } [Theory] - [InlineData("class")] - [InlineData("struct")] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] public async Task TestStaticConstructorMissingDocumentationGenericAsync(string typeKind) { + var docTypeKind = GetDocTypeKind(typeKind); + await TestConstructorMissingDocumentationAsync( typeKind, "static", - string.Format(DocumentationResources.StaticConstructorStandardTextFirstPart, typeKind), - string.Format(DocumentationResources.StaticConstructorStandardTextSecondPart, typeKind), + string.Format(DocumentationResources.StaticConstructorStandardTextFirstPart, docTypeKind), + string.Format(DocumentationResources.StaticConstructorStandardTextSecondPart, docTypeKind), true).ConfigureAwait(false); } [Theory] - [InlineData("class")] - [InlineData("struct")] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] public async Task TestNonPrivateConstructorSimpleDocumentationAsync(string typeKind) { + var docTypeKind = GetDocTypeKind(typeKind); + await TestConstructorSimpleDocumentationAsync( typeKind, "public", - string.Format(DocumentationResources.NonPrivateConstructorStandardTextFirstPart, typeKind), - string.Format(DocumentationResources.NonPrivateConstructorStandardTextSecondPart, typeKind), + string.Format(DocumentationResources.NonPrivateConstructorStandardTextFirstPart, docTypeKind), + string.Format(DocumentationResources.NonPrivateConstructorStandardTextSecondPart, docTypeKind), false).ConfigureAwait(false); } [Theory] - [InlineData("class")] - [InlineData("struct")] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] public async Task TestNonPrivateConstructorSimpleDocumentationGenericAsync(string typeKind) { + var docTypeKind = GetDocTypeKind(typeKind); + await TestConstructorSimpleDocumentationAsync( typeKind, "public", - string.Format(DocumentationResources.NonPrivateConstructorStandardTextFirstPart, typeKind), - string.Format(DocumentationResources.NonPrivateConstructorStandardTextSecondPart, typeKind), + string.Format(DocumentationResources.NonPrivateConstructorStandardTextFirstPart, docTypeKind), + string.Format(DocumentationResources.NonPrivateConstructorStandardTextSecondPart, docTypeKind), true).ConfigureAwait(false); } @@ -380,54 +392,58 @@ public async Task TestPrivateConstructorSimpleDocumentationGenericAsync(string t } [Theory] - [InlineData("class")] - [InlineData("struct")] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] public async Task TestStaticConstructorSimpleDocumentationAsync(string typeKind) { + var docTypeKind = GetDocTypeKind(typeKind); + await TestConstructorSimpleDocumentationAsync( typeKind, "static", - string.Format(DocumentationResources.StaticConstructorStandardTextFirstPart, typeKind), - string.Format(DocumentationResources.StaticConstructorStandardTextSecondPart, typeKind), + string.Format(DocumentationResources.StaticConstructorStandardTextFirstPart, docTypeKind), + string.Format(DocumentationResources.StaticConstructorStandardTextSecondPart, docTypeKind), false).ConfigureAwait(false); } [Theory] - [InlineData("class")] - [InlineData("struct")] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] public async Task TestStaticConstructorSimpleDocumentationGenericAsync(string typeKind) { + var docTypeKind = GetDocTypeKind(typeKind); + await TestConstructorSimpleDocumentationAsync( typeKind, "static", - string.Format(DocumentationResources.StaticConstructorStandardTextFirstPart, typeKind), - string.Format(DocumentationResources.StaticConstructorStandardTextSecondPart, typeKind), + string.Format(DocumentationResources.StaticConstructorStandardTextFirstPart, docTypeKind), + string.Format(DocumentationResources.StaticConstructorStandardTextSecondPart, docTypeKind), true).ConfigureAwait(false); } [Theory] - [InlineData("class")] - [InlineData("struct")] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] public async Task TestNonPrivateConstructorSimpleDocumentationWrongTypeNameAsync(string typeKind) { + var docTypeKind = GetDocTypeKind(typeKind); + await TestConstructorSimpleDocumentationWrongTypeNameAsync( typeKind, "public", - string.Format(DocumentationResources.NonPrivateConstructorStandardTextFirstPart, typeKind), - string.Format(DocumentationResources.NonPrivateConstructorStandardTextSecondPart, typeKind), + string.Format(DocumentationResources.NonPrivateConstructorStandardTextFirstPart, docTypeKind), + string.Format(DocumentationResources.NonPrivateConstructorStandardTextSecondPart, docTypeKind), false).ConfigureAwait(false); } [Theory] - [InlineData("class")] - [InlineData("struct")] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] public async Task TestNonPrivateConstructorSimpleDocumentationGenericWrongTypeNameAsync(string typeKind) { + var docTypeKind = GetDocTypeKind(typeKind); + await TestConstructorSimpleDocumentationWrongTypeNameAsync( typeKind, "public", - string.Format(DocumentationResources.NonPrivateConstructorStandardTextFirstPart, typeKind), - string.Format(DocumentationResources.NonPrivateConstructorStandardTextSecondPart, typeKind), + string.Format(DocumentationResources.NonPrivateConstructorStandardTextFirstPart, docTypeKind), + string.Format(DocumentationResources.NonPrivateConstructorStandardTextSecondPart, docTypeKind), true).ConfigureAwait(false); } @@ -458,28 +474,30 @@ public async Task TestPrivateConstructorSimpleDocumentationGenericWrongTypeNameA } [Theory] - [InlineData("class")] - [InlineData("struct")] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] public async Task TestStaticConstructorSimpleDocumentationWrongTypeNameAsync(string typeKind) { + var docTypeKind = GetDocTypeKind(typeKind); + await TestConstructorSimpleDocumentationWrongTypeNameAsync( typeKind, "static", - string.Format(DocumentationResources.StaticConstructorStandardTextFirstPart, typeKind), - string.Format(DocumentationResources.StaticConstructorStandardTextSecondPart, typeKind), + string.Format(DocumentationResources.StaticConstructorStandardTextFirstPart, docTypeKind), + string.Format(DocumentationResources.StaticConstructorStandardTextSecondPart, docTypeKind), false).ConfigureAwait(false); } [Theory] - [InlineData("class")] - [InlineData("struct")] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] public async Task TestStaticConstructorSimpleDocumentationGenericWrongTypeNameAsync(string typeKind) { + var docTypeKind = GetDocTypeKind(typeKind); + await TestConstructorSimpleDocumentationWrongTypeNameAsync( typeKind, "static", - string.Format(DocumentationResources.StaticConstructorStandardTextFirstPart, typeKind), - string.Format(DocumentationResources.StaticConstructorStandardTextSecondPart, typeKind), + string.Format(DocumentationResources.StaticConstructorStandardTextFirstPart, docTypeKind), + string.Format(DocumentationResources.StaticConstructorStandardTextSecondPart, docTypeKind), true).ConfigureAwait(false); } @@ -587,34 +605,66 @@ protected CustomizableBlockSubscriberBase() await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false); } - /// - /// Verifies that an empty see tag is handled properly. - /// - /// A representing the asynchronous unit test. - [Fact] - public async Task TestWithEmptySeeTagAsync() + [Theory] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] + public async Task TestWithEmptySeeTagAsync(string typeKind) { - string testCode = @" -public class TestClass -{ + var docTypeKind = GetDocTypeKind(typeKind); + + string testCode = $@" +public {typeKind} TestClass +{{ /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the {docTypeKind}. /// - public TestClass() - { - } -} + public TestClass(int i) + {{ + }} +}} "; - string fixedCode = @" -public class TestClass -{ + string fixedCode = $@" +public {typeKind} TestClass +{{ /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the {docTypeKind}. /// - public TestClass() - { - } -} + public TestClass(int i) + {{ + }} +}} +"; + + DiagnosticResult expected = Diagnostic().WithLocation(5, 43); + await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false); + } + + [Theory] + [MemberData(nameof(CommonMemberData.DataTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] + public async Task TestWithEmptySeeTagGenericAsync(string typeKind) + { + var docTypeKind = GetDocTypeKind(typeKind); + + string testCode = $@" +public {typeKind} TestClass +{{ + /// + /// Initializes a new instance of the {docTypeKind}. + /// + public TestClass(int i) + {{ + }} +}} +"; + string fixedCode = $@" +public {typeKind} TestClass +{{ + /// + /// Initializes a new instance of the {docTypeKind}. + /// + public TestClass(int i) + {{ + }} +}} "; DiagnosticResult expected = Diagnostic().WithLocation(5, 43); @@ -1108,7 +1158,7 @@ private static async Task TestConstructorCorrectDocumentationCustomizedAsync(str private static async Task TestConstructorMissingDocumentationAsync(string typeKind, string modifiers, string part1, string part2, bool generic) { string typeParameters = generic ? "" : string.Empty; - string arguments = typeKind == "struct" && modifiers != "static" ? "int argument" : null; + string arguments = IsStruct(typeKind) && modifiers != "static" ? "int argument" : null; var testCode = $@"namespace FooNamespace {{ public {typeKind} Foo{typeParameters} @@ -1322,5 +1372,29 @@ private static Task VerifyCSharpFixAsync(string source, DiagnosticResult[] expec return test; } + + private static string GetDocTypeKind(string codeTypeKind) + { + return IsStruct(codeTypeKind) ? "struct" : "class"; + } + + private static bool IsStruct(string codeTypeKind) + { + switch (codeTypeKind) + { + case "class": + case "record": + case "record class": + return false; + + case "struct": + case "record struct": + return true; + + default: + Debug.Fail($"Unexpected type kind {codeTypeKind}"); + return false; + } + } } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules/SA1642ConstructorSummaryDocumentationMustBeginWithStandardText.cs b/StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules/SA1642ConstructorSummaryDocumentationMustBeginWithStandardText.cs index be32d8f1e..9b49d92a1 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules/SA1642ConstructorSummaryDocumentationMustBeginWithStandardText.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules/SA1642ConstructorSummaryDocumentationMustBeginWithStandardText.cs @@ -12,6 +12,7 @@ namespace StyleCop.Analyzers.DocumentationRules using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; + using StyleCop.Analyzers.Lightup; using StyleCop.Analyzers.Settings.ObjectModel; /// @@ -132,7 +133,9 @@ private static void HandleConstructorDeclaration(SyntaxNodeAnalysisContext conte var culture = settings.DocumentationRules.DocumentationCultureInfo; var resourceManager = DocumentationResources.ResourceManager; - bool isStruct = constructorDeclarationSyntax.Parent?.IsKind(SyntaxKind.StructDeclaration) ?? false; + var parent = constructorDeclarationSyntax.Parent; + bool isStruct = parent != null && + (parent.IsKind(SyntaxKind.StructDeclaration) || parent.IsKind(SyntaxKindEx.RecordStructDeclaration)); var typeKindText = resourceManager.GetString(isStruct ? nameof(DocumentationResources.TypeTextStruct) : nameof(DocumentationResources.TypeTextClass), culture); if (constructorDeclarationSyntax.Modifiers.Any(SyntaxKind.StaticKeyword)) From 271f1d485634951ea3adf60adebbc9f01fe55182 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Thu, 28 Sep 2023 09:57:25 -0500 Subject: [PATCH 09/36] Update analyzers --- .gitignore | 1 - StyleCop.Analyzers/Directory.Build.props | 10 +- .../StyleCop.Analyzers.Internal.ruleset | 6 + .../DocumentationResources.Designer.cs | 407 ++++++++++++++++++ .../HelpersResources.Designer.cs | 25 ++ .../LayoutResources.Designer.cs | 207 +++++++++ .../MaintainabilityResources.Designer.cs | 131 ++++++ .../NamingResources.Designer.cs | 135 ++++++ .../OrderingResources.Designer.cs | 137 ++++++ .../ReadabilityResources.Designer.cs | 323 ++++++++++++++ .../SettingsResources.Designer.cs | 21 + .../SpacingResources.Designer.cs | 249 +++++++++++ .../SpecialResources.Designer.cs | 33 ++ .../StyleCop.Analyzers.csproj | 2 +- 14 files changed, 1682 insertions(+), 5 deletions(-) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/DocumentationResources.Designer.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/HelpersResources.Designer.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/LayoutResources.Designer.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/MaintainabilityResources.Designer.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/NamingResources.Designer.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/OrderingResources.Designer.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/ReadabilityResources.Designer.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/SettingsResources.Designer.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/SpacingResources.Designer.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/SpecialResources.Designer.cs 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/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.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/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/DocumentationResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/DocumentationResources.Designer.cs new file mode 100644 index 000000000..78415df23 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/DocumentationResources.Designer.cs @@ -0,0 +1,407 @@ +// + +#nullable enable +using System.Reflection; + + +namespace StyleCop.Analyzers.DocumentationRules +{ + internal static partial class DocumentationResources + { + private static global::System.Resources.ResourceManager? s_resourceManager; + public static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(DocumentationResources))); + public static global::System.Globalization.CultureInfo? Culture { get; set; } + [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + [return: global::System.Diagnostics.CodeAnalysis.NotNullIfNotNull("defaultValue")] + internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; + /// Generate constructor documentation + public static string @ConstructorDocumentationCodeFix => GetResourceString("ConstructorDocumentationCodeFix")!; + /// Generate destructor documentation + public static string @DestructorDocumentationCodeFix => GetResourceString("DestructorDocumentationCodeFix")!; + /// Finalizes an instance of the + public static string @DestructorStandardTextFirstPart => GetResourceString("DestructorStandardTextFirstPart")!; + /// class. + public static string @DestructorStandardTextSecondPart => GetResourceString("DestructorStandardTextSecondPart")!; + /// Inherit documentation + public static string @InheritdocCodeFix => GetResourceString("InheritdocCodeFix")!; + /// Generate method documentation + public static string @MethodDocumentationCodeFix => GetResourceString("MethodDocumentationCodeFix")!; + /// Initializes a new instance of the + public static string @NonPrivateConstructorStandardTextFirstPart => GetResourceString("NonPrivateConstructorStandardTextFirstPart")!; + /// {0} + public static string @NonPrivateConstructorStandardTextSecondPart => GetResourceString("NonPrivateConstructorStandardTextSecondPart")!; + /// The parameter is not used. + public static string @ParameterNotUsed => GetResourceString("ParameterNotUsed")!; + /// Prevents a default instance of the + public static string @PrivateConstructorStandardTextFirstPart => GetResourceString("PrivateConstructorStandardTextFirstPart")!; + /// {0} from being created + public static string @PrivateConstructorStandardTextSecondPart => GetResourceString("PrivateConstructorStandardTextSecondPart")!; + /// Add standard text + public static string @PropertySummaryStartTextCodeFix => GetResourceString("PropertySummaryStartTextCodeFix")!; + /// A C# code element is missing a documentation header. + public static string @SA1600Description => GetResourceString("SA1600Description")!; + /// Elements should be documented + public static string @SA1600MessageFormat => GetResourceString("SA1600MessageFormat")!; + /// Elements should be documented + public static string @SA1600Title => GetResourceString("SA1600Title")!; + /// A C# partial element is missing a documentation header. + public static string @SA1601Description => GetResourceString("SA1601Description")!; + /// Partial elements should be documented + public static string @SA1601MessageFormat => GetResourceString("SA1601MessageFormat")!; + /// Partial elements should be documented + public static string @SA1601Title => GetResourceString("SA1601Title")!; + /// An item within a C# enumeration is missing an Xml documentation header. + public static string @SA1602Description => GetResourceString("SA1602Description")!; + /// Enumeration items should be documented + public static string @SA1602MessageFormat => GetResourceString("SA1602MessageFormat")!; + /// Enumeration items should be documented + public static string @SA1602Title => GetResourceString("SA1602Title")!; + /// The XML within a C# element’s document header is badly formed. + public static string @SA1603Description => GetResourceString("SA1603Description")!; + /// The documentation header is composed of invalid XML: {0} + public static string @SA1603MessageFormat => GetResourceString("SA1603MessageFormat")!; + /// Documentation should contain valid XML + public static string @SA1603Title => GetResourceString("SA1603Title")!; + /// The XML header documentation for a C# element is missing a <summary> tag. + public static string @SA1604Description => GetResourceString("SA1604Description")!; + /// Element documentation should have summary + public static string @SA1604MessageFormat => GetResourceString("SA1604MessageFormat")!; + /// Element documentation should have summary + public static string @SA1604Title => GetResourceString("SA1604Title")!; + /// The <summary> or <content> tag within the documentation header for a C# code element is missing or empty. + public static string @SA1605Description => GetResourceString("SA1605Description")!; + /// Partial element documentation should have summary + public static string @SA1605MessageFormat => GetResourceString("SA1605MessageFormat")!; + /// Partial element documentation should have summary + public static string @SA1605Title => GetResourceString("SA1605Title")!; + /// The <summary> tag within the documentation header for a C# code element is empty. + public static string @SA1606Description => GetResourceString("SA1606Description")!; + /// Element documentation should have summary text + public static string @SA1606MessageFormat => GetResourceString("SA1606MessageFormat")!; + /// Element documentation should have summary text + public static string @SA1606Title => GetResourceString("SA1606Title")!; + /// The <summary> or <content> tag within the documentation header for a C# code element is empty. + public static string @SA1607Description => GetResourceString("SA1607Description")!; + /// Partial element documentation should have summary text + public static string @SA1607MessageFormat => GetResourceString("SA1607MessageFormat")!; + /// Partial element documentation should have summary text + public static string @SA1607Title => GetResourceString("SA1607Title")!; + /// The <summary> tag within an element's XML header documentation contains the default text generated by Visual Studio during the creation of the element. + public static string @SA1608Description => GetResourceString("SA1608Description")!; + /// Element documentation should not have default summary + public static string @SA1608MessageFormat => GetResourceString("SA1608MessageFormat")!; + /// Element documentation should not have default summary + public static string @SA1608Title => GetResourceString("SA1608Title")!; + /// The XML header documentation for a C# property does not contain a <value> tag. + public static string @SA1609Description => GetResourceString("SA1609Description")!; + /// Property documentation should have value + public static string @SA1609MessageFormat => GetResourceString("SA1609MessageFormat")!; + /// Document value from summary + public static string @SA1609SA1610CodeFix => GetResourceString("SA1609SA1610CodeFix")!; + /// Property documentation should have value + public static string @SA1609Title => GetResourceString("SA1609Title")!; + /// The XML header documentation for a C# property contains an empty <value> tag. + public static string @SA1610Description => GetResourceString("SA1610Description")!; + /// Property documentation should have value text + public static string @SA1610MessageFormat => GetResourceString("SA1610MessageFormat")!; + /// Property documentation should have value text + public static string @SA1610Title => GetResourceString("SA1610Title")!; + /// A C# method, constructor, delegate or indexer element is missing documentation for one or more of its parameters. + public static string @SA1611Description => GetResourceString("SA1611Description")!; + /// The documentation for parameter '{0}' is missing + public static string @SA1611MessageFormat => GetResourceString("SA1611MessageFormat")!; + /// Element parameters should be documented + public static string @SA1611Title => GetResourceString("SA1611Title")!; + /// The documentation describing the parameters to a C# method, constructor, delegate or indexer element does not match the actual parameters on the element. + public static string @SA1612Description => GetResourceString("SA1612Description")!; + /// The parameter '{0}' does not exist + public static string @SA1612MissingParamForDocumentationMessageFormat => GetResourceString("SA1612MissingParamForDocumentationMessageFormat")!; + /// The parameter documentation for '{0}' should be at position {1} + public static string @SA1612ParamWrongOrderMessageFormat => GetResourceString("SA1612ParamWrongOrderMessageFormat")!; + /// Element parameter documentation should match element parameters + public static string @SA1612Title => GetResourceString("SA1612Title")!; + /// A <param> tag within a C# element's documentation header is missing a name attribute containing the name of the parameter. + public static string @SA1613Description => GetResourceString("SA1613Description")!; + /// Element parameter documentation should declare parameter name + public static string @SA1613MessageFormat => GetResourceString("SA1613MessageFormat")!; + /// Element parameter documentation should declare parameter name + public static string @SA1613Title => GetResourceString("SA1613Title")!; + /// A <param> tag within a C# element's documentation header is empty. + public static string @SA1614Description => GetResourceString("SA1614Description")!; + /// Element parameter documentation should have text + public static string @SA1614MessageFormat => GetResourceString("SA1614MessageFormat")!; + /// Element parameter documentation should have text + public static string @SA1614Title => GetResourceString("SA1614Title")!; + /// A C# element is missing documentation for its return value. + public static string @SA1615Description => GetResourceString("SA1615Description")!; + /// Element return value should be documented + public static string @SA1615MessageFormat => GetResourceString("SA1615MessageFormat")!; + /// Document return value + public static string @SA1615SA1616CodeFix => GetResourceString("SA1615SA1616CodeFix")!; + /// Element return value should be documented + public static string @SA1615Title => GetResourceString("SA1615Title")!; + /// The <returns> tag within a C# element's documentation header is empty. + public static string @SA1616Description => GetResourceString("SA1616Description")!; + /// Element return value documentation should have text + public static string @SA1616MessageFormat => GetResourceString("SA1616MessageFormat")!; + /// Element return value documentation should have text + public static string @SA1616Title => GetResourceString("SA1616Title")!; + /// Remove <returns> XML comment + public static string @SA1617CodeFix => GetResourceString("SA1617CodeFix")!; + /// A C# code element does not contain a return value, or returns void, but the documentation header for the element contains a <returns> tag. + public static string @SA1617Description => GetResourceString("SA1617Description")!; + /// Void return value should not be documented + public static string @SA1617MessageFormat => GetResourceString("SA1617MessageFormat")!; + /// Void return value should not be documented + public static string @SA1617Title => GetResourceString("SA1617Title")!; + /// A generic C# element is missing documentation for one or more of its generic type parameters. + public static string @SA1618Description => GetResourceString("SA1618Description")!; + /// The documentation for type parameter '{0}' is missing + public static string @SA1618MessageFormat => GetResourceString("SA1618MessageFormat")!; + /// Generic type parameters should be documented + public static string @SA1618Title => GetResourceString("SA1618Title")!; + /// A generic, partial C# element is missing documentation for one or more of its generic type parameters, and the documentation for the element contains a <summary> tag. + public static string @SA1619Description => GetResourceString("SA1619Description")!; + /// The documentation for type parameter '{0}' is missing + public static string @SA1619MessageFormat => GetResourceString("SA1619MessageFormat")!; + /// Generic type parameters should be documented partial class + public static string @SA1619Title => GetResourceString("SA1619Title")!; + /// The <typeparam> tags within the Xml header documentation for a generic C# element do not match the generic type parameters on the element. + public static string @SA1620Description => GetResourceString("SA1620Description")!; + /// The type parameter '{0}' does not exist. + public static string @SA1620MissingMessageFormat => GetResourceString("SA1620MissingMessageFormat")!; + /// Generic type parameter documentation should match type parameters + public static string @SA1620Title => GetResourceString("SA1620Title")!; + /// The type parameter documentation for '{0}' should be at position {1}. + public static string @SA1620WrongOrderMessageFormat => GetResourceString("SA1620WrongOrderMessageFormat")!; + /// A <typeparam> tag within the XML header documentation for a generic C# element is missing a name attribute, or contains an empty name attribute. + public static string @SA1621Description => GetResourceString("SA1621Description")!; + /// Generic type parameter documentation should declare parameter name. + public static string @SA1621MessageFormat => GetResourceString("SA1621MessageFormat")!; + /// Generic type parameter documentation should declare parameter name + public static string @SA1621Title => GetResourceString("SA1621Title")!; + /// A <typeparam> tag within the Xml header documentation for a generic C# element is empty. + public static string @SA1622Description => GetResourceString("SA1622Description")!; + /// Generic type parameter documentation should have text. + public static string @SA1622MessageFormat => GetResourceString("SA1622MessageFormat")!; + /// Generic type parameter documentation should have text + public static string @SA1622Title => GetResourceString("SA1622Title")!; + /// The documentation text within a C# property’s <summary> tag does not match the accessors within the property. + public static string @SA1623Description => GetResourceString("SA1623Description")!; + /// The property's documentation summary text should begin with: '{0}' + public static string @SA1623MessageFormat => GetResourceString("SA1623MessageFormat")!; + /// Property summary documentation should match accessors + public static string @SA1623Title => GetResourceString("SA1623Title")!; + /// The documentation text within a C# property’s <summary> tag takes into account all of the accessors within the property, but one of the accessors has limited access. + public static string @SA1624Description => GetResourceString("SA1624Description")!; + /// Because the property only contains a visible {0} accessor, the documentation summary text should begin with '{1}'. + public static string @SA1624MessageFormat => GetResourceString("SA1624MessageFormat")!; + /// Property summary documentation should omit accessor with restricted access + public static string @SA1624Title => GetResourceString("SA1624Title")!; + /// The Xml documentation for a C# element contains two or more identical entries, indicating that the documentation has been copied and pasted. This can sometimes indicate invalid or poorly written documentation. + public static string @SA1625Description => GetResourceString("SA1625Description")!; + /// Element documentation should not be copied and pasted + public static string @SA1625MessageFormat => GetResourceString("SA1625MessageFormat")!; + /// Element documentation should not be copied and pasted + public static string @SA1625Title => GetResourceString("SA1625Title")!; + /// Convert to line comment + public static string @SA1626CodeFix => GetResourceString("SA1626CodeFix")!; + /// The C# code contains a single-line comment which begins with three forward slashes in a row. + public static string @SA1626Description => GetResourceString("SA1626Description")!; + /// Single-line comments should not use documentation style slashes + public static string @SA1626MessageFormat => GetResourceString("SA1626MessageFormat")!; + /// Single-line comments should not use documentation style slashes + public static string @SA1626Title => GetResourceString("SA1626Title")!; + /// The XML header documentation for a C# code element contains an empty tag. + public static string @SA1627Description => GetResourceString("SA1627Description")!; + /// The documentation text within the '{0}' tag should not be empty + public static string @SA1627MessageFormat => GetResourceString("SA1627MessageFormat")!; + /// Documentation text should not be empty + public static string @SA1627Title => GetResourceString("SA1627Title")!; + /// A section of the XML header documentation for a C# element does not begin with a capital letter. + public static string @SA1628Description => GetResourceString("SA1628Description")!; + /// TODO: Message format + public static string @SA1628MessageFormat => GetResourceString("SA1628MessageFormat")!; + /// Documentation text should begin with a capital letter + public static string @SA1628Title => GetResourceString("SA1628Title")!; + /// Add period + public static string @SA1629CodeFix => GetResourceString("SA1629CodeFix")!; + /// A section of the XML header documentation for a C# element does not end with a period. + public static string @SA1629Description => GetResourceString("SA1629Description")!; + /// Documentation text should end with a period + public static string @SA1629MessageFormat => GetResourceString("SA1629MessageFormat")!; + /// Documentation text should end with a period + public static string @SA1629Title => GetResourceString("SA1629Title")!; + /// A section of the XML header documentation for a C# element does not contain any whitespace between words. + public static string @SA1630Description => GetResourceString("SA1630Description")!; + /// TODO: Message format + public static string @SA1630MessageFormat => GetResourceString("SA1630MessageFormat")!; + /// Documentation text should contain whitespace + public static string @SA1630Title => GetResourceString("SA1630Title")!; + /// A section of the Xml header documentation for a C# element does not contain enough alphabetic characters. + public static string @SA1631Description => GetResourceString("SA1631Description")!; + /// TODO: Message format + public static string @SA1631MessageFormat => GetResourceString("SA1631MessageFormat")!; + /// Documentation should meet character percentage + public static string @SA1631Title => GetResourceString("SA1631Title")!; + /// A section of the Xml header documentation for a C# element is too short. + public static string @SA1632Description => GetResourceString("SA1632Description")!; + /// TODO: Message format + public static string @SA1632MessageFormat => GetResourceString("SA1632MessageFormat")!; + /// Documentation text should meet minimum character length + public static string @SA1632Title => GetResourceString("SA1632Title")!; + /// Add file header + public static string @SA1633CodeFix => GetResourceString("SA1633CodeFix")!; + /// A C# code file is missing a standard file header. + public static string @SA1633Description => GetResourceString("SA1633Description")!; + /// The file header XML is invalid. + public static string @SA1633MessageFormatMalformed => GetResourceString("SA1633MessageFormatMalformed")!; + /// The file header is missing or not located at the top of the file. + public static string @SA1633MessageFormatMissing => GetResourceString("SA1633MessageFormatMissing")!; + /// File should have header + public static string @SA1633Title => GetResourceString("SA1633Title")!; + /// The file header at the top of a C# code file is missing a copyright tag. + public static string @SA1634Description => GetResourceString("SA1634Description")!; + /// The file header should contain a copyright tag. + public static string @SA1634MessageFormat => GetResourceString("SA1634MessageFormat")!; + /// File header should show copyright + public static string @SA1634Title => GetResourceString("SA1634Title")!; + /// The file header at the top of a C# code file is missing copyright text. + public static string @SA1635Description => GetResourceString("SA1635Description")!; + /// File header should have copyright text + public static string @SA1635MessageFormat => GetResourceString("SA1635MessageFormat")!; + /// File header should have copyright text + public static string @SA1635Title => GetResourceString("SA1635Title")!; + /// The file header at the top of a C# code file does not contain the appropriate copyright text. + public static string @SA1636Description => GetResourceString("SA1636Description")!; + /// The file header copyright text should match the copyright text from the settings. + public static string @SA1636MessageFormat => GetResourceString("SA1636MessageFormat")!; + /// File header copyright text should match + public static string @SA1636Title => GetResourceString("SA1636Title")!; + /// The file header at the top of a C# code file is missing the file name. + public static string @SA1637Description => GetResourceString("SA1637Description")!; + /// File header should contain file name. + public static string @SA1637MessageFormat => GetResourceString("SA1637MessageFormat")!; + /// File header should contain file name + public static string @SA1637Title => GetResourceString("SA1637Title")!; + /// The file attribute within copyright tag of the file header at the top of a C# code file does not contain the name of the file. + public static string @SA1638Description => GetResourceString("SA1638Description")!; + /// File header file name documentation should match file name. + public static string @SA1638MessageFormat => GetResourceString("SA1638MessageFormat")!; + /// File header file name documentation should match file name + public static string @SA1638Title => GetResourceString("SA1638Title")!; + /// The file header at the top of a C# code file does not contain a filled-in summary tag. + public static string @SA1639Description => GetResourceString("SA1639Description")!; + /// File header should have summary + public static string @SA1639MessageFormat => GetResourceString("SA1639MessageFormat")!; + /// File header should have summary + public static string @SA1639Title => GetResourceString("SA1639Title")!; + /// The file header at the top of a C# code file does not contain company name text. + public static string @SA1640Description => GetResourceString("SA1640Description")!; + /// The copyright tag should contain a non-empty company attribute. + public static string @SA1640MessageFormat => GetResourceString("SA1640MessageFormat")!; + /// File header should have valid company text + public static string @SA1640Title => GetResourceString("SA1640Title")!; + /// The file header at the top of a C# code file does not contain the appropriate company name text. + public static string @SA1641Description => GetResourceString("SA1641Description")!; + /// The file header company name should match the company name from the settings. + public static string @SA1641MessageFormat => GetResourceString("SA1641MessageFormat")!; + /// File header company name text should match + public static string @SA1641Title => GetResourceString("SA1641Title")!; + /// The XML documentation header for a C# constructor does not contain the appropriate summary text. + public static string @SA1642Description => GetResourceString("SA1642Description")!; + /// Constructor summary documentation should begin with standard text + public static string @SA1642MessageFormat => GetResourceString("SA1642MessageFormat")!; + /// Add standard text + public static string @SA1642SA1643CodeFix => GetResourceString("SA1642SA1643CodeFix")!; + /// Constructor summary documentation should begin with standard text + public static string @SA1642Title => GetResourceString("SA1642Title")!; + /// The XML documentation header for a C# finalizer does not contain the appropriate summary text. + public static string @SA1643Description => GetResourceString("SA1643Description")!; + /// Destructor summary documentation should begin with standard text + public static string @SA1643MessageFormat => GetResourceString("SA1643MessageFormat")!; + /// Destructor summary documentation should begin with standard text + public static string @SA1643Title => GetResourceString("SA1643Title")!; + /// A section within the XML documentation header for a C# element contains blank lines. + public static string @SA1644Description => GetResourceString("SA1644Description")!; + /// TODO: Message format + public static string @SA1644MessageFormat => GetResourceString("SA1644MessageFormat")!; + /// Documentation headers should not contain blank lines + public static string @SA1644Title => GetResourceString("SA1644Title")!; + /// An included XML documentation file does not exist. + public static string @SA1645Description => GetResourceString("SA1645Description")!; + /// TODO: Message format + public static string @SA1645MessageFormat => GetResourceString("SA1645MessageFormat")!; + /// Included documentation file does not exist + public static string @SA1645Title => GetResourceString("SA1645Title")!; + /// An included XML documentation link contains an invalid path. + public static string @SA1646Description => GetResourceString("SA1646Description")!; + /// TODO: Message format + public static string @SA1646MessageFormat => GetResourceString("SA1646MessageFormat")!; + /// Included documentation XPath does not exist + public static string @SA1646Title => GetResourceString("SA1646Title")!; + /// An include tag within an XML documentation header does not contain valid file and path attribute. + public static string @SA1647Description => GetResourceString("SA1647Description")!; + /// TODO: Message format + public static string @SA1647MessageFormat => GetResourceString("SA1647MessageFormat")!; + /// Include node does not contain valid file and path + public static string @SA1647Title => GetResourceString("SA1647Title")!; + /// <inheritdoc> has been used on an element that doesn't inherit from a base class or implement an interface. + public static string @SA1648Description => GetResourceString("SA1648Description")!; + /// inheritdoc should be used with inheriting class + public static string @SA1648MessageFormat => GetResourceString("SA1648MessageFormat")!; + /// inheritdoc should be used with inheriting class + public static string @SA1648Title => GetResourceString("SA1648Title")!; + /// Rename file to match first type name + public static string @SA1649CodeFix => GetResourceString("SA1649CodeFix")!; + /// The file name of a C# code file does not match the first type declared in the file. + public static string @SA1649Description => GetResourceString("SA1649Description")!; + /// File name should match first type name + public static string @SA1649MessageFormat => GetResourceString("SA1649MessageFormat")!; + /// File name should match first type name + public static string @SA1649Title => GetResourceString("SA1649Title")!; + /// The element documentation for the element contains one or more spelling mistakes or unrecognized words. + public static string @SA1650Description => GetResourceString("SA1650Description")!; + /// TODO: Message format + public static string @SA1650MessageFormat => GetResourceString("SA1650MessageFormat")!; + /// Element documentation should be spelled correctly + public static string @SA1650Title => GetResourceString("SA1650Title")!; + /// Finalize placeholder text + public static string @SA1651CodeFix => GetResourceString("SA1651CodeFix")!; + /// The element documentation contains a <placeholder> element. + public static string @SA1651Description => GetResourceString("SA1651Description")!; + /// Do not use placeholder elements + public static string @SA1651MessageFormat => GetResourceString("SA1651MessageFormat")!; + /// Do not use placeholder elements + public static string @SA1651Title => GetResourceString("SA1651Title")!; + /// Gets + public static string @StartingTextGets => GetResourceString("StartingTextGets")!; + /// Gets or sets + public static string @StartingTextGetsOrSets => GetResourceString("StartingTextGetsOrSets")!; + /// Gets or sets a value indicating whether + public static string @StartingTextGetsOrSetsWhether => GetResourceString("StartingTextGetsOrSetsWhether")!; + /// Gets a value indicating whether + public static string @StartingTextGetsWhether => GetResourceString("StartingTextGetsWhether")!; + /// Returns + public static string @StartingTextReturns => GetResourceString("StartingTextReturns")!; + /// Returns a value indicating whether + public static string @StartingTextReturnsWhether => GetResourceString("StartingTextReturnsWhether")!; + /// Sets + public static string @StartingTextSets => GetResourceString("StartingTextSets")!; + /// Sets a value indicating whether + public static string @StartingTextSetsWhether => GetResourceString("StartingTextSetsWhether")!; + /// Initializes static members of the + public static string @StaticConstructorStandardTextFirstPart => GetResourceString("StaticConstructorStandardTextFirstPart")!; + /// {0} + public static string @StaticConstructorStandardTextSecondPart => GetResourceString("StaticConstructorStandardTextSecondPart")!; + /// A + public static string @TaskReturnElementFirstPart => GetResourceString("TaskReturnElementFirstPart")!; + /// representing the result of the asynchronous operation. + public static string @TaskReturnElementSecondPart => GetResourceString("TaskReturnElementSecondPart")!; + /// class + public static string @TypeTextClass => GetResourceString("TypeTextClass")!; + /// struct + public static string @TypeTextStruct => GetResourceString("TypeTextStruct")!; + + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/HelpersResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/HelpersResources.Designer.cs new file mode 100644 index 000000000..126525ea1 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/HelpersResources.Designer.cs @@ -0,0 +1,25 @@ +// + +#nullable enable +using System.Reflection; + + +namespace StyleCop.Analyzers.Helpers +{ + internal static partial class HelpersResources + { + private static global::System.Resources.ResourceManager? s_resourceManager; + public static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(HelpersResources))); + public static global::System.Globalization.CultureInfo? Culture { get; set; } + [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + [return: global::System.Diagnostics.CodeAnalysis.NotNullIfNotNull("defaultValue")] + internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; + /// Fix all '{0}' + public static string @FixAllOccurrencesOfDiagnostic => GetResourceString("FixAllOccurrencesOfDiagnostic")!; + /// Fix all '{0}' in '{1}' + public static string @FixAllOccurrencesOfDiagnosticInScope => GetResourceString("FixAllOccurrencesOfDiagnosticInScope")!; + /// Fix all '{0}' in Solution + public static string @FixAllOccurrencesOfDiagnosticInSolution => GetResourceString("FixAllOccurrencesOfDiagnosticInSolution")!; + + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/LayoutResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/LayoutResources.Designer.cs new file mode 100644 index 000000000..b261b244e --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/LayoutResources.Designer.cs @@ -0,0 +1,207 @@ +// + +#nullable enable +using System.Reflection; + + +namespace StyleCop.Analyzers.LayoutRules +{ + internal static partial class LayoutResources + { + private static global::System.Resources.ResourceManager? s_resourceManager; + public static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(LayoutResources))); + public static global::System.Globalization.CultureInfo? Culture { get; set; } + [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + [return: global::System.Diagnostics.CodeAnalysis.NotNullIfNotNull("defaultValue")] + internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; + /// Align braces + public static string @SA1500CodeFix => GetResourceString("SA1500CodeFix")!; + /// The opening or closing brace within a C# statement, element, or expression is not placed on its own line. + public static string @SA1500Description => GetResourceString("SA1500Description")!; + /// Braces for multi-line statements should not share line + public static string @SA1500MessageFormat => GetResourceString("SA1500MessageFormat")!; + /// Braces for multi-line statements should not share line + public static string @SA1500Title => GetResourceString("SA1500Title")!; + /// Expand single line block + public static string @SA1501CodeFix => GetResourceString("SA1501CodeFix")!; + /// Expand all single line blocks + public static string @SA1501CodeFixAll => GetResourceString("SA1501CodeFixAll")!; + /// A C# statement containing opening and closing braces is written completely on a single line. + public static string @SA1501Description => GetResourceString("SA1501Description")!; + /// Statement should not be on a single line + public static string @SA1501MessageFormat => GetResourceString("SA1501MessageFormat")!; + /// Statement should not be on a single line + public static string @SA1501Title => GetResourceString("SA1501Title")!; + /// Expand element + public static string @SA1502CodeFix => GetResourceString("SA1502CodeFix")!; + /// A C# element containing opening and closing braces is written completely on a single line. + public static string @SA1502Description => GetResourceString("SA1502Description")!; + /// Element should not be on a single line + public static string @SA1502MessageFormat => GetResourceString("SA1502MessageFormat")!; + /// Element should not be on a single line + public static string @SA1502Title => GetResourceString("SA1502Title")!; + /// Wrap with braces + public static string @SA1503CodeFix => GetResourceString("SA1503CodeFix")!; + /// The opening and closing braces for a C# statement have been omitted. + public static string @SA1503Description => GetResourceString("SA1503Description")!; + /// Braces should not be omitted + public static string @SA1503MessageFormat => GetResourceString("SA1503MessageFormat")!; + /// Braces should not be omitted + public static string @SA1503Title => GetResourceString("SA1503Title")!; + /// Reformat accessors to multiple lines style + public static string @SA1504CodeFixMultipleLines => GetResourceString("SA1504CodeFixMultipleLines")!; + /// Reformat accessors to single line style + public static string @SA1504CodeFixSingleLine => GetResourceString("SA1504CodeFixSingleLine")!; + /// Within a C# property, indexer or event, at least one of the child accessors is written on a single line, and at least one of the child accessors is written across multiple lines. + public static string @SA1504Description => GetResourceString("SA1504Description")!; + /// All accessors should be single-line or multi-line + public static string @SA1504MessageFormat => GetResourceString("SA1504MessageFormat")!; + /// All accessors should be single-line or multi-line + public static string @SA1504Title => GetResourceString("SA1504Title")!; + /// Remove blank lines following this brace + public static string @SA1505CodeFix => GetResourceString("SA1505CodeFix")!; + /// An opening brace within a C# element, statement, or expression is followed by a blank line. + public static string @SA1505Description => GetResourceString("SA1505Description")!; + /// An opening brace should not be followed by a blank line + public static string @SA1505MessageFormat => GetResourceString("SA1505MessageFormat")!; + /// Opening braces should not be followed by blank line + public static string @SA1505Title => GetResourceString("SA1505Title")!; + /// Remove blank line(s) after documentation header + public static string @SA1506CodeFix => GetResourceString("SA1506CodeFix")!; + /// An element documentation header above a C# element is followed by a blank line. + public static string @SA1506Description => GetResourceString("SA1506Description")!; + /// Element documentation headers should not be followed by blank line + public static string @SA1506MessageFormat => GetResourceString("SA1506MessageFormat")!; + /// Element documentation headers should not be followed by blank line + public static string @SA1506Title => GetResourceString("SA1506Title")!; + /// Remove multiple blank lines + public static string @SA1507CodeFix => GetResourceString("SA1507CodeFix")!; + /// The C# code contains multiple blank lines in a row. + public static string @SA1507Description => GetResourceString("SA1507Description")!; + /// Code should not contain multiple blank lines in a row + public static string @SA1507MessageFormat => GetResourceString("SA1507MessageFormat")!; + /// Code should not contain multiple blank lines in a row + public static string @SA1507Title => GetResourceString("SA1507Title")!; + /// Remove blank lines preceding this brace + public static string @SA1508CodeFix => GetResourceString("SA1508CodeFix")!; + /// A closing brace within a C# element, statement, or expression is preceded by a blank line. + public static string @SA1508Description => GetResourceString("SA1508Description")!; + /// A closing brace should not be preceded by a blank line + public static string @SA1508MessageFormat => GetResourceString("SA1508MessageFormat")!; + /// Closing braces should not be preceded by blank line + public static string @SA1508Title => GetResourceString("SA1508Title")!; + /// Remove blank lines preceding this brace + public static string @SA1509CodeFix => GetResourceString("SA1509CodeFix")!; + /// An opening brace within a C# element, statement, or expression is preceded by a blank line. + public static string @SA1509Description => GetResourceString("SA1509Description")!; + /// Opening braces should not be preceded by blank line + public static string @SA1509MessageFormat => GetResourceString("SA1509MessageFormat")!; + /// Opening braces should not be preceded by blank line + public static string @SA1509Title => GetResourceString("SA1509Title")!; + /// Remove blank line before chained statement + public static string @SA1510CodeFix => GetResourceString("SA1510CodeFix")!; + /// Chained C# statements are separated by a blank line. + public static string @SA1510Description => GetResourceString("SA1510Description")!; + /// '{0}' statement should not be preceded by a blank line + public static string @SA1510MessageFormat => GetResourceString("SA1510MessageFormat")!; + /// Chained statement blocks should not be preceded by blank line + public static string @SA1510Title => GetResourceString("SA1510Title")!; + /// Remove blank line before while + public static string @SA1511CodeFix => GetResourceString("SA1511CodeFix")!; + /// The while footer at the bottom of a do-while statement is separated from the statement by a blank line. + public static string @SA1511Description => GetResourceString("SA1511Description")!; + /// While-do footer should not be preceded by blank line + public static string @SA1511MessageFormat => GetResourceString("SA1511MessageFormat")!; + /// While-do footer should not be preceded by blank line + public static string @SA1511Title => GetResourceString("SA1511Title")!; + /// Remove blank line after comment + public static string @SA1512CodeFix => GetResourceString("SA1512CodeFix")!; + /// A single-line comment within C# code is followed by a blank line. + public static string @SA1512Description => GetResourceString("SA1512Description")!; + /// Single-line comments should not be followed by blank line + public static string @SA1512MessageFormat => GetResourceString("SA1512MessageFormat")!; + /// Single-line comments should not be followed by blank line + public static string @SA1512Title => GetResourceString("SA1512Title")!; + /// Insert blank line after brace + public static string @SA1513CodeFix => GetResourceString("SA1513CodeFix")!; + /// A closing brace within a C# element, statement, or expression is not followed by a blank line. + public static string @SA1513Description => GetResourceString("SA1513Description")!; + /// Closing brace should be followed by blank line + public static string @SA1513MessageFormat => GetResourceString("SA1513MessageFormat")!; + /// Closing brace should be followed by blank line + public static string @SA1513Title => GetResourceString("SA1513Title")!; + /// Insert blank line before documentation header + public static string @SA1514CodeFix => GetResourceString("SA1514CodeFix")!; + /// An element documentation header above a C# element is not preceded by a blank line. + public static string @SA1514Description => GetResourceString("SA1514Description")!; + /// Element documentation header should be preceded by blank line + public static string @SA1514MessageFormat => GetResourceString("SA1514MessageFormat")!; + /// Element documentation header should be preceded by blank line + public static string @SA1514Title => GetResourceString("SA1514Title")!; + /// Insert blank line before comment + public static string @SA1515CodeFix => GetResourceString("SA1515CodeFix")!; + /// A single-line comment within C# code is not preceded by a blank line. + public static string @SA1515Description => GetResourceString("SA1515Description")!; + /// Single-line comment should be preceded by blank line + public static string @SA1515MessageFormat => GetResourceString("SA1515MessageFormat")!; + /// Single-line comment should be preceded by blank line + public static string @SA1515Title => GetResourceString("SA1515Title")!; + /// Fix blank lines + public static string @SA1516CodeFixAll => GetResourceString("SA1516CodeFixAll")!; + /// Insert new line + public static string @SA1516CodeFixInsert => GetResourceString("SA1516CodeFixInsert")!; + /// Remove blank line + public static string @SA1516CodeFixRemove => GetResourceString("SA1516CodeFixRemove")!; + /// Adjacent C# elements are not separated by a blank line. + public static string @SA1516Description => GetResourceString("SA1516Description")!; + /// Adjacent using directives should not be separated by a blank line. + public static string @SA1516DescriptionOmit => GetResourceString("SA1516DescriptionOmit")!; + /// Adjacent using directives should be separated by a blank line. + public static string @SA1516DescriptionRequire => GetResourceString("SA1516DescriptionRequire")!; + /// Elements should be separated by blank line + public static string @SA1516MessageFormat => GetResourceString("SA1516MessageFormat")!; + /// Using directives should not be separated by blank line + public static string @SA1516MessageFormatOmit => GetResourceString("SA1516MessageFormatOmit")!; + /// Using directives should be separated by blank line + public static string @SA1516MessageFormatRequire => GetResourceString("SA1516MessageFormatRequire")!; + /// Elements should be separated by blank line + public static string @SA1516Title => GetResourceString("SA1516Title")!; + /// Remove blank lines at the start of the file + public static string @SA1517CodeFix => GetResourceString("SA1517CodeFix")!; + /// The code file has blank lines at the start. + public static string @SA1517Description => GetResourceString("SA1517Description")!; + /// Code should not contain blank lines at start of file + public static string @SA1517MessageFormat => GetResourceString("SA1517MessageFormat")!; + /// Code should not contain blank lines at start of file + public static string @SA1517Title => GetResourceString("SA1517Title")!; + /// Fix whitespace at the end of the file + public static string @SA1518CodeFix => GetResourceString("SA1518CodeFix")!; + /// Code should not contain blank lines at the end of the file. + public static string @SA1518DescriptionAllow => GetResourceString("SA1518DescriptionAllow")!; + /// File may not end with a newline character. + public static string @SA1518DescriptionOmit => GetResourceString("SA1518DescriptionOmit")!; + /// File is required to end with a single newline character. + public static string @SA1518DescriptionRequire => GetResourceString("SA1518DescriptionRequire")!; + /// Code should not contain blank lines at the end of the file + public static string @SA1518MessageFormatAllow => GetResourceString("SA1518MessageFormatAllow")!; + /// File may not end with a newline character + public static string @SA1518MessageFormatOmit => GetResourceString("SA1518MessageFormatOmit")!; + /// File is required to end with a single newline character + public static string @SA1518MessageFormatRequire => GetResourceString("SA1518MessageFormatRequire")!; + /// Use line endings correctly at end of file + public static string @SA1518Title => GetResourceString("SA1518Title")!; + /// The opening and closing braces for a multi-line C# statement have been omitted. + public static string @SA1519Description => GetResourceString("SA1519Description")!; + /// Braces should not be omitted from multi-line child statement + public static string @SA1519MessageFormat => GetResourceString("SA1519MessageFormat")!; + /// Braces should not be omitted from multi-line child statement + public static string @SA1519Title => GetResourceString("SA1519Title")!; + /// The opening and closing braces of a chained if/else if/else construct were included for some clauses, but omitted for others. + public static string @SA1520Description => GetResourceString("SA1520Description")!; + /// Use braces consistently + public static string @SA1520MessageFormat => GetResourceString("SA1520MessageFormat")!; + /// Use braces consistently + public static string @SA1520Title => GetResourceString("SA1520Title")!; + + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/MaintainabilityResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/MaintainabilityResources.Designer.cs new file mode 100644 index 000000000..c704b6b44 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/MaintainabilityResources.Designer.cs @@ -0,0 +1,131 @@ +// + +#nullable enable +using System.Reflection; + + +namespace StyleCop.Analyzers.MaintainabilityRules +{ + internal static partial class MaintainabilityResources + { + private static global::System.Resources.ResourceManager? s_resourceManager; + public static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(MaintainabilityResources))); + public static global::System.Globalization.CultureInfo? Culture { get; set; } + [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + [return: global::System.Diagnostics.CodeAnalysis.NotNullIfNotNull("defaultValue")] + internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; + /// Remove parentheses + public static string @SA1119CodeFix => GetResourceString("SA1119CodeFix")!; + /// A C# statement contains parenthesis which are unnecessary and should be removed. + public static string @SA1119Description => GetResourceString("SA1119Description")!; + /// Statement should not use unnecessary parenthesis + public static string @SA1119MessageFormat => GetResourceString("SA1119MessageFormat")!; + /// Statement should not use unnecessary parenthesis + public static string @SA1119Title => GetResourceString("SA1119Title")!; + /// Declare accessibility + public static string @SA1400CodeFix => GetResourceString("SA1400CodeFix")!; + /// The access modifier for a C# element has not been explicitly defined. + public static string @SA1400Description => GetResourceString("SA1400Description")!; + /// Element '{0}' should declare an access modifier + public static string @SA1400MessageFormat => GetResourceString("SA1400MessageFormat")!; + /// Access modifier should be declared + public static string @SA1400Title => GetResourceString("SA1400Title")!; + /// A field within a C# class has an access modifier other than private. + public static string @SA1401Description => GetResourceString("SA1401Description")!; + /// Field should be private + public static string @SA1401MessageFormat => GetResourceString("SA1401MessageFormat")!; + /// Fields should be private + public static string @SA1401Title => GetResourceString("SA1401Title")!; + /// Move type to new file + public static string @SA1402CodeFix => GetResourceString("SA1402CodeFix")!; + /// A C# code file contains more than one unique type. + public static string @SA1402Description => GetResourceString("SA1402Description")!; + /// File may only contain a single type + public static string @SA1402MessageFormat => GetResourceString("SA1402MessageFormat")!; + /// File may only contain a single type + public static string @SA1402Title => GetResourceString("SA1402Title")!; + /// A C# code file contains more than one namespace. + public static string @SA1403Description => GetResourceString("SA1403Description")!; + /// File may only contain a single namespace + public static string @SA1403MessageFormat => GetResourceString("SA1403MessageFormat")!; + /// File may only contain a single namespace + public static string @SA1403Title => GetResourceString("SA1403Title")!; + /// Fix justification + public static string @SA1404CodeFix => GetResourceString("SA1404CodeFix")!; + /// A Code Analysis SuppressMessage attribute does not include a justification. + public static string @SA1404Description => GetResourceString("SA1404Description")!; + /// Code analysis suppression should have justification + public static string @SA1404MessageFormat => GetResourceString("SA1404MessageFormat")!; + /// Code analysis suppression should have justification + public static string @SA1404Title => GetResourceString("SA1404Title")!; + /// A call to Debug.Assert in C# code does not include a descriptive message. + public static string @SA1405Description => GetResourceString("SA1405Description")!; + /// Debug.Assert should provide message text + public static string @SA1405MessageFormat => GetResourceString("SA1405MessageFormat")!; + /// Debug.Assert should provide message text + public static string @SA1405Title => GetResourceString("SA1405Title")!; + /// A call to Debug.Fail in C# code does not include a descriptive message. + public static string @SA1406Description => GetResourceString("SA1406Description")!; + /// Debug.Fail should provide message text + public static string @SA1406MessageFormat => GetResourceString("SA1406MessageFormat")!; + /// Debug.Fail should provide message text + public static string @SA1406Title => GetResourceString("SA1406Title")!; + /// A C# statement contains a complex arithmetic expression which omits parenthesis around operators. + public static string @SA1407Description => GetResourceString("SA1407Description")!; + /// Arithmetic expressions should declare precedence + public static string @SA1407MessageFormat => GetResourceString("SA1407MessageFormat")!; + /// Add parentheses + public static string @SA1407SA1408CodeFix => GetResourceString("SA1407SA1408CodeFix")!; + /// Arithmetic expressions should declare precedence + public static string @SA1407Title => GetResourceString("SA1407Title")!; + /// A C# statement contains a complex conditional expression which omits parenthesis around operators. + public static string @SA1408Description => GetResourceString("SA1408Description")!; + /// Conditional expressions should declare precedence + public static string @SA1408MessageFormat => GetResourceString("SA1408MessageFormat")!; + /// Conditional expressions should declare precedence + public static string @SA1408Title => GetResourceString("SA1408Title")!; + /// A C# file contains code which is unnecessary and can be removed without changing the overall logic of the code. + public static string @SA1409Description => GetResourceString("SA1409Description")!; + /// TODO: Message format + public static string @SA1409MessageFormat => GetResourceString("SA1409MessageFormat")!; + /// Remove unnecessary code + public static string @SA1409Title => GetResourceString("SA1409Title")!; + /// A call to a C# anonymous method does not contain any method parameters, yet the statement still includes parenthesis. + public static string @SA1410Description => GetResourceString("SA1410Description")!; + /// Remove delegate parenthesis when possible + public static string @SA1410MessageFormat => GetResourceString("SA1410MessageFormat")!; + /// Remove parentheses + public static string @SA1410SA1411CodeFix => GetResourceString("SA1410SA1411CodeFix")!; + /// Remove delegate parenthesis when possible + public static string @SA1410Title => GetResourceString("SA1410Title")!; + /// TODO. + public static string @SA1411Description => GetResourceString("SA1411Description")!; + /// Attribute constructor should not use unnecessary parenthesis + public static string @SA1411MessageFormat => GetResourceString("SA1411MessageFormat")!; + /// Attribute constructor should not use unnecessary parenthesis + public static string @SA1411Title => GetResourceString("SA1411Title")!; + /// Change encoding from '{0}' to UTF-8 with byte order mark + public static string @SA1412CodeFix => GetResourceString("SA1412CodeFix")!; + /// Source files should be saved using the UTF-8 encoding with a byte order mark. + public static string @SA1412Description => GetResourceString("SA1412Description")!; + /// Store files as UTF-8 with byte order mark + public static string @SA1412MessageFormat => GetResourceString("SA1412MessageFormat")!; + /// Store files as UTF-8 with byte order mark + public static string @SA1412Title => GetResourceString("SA1412Title")!; + /// Add trailing comma + public static string @SA1413CodeFix => GetResourceString("SA1413CodeFix")!; + /// A multi-line initializer in a C# code file should use a comma on the last line. + public static string @SA1413Description => GetResourceString("SA1413Description")!; + /// Use trailing comma in multi-line initializers + public static string @SA1413MessageFormat => GetResourceString("SA1413MessageFormat")!; + /// Use trailing comma in multi-line initializers + public static string @SA1413Title => GetResourceString("SA1413Title")!; + /// Tuple types appearing in member declarations should have explicitly named tuple elements. + public static string @SA1414Description => GetResourceString("SA1414Description")!; + /// Tuple types in signatures should have element names + public static string @SA1414MessageFormat => GetResourceString("SA1414MessageFormat")!; + /// Tuple types in signatures should have element names + public static string @SA1414Title => GetResourceString("SA1414Title")!; + + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/NamingResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/NamingResources.Designer.cs new file mode 100644 index 000000000..6393d2d1b --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/NamingResources.Designer.cs @@ -0,0 +1,135 @@ +// + +#nullable enable +using System.Reflection; + + +namespace StyleCop.Analyzers.NamingRules +{ + internal static partial class NamingResources + { + private static global::System.Resources.ResourceManager? s_resourceManager; + public static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(NamingResources))); + public static global::System.Globalization.CultureInfo? Culture { get; set; } + [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + [return: global::System.Diagnostics.CodeAnalysis.NotNullIfNotNull("defaultValue")] + internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; + /// Rename To '{0}' + public static string @RenameToCodeFix => GetResourceString("RenameToCodeFix")!; + /// The name of a C# element does not begin with an upper-case letter. + public static string @SA1300Description => GetResourceString("SA1300Description")!; + /// Element '{0}' should begin with an uppercase letter + public static string @SA1300MessageFormat => GetResourceString("SA1300MessageFormat")!; + /// Element should begin with upper-case letter + public static string @SA1300Title => GetResourceString("SA1300Title")!; + /// There are currently no situations in which this rule will fire. + public static string @SA1301Description => GetResourceString("SA1301Description")!; + /// Element should begin with lower-case letter + public static string @SA1301MessageFormat => GetResourceString("SA1301MessageFormat")!; + /// Element should begin with lower-case letter + public static string @SA1301Title => GetResourceString("SA1301Title")!; + /// Prefix interface name with 'I' + public static string @SA1302CodeFix => GetResourceString("SA1302CodeFix")!; + /// The name of a C# interface does not begin with the capital letter I. + public static string @SA1302Description => GetResourceString("SA1302Description")!; + /// Interface names should begin with I + public static string @SA1302MessageFormat => GetResourceString("SA1302MessageFormat")!; + /// Interface names should begin with I + public static string @SA1302Title => GetResourceString("SA1302Title")!; + /// The name of a constant C# field should begin with an upper-case letter. + public static string @SA1303Description => GetResourceString("SA1303Description")!; + /// Const field names should begin with upper-case letter + public static string @SA1303MessageFormat => GetResourceString("SA1303MessageFormat")!; + /// Const field names should begin with upper-case letter + public static string @SA1303Title => GetResourceString("SA1303Title")!; + /// The name of a non-private readonly C# field should being with an upper-case letter. + public static string @SA1304Description => GetResourceString("SA1304Description")!; + /// Non-private readonly fields should begin with upper-case letter + public static string @SA1304MessageFormat => GetResourceString("SA1304MessageFormat")!; + /// Non-private readonly fields should begin with upper-case letter + public static string @SA1304Title => GetResourceString("SA1304Title")!; + /// The name of a field or variable in C# uses Hungarian notation. + public static string @SA1305Description => GetResourceString("SA1305Description")!; + /// {0} '{1}' should not use Hungarian notation + public static string @SA1305MessageFormat => GetResourceString("SA1305MessageFormat")!; + /// Field names should not use Hungarian notation + public static string @SA1305Title => GetResourceString("SA1305Title")!; + /// The name of a field in C# does not begin with a lower-case letter. + public static string @SA1306Description => GetResourceString("SA1306Description")!; + /// Field '{0}' should begin with lower-case letter + public static string @SA1306MessageFormat => GetResourceString("SA1306MessageFormat")!; + /// Field names should begin with lower-case letter + public static string @SA1306Title => GetResourceString("SA1306Title")!; + /// The name of a public or internal field in C# does not begin with an upper-case letter. + public static string @SA1307Description => GetResourceString("SA1307Description")!; + /// Field '{0}' should begin with upper-case letter + public static string @SA1307MessageFormat => GetResourceString("SA1307MessageFormat")!; + /// Accessible fields should begin with upper-case letter + public static string @SA1307Title => GetResourceString("SA1307Title")!; + /// A field name in C# is prefixed with 'm_', 's_', or 't_'. + public static string @SA1308Description => GetResourceString("SA1308Description")!; + /// Field '{0}' should not begin with the prefix '{1}' + public static string @SA1308MessageFormat => GetResourceString("SA1308MessageFormat")!; + /// Variable names should not be prefixed + public static string @SA1308Title => GetResourceString("SA1308Title")!; + /// A field name in C# begins with an underscore. + public static string @SA1309Description => GetResourceString("SA1309Description")!; + /// Field '{0}' should not begin with an underscore + public static string @SA1309MessageFormat => GetResourceString("SA1309MessageFormat")!; + /// Field names should not begin with underscore + public static string @SA1309Title => GetResourceString("SA1309Title")!; + /// A field name in C# contains an underscore. + public static string @SA1310Description => GetResourceString("SA1310Description")!; + /// Field '{0}' should not contain an underscore + public static string @SA1310MessageFormat => GetResourceString("SA1310MessageFormat")!; + /// Field names should not contain underscore + public static string @SA1310Title => GetResourceString("SA1310Title")!; + /// The name of a static readonly field does not begin with an upper-case letter. + public static string @SA1311Description => GetResourceString("SA1311Description")!; + /// Static readonly fields should begin with upper-case letter + public static string @SA1311MessageFormat => GetResourceString("SA1311MessageFormat")!; + /// Static readonly fields should begin with upper-case letter + public static string @SA1311Title => GetResourceString("SA1311Title")!; + /// The name of a variable in C# does not begin with a lower-case letter. + public static string @SA1312Description => GetResourceString("SA1312Description")!; + /// Variable '{0}' should begin with lower-case letter + public static string @SA1312MessageFormat => GetResourceString("SA1312MessageFormat")!; + /// Variable names should begin with lower-case letter + public static string @SA1312Title => GetResourceString("SA1312Title")!; + /// The name of a parameter in C# does not begin with a lower-case letter. + public static string @SA1313Description => GetResourceString("SA1313Description")!; + /// Parameter '{0}' should begin with lower-case letter + public static string @SA1313MessageFormat => GetResourceString("SA1313MessageFormat")!; + /// Parameter names should begin with lower-case letter + public static string @SA1313Title => GetResourceString("SA1313Title")!; + /// Prefix type parameter name with 'T' + public static string @SA1314CodeFix => GetResourceString("SA1314CodeFix")!; + /// The name of a C# type parameter does not begin with the capital letter T. + public static string @SA1314Description => GetResourceString("SA1314Description")!; + /// Type parameter names should begin with T + public static string @SA1314MessageFormat => GetResourceString("SA1314MessageFormat")!; + /// Type parameter names should begin with T + public static string @SA1314Title => GetResourceString("SA1314Title")!; + /// Correct tuple element name casing + public static string @SA1316CodeFix => GetResourceString("SA1316CodeFix")!; + /// Element names within a tuple type should have the correct casing. + public static string @SA1316Description => GetResourceString("SA1316Description")!; + /// Tuple element names should use correct casing + public static string @SA1316MessageFormat => GetResourceString("SA1316MessageFormat")!; + /// Tuple element names should use correct casing + public static string @SA1316Title => GetResourceString("SA1316Title")!; + /// A field name in C# does not begin with an underscore. + public static string @SX1309Description => GetResourceString("SX1309Description")!; + /// Field '{0}' should begin with an underscore + public static string @SX1309MessageFormat => GetResourceString("SX1309MessageFormat")!; + /// A static field name in C# does not begin with an underscore. + public static string @SX1309SDescription => GetResourceString("SX1309SDescription")!; + /// Static field '{0}' should begin with an underscore + public static string @SX1309SMessageFormat => GetResourceString("SX1309SMessageFormat")!; + /// Static field names should begin with underscore + public static string @SX1309STitle => GetResourceString("SX1309STitle")!; + /// Field names should begin with underscore + public static string @SX1309Title => GetResourceString("SX1309Title")!; + + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/OrderingResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/OrderingResources.Designer.cs new file mode 100644 index 000000000..85eafd3e6 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/OrderingResources.Designer.cs @@ -0,0 +1,137 @@ +// + +#nullable enable +using System.Reflection; + + +namespace StyleCop.Analyzers.OrderingRules +{ + internal static partial class OrderingResources + { + private static global::System.Resources.ResourceManager? s_resourceManager; + public static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(OrderingResources))); + public static global::System.Globalization.CultureInfo? Culture { get; set; } + [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + [return: global::System.Diagnostics.CodeAnalysis.NotNullIfNotNull("defaultValue")] + internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; + /// Fix element order + public static string @ElementOrderCodeFix => GetResourceString("ElementOrderCodeFix")!; + /// Fix modifier order + public static string @ModifierOrderCodeFix => GetResourceString("ModifierOrderCodeFix")!; + /// A C# using directive is placed outside of a namespace element. + public static string @SA1200DescriptionInside => GetResourceString("SA1200DescriptionInside")!; + /// A C# using directive is placed inside of a namespace declaration. + public static string @SA1200DescriptionOutside => GetResourceString("SA1200DescriptionOutside")!; + /// Using directive should appear within a namespace declaration + public static string @SA1200MessageFormatInside => GetResourceString("SA1200MessageFormatInside")!; + /// Using directive should appear outside a namespace declaration + public static string @SA1200MessageFormatOutside => GetResourceString("SA1200MessageFormatOutside")!; + /// Using directives should be placed correctly + public static string @SA1200Title => GetResourceString("SA1200Title")!; + /// An element within a C# code file is out of order in relation to the other elements in the code. + public static string @SA1201Description => GetResourceString("SA1201Description")!; + /// A {0} should not follow a {1} + public static string @SA1201MessageFormat => GetResourceString("SA1201MessageFormat")!; + /// Elements should appear in the correct order + public static string @SA1201Title => GetResourceString("SA1201Title")!; + /// An element within a C# code file is out of order in relation to other elements in the code. + public static string @SA1202Description => GetResourceString("SA1202Description")!; + /// '{0}' members should come before '{1}' members + public static string @SA1202MessageFormat => GetResourceString("SA1202MessageFormat")!; + /// Elements should be ordered by access + public static string @SA1202Title => GetResourceString("SA1202Title")!; + /// A constant field is placed beneath a non-constant field. + public static string @SA1203Description => GetResourceString("SA1203Description")!; + /// Constant fields should appear before non-constant fields + public static string @SA1203MessageFormat => GetResourceString("SA1203MessageFormat")!; + /// Constants should appear before fields + public static string @SA1203Title => GetResourceString("SA1203Title")!; + /// A static element is positioned beneath an instance element. + public static string @SA1204Description => GetResourceString("SA1204Description")!; + /// Static members should appear before non-static members + public static string @SA1204MessageFormat => GetResourceString("SA1204MessageFormat")!; + /// Static elements should appear before instance elements + public static string @SA1204Title => GetResourceString("SA1204Title")!; + /// Add access modifier + public static string @SA1205CodeFix => GetResourceString("SA1205CodeFix")!; + /// The partial element does not have an access modifier defined. + public static string @SA1205Description => GetResourceString("SA1205Description")!; + /// Partial elements should declare an access modifier + public static string @SA1205MessageFormat => GetResourceString("SA1205MessageFormat")!; + /// Partial elements should declare access + public static string @SA1205Title => GetResourceString("SA1205Title")!; + /// The keywords within the declaration of an element do not follow a standard ordering scheme. + public static string @SA1206Description => GetResourceString("SA1206Description")!; + /// The '{0}' modifier should appear before '{1}' + public static string @SA1206MessageFormat => GetResourceString("SA1206MessageFormat")!; + /// Declaration keywords should follow order + public static string @SA1206Title => GetResourceString("SA1206Title")!; + /// Place keyword 'protected' before keyword 'internal' + public static string @SA1207CodeFix => GetResourceString("SA1207CodeFix")!; + /// The keyword '{0}' is positioned after the keyword '{1}' within the declaration of a {0} {1} C# element. + public static string @SA1207Description => GetResourceString("SA1207Description")!; + /// The keyword '{0}' should come before '{1}' + public static string @SA1207MessageFormat => GetResourceString("SA1207MessageFormat")!; + /// Protected should come before internal + public static string @SA1207Title => GetResourceString("SA1207Title")!; + /// A using directive which declares a member of the 'System' namespace appears after a using directive which declares a member of a different namespace, within a C# code file. + public static string @SA1208Description => GetResourceString("SA1208Description")!; + /// Using directive for '{0}' should appear before directive for '{1}' + public static string @SA1208MessageFormat => GetResourceString("SA1208MessageFormat")!; + /// System using directives should be placed before other using directives + public static string @SA1208Title => GetResourceString("SA1208Title")!; + /// A using-alias directive is positioned before a regular using directive. + public static string @SA1209Description => GetResourceString("SA1209Description")!; + /// Using alias directives should be placed after all using namespace directives + public static string @SA1209MessageFormat => GetResourceString("SA1209MessageFormat")!; + /// Using alias directives should be placed after other using directives + public static string @SA1209Title => GetResourceString("SA1209Title")!; + /// The using directives within a C# code file are not sorted alphabetically by namespace. + public static string @SA1210Description => GetResourceString("SA1210Description")!; + /// Using directives should be ordered alphabetically by the namespaces + public static string @SA1210MessageFormat => GetResourceString("SA1210MessageFormat")!; + /// Using directives should be ordered alphabetically by namespace + public static string @SA1210Title => GetResourceString("SA1210Title")!; + /// The using-alias directives within a C# code file are not sorted alphabetically by alias name. + public static string @SA1211Description => GetResourceString("SA1211Description")!; + /// Using alias directive for '{0}' should appear before using alias directive for '{1}' + public static string @SA1211MessageFormat => GetResourceString("SA1211MessageFormat")!; + /// Using alias directives should be ordered alphabetically by alias name + public static string @SA1211Title => GetResourceString("SA1211Title")!; + /// A get accessor appears after a set accessor within a property or indexer. + public static string @SA1212Description => GetResourceString("SA1212Description")!; + /// A get accessor appears after a set accessor within a property or indexer + public static string @SA1212MessageFormat => GetResourceString("SA1212MessageFormat")!; + /// Property accessors should follow order + public static string @SA1212Title => GetResourceString("SA1212Title")!; + /// Fix accessor order + public static string @SA1213CodeFix => GetResourceString("SA1213CodeFix")!; + /// An add accessor appears after a remove accessor within an event. + public static string @SA1213Description => GetResourceString("SA1213Description")!; + /// Event accessors should follow order + public static string @SA1213MessageFormat => GetResourceString("SA1213MessageFormat")!; + /// Event accessors should follow order + public static string @SA1213Title => GetResourceString("SA1213Title")!; + /// A readonly field is positioned beneath a non-readonly field. + public static string @SA1214Description => GetResourceString("SA1214Description")!; + /// Readonly fields should appear before non-readonly fields + public static string @SA1214MessageFormat => GetResourceString("SA1214MessageFormat")!; + /// Readonly fields should appear before non-readonly fields + public static string @SA1214Title => GetResourceString("SA1214Title")!; + /// A using static directive is positioned before a regular or after an alias using directive. + public static string @SA1216Description => GetResourceString("SA1216Description")!; + /// Using static directives should be placed at the correct location + public static string @SA1216MessageFormat => GetResourceString("SA1216MessageFormat")!; + /// Using static directives should be placed at the correct location + public static string @SA1216Title => GetResourceString("SA1216Title")!; + /// All using static directives should be ordered alphabetically. + public static string @SA1217Description => GetResourceString("SA1217Description")!; + /// The using static directive for '{0}' should appear after the using static directive for '{1}' + public static string @SA1217MessageFormat => GetResourceString("SA1217MessageFormat")!; + /// Using static directives should be ordered alphabetically + public static string @SA1217Title => GetResourceString("SA1217Title")!; + /// Reorder using statements + public static string @UsingCodeFix => GetResourceString("UsingCodeFix")!; + + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/ReadabilityResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/ReadabilityResources.Designer.cs new file mode 100644 index 000000000..abcfec0b9 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/ReadabilityResources.Designer.cs @@ -0,0 +1,323 @@ +// + +#nullable enable +using System.Reflection; + + +namespace StyleCop.Analyzers.ReadabilityRules +{ + internal static partial class ReadabilityResources + { + private static global::System.Resources.ResourceManager? s_resourceManager; + public static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(ReadabilityResources))); + public static global::System.Globalization.CultureInfo? Culture { get; set; } + [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + [return: global::System.Diagnostics.CodeAnalysis.NotNullIfNotNull("defaultValue")] + internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; + /// Fix indentation + public static string @IndentationCodeFix => GetResourceString("IndentationCodeFix")!; + /// Remove region + public static string @RemoveRegionCodeFix => GetResourceString("RemoveRegionCodeFix")!; + /// Replace 'base.' with 'this.' + public static string @SA1100CodeFix => GetResourceString("SA1100CodeFix")!; + /// A call to a member from an inherited class begins with 'base.', and the local class does not contain an override or implementation of the member. + public static string @SA1100Description => GetResourceString("SA1100Description")!; + /// Do not prefix calls with base unless local implementation exists + public static string @SA1100MessageFormat => GetResourceString("SA1100MessageFormat")!; + /// Do not prefix calls with base unless local implementation exists + public static string @SA1100Title => GetResourceString("SA1100Title")!; + /// Prefix reference with 'this.' + public static string @SA1101CodeFix => GetResourceString("SA1101CodeFix")!; + /// A call to an instance member of the local class or a base class is not prefixed with 'this.', within a C# code file. + public static string @SA1101Description => GetResourceString("SA1101Description")!; + /// Prefix local calls with this + public static string @SA1101MessageFormat => GetResourceString("SA1101MessageFormat")!; + /// Prefix local calls with this + public static string @SA1101Title => GetResourceString("SA1101Title")!; + /// Remove separating lines + public static string @SA1102CodeFix => GetResourceString("SA1102CodeFix")!; + /// A C# query clause does not begin on the same line as the previous clause, or on the next line. + public static string @SA1102Description => GetResourceString("SA1102Description")!; + /// Query clause should follow previous clause. + public static string @SA1102MessageFormat => GetResourceString("SA1102MessageFormat")!; + /// Query clause should follow previous clause + public static string @SA1102Title => GetResourceString("SA1102Title")!; + /// Place on multiple lines + public static string @SA1103CodeFixMultipleLines => GetResourceString("SA1103CodeFixMultipleLines")!; + /// Place on single line + public static string @SA1103CodeFixSingleLine => GetResourceString("SA1103CodeFixSingleLine")!; + /// The clauses within a C# query expression are not all placed on the same line, and each clause is not placed on its own line. + public static string @SA1103Description => GetResourceString("SA1103Description")!; + /// Query clauses should be on separate lines or all on one line + public static string @SA1103MessageFormat => GetResourceString("SA1103MessageFormat")!; + /// Query clauses should be on separate lines or all on one line + public static string @SA1103Title => GetResourceString("SA1103Title")!; + /// A clause within a C# query expression begins on the same line as the previous clause, when the previous clause spans across multiple lines. + public static string @SA1104Description => GetResourceString("SA1104Description")!; + /// Query clause should begin on new line when previous clause spans multiple lines + public static string @SA1104MessageFormat => GetResourceString("SA1104MessageFormat")!; + /// Insert new line + public static string @SA1104SA1105CodeFix => GetResourceString("SA1104SA1105CodeFix")!; + /// Query clause should begin on new line when previous clause spans multiple lines + public static string @SA1104Title => GetResourceString("SA1104Title")!; + /// A clause within a C# query expression spans across multiple lines, and does not begin on its own line. + public static string @SA1105Description => GetResourceString("SA1105Description")!; + /// Query clauses spanning multiple lines should begin on own line + public static string @SA1105MessageFormat => GetResourceString("SA1105MessageFormat")!; + /// Query clauses spanning multiple lines should begin on own line + public static string @SA1105Title => GetResourceString("SA1105Title")!; + /// Remove empty statement + public static string @SA1106CodeFix => GetResourceString("SA1106CodeFix")!; + /// The C# code contains an extra semicolon. + public static string @SA1106Description => GetResourceString("SA1106Description")!; + /// Code should not contain empty statements + public static string @SA1106MessageFormat => GetResourceString("SA1106MessageFormat")!; + /// Code should not contain empty statements + public static string @SA1106Title => GetResourceString("SA1106Title")!; + /// Enter new line + public static string @SA1107CodeFix => GetResourceString("SA1107CodeFix")!; + /// The C# code contains more than one statement on a single line. + public static string @SA1107Description => GetResourceString("SA1107Description")!; + /// Code should not contain multiple statements on one line + public static string @SA1107MessageFormat => GetResourceString("SA1107MessageFormat")!; + /// Code should not contain multiple statements on one line + public static string @SA1107Title => GetResourceString("SA1107Title")!; + /// A C# statement contains a comment between the declaration of the statement and the opening brace of the statement. + public static string @SA1108Description => GetResourceString("SA1108Description")!; + /// Block statements should not contain embedded comments + public static string @SA1108MessageFormat => GetResourceString("SA1108MessageFormat")!; + /// Block statements should not contain embedded comments + public static string @SA1108Title => GetResourceString("SA1108Title")!; + /// A C# statement contains a region tag between the declaration of the statement and the opening brace of the statement. + public static string @SA1109Description => GetResourceString("SA1109Description")!; + /// + public static string @SA1109MessageFormat => GetResourceString("SA1109MessageFormat")!; + /// Block statements should not contain embedded regions + public static string @SA1109Title => GetResourceString("SA1109Title")!; + /// The opening parenthesis or bracket is not placed on the same line as the method/indexer/attribute/array name. + public static string @SA1110Description => GetResourceString("SA1110Description")!; + /// Opening parenthesis or bracket should be on declaration line + public static string @SA1110MessageFormat => GetResourceString("SA1110MessageFormat")!; + /// Opening parenthesis or bracket should be on declaration line + public static string @SA1110Title => GetResourceString("SA1110Title")!; + /// The closing parenthesis or bracket in a call to or declaration of a C# method/indexer/attribute/array/constructor/delegate is not placed on the same line as the last parameter. + public static string @SA1111Description => GetResourceString("SA1111Description")!; + /// Closing parenthesis should be on line of last parameter + public static string @SA1111MessageFormat => GetResourceString("SA1111MessageFormat")!; + /// Closing parenthesis should be on line of last parameter + public static string @SA1111Title => GetResourceString("SA1111Title")!; + /// The closing parenthesis or bracket in a call to a C# method or indexer, or the declaration of a method or indexer, is not placed on the same line as the opening bracket when the element does not take any parameters. + public static string @SA1112Description => GetResourceString("SA1112Description")!; + /// Closing parenthesis should be on line of opening parenthesis + public static string @SA1112MessageFormat => GetResourceString("SA1112MessageFormat")!; + /// Closing parenthesis should be on line of opening parenthesis + public static string @SA1112Title => GetResourceString("SA1112Title")!; + /// A comma between two parameters in a call to a C# method or indexer, or in the declaration of a method or indexer, is not placed on the same line as the previous parameter. + public static string @SA1113Description => GetResourceString("SA1113Description")!; + /// Comma should be on the same line as previous parameter + public static string @SA1113MessageFormat => GetResourceString("SA1113MessageFormat")!; + /// Comma should be on the same line as previous parameter + public static string @SA1113Title => GetResourceString("SA1113Title")!; + /// The start of the parameter list for a method/constructor/indexer/array/operator call or declaration does not begin on the same line as the opening bracket, or on the line after the opening bracket. + public static string @SA1114Description => GetResourceString("SA1114Description")!; + /// Parameter list should follow declaration + public static string @SA1114MessageFormat => GetResourceString("SA1114MessageFormat")!; + /// Parameter list should follow declaration + public static string @SA1114Title => GetResourceString("SA1114Title")!; + /// A parameter within a C# method or indexer call or declaration does not begin on the same line as the previous parameter, or on the next line. + public static string @SA1115Description => GetResourceString("SA1115Description")!; + /// The parameter should begin on the line after the previous parameter + public static string @SA1115MessageFormat => GetResourceString("SA1115MessageFormat")!; + /// Parameter should follow comma + public static string @SA1115Title => GetResourceString("SA1115Title")!; + /// Move first argument to next line + public static string @SA1116CodeFix => GetResourceString("SA1116CodeFix")!; + /// The parameters to a C# method or indexer call or declaration span across multiple lines, but the first parameter does not start on the line after the opening bracket. + public static string @SA1116Description => GetResourceString("SA1116Description")!; + /// The parameters should begin on the line after the declaration, whenever the parameter span across multiple lines + public static string @SA1116MessageFormat => GetResourceString("SA1116MessageFormat")!; + /// Split parameters should start on line after declaration + public static string @SA1116Title => GetResourceString("SA1116Title")!; + /// The parameters to a C# method or indexer call or declaration are not all on the same line or each on a separate line. + public static string @SA1117Description => GetResourceString("SA1117Description")!; + /// The parameters should all be placed on the same line or each parameter should be placed on its own line + public static string @SA1117MessageFormat => GetResourceString("SA1117MessageFormat")!; + /// Parameters should be on same line or separate lines + public static string @SA1117Title => GetResourceString("SA1117Title")!; + /// A parameter to a C# method/indexer/attribute/array, other than the first parameter, spans across multiple lines. If the parameter is short, place the entire parameter on a single line. Otherwise, save the contents of the parameter in a temporary variable a ... + public static string @SA1118Description => GetResourceString("SA1118Description")!; + /// The parameter spans multiple lines + public static string @SA1118MessageFormat => GetResourceString("SA1118MessageFormat")!; + /// Parameter should not span multiple lines + public static string @SA1118Title => GetResourceString("SA1118Title")!; + /// Remove empty comment + public static string @SA1120CodeFix => GetResourceString("SA1120CodeFix")!; + /// The C# comment does not contain any comment text. + public static string @SA1120Description => GetResourceString("SA1120Description")!; + /// Comments should contain text + public static string @SA1120MessageFormat => GetResourceString("SA1120MessageFormat")!; + /// Comments should contain text + public static string @SA1120Title => GetResourceString("SA1120Title")!; + /// Replace with built-in type + public static string @SA1121CodeFix => GetResourceString("SA1121CodeFix")!; + /// The code uses one of the basic C# types, but does not use the built-in alias for the type. + public static string @SA1121Description => GetResourceString("SA1121Description")!; + /// Use built-in type alias + public static string @SA1121MessageFormat => GetResourceString("SA1121MessageFormat")!; + /// Use built-in type alias + public static string @SA1121Title => GetResourceString("SA1121Title")!; + /// Replace with string.Empty + public static string @SA1122CodeFix => GetResourceString("SA1122CodeFix")!; + /// The C# code includes an empty string, written as "". + public static string @SA1122Description => GetResourceString("SA1122Description")!; + /// Use string.Empty for empty strings + public static string @SA1122MessageFormat => GetResourceString("SA1122MessageFormat")!; + /// Use string.Empty for empty strings + public static string @SA1122Title => GetResourceString("SA1122Title")!; + /// The C# code contains a region within the body of a code element. + public static string @SA1123Description => GetResourceString("SA1123Description")!; + /// Region should not be located within a code element + public static string @SA1123MessageFormat => GetResourceString("SA1123MessageFormat")!; + /// Do not place regions within elements + public static string @SA1123Title => GetResourceString("SA1123Title")!; + /// The C# code contains a region. + public static string @SA1124Description => GetResourceString("SA1124Description")!; + /// Do not use regions + public static string @SA1124MessageFormat => GetResourceString("SA1124MessageFormat")!; + /// Do not use regions + public static string @SA1124Title => GetResourceString("SA1124Title")!; + /// The Nullable<T> type has been defined not using the C# shorthand. For example, Nullable<DateTime> has been used instead of the preferred DateTime? + public static string @SA1125Description => GetResourceString("SA1125Description")!; + /// Use shorthand for nullable types + public static string @SA1125MessageFormat => GetResourceString("SA1125MessageFormat")!; + /// Use shorthand for nullable types + public static string @SA1125Title => GetResourceString("SA1125Title")!; + /// A call to a member is not prefixed with the 'this.', 'base.', 'object.' or 'typename.' prefix to indicate the intended method call, within a C# code file. + public static string @SA1126Description => GetResourceString("SA1126Description")!; + /// + public static string @SA1126MessageFormat => GetResourceString("SA1126MessageFormat")!; + /// Prefix calls correctly + public static string @SA1126Title => GetResourceString("SA1126Title")!; + /// Place each type constraint on a new line + public static string @SA1127CodeFix => GetResourceString("SA1127CodeFix")!; + /// Each type constraint clause for a generic type parameter should be listed on a line of code by itself. + public static string @SA1127Description => GetResourceString("SA1127Description")!; + /// Generic type constraints should be on their own line + public static string @SA1127MessageFormat => GetResourceString("SA1127MessageFormat")!; + /// Generic type constraints should be on their own line + public static string @SA1127Title => GetResourceString("SA1127Title")!; + /// Place constructor initializer on own line + public static string @SA1128CodeFix => GetResourceString("SA1128CodeFix")!; + /// A constructor initializer, including the colon character, should be on its own line. + public static string @SA1128Description => GetResourceString("SA1128Description")!; + /// Put constructor initializers on their own line + public static string @SA1128MessageFormat => GetResourceString("SA1128MessageFormat")!; + /// Put constructor initializers on their own line + public static string @SA1128Title => GetResourceString("SA1128Title")!; + /// Replace with default(T) + public static string @SA1129CodeFix => GetResourceString("SA1129CodeFix")!; + /// When creating a new instance of a value type T, the syntax 'default(T)' is functionally equivalent to the syntax 'new T()'. To avoid confusion regarding the behavior of the resulting instance, the first form is preferred. + public static string @SA1129Description => GetResourceString("SA1129Description")!; + /// Do not use default value type constructor + public static string @SA1129MessageFormat => GetResourceString("SA1129MessageFormat")!; + /// Do not use default value type constructor + public static string @SA1129Title => GetResourceString("SA1129Title")!; + /// Replace with lambda. + public static string @SA1130CodeFix => GetResourceString("SA1130CodeFix")!; + /// Lambda expressions are more succinct and easier to read than anonymous methods, so they should are preferred whenever the two are functionally equivalent. + public static string @SA1130Description => GetResourceString("SA1130Description")!; + /// Use lambda syntax + public static string @SA1130MessageFormat => GetResourceString("SA1130MessageFormat")!; + /// Use lambda syntax + public static string @SA1130Title => GetResourceString("SA1130Title")!; + /// Swap operands + public static string @SA1131CodeFix => GetResourceString("SA1131CodeFix")!; + /// When a comparison is made between a variable and a literal, the variable should be placed on the left-hand-side to maximize readability. + public static string @SA1131Description => GetResourceString("SA1131Description")!; + /// Constant values should appear on the right-hand side of comparisons + public static string @SA1131MessageFormat => GetResourceString("SA1131MessageFormat")!; + /// Use readable conditions + public static string @SA1131Title => GetResourceString("SA1131Title")!; + /// Place each field on a new line + public static string @SA1132CodeFix => GetResourceString("SA1132CodeFix")!; + /// Each field should be declared on its own line, in order to clearly see each field of a type and allow for proper documentation of the behavior of each field. + public static string @SA1132Description => GetResourceString("SA1132Description")!; + /// Each field should be declared on its own line + public static string @SA1132MessageFormat => GetResourceString("SA1132MessageFormat")!; + /// Do not combine fields + public static string @SA1132Title => GetResourceString("SA1132Title")!; + /// Give each attribute its own square brackets + public static string @SA1133CodeFix => GetResourceString("SA1133CodeFix")!; + /// Each attribute usage should be placed in its own set of square brackets for maximum readability. + public static string @SA1133Description => GetResourceString("SA1133Description")!; + /// Each attribute should be placed in its own set of square brackets + public static string @SA1133MessageFormat => GetResourceString("SA1133MessageFormat")!; + /// Do not combine attributes + public static string @SA1133Title => GetResourceString("SA1133Title")!; + /// Place attribute on own line. + public static string @SA1134CodeFix => GetResourceString("SA1134CodeFix")!; + /// Each attribute should be placed on its own line of code. + public static string @SA1134Description => GetResourceString("SA1134Description")!; + /// Each attribute should be placed on its own line of code + public static string @SA1134MessageFormat => GetResourceString("SA1134MessageFormat")!; + /// Attributes should not share line + public static string @SA1134Title => GetResourceString("SA1134Title")!; + /// Qualify using directive + public static string @SA1135CodeFix => GetResourceString("SA1135CodeFix")!; + /// All using directives should be qualified. + public static string @SA1135Description => GetResourceString("SA1135Description")!; + /// Using directive for namespace '{0}' should be qualified + public static string @SA1135MessageFormatNamespace => GetResourceString("SA1135MessageFormatNamespace")!; + /// Using directive for type '{0}' should be qualified + public static string @SA1135MessageFormatType => GetResourceString("SA1135MessageFormatType")!; + /// Using directives should be qualified + public static string @SA1135Title => GetResourceString("SA1135Title")!; + /// Place enum values own their own lines + public static string @SA1136CodeFix => GetResourceString("SA1136CodeFix")!; + /// Enum values should be placed on their own lines for maximum readability. + public static string @SA1136Description => GetResourceString("SA1136Description")!; + /// Enum values should be on separate lines + public static string @SA1136MessageFormat => GetResourceString("SA1136MessageFormat")!; + /// Enum values should be on separate lines + public static string @SA1136Title => GetResourceString("SA1136Title")!; + /// Elements at the same level in the syntax tree should have the same indentation. + public static string @SA1137Description => GetResourceString("SA1137Description")!; + /// Elements should have the same indentation + public static string @SA1137MessageFormat => GetResourceString("SA1137MessageFormat")!; + /// Elements should have the same indentation + public static string @SA1137Title => GetResourceString("SA1137Title")!; + /// Use literal suffix notation instead of casting + public static string @SA1139CodeFix => GetResourceString("SA1139CodeFix")!; + /// Use literal suffix notation instead of casting, in order to improve readability, avoid bugs related to illegal casts and ensure that optimal IL is produced. + public static string @SA1139Description => GetResourceString("SA1139Description")!; + /// Use literal suffix notation instead of casting + public static string @SA1139MessageFormat => GetResourceString("SA1139MessageFormat")!; + /// Use literal suffix notation instead of casting + public static string @SA1139Title => GetResourceString("SA1139Title")!; + /// Replace with tuple syntax + public static string @SA1141CodeFix => GetResourceString("SA1141CodeFix")!; + /// Use tuple syntax instead of the underlying ValueTuple implementation type. + public static string @SA1141Description => GetResourceString("SA1141Description")!; + /// Use tuple syntax + public static string @SA1141MessageFormat => GetResourceString("SA1141MessageFormat")!; + /// Use tuple syntax + public static string @SA1141Title => GetResourceString("SA1141Title")!; + /// Use tuple field name + public static string @SA1142CodeFix => GetResourceString("SA1142CodeFix")!; + /// A field of a tuple was referenced by its metadata name when a field name is available. + public static string @SA1142Description => GetResourceString("SA1142Description")!; + /// Refer to tuple fields by name + public static string @SA1142MessageFormat => GetResourceString("SA1142MessageFormat")!; + /// Refer to tuple fields by name + public static string @SA1142Title => GetResourceString("SA1142Title")!; + /// Remove 'this.' prefix + public static string @SX1101CodeFix => GetResourceString("SX1101CodeFix")!; + /// A call to an instance member of the local class or a base class is prefixed with `this.`. + public static string @SX1101Description => GetResourceString("SX1101Description")!; + /// Do not prefix local calls with 'this.' + public static string @SX1101MessageFormat => GetResourceString("SX1101MessageFormat")!; + /// Do not prefix local calls with 'this.' + public static string @SX1101Title => GetResourceString("SX1101Title")!; + + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/SettingsResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/SettingsResources.Designer.cs new file mode 100644 index 000000000..978888fdb --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/SettingsResources.Designer.cs @@ -0,0 +1,21 @@ +// + +#nullable enable +using System.Reflection; + + +namespace StyleCop.Analyzers.Settings +{ + internal static partial class SettingsResources + { + private static global::System.Resources.ResourceManager? s_resourceManager; + public static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(SettingsResources))); + public static global::System.Globalization.CultureInfo? Culture { get; set; } + [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + [return: global::System.Diagnostics.CodeAnalysis.NotNullIfNotNull("defaultValue")] + internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; + /// Add StyleCop settings file to the project + public static string @SettingsFileCodeFix => GetResourceString("SettingsFileCodeFix")!; + + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/SpacingResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/SpacingResources.Designer.cs new file mode 100644 index 000000000..7d47c696a --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/SpacingResources.Designer.cs @@ -0,0 +1,249 @@ +// + +#nullable enable +using System.Reflection; + + +namespace StyleCop.Analyzers.SpacingRules +{ + internal static partial class SpacingResources + { + private static global::System.Resources.ResourceManager? s_resourceManager; + public static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(SpacingResources))); + public static global::System.Globalization.CultureInfo? Culture { get; set; } + [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + [return: global::System.Diagnostics.CodeAnalysis.NotNullIfNotNull("defaultValue")] + internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; + /// The spacing around a C# keyword is incorrect. + public static string @SA1000Description => GetResourceString("SA1000Description")!; + /// The keyword '{0}' should{1} be followed by a space + public static string @SA1000MessageFormat => GetResourceString("SA1000MessageFormat")!; + /// Keywords should be spaced correctly + public static string @SA1000Title => GetResourceString("SA1000Title")!; + /// The spacing around a comma is incorrect, within a C# code file. + public static string @SA1001Description => GetResourceString("SA1001Description")!; + /// Commas should{0} be {1} by whitespace + public static string @SA1001MessageFormat => GetResourceString("SA1001MessageFormat")!; + /// Commas should be spaced correctly + public static string @SA1001Title => GetResourceString("SA1001Title")!; + /// The spacing around a semicolon is incorrect, within a C# code file. + public static string @SA1002Description => GetResourceString("SA1002Description")!; + /// Semicolons should{0} be {1} by a space + public static string @SA1002MessageFormat => GetResourceString("SA1002MessageFormat")!; + /// Semicolons should be spaced correctly + public static string @SA1002Title => GetResourceString("SA1002Title")!; + /// Fix spacing + public static string @SA1003CodeFix => GetResourceString("SA1003CodeFix")!; + /// The spacing around an operator symbol is incorrect, within a C# code file. + public static string @SA1003Description => GetResourceString("SA1003Description")!; + /// Operator '{0}' should be followed by whitespace. + public static string @SA1003MessageFormatFollowedByWhitespace => GetResourceString("SA1003MessageFormatFollowedByWhitespace")!; + /// Operator '{0}' should not appear at the end of a line. + public static string @SA1003MessageFormatNotAtEndOfLine => GetResourceString("SA1003MessageFormatNotAtEndOfLine")!; + /// Operator '{0}' should not be followed by a comment. + public static string @SA1003MessageFormatNotFollowedByComment => GetResourceString("SA1003MessageFormatNotFollowedByComment")!; + /// Operator '{0}' should not be followed by whitespace. + public static string @SA1003MessageFormatNotFollowedByWhitespace => GetResourceString("SA1003MessageFormatNotFollowedByWhitespace")!; + /// Operator '{0}' should not be preceded by whitespace. + public static string @SA1003MessageFormatNotPrecededByWhitespace => GetResourceString("SA1003MessageFormatNotPrecededByWhitespace")!; + /// Operator '{0}' should be preceded by whitespace. + public static string @SA1003MessageFormatPrecededByWhitespace => GetResourceString("SA1003MessageFormatPrecededByWhitespace")!; + /// Symbols should be spaced correctly + public static string @SA1003Title => GetResourceString("SA1003Title")!; + /// Fix spacing + public static string @SA1004CodeFix => GetResourceString("SA1004CodeFix")!; + /// A line within a documentation header above a C# element does not begin with a single space. + public static string @SA1004Description => GetResourceString("SA1004Description")!; + /// Documentation line should begin with a space + public static string @SA1004MessageFormat => GetResourceString("SA1004MessageFormat")!; + /// Documentation lines should begin with single space + public static string @SA1004Title => GetResourceString("SA1004Title")!; + /// Fix spacing + public static string @SA1005CodeFix => GetResourceString("SA1005CodeFix")!; + /// A single-line comment within a C# code file does not begin with a single space. + public static string @SA1005Description => GetResourceString("SA1005Description")!; + /// Single line comment should begin with a space + public static string @SA1005MessageFormat => GetResourceString("SA1005MessageFormat")!; + /// Single line comments should begin with single space + public static string @SA1005Title => GetResourceString("SA1005Title")!; + /// A C# preprocessor-type keyword is preceded by space. + public static string @SA1006Description => GetResourceString("SA1006Description")!; + /// Preprocessor keyword '{0}' should not be preceded by a space + public static string @SA1006MessageFormat => GetResourceString("SA1006MessageFormat")!; + /// Preprocessor keywords should not be preceded by space + public static string @SA1006Title => GetResourceString("SA1006Title")!; + /// The operator keyword within a C# operator overload method is not followed by any whitespace. + public static string @SA1007Description => GetResourceString("SA1007Description")!; + /// Operator keyword should be followed by a space + public static string @SA1007MessageFormat => GetResourceString("SA1007MessageFormat")!; + /// Operator keyword should be followed by space + public static string @SA1007Title => GetResourceString("SA1007Title")!; + /// Fix spacing + public static string @SA1008CodeFix => GetResourceString("SA1008CodeFix")!; + /// An opening parenthesis within a C# statement is not spaced correctly. + public static string @SA1008Description => GetResourceString("SA1008Description")!; + /// Opening parenthesis should not be followed by a space. + public static string @SA1008MessageNotFollowed => GetResourceString("SA1008MessageNotFollowed")!; + /// Opening parenthesis should not be preceded by a space. + public static string @SA1008MessageNotPreceded => GetResourceString("SA1008MessageNotPreceded")!; + /// Opening parenthesis should be preceded by a space. + public static string @SA1008MessagePreceded => GetResourceString("SA1008MessagePreceded")!; + /// Opening parenthesis should be spaced correctly + public static string @SA1008Title => GetResourceString("SA1008Title")!; + /// A closing parenthesis within a C# statement is not spaced correctly. + public static string @SA1009Description => GetResourceString("SA1009Description")!; + /// Closing parenthesis should be followed by a space + public static string @SA1009MessageFollowed => GetResourceString("SA1009MessageFollowed")!; + /// Closing parenthesis should not be followed by a space + public static string @SA1009MessageNotFollowed => GetResourceString("SA1009MessageNotFollowed")!; + /// Closing parenthesis should not be preceded by a space + public static string @SA1009MessageNotPreceded => GetResourceString("SA1009MessageNotPreceded")!; + /// Closing parenthesis should be spaced correctly + public static string @SA1009Title => GetResourceString("SA1009Title")!; + /// An opening square bracket within a C# statement is not spaced correctly. + public static string @SA1010Description => GetResourceString("SA1010Description")!; + /// Opening square brackets should not be followed by a space + public static string @SA1010MessageNotFollowed => GetResourceString("SA1010MessageNotFollowed")!; + /// Opening square brackets should not be preceded by a space + public static string @SA1010MessageNotPreceded => GetResourceString("SA1010MessageNotPreceded")!; + /// Opening square brackets should be spaced correctly + public static string @SA1010Title => GetResourceString("SA1010Title")!; + /// A closing square bracket within a C# statement is not spaced correctly. + public static string @SA1011Description => GetResourceString("SA1011Description")!; + /// Closing square bracket should{0} be {1} by a space + public static string @SA1011MessageFormat => GetResourceString("SA1011MessageFormat")!; + /// Closing square brackets should be spaced correctly + public static string @SA1011Title => GetResourceString("SA1011Title")!; + /// An opening brace within a C# element is not spaced correctly. + public static string @SA1012Description => GetResourceString("SA1012Description")!; + /// Opening brace should{0} be {1} by a space + public static string @SA1012MessageFormat => GetResourceString("SA1012MessageFormat")!; + /// Opening braces should be spaced correctly + public static string @SA1012Title => GetResourceString("SA1012Title")!; + /// A closing brace within a C# element is not spaced correctly. + public static string @SA1013Description => GetResourceString("SA1013Description")!; + /// Closing brace should{0} be {1} by a space + public static string @SA1013MessageFormat => GetResourceString("SA1013MessageFormat")!; + /// Closing braces should be spaced correctly + public static string @SA1013Title => GetResourceString("SA1013Title")!; + /// An opening generic bracket within a C# element is not spaced correctly. + public static string @SA1014Description => GetResourceString("SA1014Description")!; + /// Opening generic brackets should not be {0} by a space + public static string @SA1014MessageFormat => GetResourceString("SA1014MessageFormat")!; + /// Opening generic brackets should be spaced correctly + public static string @SA1014Title => GetResourceString("SA1014Title")!; + /// A closing generic bracket within a C# element is not spaced correctly. + public static string @SA1015Description => GetResourceString("SA1015Description")!; + /// Closing generic bracket should be followed by a space + public static string @SA1015MessageFollowed => GetResourceString("SA1015MessageFollowed")!; + /// Closing generic bracket should not be followed by a space + public static string @SA1015MessageNotFollowed => GetResourceString("SA1015MessageNotFollowed")!; + /// Closing generic bracket should not be preceded by a space + public static string @SA1015MessageNotPreceded => GetResourceString("SA1015MessageNotPreceded")!; + /// Closing generic brackets should be spaced correctly + public static string @SA1015Title => GetResourceString("SA1015Title")!; + /// An opening attribute bracket within a C# element is not spaced correctly. + public static string @SA1016Description => GetResourceString("SA1016Description")!; + /// Opening attribute brackets should not be followed by a space + public static string @SA1016MessageFormat => GetResourceString("SA1016MessageFormat")!; + /// Opening attribute brackets should be spaced correctly + public static string @SA1016Title => GetResourceString("SA1016Title")!; + /// A closing attribute bracket within a C# element is not spaced correctly. + public static string @SA1017Description => GetResourceString("SA1017Description")!; + /// Closing attribute brackets should not be preceded by a space + public static string @SA1017MessageFormat => GetResourceString("SA1017MessageFormat")!; + /// Closing attribute brackets should be spaced correctly + public static string @SA1017Title => GetResourceString("SA1017Title")!; + /// Fix spacing + public static string @SA1018CodeFix => GetResourceString("SA1018CodeFix")!; + /// A nullable type symbol within a C# element is not spaced correctly. + public static string @SA1018Description => GetResourceString("SA1018Description")!; + /// Nullable type symbol should not be preceded by a space + public static string @SA1018MessageFormat => GetResourceString("SA1018MessageFormat")!; + /// Nullable type symbols should be spaced correctly + public static string @SA1018Title => GetResourceString("SA1018Title")!; + /// The spacing around a member access symbol is incorrect, within a C# code file. + public static string @SA1019Description => GetResourceString("SA1019Description")!; + /// Member access symbol '{0}' should not be followed by a space + public static string @SA1019MessageNotFollowed => GetResourceString("SA1019MessageNotFollowed")!; + /// Member access symbol '{0}' should not be preceded by a space + public static string @SA1019MessageNotPreceded => GetResourceString("SA1019MessageNotPreceded")!; + /// Member access symbols should be spaced correctly + public static string @SA1019Title => GetResourceString("SA1019Title")!; + /// An increment or decrement symbol within a C# element is not spaced correctly. + public static string @SA1020Description => GetResourceString("SA1020Description")!; + /// {0} symbol '{1}' should not be {2} by a space + public static string @SA1020MessageFormat => GetResourceString("SA1020MessageFormat")!; + /// Increment decrement symbols should be spaced correctly + public static string @SA1020Title => GetResourceString("SA1020Title")!; + /// A negative sign within a C# element is not spaced correctly. + public static string @SA1021Description => GetResourceString("SA1021Description")!; + /// Negative sign should{0} be {1} by a space + public static string @SA1021MessageFormat => GetResourceString("SA1021MessageFormat")!; + /// Negative signs should be spaced correctly + public static string @SA1021Title => GetResourceString("SA1021Title")!; + /// A positive sign within a C# element is not spaced correctly. + public static string @SA1022Description => GetResourceString("SA1022Description")!; + /// Positive sign should{0} be {1} by a space + public static string @SA1022MessageFormat => GetResourceString("SA1022MessageFormat")!; + /// Positive signs should be spaced correctly + public static string @SA1022Title => GetResourceString("SA1022Title")!; + /// A dereference symbol or an access-of symbol within a C# element is not spaced correctly. + public static string @SA1023Description => GetResourceString("SA1023Description")!; + /// Dereference symbol '*' should be followed by a space + public static string @SA1023MessageFollowed => GetResourceString("SA1023MessageFollowed")!; + /// Dereference symbol '*' should not appear at the beginning of a line + public static string @SA1023MessageNotAtBeginningOfLine => GetResourceString("SA1023MessageNotAtBeginningOfLine")!; + /// Dereference symbol '*' should not appear at the end of a line + public static string @SA1023MessageNotAtEndOfLine => GetResourceString("SA1023MessageNotAtEndOfLine")!; + /// Dereference symbol '*' should not be followed by a space + public static string @SA1023MessageNotFollowed => GetResourceString("SA1023MessageNotFollowed")!; + /// Dereference symbol '*' should not be preceded by a space + public static string @SA1023MessageNotPreceded => GetResourceString("SA1023MessageNotPreceded")!; + /// Dereference and access of symbols should be spaced correctly + public static string @SA1023Title => GetResourceString("SA1023Title")!; + /// A colon within a C# element is not spaced correctly. + public static string @SA1024Description => GetResourceString("SA1024Description")!; + /// Colon should be followed by a space + public static string @SA1024MessageFollowed => GetResourceString("SA1024MessageFollowed")!; + /// Colon should not be preceded by a space + public static string @SA1024MessageNotPreceded => GetResourceString("SA1024MessageNotPreceded")!; + /// Colon should be preceded by a space + public static string @SA1024MessagePreceded => GetResourceString("SA1024MessagePreceded")!; + /// Colons Should Be Spaced Correctly + public static string @SA1024Title => GetResourceString("SA1024Title")!; + /// Fix spacing + public static string @SA1025CodeFix => GetResourceString("SA1025CodeFix")!; + /// The code contains multiple whitespace characters in a row. + public static string @SA1025Description => GetResourceString("SA1025Description")!; + /// Code should not contain multiple whitespace characters in a row + public static string @SA1025MessageFormat => GetResourceString("SA1025MessageFormat")!; + /// Code should not contain multiple whitespace in a row + public static string @SA1025Title => GetResourceString("SA1025Title")!; + /// An implicitly typed array allocation within a C# code file is not spaced correctly. + public static string @SA1026Description => GetResourceString("SA1026Description")!; + /// The keyword '{0}' should not be followed by a space or a blank line + public static string @SA1026MessageFormat => GetResourceString("SA1026MessageFormat")!; + /// Code should not contain space after new or stackalloc keyword in implicitly typed array allocation + public static string @SA1026Title => GetResourceString("SA1026Title")!; + /// Fix tabs + public static string @SA1027CodeFix => GetResourceString("SA1027CodeFix")!; + /// The code contains a tab or space character which is not consistent with the current project settings. + public static string @SA1027Description => GetResourceString("SA1027Description")!; + /// Tabs and spaces should be used correctly + public static string @SA1027MessageFormat => GetResourceString("SA1027MessageFormat")!; + /// Use tabs correctly + public static string @SA1027Title => GetResourceString("SA1027Title")!; + /// Remove trailing whitespace + public static string @SA1028CodeFix => GetResourceString("SA1028CodeFix")!; + /// There should not be any whitespace at the end of a line of code. + public static string @SA1028Description => GetResourceString("SA1028Description")!; + /// Code should not contain trailing whitespace + public static string @SA1028MessageFormat => GetResourceString("SA1028MessageFormat")!; + /// Code should not contain trailing whitespace + public static string @SA1028Title => GetResourceString("SA1028Title")!; + /// Fix spacing + public static string @TokenSpacingCodeFix => GetResourceString("TokenSpacingCodeFix")!; + + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/SpecialResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/SpecialResources.Designer.cs new file mode 100644 index 000000000..35f2ba7a9 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/SpecialResources.Designer.cs @@ -0,0 +1,33 @@ +// + +#nullable enable +using System.Reflection; + + +namespace StyleCop.Analyzers.SpecialRules +{ + internal static partial class SpecialResources + { + private static global::System.Resources.ResourceManager? s_resourceManager; + public static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(SpecialResources))); + public static global::System.Globalization.CultureInfo? Culture { get; set; } + [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + [return: global::System.Diagnostics.CodeAnalysis.NotNullIfNotNull("defaultValue")] + internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; + /// XML comment analysis can only be performed when the project is configured to parse documentation comments. To enable this functionality, update the project to produce an XML documentation file as part of the build. + public static string @SA0001Description => GetResourceString("SA0001Description")!; + /// XML comment analysis is disabled due to project configuration + public static string @SA0001MessageFormat => GetResourceString("SA0001MessageFormat")!; + /// XML comment analysis disabled + public static string @SA0001Title => GetResourceString("SA0001Title")!; + /// Various errors in the stylecop.json file can prevent the file from being loaded by the analyzers. In this case, the default settings are used instead. + /// + /// {0} + public static string @SA0002Description => GetResourceString("SA0002Description")!; + /// The stylecop.json settings file could not be loaded + public static string @SA0002MessageFormat => GetResourceString("SA0002MessageFormat")!; + /// Invalid settings file + public static string @SA0002Title => GetResourceString("SA0002Title")!; + + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/StyleCop.Analyzers.csproj b/StyleCop.Analyzers/StyleCop.Analyzers/StyleCop.Analyzers.csproj index 22fda7523..1b7e93789 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/StyleCop.Analyzers.csproj +++ b/StyleCop.Analyzers/StyleCop.Analyzers/StyleCop.Analyzers.csproj @@ -24,7 +24,7 @@ - true + true $(MSBuildProjectDirectory)\Lightup\.generated From b00056d0f4f290823af65c3cbf14d019f8e3b991 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Thu, 28 Sep 2023 09:57:45 -0500 Subject: [PATCH 10/36] Fix nullability warnings in source generators --- .../OperationLightupGenerator.cs | 22 +++++++++---------- .../SyntaxLightupGenerator.cs | 15 ++++++++----- .../XElementExtensions.cs | 14 ++++++++++++ 3 files changed, 34 insertions(+), 17 deletions(-) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/XElementExtensions.cs diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/OperationLightupGenerator.cs b/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/OperationLightupGenerator.cs index ee5af5f55..ef0b54ee4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/OperationLightupGenerator.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/OperationLightupGenerator.cs @@ -921,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; } @@ -937,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; } @@ -987,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; } } @@ -1008,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))); } @@ -1021,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(); @@ -1052,7 +1052,7 @@ public InterfaceData(DocumentData documentData, XElement node, ImmutableArray<(s this.documentData = documentData; this.OperationKinds = operationKinds; - this.InterfaceName = node.Attribute("Name").Value; + this.InterfaceName = node.RequiredAttribute("Name").Value; if (node.Attribute("Namespace") is { } namespaceNode) { @@ -1127,9 +1127,9 @@ 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"; 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}'"); + } +} From 5f386bc2b297acf44c22d99a59592c23dfd2112c Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Thu, 28 Sep 2023 17:05:47 -0500 Subject: [PATCH 11/36] Mark several test classes as partial This mechanical change simplifies an upcoming review. --- .../DocumentationRules/SA1600CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1601CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1602CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1603CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1604CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1605CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1606CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1607CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1608CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1609CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1610CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1611CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1612CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1613CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1614CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1615CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1616CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1617CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1618CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1619CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1620CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1621CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1622CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1623CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1624CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1625CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1626CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1627CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1628CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1629CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1630CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1631CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1632CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1633CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1634CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1635CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1636CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1637CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1638CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1639CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1640CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1641CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1642CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1643CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1644CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1645CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1646CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1647CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1648CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1649CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1650CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1651CSharp10UnitTests.cs | 2 +- .../LayoutRules/SA1500CSharp10UnitTests.cs | 2 +- .../LayoutRules/SA1501CSharp10UnitTests.cs | 2 +- .../LayoutRules/SA1502CSharp10UnitTests.cs | 2 +- .../LayoutRules/SA1503CSharp10UnitTests.cs | 2 +- .../LayoutRules/SA1504CSharp10UnitTests.cs | 2 +- .../LayoutRules/SA1505CSharp10UnitTests.cs | 2 +- .../LayoutRules/SA1506CSharp10UnitTests.cs | 2 +- .../LayoutRules/SA1507CSharp10UnitTests.cs | 2 +- .../LayoutRules/SA1508CSharp10UnitTests.cs | 2 +- .../LayoutRules/SA1509CSharp10UnitTests.cs | 2 +- .../LayoutRules/SA1510CSharp10UnitTests.cs | 2 +- .../LayoutRules/SA1511CSharp10UnitTests.cs | 2 +- .../LayoutRules/SA1512CSharp10UnitTests.cs | 2 +- .../LayoutRules/SA1513CSharp10UnitTests.cs | 2 +- .../LayoutRules/SA1514CSharp10UnitTests.cs | 2 +- .../LayoutRules/SA1515CSharp10UnitTests.cs | 2 +- .../LayoutRules/SA1516CSharp10UnitTests.cs | 2 +- .../LayoutRules/SA1517CSharp10UnitTests.cs | 2 +- .../LayoutRules/SA1518CSharp10UnitTests.cs | 2 +- .../LayoutRules/SA1519CSharp10UnitTests.cs | 2 +- .../LayoutRules/SA1520CSharp10UnitTests.cs | 2 +- .../MaintainabilityRules/SA1119CSharp10UnitTests.cs | 2 +- .../MaintainabilityRules/SA1400CSharp10UnitTests.cs | 2 +- .../MaintainabilityRules/SA1401CSharp10UnitTests.cs | 2 +- .../MaintainabilityRules/SA1403CSharp10UnitTests.cs | 2 +- .../MaintainabilityRules/SA1404CSharp10UnitTests.cs | 2 +- .../MaintainabilityRules/SA1405CSharp10UnitTests.cs | 2 +- .../MaintainabilityRules/SA1406CSharp10UnitTests.cs | 2 +- .../MaintainabilityRules/SA1407CSharp10UnitTests.cs | 2 +- .../MaintainabilityRules/SA1408CSharp10UnitTests.cs | 2 +- .../MaintainabilityRules/SA1409CSharp10UnitTests.cs | 2 +- .../MaintainabilityRules/SA1410CSharp10UnitTests.cs | 2 +- .../MaintainabilityRules/SA1411CSharp10UnitTests.cs | 2 +- .../MaintainabilityRules/SA1412CSharp10UnitTests.cs | 2 +- .../MaintainabilityRules/SA1413CSharp10UnitTests.cs | 2 +- .../NamingRules/SA1300CSharp10UnitTests.cs | 2 +- .../NamingRules/SA1301CSharp10UnitTests.cs | 2 +- .../NamingRules/SA1302CSharp10UnitTests.cs | 2 +- .../NamingRules/SA1303CSharp10UnitTests.cs | 2 +- .../NamingRules/SA1304CSharp10UnitTests.cs | 2 +- .../NamingRules/SA1305CSharp10UnitTests.cs | 2 +- .../NamingRules/SA1306CSharp10UnitTests.cs | 2 +- .../NamingRules/SA1307CSharp10UnitTests.cs | 2 +- .../NamingRules/SA1308CSharp10UnitTests.cs | 2 +- .../NamingRules/SA1309CSharp10UnitTests.cs | 2 +- .../NamingRules/SA1310CSharp10UnitTests.cs | 2 +- .../NamingRules/SA1311CSharp10UnitTests.cs | 2 +- .../NamingRules/SA1312CSharp10UnitTests.cs | 2 +- .../NamingRules/SA1313CSharp10UnitTests.cs | 2 +- .../NamingRules/SA1314CSharp10UnitTests.cs | 2 +- .../NamingRules/SA1316CSharp10UnitTests.cs | 2 +- .../NamingRules/SX1309CSharp10UnitTests.cs | 2 +- .../NamingRules/SX1309SCSharp10UnitTests.cs | 2 +- .../OrderingRules/SA1200CSharp10UnitTests.cs | 2 +- .../OrderingRules/SA1201CSharp10UnitTests.cs | 2 +- .../OrderingRules/SA1202CSharp10UnitTests.cs | 2 +- .../OrderingRules/SA1203CSharp10UnitTests.cs | 2 +- .../OrderingRules/SA1204CSharp10UnitTests.cs | 2 +- .../OrderingRules/SA1205CSharp10UnitTests.cs | 2 +- .../OrderingRules/SA1206CSharp10UnitTests.cs | 2 +- .../OrderingRules/SA1207CSharp10UnitTests.cs | 2 +- .../OrderingRules/SA1208CSharp10UnitTests.cs | 2 +- .../OrderingRules/SA1209CSharp10UnitTests.cs | 2 +- .../OrderingRules/SA1210CSharp10UnitTests.cs | 2 +- .../OrderingRules/SA1211CSharp10UnitTests.cs | 2 +- .../OrderingRules/SA1212CSharp10UnitTests.cs | 2 +- .../OrderingRules/SA1213CSharp10UnitTests.cs | 2 +- .../OrderingRules/SA1214CSharp10UnitTests.cs | 2 +- .../OrderingRules/SA1215CSharp10UnitTests.cs | 2 +- .../OrderingRules/SA1216CSharp10UnitTests.cs | 2 +- .../OrderingRules/SA1217CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1100CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1101CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1102CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1103CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1104CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1105CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1106CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1107CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1108CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1109CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1110CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1111CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1112CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1113CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1114CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1115CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1116CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1117CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1118CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1120CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1121CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1122CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1123CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1124CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1125CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1126CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1127CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1128CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1129CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1130CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1131CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1132CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1133CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1134CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1135CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1136CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1137CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SA1139CSharp10UnitTests.cs | 2 +- .../ReadabilityRules/SX1101CSharp10UnitTests.cs | 2 +- .../Settings/SettingsCSharp10UnitTests.cs | 2 +- .../Settings/SettingsFileCodeFixProviderCSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1000CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1001CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1002CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1003CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1004CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1005CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1006CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1007CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1008CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1009CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1010CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1011CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1012CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1013CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1014CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1015CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1016CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1017CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1018CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1019CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1020CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1021CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1022CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1023CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1024CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1025CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1026CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1027AlternateIndentationCSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1027CSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1027UseTabsCSharp10UnitTests.cs | 2 +- .../SpacingRules/SA1028CSharp10UnitTests.cs | 2 +- .../SpecialRules/SA0001CSharp10UnitTests.cs | 2 +- .../SpecialRules/SA0002CSharp10UnitTests.cs | 2 +- .../DocumentationRules/SA1600CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1601CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1602CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1603CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1604CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1605CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1606CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1607CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1608CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1609CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1610CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1611CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1612CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1613CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1614CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1615CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1616CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1617CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1618CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1619CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1620CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1621CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1622CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1623CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1624CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1625CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1626CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1627CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1628CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1629CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1630CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1631CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1632CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1633CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1634CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1635CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1636CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1637CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1638CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1639CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1640CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1641CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1642CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1643CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1644CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1645CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1646CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1647CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1648CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1649CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1650CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1651CSharp11UnitTests.cs | 2 +- .../LayoutRules/SA1500CSharp11UnitTests.cs | 2 +- .../LayoutRules/SA1501CSharp11UnitTests.cs | 2 +- .../LayoutRules/SA1502CSharp11UnitTests.cs | 2 +- .../LayoutRules/SA1503CSharp11UnitTests.cs | 2 +- .../LayoutRules/SA1504CSharp11UnitTests.cs | 2 +- .../LayoutRules/SA1505CSharp11UnitTests.cs | 2 +- .../LayoutRules/SA1506CSharp11UnitTests.cs | 2 +- .../LayoutRules/SA1507CSharp11UnitTests.cs | 2 +- .../LayoutRules/SA1508CSharp11UnitTests.cs | 2 +- .../LayoutRules/SA1509CSharp11UnitTests.cs | 2 +- .../LayoutRules/SA1510CSharp11UnitTests.cs | 2 +- .../LayoutRules/SA1511CSharp11UnitTests.cs | 2 +- .../LayoutRules/SA1512CSharp11UnitTests.cs | 2 +- .../LayoutRules/SA1513CSharp11UnitTests.cs | 2 +- .../LayoutRules/SA1514CSharp11UnitTests.cs | 2 +- .../LayoutRules/SA1515CSharp11UnitTests.cs | 2 +- .../LayoutRules/SA1516CSharp11UnitTests.cs | 2 +- .../LayoutRules/SA1517CSharp11UnitTests.cs | 2 +- .../LayoutRules/SA1518CSharp11UnitTests.cs | 2 +- .../LayoutRules/SA1519CSharp11UnitTests.cs | 2 +- .../LayoutRules/SA1520CSharp11UnitTests.cs | 2 +- .../MaintainabilityRules/SA1119CSharp11UnitTests.cs | 2 +- .../MaintainabilityRules/SA1400CSharp11UnitTests.cs | 2 +- .../MaintainabilityRules/SA1401CSharp11UnitTests.cs | 2 +- .../MaintainabilityRules/SA1403CSharp11UnitTests.cs | 2 +- .../MaintainabilityRules/SA1404CSharp11UnitTests.cs | 2 +- .../MaintainabilityRules/SA1405CSharp11UnitTests.cs | 2 +- .../MaintainabilityRules/SA1406CSharp11UnitTests.cs | 2 +- .../MaintainabilityRules/SA1407CSharp11UnitTests.cs | 2 +- .../MaintainabilityRules/SA1408CSharp11UnitTests.cs | 2 +- .../MaintainabilityRules/SA1409CSharp11UnitTests.cs | 2 +- .../MaintainabilityRules/SA1410CSharp11UnitTests.cs | 2 +- .../MaintainabilityRules/SA1411CSharp11UnitTests.cs | 2 +- .../MaintainabilityRules/SA1412CSharp11UnitTests.cs | 2 +- .../MaintainabilityRules/SA1413CSharp11UnitTests.cs | 2 +- .../NamingRules/SA1300CSharp11UnitTests.cs | 2 +- .../NamingRules/SA1301CSharp11UnitTests.cs | 2 +- .../NamingRules/SA1302CSharp11UnitTests.cs | 2 +- .../NamingRules/SA1303CSharp11UnitTests.cs | 2 +- .../NamingRules/SA1304CSharp11UnitTests.cs | 2 +- .../NamingRules/SA1305CSharp11UnitTests.cs | 2 +- .../NamingRules/SA1306CSharp11UnitTests.cs | 2 +- .../NamingRules/SA1307CSharp11UnitTests.cs | 2 +- .../NamingRules/SA1308CSharp11UnitTests.cs | 2 +- .../NamingRules/SA1309CSharp11UnitTests.cs | 2 +- .../NamingRules/SA1310CSharp11UnitTests.cs | 2 +- .../NamingRules/SA1311CSharp11UnitTests.cs | 2 +- .../NamingRules/SA1312CSharp11UnitTests.cs | 2 +- .../NamingRules/SA1313CSharp11UnitTests.cs | 2 +- .../NamingRules/SA1314CSharp11UnitTests.cs | 2 +- .../NamingRules/SA1316CSharp11UnitTests.cs | 2 +- .../NamingRules/SX1309CSharp11UnitTests.cs | 2 +- .../NamingRules/SX1309SCSharp11UnitTests.cs | 2 +- .../OrderingRules/SA1200CSharp11UnitTests.cs | 2 +- .../OrderingRules/SA1201CSharp11UnitTests.cs | 2 +- .../OrderingRules/SA1202CSharp11UnitTests.cs | 2 +- .../OrderingRules/SA1203CSharp11UnitTests.cs | 2 +- .../OrderingRules/SA1204CSharp11UnitTests.cs | 2 +- .../OrderingRules/SA1205CSharp11UnitTests.cs | 2 +- .../OrderingRules/SA1206CSharp11UnitTests.cs | 2 +- .../OrderingRules/SA1207CSharp11UnitTests.cs | 2 +- .../OrderingRules/SA1208CSharp11UnitTests.cs | 2 +- .../OrderingRules/SA1209CSharp11UnitTests.cs | 2 +- .../OrderingRules/SA1210CSharp11UnitTests.cs | 2 +- .../OrderingRules/SA1211CSharp11UnitTests.cs | 2 +- .../OrderingRules/SA1212CSharp11UnitTests.cs | 2 +- .../OrderingRules/SA1213CSharp11UnitTests.cs | 2 +- .../OrderingRules/SA1214CSharp11UnitTests.cs | 2 +- .../OrderingRules/SA1215CSharp11UnitTests.cs | 2 +- .../OrderingRules/SA1216CSharp11UnitTests.cs | 2 +- .../OrderingRules/SA1217CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1100CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1101CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1102CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1103CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1104CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1105CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1106CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1107CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1108CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1109CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1110CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1111CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1112CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1113CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1114CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1115CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1116CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1117CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1118CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1120CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1121CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1122CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1123CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1124CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1125CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1126CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1127CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1128CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1129CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1130CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1131CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1132CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1133CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1134CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1135CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1136CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1137CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SA1139CSharp11UnitTests.cs | 2 +- .../ReadabilityRules/SX1101CSharp11UnitTests.cs | 2 +- .../Settings/SettingsCSharp11UnitTests.cs | 2 +- .../Settings/SettingsFileCodeFixProviderCSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1000CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1001CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1002CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1003CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1004CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1005CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1006CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1007CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1008CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1009CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1010CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1011CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1012CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1013CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1014CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1015CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1016CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1017CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1018CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1019CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1020CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1021CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1022CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1023CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1024CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1025CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1026CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1027AlternateIndentationCSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1027CSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1027UseTabsCSharp11UnitTests.cs | 2 +- .../SpacingRules/SA1028CSharp11UnitTests.cs | 2 +- .../SpecialRules/SA0001CSharp11UnitTests.cs | 2 +- .../SpecialRules/SA0002CSharp11UnitTests.cs | 2 +- .../DocumentationRules/SA1600CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1601CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1602CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1603CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1604CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1605CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1606CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1607CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1608CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1609CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1610CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1611CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1612CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1613CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1614CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1615CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1616CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1617CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1618CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1619CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1620CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1621CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1622CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1623CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1624CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1625CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1626CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1627CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1628CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1629CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1630CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1631CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1632CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1633CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1634CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1635CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1636CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1637CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1638CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1639CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1640CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1641CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1642CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1643CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1644CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1645CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1646CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1647CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1648CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1649CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1650CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1651CSharp7UnitTests.cs | 2 +- .../LayoutRules/SA1500CSharp7UnitTests.cs | 2 +- .../LayoutRules/SA1501CSharp7UnitTests.cs | 2 +- .../LayoutRules/SA1502CSharp7UnitTests.cs | 2 +- .../LayoutRules/SA1503CSharp7UnitTests.cs | 2 +- .../LayoutRules/SA1504CSharp7UnitTests.cs | 2 +- .../LayoutRules/SA1505CSharp7UnitTests.cs | 2 +- .../LayoutRules/SA1506CSharp7UnitTests.cs | 2 +- .../LayoutRules/SA1507CSharp7UnitTests.cs | 2 +- .../LayoutRules/SA1508CSharp7UnitTests.cs | 2 +- .../LayoutRules/SA1509CSharp7UnitTests.cs | 2 +- .../LayoutRules/SA1510CSharp7UnitTests.cs | 2 +- .../LayoutRules/SA1511CSharp7UnitTests.cs | 2 +- .../LayoutRules/SA1512CSharp7UnitTests.cs | 2 +- .../LayoutRules/SA1513CSharp7UnitTests.cs | 2 +- .../LayoutRules/SA1514CSharp7UnitTests.cs | 2 +- .../LayoutRules/SA1515CSharp7UnitTests.cs | 2 +- .../LayoutRules/SA1516CSharp7UnitTests.cs | 2 +- .../LayoutRules/SA1517CSharp7UnitTests.cs | 2 +- .../LayoutRules/SA1518CSharp7UnitTests.cs | 2 +- .../LayoutRules/SA1519CSharp7UnitTests.cs | 2 +- .../LayoutRules/SA1520CSharp7UnitTests.cs | 2 +- .../MaintainabilityRules/SA1119CSharp7UnitTests.cs | 2 +- .../MaintainabilityRules/SA1400CSharp7UnitTests.cs | 2 +- .../MaintainabilityRules/SA1401CSharp7UnitTests.cs | 2 +- .../MaintainabilityRules/SA1403CSharp7UnitTests.cs | 2 +- .../MaintainabilityRules/SA1404CSharp7UnitTests.cs | 2 +- .../MaintainabilityRules/SA1405CSharp7UnitTests.cs | 2 +- .../MaintainabilityRules/SA1406CSharp7UnitTests.cs | 2 +- .../MaintainabilityRules/SA1407CSharp7UnitTests.cs | 2 +- .../MaintainabilityRules/SA1408CSharp7UnitTests.cs | 2 +- .../MaintainabilityRules/SA1409CSharp7UnitTests.cs | 2 +- .../MaintainabilityRules/SA1410CSharp7UnitTests.cs | 2 +- .../MaintainabilityRules/SA1411CSharp7UnitTests.cs | 2 +- .../MaintainabilityRules/SA1412CSharp7UnitTests.cs | 2 +- .../MaintainabilityRules/SA1413CSharp7UnitTests.cs | 2 +- .../NamingRules/SA1300CSharp7UnitTests.cs | 2 +- .../NamingRules/SA1301CSharp7UnitTests.cs | 2 +- .../NamingRules/SA1302CSharp7UnitTests.cs | 2 +- .../NamingRules/SA1303CSharp7UnitTests.cs | 2 +- .../NamingRules/SA1304CSharp7UnitTests.cs | 2 +- .../NamingRules/SA1305CSharp7UnitTests.cs | 2 +- .../NamingRules/SA1306CSharp7UnitTests.cs | 2 +- .../NamingRules/SA1307CSharp7UnitTests.cs | 2 +- .../NamingRules/SA1308CSharp7UnitTests.cs | 2 +- .../NamingRules/SA1309CSharp7UnitTests.cs | 2 +- .../NamingRules/SA1310CSharp7UnitTests.cs | 2 +- .../NamingRules/SA1311CSharp7UnitTests.cs | 2 +- .../NamingRules/SA1312CSharp7UnitTests.cs | 2 +- .../NamingRules/SA1313CSharp7UnitTests.cs | 2 +- .../NamingRules/SA1314CSharp7UnitTests.cs | 2 +- .../NamingRules/SX1309CSharp7UnitTests.cs | 2 +- .../NamingRules/SX1309SCSharp7UnitTests.cs | 2 +- .../OrderingRules/SA1200CSharp7UnitTests.cs | 2 +- .../OrderingRules/SA1201CSharp7UnitTests.cs | 2 +- .../OrderingRules/SA1202CSharp7UnitTests.cs | 2 +- .../OrderingRules/SA1203CSharp7UnitTests.cs | 2 +- .../OrderingRules/SA1204CSharp7UnitTests.cs | 2 +- .../OrderingRules/SA1205CSharp7UnitTests.cs | 2 +- .../OrderingRules/SA1206CSharp7UnitTests.cs | 2 +- .../OrderingRules/SA1207CSharp7UnitTests.cs | 2 +- .../OrderingRules/SA1208CSharp7UnitTests.cs | 2 +- .../OrderingRules/SA1209CSharp7UnitTests.cs | 2 +- .../OrderingRules/SA1210CSharp7UnitTests.cs | 2 +- .../OrderingRules/SA1211CSharp7UnitTests.cs | 2 +- .../OrderingRules/SA1212CSharp7UnitTests.cs | 2 +- .../OrderingRules/SA1213CSharp7UnitTests.cs | 2 +- .../OrderingRules/SA1214CSharp7UnitTests.cs | 2 +- .../OrderingRules/SA1215CSharp7UnitTests.cs | 2 +- .../OrderingRules/SA1216CSharp7UnitTests.cs | 2 +- .../OrderingRules/SA1217CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1100CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1101CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1102CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1103CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1104CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1105CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1106CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1107CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1108CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1109CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1110CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1111CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1112CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1113CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1114CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1115CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1116CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1117CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1118CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1120CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1121CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1122CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1123CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1124CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1125CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1126CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1127CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1128CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1129CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1130CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1131CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1132CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1133CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1134CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1135CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1136CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1137CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1139CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SA1142CSharp7UnitTests.cs | 2 +- .../ReadabilityRules/SX1101CSharp7UnitTests.cs | 2 +- .../Settings/SettingsCSharp7UnitTests.cs | 2 +- .../Settings/SettingsFileCodeFixProviderCSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1000CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1001CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1002CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1003CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1004CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1005CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1006CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1007CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1008CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1009CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1010CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1011CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1012CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1013CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1014CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1015CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1016CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1017CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1018CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1019CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1020CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1021CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1022CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1023CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1024CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1025CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1026CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1027AlternateIndentationCSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1027CSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1027UseTabsCSharp7UnitTests.cs | 2 +- .../SpacingRules/SA1028CSharp7UnitTests.cs | 2 +- .../SpecialRules/SA0001CSharp7UnitTests.cs | 2 +- .../SpecialRules/SA0002CSharp7UnitTests.cs | 2 +- .../DocumentationRules/SA1600CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1601CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1602CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1603CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1604CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1605CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1606CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1607CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1608CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1609CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1610CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1611CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1612CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1613CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1614CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1615CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1616CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1617CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1618CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1619CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1620CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1621CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1622CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1623CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1624CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1625CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1626CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1627CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1628CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1629CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1630CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1631CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1632CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1633CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1634CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1635CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1636CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1637CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1638CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1639CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1640CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1641CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1642CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1643CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1644CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1645CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1646CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1647CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1648CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1649CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1650CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1651CSharp8UnitTests.cs | 2 +- .../LayoutRules/SA1500CSharp8UnitTests.cs | 2 +- .../LayoutRules/SA1501CSharp8UnitTests.cs | 2 +- .../LayoutRules/SA1502CSharp8UnitTests.cs | 2 +- .../LayoutRules/SA1503CSharp8UnitTests.cs | 2 +- .../LayoutRules/SA1504CSharp8UnitTests.cs | 2 +- .../LayoutRules/SA1505CSharp8UnitTests.cs | 2 +- .../LayoutRules/SA1506CSharp8UnitTests.cs | 2 +- .../LayoutRules/SA1507CSharp8UnitTests.cs | 2 +- .../LayoutRules/SA1508CSharp8UnitTests.cs | 2 +- .../LayoutRules/SA1509CSharp8UnitTests.cs | 2 +- .../LayoutRules/SA1510CSharp8UnitTests.cs | 2 +- .../LayoutRules/SA1511CSharp8UnitTests.cs | 2 +- .../LayoutRules/SA1512CSharp8UnitTests.cs | 2 +- .../LayoutRules/SA1513CSharp8UnitTests.cs | 2 +- .../LayoutRules/SA1514CSharp8UnitTests.cs | 2 +- .../LayoutRules/SA1515CSharp8UnitTests.cs | 2 +- .../LayoutRules/SA1516CSharp8UnitTests.cs | 2 +- .../LayoutRules/SA1517CSharp8UnitTests.cs | 2 +- .../LayoutRules/SA1518CSharp8UnitTests.cs | 2 +- .../LayoutRules/SA1519CSharp8UnitTests.cs | 2 +- .../LayoutRules/SA1520CSharp8UnitTests.cs | 2 +- .../MaintainabilityRules/SA1119CSharp8UnitTests.cs | 2 +- .../MaintainabilityRules/SA1400CSharp8UnitTests.cs | 2 +- .../MaintainabilityRules/SA1401CSharp8UnitTests.cs | 2 +- .../MaintainabilityRules/SA1403CSharp8UnitTests.cs | 2 +- .../MaintainabilityRules/SA1404CSharp8UnitTests.cs | 2 +- .../MaintainabilityRules/SA1405CSharp8UnitTests.cs | 2 +- .../MaintainabilityRules/SA1406CSharp8UnitTests.cs | 2 +- .../MaintainabilityRules/SA1407CSharp8UnitTests.cs | 2 +- .../MaintainabilityRules/SA1408CSharp8UnitTests.cs | 2 +- .../MaintainabilityRules/SA1409CSharp8UnitTests.cs | 2 +- .../MaintainabilityRules/SA1410CSharp8UnitTests.cs | 2 +- .../MaintainabilityRules/SA1411CSharp8UnitTests.cs | 2 +- .../MaintainabilityRules/SA1412CSharp8UnitTests.cs | 2 +- .../MaintainabilityRules/SA1413CSharp8UnitTests.cs | 2 +- .../NamingRules/SA1300CSharp8UnitTests.cs | 2 +- .../NamingRules/SA1301CSharp8UnitTests.cs | 2 +- .../NamingRules/SA1302CSharp8UnitTests.cs | 2 +- .../NamingRules/SA1303CSharp8UnitTests.cs | 2 +- .../NamingRules/SA1304CSharp8UnitTests.cs | 2 +- .../NamingRules/SA1305CSharp8UnitTests.cs | 2 +- .../NamingRules/SA1306CSharp8UnitTests.cs | 2 +- .../NamingRules/SA1307CSharp8UnitTests.cs | 2 +- .../NamingRules/SA1308CSharp8UnitTests.cs | 2 +- .../NamingRules/SA1309CSharp8UnitTests.cs | 2 +- .../NamingRules/SA1310CSharp8UnitTests.cs | 2 +- .../NamingRules/SA1311CSharp8UnitTests.cs | 2 +- .../NamingRules/SA1312CSharp8UnitTests.cs | 2 +- .../NamingRules/SA1313CSharp8UnitTests.cs | 2 +- .../NamingRules/SA1314CSharp8UnitTests.cs | 2 +- .../NamingRules/SA1316CSharp8UnitTests.cs | 2 +- .../NamingRules/SX1309CSharp8UnitTests.cs | 2 +- .../NamingRules/SX1309SCSharp8UnitTests.cs | 2 +- .../OrderingRules/SA1200CSharp8UnitTests.cs | 2 +- .../OrderingRules/SA1201CSharp8UnitTests.cs | 2 +- .../OrderingRules/SA1202CSharp8UnitTests.cs | 2 +- .../OrderingRules/SA1203CSharp8UnitTests.cs | 2 +- .../OrderingRules/SA1204CSharp8UnitTests.cs | 2 +- .../OrderingRules/SA1205CSharp8UnitTests.cs | 2 +- .../OrderingRules/SA1206CSharp8UnitTests.cs | 2 +- .../OrderingRules/SA1207CSharp8UnitTests.cs | 2 +- .../OrderingRules/SA1208CSharp8UnitTests.cs | 2 +- .../OrderingRules/SA1209CSharp8UnitTests.cs | 2 +- .../OrderingRules/SA1210CSharp8UnitTests.cs | 2 +- .../OrderingRules/SA1211CSharp8UnitTests.cs | 2 +- .../OrderingRules/SA1212CSharp8UnitTests.cs | 2 +- .../OrderingRules/SA1213CSharp8UnitTests.cs | 2 +- .../OrderingRules/SA1214CSharp8UnitTests.cs | 2 +- .../OrderingRules/SA1215CSharp8UnitTests.cs | 2 +- .../OrderingRules/SA1216CSharp8UnitTests.cs | 2 +- .../OrderingRules/SA1217CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1100CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1101CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1102CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1103CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1104CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1105CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1106CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1107CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1108CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1109CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1110CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1111CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1112CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1113CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1114CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1115CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1116CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1117CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1118CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1120CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1121CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1122CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1123CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1124CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1125CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1126CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1127CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1128CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1129CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1130CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1131CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1132CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1133CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1134CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1135CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1136CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1137CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SA1139CSharp8UnitTests.cs | 2 +- .../ReadabilityRules/SX1101CSharp8UnitTests.cs | 2 +- .../Settings/SettingsCSharp8UnitTests.cs | 2 +- .../Settings/SettingsFileCodeFixProviderCSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1000CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1001CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1002CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1003CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1004CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1005CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1006CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1007CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1008CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1009CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1010CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1011CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1012CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1013CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1014CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1015CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1016CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1017CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1018CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1019CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1020CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1021CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1022CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1023CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1024CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1025CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1026CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1027AlternateIndentationCSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1027CSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1027UseTabsCSharp8UnitTests.cs | 2 +- .../SpacingRules/SA1028CSharp8UnitTests.cs | 2 +- .../SpecialRules/SA0001CSharp8UnitTests.cs | 2 +- .../SpecialRules/SA0002CSharp8UnitTests.cs | 2 +- .../DocumentationRules/SA1600CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1601CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1602CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1603CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1604CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1605CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1606CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1607CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1608CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1609CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1610CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1611CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1612CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1613CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1614CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1615CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1616CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1617CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1618CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1619CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1620CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1621CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1622CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1623CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1624CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1625CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1626CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1627CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1628CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1629CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1630CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1631CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1632CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1633CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1634CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1635CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1636CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1637CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1638CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1639CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1640CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1641CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1642CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1643CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1644CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1645CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1646CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1647CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1648CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1649CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1650CSharp9UnitTests.cs | 2 +- .../DocumentationRules/SA1651CSharp9UnitTests.cs | 2 +- .../LayoutRules/SA1500CSharp9UnitTests.cs | 2 +- .../LayoutRules/SA1501CSharp9UnitTests.cs | 2 +- .../LayoutRules/SA1502CSharp9UnitTests.cs | 2 +- .../LayoutRules/SA1503CSharp9UnitTests.cs | 2 +- .../LayoutRules/SA1504CSharp9UnitTests.cs | 2 +- .../LayoutRules/SA1505CSharp9UnitTests.cs | 2 +- .../LayoutRules/SA1506CSharp9UnitTests.cs | 2 +- .../LayoutRules/SA1507CSharp9UnitTests.cs | 2 +- .../LayoutRules/SA1508CSharp9UnitTests.cs | 2 +- .../LayoutRules/SA1509CSharp9UnitTests.cs | 2 +- .../LayoutRules/SA1510CSharp9UnitTests.cs | 2 +- .../LayoutRules/SA1511CSharp9UnitTests.cs | 2 +- .../LayoutRules/SA1512CSharp9UnitTests.cs | 2 +- .../LayoutRules/SA1513CSharp9UnitTests.cs | 2 +- .../LayoutRules/SA1514CSharp9UnitTests.cs | 2 +- .../LayoutRules/SA1515CSharp9UnitTests.cs | 2 +- .../LayoutRules/SA1516CSharp9UnitTests.cs | 2 +- .../LayoutRules/SA1517CSharp9UnitTests.cs | 2 +- .../LayoutRules/SA1518CSharp9UnitTests.cs | 2 +- .../LayoutRules/SA1519CSharp9UnitTests.cs | 2 +- .../LayoutRules/SA1520CSharp9UnitTests.cs | 2 +- .../MaintainabilityRules/SA1119CSharp9UnitTests.cs | 2 +- .../MaintainabilityRules/SA1400CSharp9UnitTests.cs | 2 +- .../MaintainabilityRules/SA1401CSharp9UnitTests.cs | 2 +- .../MaintainabilityRules/SA1403CSharp9UnitTests.cs | 2 +- .../MaintainabilityRules/SA1404CSharp9UnitTests.cs | 2 +- .../MaintainabilityRules/SA1405CSharp9UnitTests.cs | 2 +- .../MaintainabilityRules/SA1406CSharp9UnitTests.cs | 2 +- .../MaintainabilityRules/SA1407CSharp9UnitTests.cs | 2 +- .../MaintainabilityRules/SA1408CSharp9UnitTests.cs | 2 +- .../MaintainabilityRules/SA1409CSharp9UnitTests.cs | 2 +- .../MaintainabilityRules/SA1410CSharp9UnitTests.cs | 2 +- .../MaintainabilityRules/SA1411CSharp9UnitTests.cs | 2 +- .../MaintainabilityRules/SA1412CSharp9UnitTests.cs | 2 +- .../MaintainabilityRules/SA1413CSharp9UnitTests.cs | 2 +- .../NamingRules/SA1300CSharp9UnitTests.cs | 2 +- .../NamingRules/SA1301CSharp9UnitTests.cs | 2 +- .../NamingRules/SA1302CSharp9UnitTests.cs | 2 +- .../NamingRules/SA1303CSharp9UnitTests.cs | 2 +- .../NamingRules/SA1304CSharp9UnitTests.cs | 2 +- .../NamingRules/SA1305CSharp9UnitTests.cs | 2 +- .../NamingRules/SA1306CSharp9UnitTests.cs | 2 +- .../NamingRules/SA1307CSharp9UnitTests.cs | 2 +- .../NamingRules/SA1308CSharp9UnitTests.cs | 2 +- .../NamingRules/SA1309CSharp9UnitTests.cs | 2 +- .../NamingRules/SA1310CSharp9UnitTests.cs | 2 +- .../NamingRules/SA1311CSharp9UnitTests.cs | 2 +- .../NamingRules/SA1312CSharp9UnitTests.cs | 2 +- .../NamingRules/SA1313CSharp9UnitTests.cs | 2 +- .../NamingRules/SA1314CSharp9UnitTests.cs | 2 +- .../NamingRules/SA1316CSharp9UnitTests.cs | 2 +- .../NamingRules/SX1309CSharp9UnitTests.cs | 2 +- .../NamingRules/SX1309SCSharp9UnitTests.cs | 2 +- .../OrderingRules/SA1200CSharp9UnitTests.cs | 2 +- .../OrderingRules/SA1201CSharp9UnitTests.cs | 2 +- .../OrderingRules/SA1202CSharp9UnitTests.cs | 2 +- .../OrderingRules/SA1203CSharp9UnitTests.cs | 2 +- .../OrderingRules/SA1204CSharp9UnitTests.cs | 2 +- .../OrderingRules/SA1205CSharp9UnitTests.cs | 2 +- .../OrderingRules/SA1206CSharp9UnitTests.cs | 2 +- .../OrderingRules/SA1207CSharp9UnitTests.cs | 2 +- .../OrderingRules/SA1208CSharp9UnitTests.cs | 2 +- .../OrderingRules/SA1209CSharp9UnitTests.cs | 2 +- .../OrderingRules/SA1210CSharp9UnitTests.cs | 2 +- .../OrderingRules/SA1211CSharp9UnitTests.cs | 2 +- .../OrderingRules/SA1212CSharp9UnitTests.cs | 2 +- .../OrderingRules/SA1213CSharp9UnitTests.cs | 2 +- .../OrderingRules/SA1214CSharp9UnitTests.cs | 2 +- .../OrderingRules/SA1215CSharp9UnitTests.cs | 2 +- .../OrderingRules/SA1216CSharp9UnitTests.cs | 2 +- .../OrderingRules/SA1217CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1100CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1101CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1102CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1103CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1104CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1105CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1106CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1107CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1108CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1109CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1110CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1111CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1112CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1113CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1114CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1115CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1116CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1117CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1118CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1120CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1121CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1122CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1123CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1124CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1125CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1126CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1127CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1128CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1129CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1130CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1131CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1132CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1133CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1134CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1135CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1136CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1137CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SA1139CSharp9UnitTests.cs | 2 +- .../ReadabilityRules/SX1101CSharp9UnitTests.cs | 2 +- .../Settings/SettingsCSharp9UnitTests.cs | 2 +- .../Settings/SettingsFileCodeFixProviderCSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1000CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1001CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1002CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1003CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1004CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1005CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1006CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1007CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1008CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1009CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1010CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1011CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1012CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1013CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1014CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1015CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1016CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1017CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1018CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1019CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1020CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1021CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1022CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1023CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1024CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1025CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1026CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1027AlternateIndentationCSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1027CSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1027UseTabsCSharp9UnitTests.cs | 2 +- .../SpacingRules/SA1028CSharp9UnitTests.cs | 2 +- .../SpecialRules/SA0001CSharp9UnitTests.cs | 2 +- .../SpecialRules/SA0002CSharp9UnitTests.cs | 2 +- 985 files changed, 985 insertions(+), 985 deletions(-) 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/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/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/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/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/NamingRules/SA1300CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1300CSharp10UnitTests.cs index 41ee9feee..3796f58bb 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 9d2127a9a..d7e76a1ee 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1313CSharp10UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/NamingRules/SA1313CSharp10UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.NamingRules 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")] 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/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/SA1201CSharp10UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1201CSharp10UnitTests.cs index 61b745521..88fe742ab 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/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/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/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/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/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 cc17c7e56..30c1fa682 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1101CSharp10UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1101CSharp10UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.ReadabilityRules 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")] 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/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.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..66bc9e52e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1648CSharp11UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1648CSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules { using StyleCop.Analyzers.Test.CSharp10.DocumentationRules; - public class SA1648CSharp11UnitTests : SA1648CSharp10UnitTests + public partial class SA1648CSharp11UnitTests : SA1648CSharp10UnitTests { } } 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/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/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/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/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/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/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/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/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/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/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/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/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/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 017d102dc..52f154915 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1010CSharp11UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1010CSharp11UnitTests.cs @@ -13,7 +13,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules StyleCop.Analyzers.SpacingRules.SA1010OpeningSquareBracketsMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1010CSharp11UnitTests : SA1010CSharp10UnitTests + public partial class SA1010CSharp11UnitTests : SA1010CSharp10UnitTests { [Theory] [InlineData("x is [1]")] 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 1c33a19f2..3e8a33c3b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1012CSharp11UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/SpacingRules/SA1012CSharp11UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.SpacingRules 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")] 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.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/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/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/MaintainabilityRules/SA1119CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1119CSharp7UnitTests.cs index 5cdac7048..26f617112 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1119CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1119CSharp7UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules StyleCop.Analyzers.MaintainabilityRules.SA1119StatementMustNotUseUnnecessaryParenthesis, StyleCop.Analyzers.MaintainabilityRules.SA1119CodeFixProvider>; - public class SA1119CSharp7UnitTests : SA1119UnitTests + public partial class SA1119CSharp7UnitTests : SA1119UnitTests { /// /// Verifies that extra parentheses in pattern matching is not reported. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1400CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1400CSharp7UnitTests.cs index 99bec9b38..e9586f580 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1400CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1400CSharp7UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules StyleCop.Analyzers.MaintainabilityRules.SA1400AccessModifierMustBeDeclared, StyleCop.Analyzers.MaintainabilityRules.SA1400CodeFixProvider>; - public class SA1400CSharp7UnitTests : SA1400UnitTests + public partial class SA1400CSharp7UnitTests : SA1400UnitTests { /// /// Verifies that local functions, which do not support access modifiers, do not trigger SA1400. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1401CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1401CSharp7UnitTests.cs index 99c88379f..6cedfd53f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1401CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1401CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules { using StyleCop.Analyzers.Test.MaintainabilityRules; - public class SA1401CSharp7UnitTests : SA1401UnitTests + public partial class SA1401CSharp7UnitTests : SA1401UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1403CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1403CSharp7UnitTests.cs index 560ad68c2..d6030252c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1403CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1403CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules { using StyleCop.Analyzers.Test.MaintainabilityRules; - public class SA1403CSharp7UnitTests : SA1403UnitTests + public partial class SA1403CSharp7UnitTests : SA1403UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1404CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1404CSharp7UnitTests.cs index 7d01f5c21..e481c41ef 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1404CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1404CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules { using StyleCop.Analyzers.Test.MaintainabilityRules; - public class SA1404CSharp7UnitTests : SA1404UnitTests + public partial class SA1404CSharp7UnitTests : SA1404UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1405CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1405CSharp7UnitTests.cs index b21760be8..e4bceaa59 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1405CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1405CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules { using StyleCop.Analyzers.Test.MaintainabilityRules; - public class SA1405CSharp7UnitTests : SA1405UnitTests + public partial class SA1405CSharp7UnitTests : SA1405UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1406CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1406CSharp7UnitTests.cs index 33e3a13e5..97431a79b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1406CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1406CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules { using StyleCop.Analyzers.Test.MaintainabilityRules; - public class SA1406CSharp7UnitTests : SA1406UnitTests + public partial class SA1406CSharp7UnitTests : SA1406UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1407CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1407CSharp7UnitTests.cs index a89e76193..c09b962cf 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1407CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1407CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules { using StyleCop.Analyzers.Test.MaintainabilityRules; - public class SA1407CSharp7UnitTests : SA1407UnitTests + public partial class SA1407CSharp7UnitTests : SA1407UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1408CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1408CSharp7UnitTests.cs index 91ac30484..3b96645ea 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1408CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1408CSharp7UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules StyleCop.Analyzers.MaintainabilityRules.SA1408ConditionalExpressionsMustDeclarePrecedence, StyleCop.Analyzers.MaintainabilityRules.SA1407SA1408CodeFixProvider>; - public class SA1408CSharp7UnitTests : SA1408UnitTests + public partial class SA1408CSharp7UnitTests : SA1408UnitTests { /// /// Verifies that a code fix for SA1119 in a pattern matching expression does not trigger SA1408. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1409CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1409CSharp7UnitTests.cs index fd6ece6b7..fbac6385b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1409CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1409CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules { using StyleCop.Analyzers.Test.MaintainabilityRules; - public class SA1409CSharp7UnitTests : SA1409UnitTests + public partial class SA1409CSharp7UnitTests : SA1409UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1410CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1410CSharp7UnitTests.cs index b2547331b..4277a7196 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1410CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1410CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules { using StyleCop.Analyzers.Test.MaintainabilityRules; - public class SA1410CSharp7UnitTests : SA1410UnitTests + public partial class SA1410CSharp7UnitTests : SA1410UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1411CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1411CSharp7UnitTests.cs index f438bc203..762b82277 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1411CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1411CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules { using StyleCop.Analyzers.Test.MaintainabilityRules; - public class SA1411CSharp7UnitTests : SA1411UnitTests + public partial class SA1411CSharp7UnitTests : SA1411UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1412CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1412CSharp7UnitTests.cs index a6c670240..61da03e63 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1412CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1412CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules { using StyleCop.Analyzers.Test.MaintainabilityRules; - public class SA1412CSharp7UnitTests : SA1412UnitTests + public partial class SA1412CSharp7UnitTests : SA1412UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1413CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1413CSharp7UnitTests.cs index 532e19b90..c6759d47a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1413CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1413CSharp7UnitTests.cs @@ -16,7 +16,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules StyleCop.Analyzers.MaintainabilityRules.SA1413UseTrailingCommasInMultiLineInitializers, StyleCop.Analyzers.MaintainabilityRules.SA1413CodeFixProvider>; - public class SA1413CSharp7UnitTests : SA1413UnitTests + public partial class SA1413CSharp7UnitTests : SA1413UnitTests { [Fact] public async Task TestStackAllocArrayCreationExpressionAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1300CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1300CSharp7UnitTests.cs index 08e6e971d..b8938c6ed 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1300CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1300CSharp7UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.NamingRules StyleCop.Analyzers.NamingRules.SA1300ElementMustBeginWithUpperCaseLetter, StyleCop.Analyzers.NamingRules.RenameToUpperCaseCodeFixProvider>; - public class SA1300CSharp7UnitTests : SA1300UnitTests + public partial class SA1300CSharp7UnitTests : SA1300UnitTests { [Fact] public async Task TestUpperCaseLocalFunctionAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1301CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1301CSharp7UnitTests.cs index 4753a315f..f72edafa4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1301CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1301CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.NamingRules { using StyleCop.Analyzers.Test.NamingRules; - public class SA1301CSharp7UnitTests : SA1301UnitTests + public partial class SA1301CSharp7UnitTests : SA1301UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1302CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1302CSharp7UnitTests.cs index 23d5e9f0f..2f1f51541 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1302CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1302CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.NamingRules { using StyleCop.Analyzers.Test.NamingRules; - public class SA1302CSharp7UnitTests : SA1302UnitTests + public partial class SA1302CSharp7UnitTests : SA1302UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1303CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1303CSharp7UnitTests.cs index dd3c4a6bd..0825f5694 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1303CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1303CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.NamingRules { using StyleCop.Analyzers.Test.NamingRules; - public class SA1303CSharp7UnitTests : SA1303UnitTests + public partial class SA1303CSharp7UnitTests : SA1303UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1304CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1304CSharp7UnitTests.cs index cd1692cdd..a5256cb54 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1304CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1304CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.NamingRules { using StyleCop.Analyzers.Test.NamingRules; - public class SA1304CSharp7UnitTests : SA1304UnitTests + public partial class SA1304CSharp7UnitTests : SA1304UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1305CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1305CSharp7UnitTests.cs index 806783a2b..fce573e59 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1305CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1305CSharp7UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.NamingRules using Xunit; using static StyleCop.Analyzers.Test.Verifiers.StyleCopDiagnosticVerifier; - public class SA1305CSharp7UnitTests : SA1305UnitTests + public partial class SA1305CSharp7UnitTests : SA1305UnitTests { [Fact] public async Task TestInvalidVariableDesignatorNamesAreReportedAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1306CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1306CSharp7UnitTests.cs index 067c49c81..ff89b160f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1306CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1306CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.NamingRules { using StyleCop.Analyzers.Test.NamingRules; - public class SA1306CSharp7UnitTests : SA1306UnitTests + public partial class SA1306CSharp7UnitTests : SA1306UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1307CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1307CSharp7UnitTests.cs index 6ce6701e3..4501b5cf5 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1307CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1307CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.NamingRules { using StyleCop.Analyzers.Test.NamingRules; - public class SA1307CSharp7UnitTests : SA1307UnitTests + public partial class SA1307CSharp7UnitTests : SA1307UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1308CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1308CSharp7UnitTests.cs index 47c33bcf7..5676aff14 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1308CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1308CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.NamingRules { using StyleCop.Analyzers.Test.NamingRules; - public class SA1308CSharp7UnitTests : SA1308UnitTests + public partial class SA1308CSharp7UnitTests : SA1308UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1309CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1309CSharp7UnitTests.cs index a8c56d727..edefc99c3 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1309CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1309CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.NamingRules { using StyleCop.Analyzers.Test.NamingRules; - public class SA1309CSharp7UnitTests : SA1309UnitTests + public partial class SA1309CSharp7UnitTests : SA1309UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1310CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1310CSharp7UnitTests.cs index 3ac0fdc8c..b65828de6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1310CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1310CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.NamingRules { using StyleCop.Analyzers.Test.NamingRules; - public class SA1310CSharp7UnitTests : SA1310UnitTests + public partial class SA1310CSharp7UnitTests : SA1310UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1311CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1311CSharp7UnitTests.cs index c31d16e88..1dbb386db 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1311CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1311CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.NamingRules { using StyleCop.Analyzers.Test.NamingRules; - public class SA1311CSharp7UnitTests : SA1311UnitTests + public partial class SA1311CSharp7UnitTests : SA1311UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1312CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1312CSharp7UnitTests.cs index 30bfff7fb..95ff87099 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1312CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1312CSharp7UnitTests.cs @@ -15,7 +15,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.NamingRules StyleCop.Analyzers.NamingRules.SA1312VariableNamesMustBeginWithLowerCaseLetter, StyleCop.Analyzers.NamingRules.RenameToLowerCaseCodeFixProvider>; - public class SA1312CSharp7UnitTests : SA1312UnitTests + public partial class SA1312CSharp7UnitTests : SA1312UnitTests { [Fact] public async Task TestThatDiagnosticIsReported_SingleVariableDesignatorAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1313CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1313CSharp7UnitTests.cs index b443b508b..e418deb89 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1313CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1313CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.NamingRules { using StyleCop.Analyzers.Test.NamingRules; - public class SA1313CSharp7UnitTests : SA1313UnitTests + public partial class SA1313CSharp7UnitTests : SA1313UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1314CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1314CSharp7UnitTests.cs index 78be8764b..2e2e34996 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1314CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SA1314CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.NamingRules { using StyleCop.Analyzers.Test.NamingRules; - public class SA1314CSharp7UnitTests : SA1314UnitTests + public partial class SA1314CSharp7UnitTests : SA1314UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SX1309CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SX1309CSharp7UnitTests.cs index a057d16e5..97ede3427 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SX1309CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SX1309CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.NamingRules { using StyleCop.Analyzers.Test.NamingRules; - public class SX1309CSharp7UnitTests : SX1309UnitTests + public partial class SX1309CSharp7UnitTests : SX1309UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SX1309SCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SX1309SCSharp7UnitTests.cs index 7ebd5b5be..57919e643 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SX1309SCSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/NamingRules/SX1309SCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.NamingRules { using StyleCop.Analyzers.Test.NamingRules; - public class SX1309SCSharp7UnitTests : SX1309SUnitTests + public partial class SX1309SCSharp7UnitTests : SX1309SUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200CSharp7UnitTests.cs index 6140f53be..c04c66b96 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class SA1200CSharp7UnitTests : SA1200UnitTests + public partial class SA1200CSharp7UnitTests : SA1200UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1201CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1201CSharp7UnitTests.cs index 974d0a6c2..e8198e2fb 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1201CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1201CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class SA1201CSharp7UnitTests : SA1201UnitTests + public partial class SA1201CSharp7UnitTests : SA1201UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1202CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1202CSharp7UnitTests.cs index 82ef9abb4..15eace051 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1202CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1202CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class SA1202CSharp7UnitTests : SA1202UnitTests + public partial class SA1202CSharp7UnitTests : SA1202UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1203CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1203CSharp7UnitTests.cs index 2f1ecce73..d488dae4c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1203CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1203CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class SA1203CSharp7UnitTests : SA1203UnitTests + public partial class SA1203CSharp7UnitTests : SA1203UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1204CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1204CSharp7UnitTests.cs index 2a97aac38..0e3aed16d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1204CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1204CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class SA1204CSharp7UnitTests : SA1204UnitTests + public partial class SA1204CSharp7UnitTests : SA1204UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1205CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1205CSharp7UnitTests.cs index b8bb1766e..fda0b3c98 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1205CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1205CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class SA1205CSharp7UnitTests : SA1205UnitTests + public partial class SA1205CSharp7UnitTests : SA1205UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1206CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1206CSharp7UnitTests.cs index 8dbfe1419..459a81db7 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1206CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1206CSharp7UnitTests.cs @@ -15,7 +15,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules StyleCop.Analyzers.OrderingRules.SA1206DeclarationKeywordsMustFollowOrder, StyleCop.Analyzers.OrderingRules.SA1206CodeFixProvider>; - public class SA1206CSharp7UnitTests : SA1206UnitTests + public partial class SA1206CSharp7UnitTests : SA1206UnitTests { [Theory] [InlineData("readonly")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1207CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1207CSharp7UnitTests.cs index b34655a86..4d6dfc0fc 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1207CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1207CSharp7UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules StyleCop.Analyzers.OrderingRules.SA1207ProtectedMustComeBeforeInternal, StyleCop.Analyzers.OrderingRules.SA1207CodeFixProvider>; - public class SA1207CSharp7UnitTests : SA1207UnitTests + public partial class SA1207CSharp7UnitTests : SA1207UnitTests { [Fact] public async Task TestPrivateProtectedAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1208CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1208CSharp7UnitTests.cs index a070f6a6d..dcf0b8a7f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1208CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1208CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class SA1208CSharp7UnitTests : SA1208UnitTests + public partial class SA1208CSharp7UnitTests : SA1208UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1209CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1209CSharp7UnitTests.cs index 905d6924b..0e062194d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1209CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1209CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class SA1209CSharp7UnitTests : SA1209UnitTests + public partial class SA1209CSharp7UnitTests : SA1209UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1210CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1210CSharp7UnitTests.cs index 09b83ce8a..d69a57518 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1210CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1210CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class SA1210CSharp7UnitTests : SA1210UnitTests + public partial class SA1210CSharp7UnitTests : SA1210UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1211CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1211CSharp7UnitTests.cs index b2b81e84d..923a4d7f6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1211CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1211CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class SA1211CSharp7UnitTests : SA1211UnitTests + public partial class SA1211CSharp7UnitTests : SA1211UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1212CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1212CSharp7UnitTests.cs index 97ac60adc..675ec596c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1212CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1212CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class SA1212CSharp7UnitTests : SA1212UnitTests + public partial class SA1212CSharp7UnitTests : SA1212UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1213CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1213CSharp7UnitTests.cs index 304fddef8..8c1c1b6be 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1213CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1213CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class SA1213CSharp7UnitTests : SA1213UnitTests + public partial class SA1213CSharp7UnitTests : SA1213UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1214CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1214CSharp7UnitTests.cs index d968f95e5..c04edd78c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1214CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1214CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class SA1214CSharp7UnitTests : SA1214UnitTests + public partial class SA1214CSharp7UnitTests : SA1214UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1215CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1215CSharp7UnitTests.cs index 760166e77..7a323e80c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1215CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1215CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class SA1215CSharp7UnitTests : SA1215UnitTests + public partial class SA1215CSharp7UnitTests : SA1215UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1216CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1216CSharp7UnitTests.cs index f904b7934..7098ccdcd 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1216CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1216CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class SA1216CSharp7UnitTests : SA1216UnitTests + public partial class SA1216CSharp7UnitTests : SA1216UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1217CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1217CSharp7UnitTests.cs index 6bd674dd9..6b75bf263 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1217CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1217CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class SA1217CSharp7UnitTests : SA1217UnitTests + public partial class SA1217CSharp7UnitTests : SA1217UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1100CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1100CSharp7UnitTests.cs index 0db6e9d81..38e877faf 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1100CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1100CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules { using StyleCop.Analyzers.Test.ReadabilityRules; - public class SA1100CSharp7UnitTests : SA1100UnitTests + public partial class SA1100CSharp7UnitTests : SA1100UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1101CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1101CSharp7UnitTests.cs index 6076f87d8..fca751c15 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1101CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1101CSharp7UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules StyleCop.Analyzers.ReadabilityRules.SA1101PrefixLocalCallsWithThis, StyleCop.Analyzers.ReadabilityRules.SA1101CodeFixProvider>; - public class SA1101CSharp7UnitTests : SA1101UnitTests + public partial class SA1101CSharp7UnitTests : SA1101UnitTests { /// /// Verifies that a value tuple is handled properly. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1102CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1102CSharp7UnitTests.cs index 62b4d05a1..8504339dc 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1102CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1102CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules { using StyleCop.Analyzers.Test.ReadabilityRules; - public class SA1102CSharp7UnitTests : SA1102UnitTests + public partial class SA1102CSharp7UnitTests : SA1102UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1103CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1103CSharp7UnitTests.cs index 9d123a710..4e5d9edaa 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1103CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1103CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules { using StyleCop.Analyzers.Test.ReadabilityRules; - public class SA1103CSharp7UnitTests : SA1103UnitTests + public partial class SA1103CSharp7UnitTests : SA1103UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1104CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1104CSharp7UnitTests.cs index a34489070..9beb811cd 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1104CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1104CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules { using StyleCop.Analyzers.Test.ReadabilityRules; - public class SA1104CSharp7UnitTests : SA1104UnitTests + public partial class SA1104CSharp7UnitTests : SA1104UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1105CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1105CSharp7UnitTests.cs index 7d655d149..3a99198d2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1105CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1105CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules { using StyleCop.Analyzers.Test.ReadabilityRules; - public class SA1105CSharp7UnitTests : SA1105UnitTests + public partial class SA1105CSharp7UnitTests : SA1105UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1106CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1106CSharp7UnitTests.cs index 1ca426045..9ff55c0fa 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1106CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1106CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules { using StyleCop.Analyzers.Test.ReadabilityRules; - public class SA1106CSharp7UnitTests : SA1106UnitTests + public partial class SA1106CSharp7UnitTests : SA1106UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1107CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1107CSharp7UnitTests.cs index dfb44cb86..1eded99d2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1107CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1107CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules { using StyleCop.Analyzers.Test.ReadabilityRules; - public class SA1107CSharp7UnitTests : SA1107UnitTests + public partial class SA1107CSharp7UnitTests : SA1107UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1108CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1108CSharp7UnitTests.cs index e20443db2..bd47f6d5f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1108CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1108CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules { using StyleCop.Analyzers.Test.ReadabilityRules; - public class SA1108CSharp7UnitTests : SA1108UnitTests + public partial class SA1108CSharp7UnitTests : SA1108UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1109CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1109CSharp7UnitTests.cs index da6a7bc79..441185036 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1109CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1109CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules { using StyleCop.Analyzers.Test.ReadabilityRules; - public class SA1109CSharp7UnitTests : SA1109UnitTests + public partial class SA1109CSharp7UnitTests : SA1109UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1110CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1110CSharp7UnitTests.cs index 69f1c6ba2..2dce4fcdf 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1110CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1110CSharp7UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules StyleCop.Analyzers.ReadabilityRules.SA1110OpeningParenthesisMustBeOnDeclarationLine, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1110CSharp7UnitTests : SA1110UnitTests + public partial class SA1110CSharp7UnitTests : SA1110UnitTests { [Fact] public async Task TestLocalFunctionDeclarationOpeningParenthesisInTheNextLineAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1111CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1111CSharp7UnitTests.cs index 0972095e4..7a427a056 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1111CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1111CSharp7UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules StyleCop.Analyzers.ReadabilityRules.SA1111ClosingParenthesisMustBeOnLineOfLastParameter, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1111CSharp7UnitTests : SA1111UnitTests + public partial class SA1111CSharp7UnitTests : SA1111UnitTests { [Fact] public async Task TestLocalFunctionDeclarationWithOneParameterClosingParenthesisOnTheNextLineAsTheLastParameterAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1112CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1112CSharp7UnitTests.cs index 09f6978d6..57162e542 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1112CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1112CSharp7UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules StyleCop.Analyzers.ReadabilityRules.SA1112ClosingParenthesisMustBeOnLineOfOpeningParenthesis, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1112CSharp7UnitTests : SA1112UnitTests + public partial class SA1112CSharp7UnitTests : SA1112UnitTests { [Fact] public async Task TestLocalFunctionWithNoParametersClosingParenthesisOnTheNextLineAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1113CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1113CSharp7UnitTests.cs index d53cd085a..e583fc8a1 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1113CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1113CSharp7UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules StyleCop.Analyzers.ReadabilityRules.SA1113CommaMustBeOnSameLineAsPreviousParameter, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1113CSharp7UnitTests : SA1113UnitTests + public partial class SA1113CSharp7UnitTests : SA1113UnitTests { [Fact] public async Task TestLocalFunctionDeclarationWithTwoParametersCommaPlacedAtTheSameLineAsTheSecondParameterAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1114CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1114CSharp7UnitTests.cs index a25ac8318..f11bb438b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1114CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1114CSharp7UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules using Xunit; using static StyleCop.Analyzers.Test.Verifiers.StyleCopDiagnosticVerifier; - public class SA1114CSharp7UnitTests : SA1114UnitTests + public partial class SA1114CSharp7UnitTests : SA1114UnitTests { [Fact] public async Task TestLocalFunctionDeclarationParametersList2LinesAfterOpeningParenthesisAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1115CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1115CSharp7UnitTests.cs index 63b234d44..d5177f6ec 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1115CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1115CSharp7UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules using Xunit; using static StyleCop.Analyzers.Test.Verifiers.StyleCopDiagnosticVerifier; - public class SA1115CSharp7UnitTests : SA1115UnitTests + public partial class SA1115CSharp7UnitTests : SA1115UnitTests { [Fact] public async Task TestLocalFunctionDeclarationEmptyLinesBetweenParametersAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1116CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1116CSharp7UnitTests.cs index 8b1bac3a2..99ba474de 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1116CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1116CSharp7UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules StyleCop.Analyzers.ReadabilityRules.SA1116SplitParametersMustStartOnLineAfterDeclaration, StyleCop.Analyzers.ReadabilityRules.SA1116CodeFixProvider>; - public class SA1116CSharp7UnitTests : SA1116UnitTests + public partial class SA1116CSharp7UnitTests : SA1116UnitTests { [Fact] public async Task TestValidLocalFunctionAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1117CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1117CSharp7UnitTests.cs index 3977d82d1..583aaa48e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1117CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1117CSharp7UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules using Xunit; using static StyleCop.Analyzers.Test.Verifiers.StyleCopDiagnosticVerifier; - public class SA1117CSharp7UnitTests : SA1117UnitTests + public partial class SA1117CSharp7UnitTests : SA1117UnitTests { [Fact] public async Task TestValidLocalFunctionsAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1118CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1118CSharp7UnitTests.cs index 51c146f1c..36fa24b59 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1118CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1118CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules { using StyleCop.Analyzers.Test.ReadabilityRules; - public class SA1118CSharp7UnitTests : SA1118UnitTests + public partial class SA1118CSharp7UnitTests : SA1118UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1120CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1120CSharp7UnitTests.cs index 9a5f8b413..94356425c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1120CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1120CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules { using StyleCop.Analyzers.Test.ReadabilityRules; - public class SA1120CSharp7UnitTests : SA1120UnitTests + public partial class SA1120CSharp7UnitTests : SA1120UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1121CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1121CSharp7UnitTests.cs index 75ecfade5..500558ad2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1121CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1121CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules { using StyleCop.Analyzers.Test.ReadabilityRules; - public class SA1121CSharp7UnitTests : SA1121UnitTests + public partial class SA1121CSharp7UnitTests : SA1121UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1122CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1122CSharp7UnitTests.cs index f984f17d9..e084afbab 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1122CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1122CSharp7UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules StyleCop.Analyzers.ReadabilityRules.SA1122UseStringEmptyForEmptyStrings, StyleCop.Analyzers.ReadabilityRules.SA1122CodeFixProvider>; - public class SA1122CSharp7UnitTests : SA1122UnitTests + public partial class SA1122CSharp7UnitTests : SA1122UnitTests { /// /// Verifies the analyzer will properly handle an empty string in a case label. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1123CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1123CSharp7UnitTests.cs index 58cbbba4c..2c7b57263 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1123CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1123CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules { using StyleCop.Analyzers.Test.ReadabilityRules; - public class SA1123CSharp7UnitTests : SA1123UnitTests + public partial class SA1123CSharp7UnitTests : SA1123UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1124CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1124CSharp7UnitTests.cs index 168459beb..a8f45c8ef 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1124CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1124CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules { using StyleCop.Analyzers.Test.ReadabilityRules; - public class SA1124CSharp7UnitTests : SA1124UnitTests + public partial class SA1124CSharp7UnitTests : SA1124UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1125CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1125CSharp7UnitTests.cs index 50b2c8ce7..4ab90b3d9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1125CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1125CSharp7UnitTests.cs @@ -13,7 +13,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules using Xunit; using static StyleCop.Analyzers.Test.Verifiers.StyleCopDiagnosticVerifier; - public class SA1125CSharp7UnitTests : SA1125UnitTests + public partial class SA1125CSharp7UnitTests : SA1125UnitTests { /// /// This is a regression test for DotNetAnalyzers/StyleCopAnalyzers#386. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1126CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1126CSharp7UnitTests.cs index a338b966c..4b94c90c6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1126CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1126CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules { using StyleCop.Analyzers.Test.ReadabilityRules; - public class SA1126CSharp7UnitTests : SA1126UnitTests + public partial class SA1126CSharp7UnitTests : SA1126UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1127CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1127CSharp7UnitTests.cs index c2eba9735..597f3d4f2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1127CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1127CSharp7UnitTests.cs @@ -13,7 +13,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules StyleCop.Analyzers.ReadabilityRules.SA1127GenericTypeConstraintsMustBeOnOwnLine, StyleCop.Analyzers.ReadabilityRules.SA1127CodeFixProvider>; - public class SA1127CSharp7UnitTests : SA1127UnitTests + public partial class SA1127CSharp7UnitTests : SA1127UnitTests { [Fact] public async Task TestViolationWithLocalFunctionDeclarationAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1128CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1128CSharp7UnitTests.cs index e8a59a89a..8220b7942 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1128CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1128CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules { using StyleCop.Analyzers.Test.ReadabilityRules; - public class SA1128CSharp7UnitTests : SA1128UnitTests + public partial class SA1128CSharp7UnitTests : SA1128UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1129CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1129CSharp7UnitTests.cs index 1bfdbb21f..3f300502b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1129CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1129CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules { using StyleCop.Analyzers.Test.ReadabilityRules; - public class SA1129CSharp7UnitTests : SA1129UnitTests + public partial class SA1129CSharp7UnitTests : SA1129UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1130CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1130CSharp7UnitTests.cs index 2ff199a6a..838d53f9f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1130CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1130CSharp7UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules StyleCop.Analyzers.ReadabilityRules.SA1130UseLambdaSyntax, StyleCop.Analyzers.ReadabilityRules.SA1130CodeFixProvider>; - public class SA1130CSharp7UnitTests : SA1130UnitTests + public partial class SA1130CSharp7UnitTests : SA1130UnitTests { [Fact] [WorkItem(2902, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/2902")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1131CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1131CSharp7UnitTests.cs index f1bcac3b3..09260b565 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1131CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1131CSharp7UnitTests.cs @@ -15,7 +15,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules StyleCop.Analyzers.ReadabilityRules.SA1131UseReadableConditions, StyleCop.Analyzers.ReadabilityRules.SA1131CodeFixProvider>; - public class SA1131CSharp7UnitTests : SA1131UnitTests + public partial class SA1131CSharp7UnitTests : SA1131UnitTests { [Theory] [InlineData("==", "==")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1132CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1132CSharp7UnitTests.cs index fe37b2368..1abeb123a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1132CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1132CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules { using StyleCop.Analyzers.Test.ReadabilityRules; - public class SA1132CSharp7UnitTests : SA1132UnitTests + public partial class SA1132CSharp7UnitTests : SA1132UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1133CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1133CSharp7UnitTests.cs index 1c71968e6..fa1e56d21 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1133CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1133CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules { using StyleCop.Analyzers.Test.ReadabilityRules; - public class SA1133CSharp7UnitTests : SA1133UnitTests + public partial class SA1133CSharp7UnitTests : SA1133UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1134CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1134CSharp7UnitTests.cs index 500843914..ef25bac51 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1134CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1134CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules { using StyleCop.Analyzers.Test.ReadabilityRules; - public class SA1134CSharp7UnitTests : SA1134UnitTests + public partial class SA1134CSharp7UnitTests : SA1134UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1135CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1135CSharp7UnitTests.cs index 0941b9b2e..02fbfafee 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1135CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1135CSharp7UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules StyleCop.Analyzers.ReadabilityRules.SA1135UsingDirectivesMustBeQualified, StyleCop.Analyzers.ReadabilityRules.SA1135CodeFixProvider>; - public class SA1135CSharp7UnitTests : SA1135UnitTests + public partial class SA1135CSharp7UnitTests : SA1135UnitTests { [Fact] [WorkItem(2879, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/2879")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1136CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1136CSharp7UnitTests.cs index 9426b6821..0e7cd2a1a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1136CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1136CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules { using StyleCop.Analyzers.Test.ReadabilityRules; - public class SA1136CSharp7UnitTests : SA1136UnitTests + public partial class SA1136CSharp7UnitTests : SA1136UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1137CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1137CSharp7UnitTests.cs index 911f36837..56f0fc7af 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1137CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1137CSharp7UnitTests.cs @@ -16,7 +16,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules StyleCop.Analyzers.ReadabilityRules.SA1137ElementsShouldHaveTheSameIndentation, StyleCop.Analyzers.ReadabilityRules.IndentationCodeFixProvider>; - public class SA1137CSharp7UnitTests : SA1137UnitTests + public partial class SA1137CSharp7UnitTests : SA1137UnitTests { [Fact] public async Task TestTupleTypeAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1139CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1139CSharp7UnitTests.cs index d1ef3f78a..c8711a7e9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1139CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1139CSharp7UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules StyleCop.Analyzers.ReadabilityRules.SA1139UseLiteralSuffixNotationInsteadOfCasting, StyleCop.Analyzers.ReadabilityRules.SA1139CodeFixProvider>; - public class SA1139CSharp7UnitTests : SA1139UnitTests + public partial class SA1139CSharp7UnitTests : SA1139UnitTests { /// /// Verifies that using literals with digit separators does not produce diagnostic. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1142CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1142CSharp7UnitTests.cs index 4cc6837d1..55a6c9416 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1142CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1142CSharp7UnitTests.cs @@ -19,7 +19,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules /// /// /// - public class SA1142CSharp7UnitTests + public partial class SA1142CSharp7UnitTests { /// /// Validate that tuple fields that are referenced by their name will not produce any diagnostics. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SX1101CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SX1101CSharp7UnitTests.cs index c9df11232..ae7eba7e7 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SX1101CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SX1101CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules { using StyleCop.Analyzers.Test.ReadabilityRules; - public class SX1101CSharp7UnitTests : SX1101UnitTests + public partial class SX1101CSharp7UnitTests : SX1101UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Settings/SettingsCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Settings/SettingsCSharp7UnitTests.cs index 09e4f39fb..c0b4d6016 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Settings/SettingsCSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Settings/SettingsCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Settings { using StyleCop.Analyzers.Test.Settings; - public class SettingsCSharp7UnitTests : SettingsUnitTests + public partial class SettingsCSharp7UnitTests : SettingsUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Settings/SettingsFileCodeFixProviderCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Settings/SettingsFileCodeFixProviderCSharp7UnitTests.cs index bfcbcc52d..5b93e733a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Settings/SettingsFileCodeFixProviderCSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Settings/SettingsFileCodeFixProviderCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Settings { using StyleCop.Analyzers.Test.Settings; - public class SettingsFileCodeFixProviderCSharp7UnitTests : SettingsFileCodeFixProviderUnitTests + public partial class SettingsFileCodeFixProviderCSharp7UnitTests : SettingsFileCodeFixProviderUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1000CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1000CSharp7UnitTests.cs index 8b8dbb921..96f4b8455 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1000CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1000CSharp7UnitTests.cs @@ -16,7 +16,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules StyleCop.Analyzers.SpacingRules.SA1000KeywordsMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1000CSharp7UnitTests : SA1000UnitTests + public partial class SA1000CSharp7UnitTests : SA1000UnitTests { [Fact] public async Task TestOutVariableDeclarationAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1001CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1001CSharp7UnitTests.cs index d0e666c72..023f50839 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1001CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1001CSharp7UnitTests.cs @@ -16,7 +16,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules StyleCop.Analyzers.SpacingRules.SA1001CommasMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1001CSharp7UnitTests : SA1001UnitTests + public partial class SA1001CSharp7UnitTests : SA1001UnitTests { /// /// Verifies spacing around a ] character in tuple types and expressions. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1002CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1002CSharp7UnitTests.cs index 2ae6b4ea1..a82a62795 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1002CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1002CSharp7UnitTests.cs @@ -16,7 +16,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules StyleCop.Analyzers.SpacingRules.SA1002SemicolonsMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1002CSharp7UnitTests : SA1002UnitTests + public partial class SA1002CSharp7UnitTests : SA1002UnitTests { [Fact] public async Task TestStackAllocArrayCreationExpressionAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1003CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1003CSharp7UnitTests.cs index 7622adbe0..94e4c9802 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1003CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1003CSharp7UnitTests.cs @@ -16,7 +16,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules StyleCop.Analyzers.SpacingRules.SA1003SymbolsMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.SA1003CodeFixProvider>; - public class SA1003CSharp7UnitTests : SA1003UnitTests + public partial class SA1003CSharp7UnitTests : SA1003UnitTests { /// /// Verifies that the additional expression-bodied members supported in C# 7 trigger diagnostics as expected. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1004CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1004CSharp7UnitTests.cs index dd0022ce0..1473a7e7f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1004CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1004CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using StyleCop.Analyzers.Test.SpacingRules; - public class SA1004CSharp7UnitTests : SA1004UnitTests + public partial class SA1004CSharp7UnitTests : SA1004UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1005CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1005CSharp7UnitTests.cs index 3b617ac61..70c5c5fda 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1005CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1005CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using StyleCop.Analyzers.Test.SpacingRules; - public class SA1005CSharp7UnitTests : SA1005UnitTests + public partial class SA1005CSharp7UnitTests : SA1005UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1006CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1006CSharp7UnitTests.cs index ab657136a..d456af3ac 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1006CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1006CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using StyleCop.Analyzers.Test.SpacingRules; - public class SA1006CSharp7UnitTests : SA1006UnitTests + public partial class SA1006CSharp7UnitTests : SA1006UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1007CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1007CSharp7UnitTests.cs index 56812d692..fd5de3c78 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1007CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1007CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using StyleCop.Analyzers.Test.SpacingRules; - public class SA1007CSharp7UnitTests : SA1007UnitTests + public partial class SA1007CSharp7UnitTests : SA1007UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1008CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1008CSharp7UnitTests.cs index 16ac6964e..ef99c691d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1008CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1008CSharp7UnitTests.cs @@ -16,7 +16,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules StyleCop.Analyzers.SpacingRules.SA1008OpeningParenthesisMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1008CSharp7UnitTests : SA1008UnitTests + public partial class SA1008CSharp7UnitTests : SA1008UnitTests { /// /// Verifies that spacing around tuple type casts is handled properly. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1009CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1009CSharp7UnitTests.cs index 84624c440..538972648 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1009CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1009CSharp7UnitTests.cs @@ -15,7 +15,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules StyleCop.Analyzers.SpacingRules.SA1009ClosingParenthesisMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1009CSharp7UnitTests : SA1009UnitTests + public partial class SA1009CSharp7UnitTests : SA1009UnitTests { /// /// Verifies spacing around a ] character in tuple types and expressions. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1010CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1010CSharp7UnitTests.cs index 9515ba866..baf779e46 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1010CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1010CSharp7UnitTests.cs @@ -17,7 +17,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules StyleCop.Analyzers.SpacingRules.SA1010OpeningSquareBracketsMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1010CSharp7UnitTests : SA1010UnitTests + public partial class SA1010CSharp7UnitTests : SA1010UnitTests { [Fact] public async Task TestStackAllocArrayCreationExpressionAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1011CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1011CSharp7UnitTests.cs index 4255db74e..1a9737ee4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1011CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1011CSharp7UnitTests.cs @@ -16,7 +16,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules StyleCop.Analyzers.SpacingRules.SA1011ClosingSquareBracketsMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1011CSharp7UnitTests : SA1011UnitTests + public partial class SA1011CSharp7UnitTests : SA1011UnitTests { /// /// Verifies spacing around a ] character in tuple types and expressions. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1012CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1012CSharp7UnitTests.cs index 3fea85791..ebead0c25 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1012CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1012CSharp7UnitTests.cs @@ -16,7 +16,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules StyleCop.Analyzers.SpacingRules.SA1012OpeningBracesMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1012CSharp7UnitTests : SA1012UnitTests + public partial class SA1012CSharp7UnitTests : SA1012UnitTests { [Fact] public async Task TestStackAllocArrayCreationExpressionAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1013CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1013CSharp7UnitTests.cs index f25407a97..7472baa02 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1013CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1013CSharp7UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules StyleCop.Analyzers.SpacingRules.SA1013ClosingBracesMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1013CSharp7UnitTests : SA1013UnitTests + public partial class SA1013CSharp7UnitTests : SA1013UnitTests { /// /// Verifies spacing around a } character in tuple expressions. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1014CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1014CSharp7UnitTests.cs index 39ab93cb3..6b777bf3a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1014CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1014CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using StyleCop.Analyzers.Test.SpacingRules; - public class SA1014CSharp7UnitTests : SA1014UnitTests + public partial class SA1014CSharp7UnitTests : SA1014UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1015CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1015CSharp7UnitTests.cs index 2dc11785e..3f12cd92e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1015CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1015CSharp7UnitTests.cs @@ -15,7 +15,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules StyleCop.Analyzers.SpacingRules.SA1015ClosingGenericBracketsMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1015CSharp7UnitTests : SA1015UnitTests + public partial class SA1015CSharp7UnitTests : SA1015UnitTests { /// /// Verifies spacing around a > character in tuple types. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1016CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1016CSharp7UnitTests.cs index 8e0c888e6..89545bc10 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1016CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1016CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using StyleCop.Analyzers.Test.SpacingRules; - public class SA1016CSharp7UnitTests : SA1016UnitTests + public partial class SA1016CSharp7UnitTests : SA1016UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1017CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1017CSharp7UnitTests.cs index 64c460e72..ffc64ad80 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1017CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1017CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using StyleCop.Analyzers.Test.SpacingRules; - public class SA1017CSharp7UnitTests : SA1017UnitTests + public partial class SA1017CSharp7UnitTests : SA1017UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1018CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1018CSharp7UnitTests.cs index 52992719b..ab27a9c85 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1018CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1018CSharp7UnitTests.cs @@ -13,7 +13,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules StyleCop.Analyzers.SpacingRules.SA1018NullableTypeSymbolsMustNotBePrecededBySpace, StyleCop.Analyzers.SpacingRules.SA1018CodeFixProvider>; - public class SA1018CSharp7UnitTests : SA1018UnitTests + public partial class SA1018CSharp7UnitTests : SA1018UnitTests { /// /// Verifies that nullable tuple types with different kinds of spacing will report. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1019CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1019CSharp7UnitTests.cs index b121354b0..694b6f7f2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1019CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1019CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using StyleCop.Analyzers.Test.SpacingRules; - public class SA1019CSharp7UnitTests : SA1019UnitTests + public partial class SA1019CSharp7UnitTests : SA1019UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1020CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1020CSharp7UnitTests.cs index 4a0a48f5c..b83c058a2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1020CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1020CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using StyleCop.Analyzers.Test.SpacingRules; - public class SA1020CSharp7UnitTests : SA1020UnitTests + public partial class SA1020CSharp7UnitTests : SA1020UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1021CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1021CSharp7UnitTests.cs index 0b9be1584..0f5d77c5f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1021CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1021CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using StyleCop.Analyzers.Test.SpacingRules; - public class SA1021CSharp7UnitTests : SA1021UnitTests + public partial class SA1021CSharp7UnitTests : SA1021UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1022CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1022CSharp7UnitTests.cs index 3ae8f84ae..ce6240b79 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1022CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1022CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using StyleCop.Analyzers.Test.SpacingRules; - public class SA1022CSharp7UnitTests : SA1022UnitTests + public partial class SA1022CSharp7UnitTests : SA1022UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1023CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1023CSharp7UnitTests.cs index bf7dc7ef7..debcb346d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1023CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1023CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using StyleCop.Analyzers.Test.SpacingRules; - public class SA1023CSharp7UnitTests : SA1023UnitTests + public partial class SA1023CSharp7UnitTests : SA1023UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1024CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1024CSharp7UnitTests.cs index 6b458a2e9..36e1a5e3e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1024CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1024CSharp7UnitTests.cs @@ -15,7 +15,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules StyleCop.Analyzers.SpacingRules.SA1024ColonsMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1024CSharp7UnitTests : SA1024UnitTests + public partial class SA1024CSharp7UnitTests : SA1024UnitTests { /// /// Verifies spacing around a : character in tuple expressions. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1025CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1025CSharp7UnitTests.cs index 074d9ca52..68404c70e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1025CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1025CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using StyleCop.Analyzers.Test.SpacingRules; - public class SA1025CSharp7UnitTests : SA1025UnitTests + public partial class SA1025CSharp7UnitTests : SA1025UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1026CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1026CSharp7UnitTests.cs index 47d8c5f63..3c866385e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1026CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1026CSharp7UnitTests.cs @@ -16,7 +16,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules StyleCop.Analyzers.SpacingRules.SA1026CodeMustNotContainSpaceAfterNewKeywordInImplicitlyTypedArrayAllocation, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1026CSharp7UnitTests : SA1026UnitTests + public partial class SA1026CSharp7UnitTests : SA1026UnitTests { [Theory] [InlineData(" ")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027AlternateIndentationCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027AlternateIndentationCSharp7UnitTests.cs index 67ae4e633..1e4a26336 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027AlternateIndentationCSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027AlternateIndentationCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using StyleCop.Analyzers.Test.SpacingRules; - public class SA1027AlternateIndentationCSharp7UnitTests : SA1027AlternateIndentationUnitTests + public partial class SA1027AlternateIndentationCSharp7UnitTests : SA1027AlternateIndentationUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027CSharp7UnitTests.cs index bd2f66a88..4a2afc535 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using StyleCop.Analyzers.Test.SpacingRules; - public class SA1027CSharp7UnitTests : SA1027UnitTests + public partial class SA1027CSharp7UnitTests : SA1027UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027UseTabsCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027UseTabsCSharp7UnitTests.cs index 0f6484bb8..040e91a55 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027UseTabsCSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1027UseTabsCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using StyleCop.Analyzers.Test.SpacingRules; - public class SA1027UseTabsCSharp7UnitTests : SA1027UseTabsUnitTests + public partial class SA1027UseTabsCSharp7UnitTests : SA1027UseTabsUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1028CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1028CSharp7UnitTests.cs index 791f6e32d..f70738336 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1028CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1028CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using StyleCop.Analyzers.Test.SpacingRules; - public class SA1028CSharp7UnitTests : SA1028UnitTests + public partial class SA1028CSharp7UnitTests : SA1028UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpecialRules/SA0001CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpecialRules/SA0001CSharp7UnitTests.cs index 5dc2088b1..71523176f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpecialRules/SA0001CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpecialRules/SA0001CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpecialRules { using StyleCop.Analyzers.Test.SpecialRules; - public class SA0001CSharp7UnitTests : SA0001UnitTests + public partial class SA0001CSharp7UnitTests : SA0001UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpecialRules/SA0002CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpecialRules/SA0002CSharp7UnitTests.cs index c7da45bb4..d72d3a892 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpecialRules/SA0002CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpecialRules/SA0002CSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.SpecialRules { using StyleCop.Analyzers.Test.SpecialRules; - public class SA0002CSharp7UnitTests : SA0002UnitTests + public partial class SA0002CSharp7UnitTests : SA0002UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1600CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1600CSharp8UnitTests.cs index 17d5a9577..8f06ca41f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1600CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1600CSharp8UnitTests.cs @@ -6,7 +6,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules using Microsoft.CodeAnalysis.CSharp; using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1600CSharp8UnitTests : SA1600CSharp7UnitTests + public partial class SA1600CSharp8UnitTests : SA1600CSharp7UnitTests { // Using 'Default' here makes sure that later test projects also run these tests with their own language version, without having to override this property protected override LanguageVersion LanguageVersion => LanguageVersion.Default; diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1601CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1601CSharp8UnitTests.cs index afba4972d..5915f4a1b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1601CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1601CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1601CSharp8UnitTests : SA1601CSharp7UnitTests + public partial class SA1601CSharp8UnitTests : SA1601CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1602CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1602CSharp8UnitTests.cs index 3ac712817..c42f3e64d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1602CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1602CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1602CSharp8UnitTests : SA1602CSharp7UnitTests + public partial class SA1602CSharp8UnitTests : SA1602CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1603CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1603CSharp8UnitTests.cs index e833a81b7..e9418aecd 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1603CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1603CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1603CSharp8UnitTests : SA1603CSharp7UnitTests + public partial class SA1603CSharp8UnitTests : SA1603CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1604CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1604CSharp8UnitTests.cs index af2ed1148..ab2122627 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1604CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1604CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1604CSharp8UnitTests : SA1604CSharp7UnitTests + public partial class SA1604CSharp8UnitTests : SA1604CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1605CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1605CSharp8UnitTests.cs index 76d2c0cbe..f415423d0 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1605CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1605CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1605CSharp8UnitTests : SA1605CSharp7UnitTests + public partial class SA1605CSharp8UnitTests : SA1605CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1606CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1606CSharp8UnitTests.cs index 840b77725..8fe19d10b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1606CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1606CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1606CSharp8UnitTests : SA1606CSharp7UnitTests + public partial class SA1606CSharp8UnitTests : SA1606CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1607CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1607CSharp8UnitTests.cs index 8ade5f232..da228dd10 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1607CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1607CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1607CSharp8UnitTests : SA1607CSharp7UnitTests + public partial class SA1607CSharp8UnitTests : SA1607CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1608CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1608CSharp8UnitTests.cs index 21d136c73..a215d7318 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1608CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1608CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1608CSharp8UnitTests : SA1608CSharp7UnitTests + public partial class SA1608CSharp8UnitTests : SA1608CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1609CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1609CSharp8UnitTests.cs index e2289968d..3d2cbaa71 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1609CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1609CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1609CSharp8UnitTests : SA1609CSharp7UnitTests + public partial class SA1609CSharp8UnitTests : SA1609CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1610CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1610CSharp8UnitTests.cs index ac9ae815d..ca9f99e05 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1610CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1610CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1610CSharp8UnitTests : SA1610CSharp7UnitTests + public partial class SA1610CSharp8UnitTests : SA1610CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1611CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1611CSharp8UnitTests.cs index 6c9cc2c33..d3ee9199e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1611CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1611CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1611CSharp8UnitTests : SA1611CSharp7UnitTests + public partial class SA1611CSharp8UnitTests : SA1611CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1612CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1612CSharp8UnitTests.cs index eb87c2372..f6fc45ccd 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1612CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1612CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1612CSharp8UnitTests : SA1612CSharp7UnitTests + public partial class SA1612CSharp8UnitTests : SA1612CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1613CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1613CSharp8UnitTests.cs index 89ee6568d..d492a5058 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1613CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1613CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1613CSharp8UnitTests : SA1613CSharp7UnitTests + public partial class SA1613CSharp8UnitTests : SA1613CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1614CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1614CSharp8UnitTests.cs index 9c3efdab2..010e63daa 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1614CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1614CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1614CSharp8UnitTests : SA1614CSharp7UnitTests + public partial class SA1614CSharp8UnitTests : SA1614CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1615CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1615CSharp8UnitTests.cs index ac3543d0b..a43316bdd 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1615CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1615CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1615CSharp8UnitTests : SA1615CSharp7UnitTests + public partial class SA1615CSharp8UnitTests : SA1615CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1616CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1616CSharp8UnitTests.cs index 17be78b8c..c7c1c7a93 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1616CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1616CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1616CSharp8UnitTests : SA1616CSharp7UnitTests + public partial class SA1616CSharp8UnitTests : SA1616CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1617CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1617CSharp8UnitTests.cs index 9c6dada4b..6c649265c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1617CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1617CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1617CSharp8UnitTests : SA1617CSharp7UnitTests + public partial class SA1617CSharp8UnitTests : SA1617CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1618CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1618CSharp8UnitTests.cs index d51adc7ed..a997a5edb 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1618CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1618CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1618CSharp8UnitTests : SA1618CSharp7UnitTests + public partial class SA1618CSharp8UnitTests : SA1618CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1619CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1619CSharp8UnitTests.cs index 3b54a00ca..638572a76 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1619CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1619CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1619CSharp8UnitTests : SA1619CSharp7UnitTests + public partial class SA1619CSharp8UnitTests : SA1619CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1620CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1620CSharp8UnitTests.cs index 2053b029b..63090a0a1 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1620CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1620CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1620CSharp8UnitTests : SA1620CSharp7UnitTests + public partial class SA1620CSharp8UnitTests : SA1620CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1621CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1621CSharp8UnitTests.cs index b229fa4a5..6ec251ca7 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1621CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1621CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1621CSharp8UnitTests : SA1621CSharp7UnitTests + public partial class SA1621CSharp8UnitTests : SA1621CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1622CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1622CSharp8UnitTests.cs index 1f979acc1..13ab7b84e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1622CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1622CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1622CSharp8UnitTests : SA1622CSharp7UnitTests + public partial class SA1622CSharp8UnitTests : SA1622CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1623CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1623CSharp8UnitTests.cs index 44084f748..58a612de4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1623CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1623CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1623CSharp8UnitTests : SA1623CSharp7UnitTests + public partial class SA1623CSharp8UnitTests : SA1623CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1624CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1624CSharp8UnitTests.cs index 66f0650d1..f486efe85 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1624CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1624CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1624CSharp8UnitTests : SA1624CSharp7UnitTests + public partial class SA1624CSharp8UnitTests : SA1624CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1625CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1625CSharp8UnitTests.cs index 2eb519e53..4fbc7a7ab 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1625CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1625CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1625CSharp8UnitTests : SA1625CSharp7UnitTests + public partial class SA1625CSharp8UnitTests : SA1625CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1626CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1626CSharp8UnitTests.cs index 2aed92d0b..b306c1e4c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1626CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1626CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1626CSharp8UnitTests : SA1626CSharp7UnitTests + public partial class SA1626CSharp8UnitTests : SA1626CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1627CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1627CSharp8UnitTests.cs index 1c7e2d348..3a65bafb5 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1627CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1627CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1627CSharp8UnitTests : SA1627CSharp7UnitTests + public partial class SA1627CSharp8UnitTests : SA1627CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1628CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1628CSharp8UnitTests.cs index 78278fc23..9d6a7e127 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1628CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1628CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1628CSharp8UnitTests : SA1628CSharp7UnitTests + public partial class SA1628CSharp8UnitTests : SA1628CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1629CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1629CSharp8UnitTests.cs index 90d7cc24d..bb6287f45 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1629CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1629CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1629CSharp8UnitTests : SA1629CSharp7UnitTests + public partial class SA1629CSharp8UnitTests : SA1629CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1630CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1630CSharp8UnitTests.cs index 231acfa9f..2a5136cf6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1630CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1630CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1630CSharp8UnitTests : SA1630CSharp7UnitTests + public partial class SA1630CSharp8UnitTests : SA1630CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1631CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1631CSharp8UnitTests.cs index 4693854d6..e9dd1702d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1631CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1631CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1631CSharp8UnitTests : SA1631CSharp7UnitTests + public partial class SA1631CSharp8UnitTests : SA1631CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1632CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1632CSharp8UnitTests.cs index 473451dea..def9954e3 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1632CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1632CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1632CSharp8UnitTests : SA1632CSharp7UnitTests + public partial class SA1632CSharp8UnitTests : SA1632CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1633CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1633CSharp8UnitTests.cs index b68c64344..a26bd000d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1633CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1633CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1633CSharp8UnitTests : SA1633CSharp7UnitTests + public partial class SA1633CSharp8UnitTests : SA1633CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1634CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1634CSharp8UnitTests.cs index 8360b9a0b..8cea9ccee 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1634CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1634CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1634CSharp8UnitTests : SA1634CSharp7UnitTests + public partial class SA1634CSharp8UnitTests : SA1634CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1635CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1635CSharp8UnitTests.cs index 66b5b5557..1177e40bd 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1635CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1635CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1635CSharp8UnitTests : SA1635CSharp7UnitTests + public partial class SA1635CSharp8UnitTests : SA1635CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1636CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1636CSharp8UnitTests.cs index 80789b171..d119bcc5f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1636CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1636CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1636CSharp8UnitTests : SA1636CSharp7UnitTests + public partial class SA1636CSharp8UnitTests : SA1636CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1637CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1637CSharp8UnitTests.cs index 95c8a9ce2..3573e1ad7 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1637CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1637CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1637CSharp8UnitTests : SA1637CSharp7UnitTests + public partial class SA1637CSharp8UnitTests : SA1637CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1638CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1638CSharp8UnitTests.cs index 2ba93521f..d533ed4e1 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1638CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1638CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1638CSharp8UnitTests : SA1638CSharp7UnitTests + public partial class SA1638CSharp8UnitTests : SA1638CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1639CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1639CSharp8UnitTests.cs index 9b04b1d09..e418eec30 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1639CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1639CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1639CSharp8UnitTests : SA1639CSharp7UnitTests + public partial class SA1639CSharp8UnitTests : SA1639CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1640CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1640CSharp8UnitTests.cs index a8d174730..c4458554b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1640CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1640CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1640CSharp8UnitTests : SA1640CSharp7UnitTests + public partial class SA1640CSharp8UnitTests : SA1640CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1641CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1641CSharp8UnitTests.cs index 38aca37ec..975162264 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1641CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1641CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1641CSharp8UnitTests : SA1641CSharp7UnitTests + public partial class SA1641CSharp8UnitTests : SA1641CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1642CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1642CSharp8UnitTests.cs index 2d412d12e..3e5deab1f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1642CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1642CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1642CSharp8UnitTests : SA1642CSharp7UnitTests + public partial class SA1642CSharp8UnitTests : SA1642CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1643CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1643CSharp8UnitTests.cs index f092fda1e..9de19d904 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1643CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1643CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1643CSharp8UnitTests : SA1643CSharp7UnitTests + public partial class SA1643CSharp8UnitTests : SA1643CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1644CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1644CSharp8UnitTests.cs index 7f7145782..3c0d333e8 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1644CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1644CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1644CSharp8UnitTests : SA1644CSharp7UnitTests + public partial class SA1644CSharp8UnitTests : SA1644CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1645CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1645CSharp8UnitTests.cs index 6903c14cf..71d0ad9b5 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1645CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1645CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1645CSharp8UnitTests : SA1645CSharp7UnitTests + public partial class SA1645CSharp8UnitTests : SA1645CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1646CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1646CSharp8UnitTests.cs index 775eae233..a10e28279 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1646CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1646CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1646CSharp8UnitTests : SA1646CSharp7UnitTests + public partial class SA1646CSharp8UnitTests : SA1646CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1647CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1647CSharp8UnitTests.cs index 736d6ff9f..08f89126f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1647CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1647CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1647CSharp8UnitTests : SA1647CSharp7UnitTests + public partial class SA1647CSharp8UnitTests : SA1647CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1648CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1648CSharp8UnitTests.cs index 3357de4ae..a28785384 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1648CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1648CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1648CSharp8UnitTests : SA1648CSharp7UnitTests + public partial class SA1648CSharp8UnitTests : SA1648CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1649CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1649CSharp8UnitTests.cs index 7b49e17f7..5bcbd9791 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1649CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1649CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1649CSharp8UnitTests : SA1649CSharp7UnitTests + public partial class SA1649CSharp8UnitTests : SA1649CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1650CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1650CSharp8UnitTests.cs index f887f7e90..1fb954762 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1650CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1650CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1650CSharp8UnitTests : SA1650CSharp7UnitTests + public partial class SA1650CSharp8UnitTests : SA1650CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1651CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1651CSharp8UnitTests.cs index 4248503b7..b3c2acee1 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1651CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1651CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class SA1651CSharp8UnitTests : SA1651CSharp7UnitTests + public partial class SA1651CSharp8UnitTests : SA1651CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1500CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1500CSharp8UnitTests.cs index abdbe3fc8..6e9dca68c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1500CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1500CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules { using StyleCop.Analyzers.Test.CSharp7.LayoutRules; - public class SA1500CSharp8UnitTests : SA1500CSharp7UnitTests + public partial class SA1500CSharp8UnitTests : SA1500CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1501CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1501CSharp8UnitTests.cs index 537aac032..9b2ad5faa 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1501CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1501CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules { using StyleCop.Analyzers.Test.CSharp7.LayoutRules; - public class SA1501CSharp8UnitTests : SA1501CSharp7UnitTests + public partial class SA1501CSharp8UnitTests : SA1501CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1502CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1502CSharp8UnitTests.cs index debb799fc..40ce2dc62 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1502CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1502CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules { using StyleCop.Analyzers.Test.CSharp7.LayoutRules; - public class SA1502CSharp8UnitTests : SA1502CSharp7UnitTests + public partial class SA1502CSharp8UnitTests : SA1502CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1503CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1503CSharp8UnitTests.cs index b2bbe94ee..b24c99a48 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1503CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1503CSharp8UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules StyleCop.Analyzers.LayoutRules.SA1503BracesMustNotBeOmitted, StyleCop.Analyzers.LayoutRules.SA1503CodeFixProvider>; - public class SA1503CSharp8UnitTests : SA1503CSharp7UnitTests + public partial class SA1503CSharp8UnitTests : SA1503CSharp7UnitTests { [Fact] [WorkItem(3074, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3074")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1504CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1504CSharp8UnitTests.cs index 8d9cdb6f3..822485a7c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1504CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1504CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules { using StyleCop.Analyzers.Test.CSharp7.LayoutRules; - public class SA1504CSharp8UnitTests : SA1504CSharp7UnitTests + public partial class SA1504CSharp8UnitTests : SA1504CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1505CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1505CSharp8UnitTests.cs index 6539d1d13..4cb22056f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1505CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1505CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules { using StyleCop.Analyzers.Test.CSharp7.LayoutRules; - public class SA1505CSharp8UnitTests : SA1505CSharp7UnitTests + public partial class SA1505CSharp8UnitTests : SA1505CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1506CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1506CSharp8UnitTests.cs index a1c37ceef..ec7574ed9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1506CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1506CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules { using StyleCop.Analyzers.Test.CSharp7.LayoutRules; - public class SA1506CSharp8UnitTests : SA1506CSharp7UnitTests + public partial class SA1506CSharp8UnitTests : SA1506CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1507CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1507CSharp8UnitTests.cs index 884f41e8e..412ffed6d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1507CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1507CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules { using StyleCop.Analyzers.Test.CSharp7.LayoutRules; - public class SA1507CSharp8UnitTests : SA1507CSharp7UnitTests + public partial class SA1507CSharp8UnitTests : SA1507CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1508CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1508CSharp8UnitTests.cs index 5f86bb384..4c9cb6290 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1508CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1508CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules { using StyleCop.Analyzers.Test.CSharp7.LayoutRules; - public class SA1508CSharp8UnitTests : SA1508CSharp7UnitTests + public partial class SA1508CSharp8UnitTests : SA1508CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1509CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1509CSharp8UnitTests.cs index 47acb6c6a..2de494f11 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1509CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1509CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules { using StyleCop.Analyzers.Test.CSharp7.LayoutRules; - public class SA1509CSharp8UnitTests : SA1509CSharp7UnitTests + public partial class SA1509CSharp8UnitTests : SA1509CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1510CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1510CSharp8UnitTests.cs index 563ee1cd9..8193647b2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1510CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1510CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules { using StyleCop.Analyzers.Test.CSharp7.LayoutRules; - public class SA1510CSharp8UnitTests : SA1510CSharp7UnitTests + public partial class SA1510CSharp8UnitTests : SA1510CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1511CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1511CSharp8UnitTests.cs index f9e73e0b8..94f2421a7 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1511CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1511CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules { using StyleCop.Analyzers.Test.CSharp7.LayoutRules; - public class SA1511CSharp8UnitTests : SA1511CSharp7UnitTests + public partial class SA1511CSharp8UnitTests : SA1511CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1512CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1512CSharp8UnitTests.cs index 4ffabb5bf..6044e6f79 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1512CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1512CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules { using StyleCop.Analyzers.Test.CSharp7.LayoutRules; - public class SA1512CSharp8UnitTests : SA1512CSharp7UnitTests + public partial class SA1512CSharp8UnitTests : SA1512CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1513CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1513CSharp8UnitTests.cs index 8b867ca5d..f9ab08448 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1513CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1513CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules { using StyleCop.Analyzers.Test.CSharp7.LayoutRules; - public class SA1513CSharp8UnitTests : SA1513CSharp7UnitTests + public partial class SA1513CSharp8UnitTests : SA1513CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1514CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1514CSharp8UnitTests.cs index ae1d42f72..b9d6cb1ba 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1514CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1514CSharp8UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules StyleCop.Analyzers.LayoutRules.SA1514ElementDocumentationHeaderMustBePrecededByBlankLine, StyleCop.Analyzers.LayoutRules.SA1514CodeFixProvider>; - public class SA1514CSharp8UnitTests : SA1514CSharp7UnitTests + public partial class SA1514CSharp8UnitTests : SA1514CSharp7UnitTests { [Fact] [WorkItem(3067, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3067")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1515CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1515CSharp8UnitTests.cs index 706e149bf..be1a4e640 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1515CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1515CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules { using StyleCop.Analyzers.Test.CSharp7.LayoutRules; - public class SA1515CSharp8UnitTests : SA1515CSharp7UnitTests + public partial class SA1515CSharp8UnitTests : SA1515CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1516CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1516CSharp8UnitTests.cs index 3d224d44d..2e4e29b60 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1516CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1516CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules { using StyleCop.Analyzers.Test.CSharp7.LayoutRules; - public class SA1516CSharp8UnitTests : SA1516CSharp7UnitTests + public partial class SA1516CSharp8UnitTests : SA1516CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1517CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1517CSharp8UnitTests.cs index 07e25a5ba..834606cab 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1517CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1517CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules { using StyleCop.Analyzers.Test.CSharp7.LayoutRules; - public class SA1517CSharp8UnitTests : SA1517CSharp7UnitTests + public partial class SA1517CSharp8UnitTests : SA1517CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1518CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1518CSharp8UnitTests.cs index 01faeb5fe..385782732 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1518CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1518CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules { using StyleCop.Analyzers.Test.CSharp7.LayoutRules; - public class SA1518CSharp8UnitTests : SA1518CSharp7UnitTests + public partial class SA1518CSharp8UnitTests : SA1518CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1519CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1519CSharp8UnitTests.cs index 11e4e7a94..acb03b3e7 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1519CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1519CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules { using StyleCop.Analyzers.Test.CSharp7.LayoutRules; - public class SA1519CSharp8UnitTests : SA1519CSharp7UnitTests + public partial class SA1519CSharp8UnitTests : SA1519CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1520CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1520CSharp8UnitTests.cs index 51c09b975..99e1cc487 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1520CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1520CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules { using StyleCop.Analyzers.Test.CSharp7.LayoutRules; - public class SA1520CSharp8UnitTests : SA1520CSharp7UnitTests + public partial class SA1520CSharp8UnitTests : SA1520CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1119CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1119CSharp8UnitTests.cs index ab40b101e..ead0cf280 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1119CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1119CSharp8UnitTests.cs @@ -17,7 +17,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules StyleCop.Analyzers.MaintainabilityRules.SA1119StatementMustNotUseUnnecessaryParenthesis, StyleCop.Analyzers.MaintainabilityRules.SA1119CodeFixProvider>; - public class SA1119CSharp8UnitTests : SA1119CSharp7UnitTests + public partial class SA1119CSharp8UnitTests : SA1119CSharp7UnitTests { /// /// Verifies that a type cast followed by a switch expression is handled correctly. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1400CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1400CSharp8UnitTests.cs index a49d405dd..f9c174b8b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1400CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1400CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules; - public class SA1400CSharp8UnitTests : SA1400CSharp7UnitTests + public partial class SA1400CSharp8UnitTests : SA1400CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1401CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1401CSharp8UnitTests.cs index cd27f1d1f..bcffe2ee6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1401CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1401CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules; - public class SA1401CSharp8UnitTests : SA1401CSharp7UnitTests + public partial class SA1401CSharp8UnitTests : SA1401CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1403CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1403CSharp8UnitTests.cs index 33f507bea..bc3f151a4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1403CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1403CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules; - public class SA1403CSharp8UnitTests : SA1403CSharp7UnitTests + public partial class SA1403CSharp8UnitTests : SA1403CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1404CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1404CSharp8UnitTests.cs index 1409decdf..7c87ae9d2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1404CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1404CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules; - public class SA1404CSharp8UnitTests : SA1404CSharp7UnitTests + public partial class SA1404CSharp8UnitTests : SA1404CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1405CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1405CSharp8UnitTests.cs index 8403dc1d7..fd641b943 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1405CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1405CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules; - public class SA1405CSharp8UnitTests : SA1405CSharp7UnitTests + public partial class SA1405CSharp8UnitTests : SA1405CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1406CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1406CSharp8UnitTests.cs index 64b018563..db8e4cd17 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1406CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1406CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules; - public class SA1406CSharp8UnitTests : SA1406CSharp7UnitTests + public partial class SA1406CSharp8UnitTests : SA1406CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1407CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1407CSharp8UnitTests.cs index 285d8d080..ca2bc0ad5 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1407CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1407CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules; - public class SA1407CSharp8UnitTests : SA1407CSharp7UnitTests + public partial class SA1407CSharp8UnitTests : SA1407CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1408CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1408CSharp8UnitTests.cs index 9ebee191b..2ae88f114 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1408CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1408CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules; - public class SA1408CSharp8UnitTests : SA1408CSharp7UnitTests + public partial class SA1408CSharp8UnitTests : SA1408CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1409CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1409CSharp8UnitTests.cs index a361590ef..f5dcf03dc 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1409CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1409CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules; - public class SA1409CSharp8UnitTests : SA1409CSharp7UnitTests + public partial class SA1409CSharp8UnitTests : SA1409CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1410CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1410CSharp8UnitTests.cs index e6b172883..f3b9b6018 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1410CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1410CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules; - public class SA1410CSharp8UnitTests : SA1410CSharp7UnitTests + public partial class SA1410CSharp8UnitTests : SA1410CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1411CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1411CSharp8UnitTests.cs index 08765d658..31e86d8d3 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1411CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1411CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules; - public class SA1411CSharp8UnitTests : SA1411CSharp7UnitTests + public partial class SA1411CSharp8UnitTests : SA1411CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1412CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1412CSharp8UnitTests.cs index 0a3b4387c..5723401f1 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1412CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1412CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules; - public class SA1412CSharp8UnitTests : SA1412CSharp7UnitTests + public partial class SA1412CSharp8UnitTests : SA1412CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1413CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1413CSharp8UnitTests.cs index d4c234fe5..08a63d281 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1413CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1413CSharp8UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules StyleCop.Analyzers.MaintainabilityRules.SA1413UseTrailingCommasInMultiLineInitializers, StyleCop.Analyzers.MaintainabilityRules.SA1413CodeFixProvider>; - public class SA1413CSharp8UnitTests : SA1413CSharp7UnitTests + public partial class SA1413CSharp8UnitTests : SA1413CSharp7UnitTests { [Fact] [WorkItem(3056, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3056")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1300CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1300CSharp8UnitTests.cs index 73ab36fd5..0a683cfda 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1300CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1300CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.NamingRules { using StyleCop.Analyzers.Test.CSharp7.NamingRules; - public class SA1300CSharp8UnitTests : SA1300CSharp7UnitTests + public partial class SA1300CSharp8UnitTests : SA1300CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1301CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1301CSharp8UnitTests.cs index b637f8020..c694d08c4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1301CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1301CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.NamingRules { using StyleCop.Analyzers.Test.CSharp7.NamingRules; - public class SA1301CSharp8UnitTests : SA1301CSharp7UnitTests + public partial class SA1301CSharp8UnitTests : SA1301CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1302CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1302CSharp8UnitTests.cs index 222f48bad..381ff45e6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1302CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1302CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.NamingRules { using StyleCop.Analyzers.Test.CSharp7.NamingRules; - public class SA1302CSharp8UnitTests : SA1302CSharp7UnitTests + public partial class SA1302CSharp8UnitTests : SA1302CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1303CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1303CSharp8UnitTests.cs index 6dab84194..975be7b89 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1303CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1303CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.NamingRules { using StyleCop.Analyzers.Test.CSharp7.NamingRules; - public class SA1303CSharp8UnitTests : SA1303CSharp7UnitTests + public partial class SA1303CSharp8UnitTests : SA1303CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1304CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1304CSharp8UnitTests.cs index 0e4bf343c..e9a6a8a09 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1304CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1304CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.NamingRules { using StyleCop.Analyzers.Test.CSharp7.NamingRules; - public class SA1304CSharp8UnitTests : SA1304CSharp7UnitTests + public partial class SA1304CSharp8UnitTests : SA1304CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1305CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1305CSharp8UnitTests.cs index 8cdf938a3..1de87ab2f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1305CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1305CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.NamingRules { using StyleCop.Analyzers.Test.CSharp7.NamingRules; - public class SA1305CSharp8UnitTests : SA1305CSharp7UnitTests + public partial class SA1305CSharp8UnitTests : SA1305CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1306CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1306CSharp8UnitTests.cs index b1b1c8e35..1d59e1371 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1306CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1306CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.NamingRules { using StyleCop.Analyzers.Test.CSharp7.NamingRules; - public class SA1306CSharp8UnitTests : SA1306CSharp7UnitTests + public partial class SA1306CSharp8UnitTests : SA1306CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1307CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1307CSharp8UnitTests.cs index 6519fbf2e..43a4c36bf 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1307CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1307CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.NamingRules { using StyleCop.Analyzers.Test.CSharp7.NamingRules; - public class SA1307CSharp8UnitTests : SA1307CSharp7UnitTests + public partial class SA1307CSharp8UnitTests : SA1307CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1308CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1308CSharp8UnitTests.cs index 59ae5c60c..901ba7cd6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1308CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1308CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.NamingRules { using StyleCop.Analyzers.Test.CSharp7.NamingRules; - public class SA1308CSharp8UnitTests : SA1308CSharp7UnitTests + public partial class SA1308CSharp8UnitTests : SA1308CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1309CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1309CSharp8UnitTests.cs index 8e065cb3a..c3147322e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1309CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1309CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.NamingRules { using StyleCop.Analyzers.Test.CSharp7.NamingRules; - public class SA1309CSharp8UnitTests : SA1309CSharp7UnitTests + public partial class SA1309CSharp8UnitTests : SA1309CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1310CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1310CSharp8UnitTests.cs index fe84a9212..07d273ff4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1310CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1310CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.NamingRules { using StyleCop.Analyzers.Test.CSharp7.NamingRules; - public class SA1310CSharp8UnitTests : SA1310CSharp7UnitTests + public partial class SA1310CSharp8UnitTests : SA1310CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1311CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1311CSharp8UnitTests.cs index bc08135b5..014cdf13a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1311CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1311CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.NamingRules { using StyleCop.Analyzers.Test.CSharp7.NamingRules; - public class SA1311CSharp8UnitTests : SA1311CSharp7UnitTests + public partial class SA1311CSharp8UnitTests : SA1311CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1312CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1312CSharp8UnitTests.cs index 0cffb59d4..0655df382 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1312CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1312CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.NamingRules { using StyleCop.Analyzers.Test.CSharp7.NamingRules; - public class SA1312CSharp8UnitTests : SA1312CSharp7UnitTests + public partial class SA1312CSharp8UnitTests : SA1312CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1313CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1313CSharp8UnitTests.cs index f0d1d1051..37032ad83 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1313CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1313CSharp8UnitTests.cs @@ -8,7 +8,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.NamingRules using Microsoft.CodeAnalysis.Testing; using StyleCop.Analyzers.Test.CSharp7.NamingRules; - public class SA1313CSharp8UnitTests : SA1313CSharp7UnitTests + public partial class SA1313CSharp8UnitTests : SA1313CSharp7UnitTests { protected override DiagnosticResult[] GetInvalidMethodOverrideShouldNotProduceDiagnosticAsyncDiagnostics() { diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1314CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1314CSharp8UnitTests.cs index 79ffc7a31..ecbe1541a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1314CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1314CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.NamingRules { using StyleCop.Analyzers.Test.CSharp7.NamingRules; - public class SA1314CSharp8UnitTests : SA1314CSharp7UnitTests + public partial class SA1314CSharp8UnitTests : SA1314CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1316CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1316CSharp8UnitTests.cs index 18522e552..be18301c8 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1316CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SA1316CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.NamingRules { using StyleCop.Analyzers.Test.CSharp7.NamingRules; - public class SA1316CSharp8UnitTests : SA1316CSharp7UnitTests + public partial class SA1316CSharp8UnitTests : SA1316CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SX1309CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SX1309CSharp8UnitTests.cs index c6b001342..fb1517e84 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SX1309CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SX1309CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.NamingRules { using StyleCop.Analyzers.Test.CSharp7.NamingRules; - public class SX1309CSharp8UnitTests : SX1309CSharp7UnitTests + public partial class SX1309CSharp8UnitTests : SX1309CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SX1309SCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SX1309SCSharp8UnitTests.cs index e3d99b93f..e73c3d6e9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SX1309SCSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/NamingRules/SX1309SCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.NamingRules { using StyleCop.Analyzers.Test.CSharp7.NamingRules; - public class SX1309SCSharp8UnitTests : SX1309SCSharp7UnitTests + public partial class SX1309SCSharp8UnitTests : SX1309SCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200CSharp8UnitTests.cs index b30981d8d..0ffb4941e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class SA1200CSharp8UnitTests : SA1200CSharp7UnitTests + public partial class SA1200CSharp8UnitTests : SA1200CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1201CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1201CSharp8UnitTests.cs index df9cecc8b..78960c377 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1201CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1201CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class SA1201CSharp8UnitTests : SA1201CSharp7UnitTests + public partial class SA1201CSharp8UnitTests : SA1201CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1202CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1202CSharp8UnitTests.cs index be723ed43..64e4db6ff 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1202CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1202CSharp8UnitTests.cs @@ -11,7 +11,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules StyleCop.Analyzers.OrderingRules.SA1202ElementsMustBeOrderedByAccess, StyleCop.Analyzers.OrderingRules.ElementOrderCodeFixProvider>; - public class SA1202CSharp8UnitTests : SA1202CSharp7UnitTests + public partial class SA1202CSharp8UnitTests : SA1202CSharp7UnitTests { /// /// Verifies that the analyzer will properly handle property access levels. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1203CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1203CSharp8UnitTests.cs index b0408e453..37886c713 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1203CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1203CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class SA1203CSharp8UnitTests : SA1203CSharp7UnitTests + public partial class SA1203CSharp8UnitTests : SA1203CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1204CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1204CSharp8UnitTests.cs index 6f2280aa8..a2f8caefa 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1204CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1204CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class SA1204CSharp8UnitTests : SA1204CSharp7UnitTests + public partial class SA1204CSharp8UnitTests : SA1204CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1205CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1205CSharp8UnitTests.cs index 20a387047..15d2055e0 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1205CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1205CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class SA1205CSharp8UnitTests : SA1205CSharp7UnitTests + public partial class SA1205CSharp8UnitTests : SA1205CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1206CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1206CSharp8UnitTests.cs index df41dd5cd..63f88cd27 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1206CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1206CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class SA1206CSharp8UnitTests : SA1206CSharp7UnitTests + public partial class SA1206CSharp8UnitTests : SA1206CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1207CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1207CSharp8UnitTests.cs index 06de48bd3..c847cd98b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1207CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1207CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class SA1207CSharp8UnitTests : SA1207CSharp7UnitTests + public partial class SA1207CSharp8UnitTests : SA1207CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1208CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1208CSharp8UnitTests.cs index 5a3efbefd..67b62cf99 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1208CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1208CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class SA1208CSharp8UnitTests : SA1208CSharp7UnitTests + public partial class SA1208CSharp8UnitTests : SA1208CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1209CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1209CSharp8UnitTests.cs index b23f2fc1f..758862fc5 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1209CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1209CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class SA1209CSharp8UnitTests : SA1209CSharp7UnitTests + public partial class SA1209CSharp8UnitTests : SA1209CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1210CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1210CSharp8UnitTests.cs index 8cf83e472..cefca6134 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1210CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1210CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class SA1210CSharp8UnitTests : SA1210CSharp7UnitTests + public partial class SA1210CSharp8UnitTests : SA1210CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1211CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1211CSharp8UnitTests.cs index 981d3b7b9..6bc92d9a2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1211CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1211CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class SA1211CSharp8UnitTests : SA1211CSharp7UnitTests + public partial class SA1211CSharp8UnitTests : SA1211CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1212CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1212CSharp8UnitTests.cs index 0d89ada9c..4e1a7fc9d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1212CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1212CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class SA1212CSharp8UnitTests : SA1212CSharp7UnitTests + public partial class SA1212CSharp8UnitTests : SA1212CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1213CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1213CSharp8UnitTests.cs index 0133b41ce..9750b834b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1213CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1213CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class SA1213CSharp8UnitTests : SA1213CSharp7UnitTests + public partial class SA1213CSharp8UnitTests : SA1213CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1214CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1214CSharp8UnitTests.cs index 090a9310c..9ebf41395 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1214CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1214CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class SA1214CSharp8UnitTests : SA1214CSharp7UnitTests + public partial class SA1214CSharp8UnitTests : SA1214CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1215CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1215CSharp8UnitTests.cs index 2b1dcaab2..c95e5696e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1215CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1215CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class SA1215CSharp8UnitTests : SA1215CSharp7UnitTests + public partial class SA1215CSharp8UnitTests : SA1215CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1216CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1216CSharp8UnitTests.cs index ca383d8a2..8f5ca1be4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1216CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1216CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class SA1216CSharp8UnitTests : SA1216CSharp7UnitTests + public partial class SA1216CSharp8UnitTests : SA1216CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1217CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1217CSharp8UnitTests.cs index 03eac1db5..d73b0696d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1217CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1217CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class SA1217CSharp8UnitTests : SA1217CSharp7UnitTests + public partial class SA1217CSharp8UnitTests : SA1217CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1100CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1100CSharp8UnitTests.cs index 4e2fdb00b..d8187c1b4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1100CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1100CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1100CSharp8UnitTests : SA1100CSharp7UnitTests + public partial class SA1100CSharp8UnitTests : SA1100CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1101CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1101CSharp8UnitTests.cs index d6d9b32bc..574609702 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1101CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1101CSharp8UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules StyleCop.Analyzers.ReadabilityRules.SA1101PrefixLocalCallsWithThis, StyleCop.Analyzers.ReadabilityRules.SA1101CodeFixProvider>; - public class SA1101CSharp8UnitTests : SA1101CSharp7UnitTests + public partial class SA1101CSharp8UnitTests : SA1101CSharp7UnitTests { [Fact] [WorkItem(3472, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3472")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1102CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1102CSharp8UnitTests.cs index bfb88ae43..7c0efbbc2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1102CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1102CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1102CSharp8UnitTests : SA1102CSharp7UnitTests + public partial class SA1102CSharp8UnitTests : SA1102CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1103CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1103CSharp8UnitTests.cs index 02ce0cced..ead25a88f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1103CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1103CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1103CSharp8UnitTests : SA1103CSharp7UnitTests + public partial class SA1103CSharp8UnitTests : SA1103CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1104CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1104CSharp8UnitTests.cs index fea334f3b..3afafa153 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1104CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1104CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1104CSharp8UnitTests : SA1104CSharp7UnitTests + public partial class SA1104CSharp8UnitTests : SA1104CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1105CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1105CSharp8UnitTests.cs index 6a28d1930..63197f1b3 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1105CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1105CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1105CSharp8UnitTests : SA1105CSharp7UnitTests + public partial class SA1105CSharp8UnitTests : SA1105CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1106CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1106CSharp8UnitTests.cs index 57cf18062..75053c29b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1106CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1106CSharp8UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules StyleCop.Analyzers.ReadabilityRules.SA1106CodeMustNotContainEmptyStatements, StyleCop.Analyzers.ReadabilityRules.SA1106CodeFixProvider>; - public class SA1106CSharp8UnitTests : SA1106CSharp7UnitTests + public partial class SA1106CSharp8UnitTests : SA1106CSharp7UnitTests { [Fact] [WorkItem(3075, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3075")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1107CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1107CSharp8UnitTests.cs index 26acee3d7..d05b3b8b7 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1107CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1107CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1107CSharp8UnitTests : SA1107CSharp7UnitTests + public partial class SA1107CSharp8UnitTests : SA1107CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1108CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1108CSharp8UnitTests.cs index 4429a7c43..315b8fb62 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1108CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1108CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1108CSharp8UnitTests : SA1108CSharp7UnitTests + public partial class SA1108CSharp8UnitTests : SA1108CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1109CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1109CSharp8UnitTests.cs index 4f78b50e7..2335f87a0 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1109CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1109CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1109CSharp8UnitTests : SA1109CSharp7UnitTests + public partial class SA1109CSharp8UnitTests : SA1109CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1110CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1110CSharp8UnitTests.cs index 7e13f5433..e0e4469f4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1110CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1110CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1110CSharp8UnitTests : SA1110CSharp7UnitTests + public partial class SA1110CSharp8UnitTests : SA1110CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1111CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1111CSharp8UnitTests.cs index aea7135e4..edb327d34 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1111CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1111CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1111CSharp8UnitTests : SA1111CSharp7UnitTests + public partial class SA1111CSharp8UnitTests : SA1111CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1112CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1112CSharp8UnitTests.cs index 22dd6192e..6f37898ab 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1112CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1112CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1112CSharp8UnitTests : SA1112CSharp7UnitTests + public partial class SA1112CSharp8UnitTests : SA1112CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1113CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1113CSharp8UnitTests.cs index 6ab6c0397..2cca0735a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1113CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1113CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1113CSharp8UnitTests : SA1113CSharp7UnitTests + public partial class SA1113CSharp8UnitTests : SA1113CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1114CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1114CSharp8UnitTests.cs index 11fdc5245..f1a4ab46d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1114CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1114CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1114CSharp8UnitTests : SA1114CSharp7UnitTests + public partial class SA1114CSharp8UnitTests : SA1114CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1115CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1115CSharp8UnitTests.cs index bc72d48ae..df2a27f2c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1115CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1115CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1115CSharp8UnitTests : SA1115CSharp7UnitTests + public partial class SA1115CSharp8UnitTests : SA1115CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1116CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1116CSharp8UnitTests.cs index a52d07c1e..babc7d804 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1116CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1116CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1116CSharp8UnitTests : SA1116CSharp7UnitTests + public partial class SA1116CSharp8UnitTests : SA1116CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1117CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1117CSharp8UnitTests.cs index ea43118f4..daaf27422 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1117CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1117CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1117CSharp8UnitTests : SA1117CSharp7UnitTests + public partial class SA1117CSharp8UnitTests : SA1117CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1118CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1118CSharp8UnitTests.cs index 33c6c737c..90f0bd84f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1118CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1118CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1118CSharp8UnitTests : SA1118CSharp7UnitTests + public partial class SA1118CSharp8UnitTests : SA1118CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1120CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1120CSharp8UnitTests.cs index ff219c854..26430be2f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1120CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1120CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1120CSharp8UnitTests : SA1120CSharp7UnitTests + public partial class SA1120CSharp8UnitTests : SA1120CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1121CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1121CSharp8UnitTests.cs index c8c58d70f..6c2c3898d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1121CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1121CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1121CSharp8UnitTests : SA1121CSharp7UnitTests + public partial class SA1121CSharp8UnitTests : SA1121CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1122CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1122CSharp8UnitTests.cs index 52b738afb..e37a99688 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1122CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1122CSharp8UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules StyleCop.Analyzers.ReadabilityRules.SA1122UseStringEmptyForEmptyStrings, StyleCop.Analyzers.ReadabilityRules.SA1122CodeFixProvider>; - public class SA1122CSharp8UnitTests : SA1122CSharp7UnitTests + public partial class SA1122CSharp8UnitTests : SA1122CSharp7UnitTests { /// /// Verifies the analyzer will properly handle an empty string in a switch expression. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1123CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1123CSharp8UnitTests.cs index a3f21d8ff..d85a4807d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1123CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1123CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1123CSharp8UnitTests : SA1123CSharp7UnitTests + public partial class SA1123CSharp8UnitTests : SA1123CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1124CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1124CSharp8UnitTests.cs index 88829488b..612732720 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1124CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1124CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1124CSharp8UnitTests : SA1124CSharp7UnitTests + public partial class SA1124CSharp8UnitTests : SA1124CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1125CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1125CSharp8UnitTests.cs index ec06ec00d..7c8b79e4f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1125CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1125CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1125CSharp8UnitTests : SA1125CSharp7UnitTests + public partial class SA1125CSharp8UnitTests : SA1125CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1126CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1126CSharp8UnitTests.cs index 880091e7c..933092e64 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1126CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1126CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1126CSharp8UnitTests : SA1126CSharp7UnitTests + public partial class SA1126CSharp8UnitTests : SA1126CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1127CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1127CSharp8UnitTests.cs index 45f609798..68f3f0626 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1127CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1127CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1127CSharp8UnitTests : SA1127CSharp7UnitTests + public partial class SA1127CSharp8UnitTests : SA1127CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1128CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1128CSharp8UnitTests.cs index d6bd6d222..6b0f1575c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1128CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1128CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1128CSharp8UnitTests : SA1128CSharp7UnitTests + public partial class SA1128CSharp8UnitTests : SA1128CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1129CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1129CSharp8UnitTests.cs index 9e02083a7..c1b22a4a4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1129CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1129CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1129CSharp8UnitTests : SA1129CSharp7UnitTests + public partial class SA1129CSharp8UnitTests : SA1129CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1130CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1130CSharp8UnitTests.cs index a4ae2e475..ef4838880 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1130CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1130CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1130CSharp8UnitTests : SA1130CSharp7UnitTests + public partial class SA1130CSharp8UnitTests : SA1130CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1131CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1131CSharp8UnitTests.cs index 27ffdfd31..d81d67a7f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1131CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1131CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1131CSharp8UnitTests : SA1131CSharp7UnitTests + public partial class SA1131CSharp8UnitTests : SA1131CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1132CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1132CSharp8UnitTests.cs index d893c2b41..7ed020612 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1132CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1132CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1132CSharp8UnitTests : SA1132CSharp7UnitTests + public partial class SA1132CSharp8UnitTests : SA1132CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1133CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1133CSharp8UnitTests.cs index a1c200dd9..e9bf82c01 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1133CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1133CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1133CSharp8UnitTests : SA1133CSharp7UnitTests + public partial class SA1133CSharp8UnitTests : SA1133CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1134CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1134CSharp8UnitTests.cs index 4533e9c9b..a03cf71b1 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1134CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1134CSharp8UnitTests.cs @@ -9,7 +9,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1134CSharp8UnitTests : SA1134CSharp7UnitTests + public partial class SA1134CSharp8UnitTests : SA1134CSharp7UnitTests { /// public override Task VerifyInvalidMemberSyntaxInCodeFixAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1135CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1135CSharp8UnitTests.cs index d6f22e279..a5f1a229e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1135CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1135CSharp8UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules StyleCop.Analyzers.ReadabilityRules.SA1135UsingDirectivesMustBeQualified, StyleCop.Analyzers.ReadabilityRules.SA1135CodeFixProvider>; - public class SA1135CSharp8UnitTests : SA1135CSharp7UnitTests + public partial class SA1135CSharp8UnitTests : SA1135CSharp7UnitTests { [Fact] [WorkItem(3149, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3149")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1136CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1136CSharp8UnitTests.cs index d342ff8fd..7f3441a5c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1136CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1136CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1136CSharp8UnitTests : SA1136CSharp7UnitTests + public partial class SA1136CSharp8UnitTests : SA1136CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1137CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1137CSharp8UnitTests.cs index eec1ec538..228da84b1 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1137CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1137CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1137CSharp8UnitTests : SA1137CSharp7UnitTests + public partial class SA1137CSharp8UnitTests : SA1137CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1139CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1139CSharp8UnitTests.cs index db8e7b53b..75c2b6a54 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1139CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1139CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SA1139CSharp8UnitTests : SA1139CSharp7UnitTests + public partial class SA1139CSharp8UnitTests : SA1139CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SX1101CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SX1101CSharp8UnitTests.cs index c3a335211..d8daa6dd6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SX1101CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SX1101CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; - public class SX1101CSharp8UnitTests : SX1101CSharp7UnitTests + public partial class SX1101CSharp8UnitTests : SX1101CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Settings/SettingsCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Settings/SettingsCSharp8UnitTests.cs index 421aa621b..0e880897c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Settings/SettingsCSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Settings/SettingsCSharp8UnitTests.cs @@ -16,7 +16,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.Settings using StyleCop.Analyzers.Test.Verifiers; using Xunit; - public class SettingsCSharp8UnitTests : SettingsCSharp7UnitTests + public partial class SettingsCSharp8UnitTests : SettingsCSharp7UnitTests { private const string TestProjectName = "TestProject"; diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Settings/SettingsFileCodeFixProviderCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Settings/SettingsFileCodeFixProviderCSharp8UnitTests.cs index d9e964c77..38fdbe2ce 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Settings/SettingsFileCodeFixProviderCSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Settings/SettingsFileCodeFixProviderCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.Settings { using StyleCop.Analyzers.Test.CSharp7.Settings; - public class SettingsFileCodeFixProviderCSharp8UnitTests : SettingsFileCodeFixProviderCSharp7UnitTests + public partial class SettingsFileCodeFixProviderCSharp8UnitTests : SettingsFileCodeFixProviderCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1000CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1000CSharp8UnitTests.cs index f0674feda..99687250f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1000CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1000CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules { using StyleCop.Analyzers.Test.CSharp7.SpacingRules; - public class SA1000CSharp8UnitTests : SA1000CSharp7UnitTests + public partial class SA1000CSharp8UnitTests : SA1000CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1001CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1001CSharp8UnitTests.cs index 1927a15bb..1cd773294 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1001CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1001CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules { using StyleCop.Analyzers.Test.CSharp7.SpacingRules; - public class SA1001CSharp8UnitTests : SA1001CSharp7UnitTests + public partial class SA1001CSharp8UnitTests : SA1001CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1002CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1002CSharp8UnitTests.cs index 730942d52..0f0c85f9e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1002CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1002CSharp8UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules StyleCop.Analyzers.SpacingRules.SA1002SemicolonsMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1002CSharp8UnitTests : SA1002CSharp7UnitTests + public partial class SA1002CSharp8UnitTests : SA1002CSharp7UnitTests { [Fact] [WorkItem(3052, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3052")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1003CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1003CSharp8UnitTests.cs index 85b6098c9..39133b371 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1003CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1003CSharp8UnitTests.cs @@ -16,7 +16,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules StyleCop.Analyzers.SpacingRules.SA1003SymbolsMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.SA1003CodeFixProvider>; - public class SA1003CSharp8UnitTests : SA1003CSharp7UnitTests + public partial class SA1003CSharp8UnitTests : SA1003CSharp7UnitTests { /// /// Verifies that spacing around a range expression double dots isn't required. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1004CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1004CSharp8UnitTests.cs index 665d29412..f3203b240 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1004CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1004CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules { using StyleCop.Analyzers.Test.CSharp7.SpacingRules; - public class SA1004CSharp8UnitTests : SA1004CSharp7UnitTests + public partial class SA1004CSharp8UnitTests : SA1004CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1005CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1005CSharp8UnitTests.cs index 2ff4f187c..1aeb432c5 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1005CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1005CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules { using StyleCop.Analyzers.Test.CSharp7.SpacingRules; - public class SA1005CSharp8UnitTests : SA1005CSharp7UnitTests + public partial class SA1005CSharp8UnitTests : SA1005CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1006CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1006CSharp8UnitTests.cs index fc9043c7a..fb50891c8 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1006CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1006CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules { using StyleCop.Analyzers.Test.CSharp7.SpacingRules; - public class SA1006CSharp8UnitTests : SA1006CSharp7UnitTests + public partial class SA1006CSharp8UnitTests : SA1006CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1007CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1007CSharp8UnitTests.cs index 916882f21..78c1974d1 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1007CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1007CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules { using StyleCop.Analyzers.Test.CSharp7.SpacingRules; - public class SA1007CSharp8UnitTests : SA1007CSharp7UnitTests + public partial class SA1007CSharp8UnitTests : SA1007CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1008CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1008CSharp8UnitTests.cs index aaa149590..cbdc8fc61 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1008CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1008CSharp8UnitTests.cs @@ -17,7 +17,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules StyleCop.Analyzers.SpacingRules.SA1008OpeningParenthesisMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1008CSharp8UnitTests : SA1008CSharp7UnitTests + public partial class SA1008CSharp8UnitTests : SA1008CSharp7UnitTests { /// /// Verifies that spacing after a range expression double dots isn't required. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1009CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1009CSharp8UnitTests.cs index ede298159..da46713b8 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1009CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1009CSharp8UnitTests.cs @@ -15,7 +15,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules StyleCop.Analyzers.SpacingRules.SA1009ClosingParenthesisMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1009CSharp8UnitTests : SA1009CSharp7UnitTests + public partial class SA1009CSharp8UnitTests : SA1009CSharp7UnitTests { [Fact] [WorkItem(2991, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/2991")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1010CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1010CSharp8UnitTests.cs index 67ac2de44..71ba2da89 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1010CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1010CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules { using StyleCop.Analyzers.Test.CSharp7.SpacingRules; - public class SA1010CSharp8UnitTests : SA1010CSharp7UnitTests + public partial class SA1010CSharp8UnitTests : SA1010CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1011CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1011CSharp8UnitTests.cs index b0ce402cb..6d6b747f5 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1011CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1011CSharp8UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules StyleCop.Analyzers.SpacingRules.SA1011ClosingSquareBracketsMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1011CSharp8UnitTests : SA1011CSharp7UnitTests + public partial class SA1011CSharp8UnitTests : SA1011CSharp7UnitTests { /// /// Verify that declaring a null reference type works for arrays. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1012CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1012CSharp8UnitTests.cs index ec85c0800..065ab860b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1012CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1012CSharp8UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules StyleCop.Analyzers.SpacingRules.SA1012OpeningBracesMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1012CSharp8UnitTests : SA1012CSharp7UnitTests + public partial class SA1012CSharp8UnitTests : SA1012CSharp7UnitTests { [Fact] [WorkItem(3141, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3141")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1013CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1013CSharp8UnitTests.cs index 590e9568d..7839335bf 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1013CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1013CSharp8UnitTests.cs @@ -16,7 +16,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules StyleCop.Analyzers.SpacingRules.SA1013ClosingBracesMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1013CSharp8UnitTests : SA1013CSharp7UnitTests + public partial class SA1013CSharp8UnitTests : SA1013CSharp7UnitTests { /// /// Verifies the behavior of closing braces in case patterns. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1014CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1014CSharp8UnitTests.cs index f6bd86074..693b08d5f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1014CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1014CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules { using StyleCop.Analyzers.Test.CSharp7.SpacingRules; - public class SA1014CSharp8UnitTests : SA1014CSharp7UnitTests + public partial class SA1014CSharp8UnitTests : SA1014CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1015CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1015CSharp8UnitTests.cs index c2227076c..fe04df86b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1015CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1015CSharp8UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules StyleCop.Analyzers.SpacingRules.SA1015ClosingGenericBracketsMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1015CSharp8UnitTests : SA1015CSharp7UnitTests + public partial class SA1015CSharp8UnitTests : SA1015CSharp7UnitTests { [Fact] [WorkItem(3302, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3302")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1016CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1016CSharp8UnitTests.cs index 9ec32e01b..7d08778b9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1016CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1016CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules { using StyleCop.Analyzers.Test.CSharp7.SpacingRules; - public class SA1016CSharp8UnitTests : SA1016CSharp7UnitTests + public partial class SA1016CSharp8UnitTests : SA1016CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1017CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1017CSharp8UnitTests.cs index 5278e17fc..132fda1d9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1017CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1017CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules { using StyleCop.Analyzers.Test.CSharp7.SpacingRules; - public class SA1017CSharp8UnitTests : SA1017CSharp7UnitTests + public partial class SA1017CSharp8UnitTests : SA1017CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1018CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1018CSharp8UnitTests.cs index 4d97784f9..3a2c55676 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1018CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1018CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules { using StyleCop.Analyzers.Test.CSharp7.SpacingRules; - public class SA1018CSharp8UnitTests : SA1018CSharp7UnitTests + public partial class SA1018CSharp8UnitTests : SA1018CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1019CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1019CSharp8UnitTests.cs index eee8bfccf..6ff5fc1e6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1019CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1019CSharp8UnitTests.cs @@ -15,7 +15,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules StyleCop.Analyzers.SpacingRules.SA1019MemberAccessSymbolsMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1019CSharp8UnitTests : SA1019CSharp7UnitTests + public partial class SA1019CSharp8UnitTests : SA1019CSharp7UnitTests { [Fact] [WorkItem(3052, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3052")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1020CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1020CSharp8UnitTests.cs index 1f48ccfd2..69895f2ed 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1020CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1020CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules { using StyleCop.Analyzers.Test.CSharp7.SpacingRules; - public class SA1020CSharp8UnitTests : SA1020CSharp7UnitTests + public partial class SA1020CSharp8UnitTests : SA1020CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1021CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1021CSharp8UnitTests.cs index 55dbc750c..38f0cd920 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1021CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1021CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules { using StyleCop.Analyzers.Test.CSharp7.SpacingRules; - public class SA1021CSharp8UnitTests : SA1021CSharp7UnitTests + public partial class SA1021CSharp8UnitTests : SA1021CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1022CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1022CSharp8UnitTests.cs index 155263f89..46b7df58c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1022CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1022CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules { using StyleCop.Analyzers.Test.CSharp7.SpacingRules; - public class SA1022CSharp8UnitTests : SA1022CSharp7UnitTests + public partial class SA1022CSharp8UnitTests : SA1022CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1023CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1023CSharp8UnitTests.cs index 5d28b588c..2a50ae516 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1023CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1023CSharp8UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules StyleCop.Analyzers.SpacingRules.SA1023DereferenceAndAccessOfSymbolsMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1023CSharp8UnitTests : SA1023CSharp7UnitTests + public partial class SA1023CSharp8UnitTests : SA1023CSharp7UnitTests { [Fact] [WorkItem(3302, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3302")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1024CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1024CSharp8UnitTests.cs index 0fe30b883..2b255321d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1024CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1024CSharp8UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules StyleCop.Analyzers.SpacingRules.SA1024ColonsMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1024CSharp8UnitTests : SA1024CSharp7UnitTests + public partial class SA1024CSharp8UnitTests : SA1024CSharp7UnitTests { /// /// Verifies the behavior of colons in case patterns. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1025CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1025CSharp8UnitTests.cs index a770c0e07..1ed086a78 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1025CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1025CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules { using StyleCop.Analyzers.Test.CSharp7.SpacingRules; - public class SA1025CSharp8UnitTests : SA1025CSharp7UnitTests + public partial class SA1025CSharp8UnitTests : SA1025CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1026CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1026CSharp8UnitTests.cs index 4335bc890..69671961d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1026CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1026CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules { using StyleCop.Analyzers.Test.CSharp7.SpacingRules; - public class SA1026CSharp8UnitTests : SA1026CSharp7UnitTests + public partial class SA1026CSharp8UnitTests : SA1026CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027AlternateIndentationCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027AlternateIndentationCSharp8UnitTests.cs index 2b92f1b7a..e38c955a0 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027AlternateIndentationCSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027AlternateIndentationCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules { using StyleCop.Analyzers.Test.CSharp7.SpacingRules; - public class SA1027AlternateIndentationCSharp8UnitTests : SA1027AlternateIndentationCSharp7UnitTests + public partial class SA1027AlternateIndentationCSharp8UnitTests : SA1027AlternateIndentationCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027CSharp8UnitTests.cs index ee18fe627..94140e600 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules { using StyleCop.Analyzers.Test.CSharp7.SpacingRules; - public class SA1027CSharp8UnitTests : SA1027CSharp7UnitTests + public partial class SA1027CSharp8UnitTests : SA1027CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027UseTabsCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027UseTabsCSharp8UnitTests.cs index b97723652..68efb3436 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027UseTabsCSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1027UseTabsCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules { using StyleCop.Analyzers.Test.CSharp7.SpacingRules; - public class SA1027UseTabsCSharp8UnitTests : SA1027UseTabsCSharp7UnitTests + public partial class SA1027UseTabsCSharp8UnitTests : SA1027UseTabsCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1028CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1028CSharp8UnitTests.cs index 5e389f676..50b7cd0f5 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1028CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1028CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules { using StyleCop.Analyzers.Test.CSharp7.SpacingRules; - public class SA1028CSharp8UnitTests : SA1028CSharp7UnitTests + public partial class SA1028CSharp8UnitTests : SA1028CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpecialRules/SA0001CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpecialRules/SA0001CSharp8UnitTests.cs index 34f2a57d7..25e29f3f1 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpecialRules/SA0001CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpecialRules/SA0001CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpecialRules { using StyleCop.Analyzers.Test.CSharp7.SpecialRules; - public class SA0001CSharp8UnitTests : SA0001CSharp7UnitTests + public partial class SA0001CSharp8UnitTests : SA0001CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpecialRules/SA0002CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpecialRules/SA0002CSharp8UnitTests.cs index 79b93e63e..393c4c3ca 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpecialRules/SA0002CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpecialRules/SA0002CSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.SpecialRules { using StyleCop.Analyzers.Test.CSharp7.SpecialRules; - public class SA0002CSharp8UnitTests : SA0002CSharp7UnitTests + public partial class SA0002CSharp8UnitTests : SA0002CSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1600CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1600CSharp9UnitTests.cs index 44cc2c96c..42ae8fef9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1600CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1600CSharp9UnitTests.cs @@ -8,7 +8,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules using Microsoft.CodeAnalysis.Testing; using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1600CSharp9UnitTests : SA1600CSharp8UnitTests + public partial class SA1600CSharp9UnitTests : SA1600CSharp8UnitTests { protected override DiagnosticResult[] GetExpectedResultTestRegressionMethodGlobalNamespace(string code) { diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1601CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1601CSharp9UnitTests.cs index 1cb2f7d67..56b69fffd 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1601CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1601CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1601CSharp9UnitTests : SA1601CSharp8UnitTests + public partial class SA1601CSharp9UnitTests : SA1601CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1602CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1602CSharp9UnitTests.cs index 23daaf066..0e01eea68 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1602CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1602CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1602CSharp9UnitTests : SA1602CSharp8UnitTests + public partial class SA1602CSharp9UnitTests : SA1602CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1603CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1603CSharp9UnitTests.cs index c855f99bd..ea9e194f0 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1603CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1603CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1603CSharp9UnitTests : SA1603CSharp8UnitTests + public partial class SA1603CSharp9UnitTests : SA1603CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1604CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1604CSharp9UnitTests.cs index 16638ab16..5996b6db6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1604CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1604CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1604CSharp9UnitTests : SA1604CSharp8UnitTests + public partial class SA1604CSharp9UnitTests : SA1604CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1605CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1605CSharp9UnitTests.cs index fd62976ca..9dc8a456c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1605CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1605CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1605CSharp9UnitTests : SA1605CSharp8UnitTests + public partial class SA1605CSharp9UnitTests : SA1605CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1606CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1606CSharp9UnitTests.cs index e4ae5bed3..45ccf3a7c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1606CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1606CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1606CSharp9UnitTests : SA1606CSharp8UnitTests + public partial class SA1606CSharp9UnitTests : SA1606CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1607CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1607CSharp9UnitTests.cs index 108536b8a..033818a29 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1607CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1607CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1607CSharp9UnitTests : SA1607CSharp8UnitTests + public partial class SA1607CSharp9UnitTests : SA1607CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1608CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1608CSharp9UnitTests.cs index b234b6bf8..bb525faff 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1608CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1608CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1608CSharp9UnitTests : SA1608CSharp8UnitTests + public partial class SA1608CSharp9UnitTests : SA1608CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1609CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1609CSharp9UnitTests.cs index 6efc99e12..be6d4ac79 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1609CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1609CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1609CSharp9UnitTests : SA1609CSharp8UnitTests + public partial class SA1609CSharp9UnitTests : SA1609CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1610CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1610CSharp9UnitTests.cs index 086df558b..85460f07b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1610CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1610CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1610CSharp9UnitTests : SA1610CSharp8UnitTests + public partial class SA1610CSharp9UnitTests : SA1610CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1611CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1611CSharp9UnitTests.cs index 76bd1e379..27bb08e0c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1611CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1611CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1611CSharp9UnitTests : SA1611CSharp8UnitTests + public partial class SA1611CSharp9UnitTests : SA1611CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1612CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1612CSharp9UnitTests.cs index 0418e7636..19d9c78db 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1612CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1612CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1612CSharp9UnitTests : SA1612CSharp8UnitTests + public partial class SA1612CSharp9UnitTests : SA1612CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1613CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1613CSharp9UnitTests.cs index fea41f4a4..9f8525638 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1613CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1613CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1613CSharp9UnitTests : SA1613CSharp8UnitTests + public partial class SA1613CSharp9UnitTests : SA1613CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1614CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1614CSharp9UnitTests.cs index b5b98e4b9..821130db1 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1614CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1614CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1614CSharp9UnitTests : SA1614CSharp8UnitTests + public partial class SA1614CSharp9UnitTests : SA1614CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1615CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1615CSharp9UnitTests.cs index 7c1699072..0ff5568f0 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1615CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1615CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1615CSharp9UnitTests : SA1615CSharp8UnitTests + public partial class SA1615CSharp9UnitTests : SA1615CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1616CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1616CSharp9UnitTests.cs index ce97634a4..2eab728ef 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1616CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1616CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1616CSharp9UnitTests : SA1616CSharp8UnitTests + public partial class SA1616CSharp9UnitTests : SA1616CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1617CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1617CSharp9UnitTests.cs index ec18326ae..f29a79905 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1617CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1617CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1617CSharp9UnitTests : SA1617CSharp8UnitTests + public partial class SA1617CSharp9UnitTests : SA1617CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1618CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1618CSharp9UnitTests.cs index 6939740af..ed06fe525 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1618CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1618CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1618CSharp9UnitTests : SA1618CSharp8UnitTests + public partial class SA1618CSharp9UnitTests : SA1618CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1619CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1619CSharp9UnitTests.cs index e9b2c6c27..83461655f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1619CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1619CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1619CSharp9UnitTests : SA1619CSharp8UnitTests + public partial class SA1619CSharp9UnitTests : SA1619CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1620CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1620CSharp9UnitTests.cs index 5864d05b6..2b713f5ea 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1620CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1620CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1620CSharp9UnitTests : SA1620CSharp8UnitTests + public partial class SA1620CSharp9UnitTests : SA1620CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1621CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1621CSharp9UnitTests.cs index 6f73e5209..975848527 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1621CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1621CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1621CSharp9UnitTests : SA1621CSharp8UnitTests + public partial class SA1621CSharp9UnitTests : SA1621CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1622CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1622CSharp9UnitTests.cs index 3f476bbf9..97e142ca3 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1622CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1622CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1622CSharp9UnitTests : SA1622CSharp8UnitTests + public partial class SA1622CSharp9UnitTests : SA1622CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1623CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1623CSharp9UnitTests.cs index a7c5ce13a..654afe47f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1623CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1623CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1623CSharp9UnitTests : SA1623CSharp8UnitTests + public partial class SA1623CSharp9UnitTests : SA1623CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1624CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1624CSharp9UnitTests.cs index 43fd09b01..98d1ad100 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1624CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1624CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1624CSharp9UnitTests : SA1624CSharp8UnitTests + public partial class SA1624CSharp9UnitTests : SA1624CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1625CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1625CSharp9UnitTests.cs index 5a53e543d..d8b0bd51c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1625CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1625CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1625CSharp9UnitTests : SA1625CSharp8UnitTests + public partial class SA1625CSharp9UnitTests : SA1625CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1626CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1626CSharp9UnitTests.cs index 173ebb4a6..3e6defa81 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1626CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1626CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1626CSharp9UnitTests : SA1626CSharp8UnitTests + public partial class SA1626CSharp9UnitTests : SA1626CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1627CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1627CSharp9UnitTests.cs index 19e9f27e8..d1006a84f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1627CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1627CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1627CSharp9UnitTests : SA1627CSharp8UnitTests + public partial class SA1627CSharp9UnitTests : SA1627CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1628CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1628CSharp9UnitTests.cs index 263bab4c2..37823715c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1628CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1628CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1628CSharp9UnitTests : SA1628CSharp8UnitTests + public partial class SA1628CSharp9UnitTests : SA1628CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1629CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1629CSharp9UnitTests.cs index 7fdb5f368..30d25219a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1629CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1629CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1629CSharp9UnitTests : SA1629CSharp8UnitTests + public partial class SA1629CSharp9UnitTests : SA1629CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1630CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1630CSharp9UnitTests.cs index 884f38d6d..b1198d9fd 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1630CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1630CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1630CSharp9UnitTests : SA1630CSharp8UnitTests + public partial class SA1630CSharp9UnitTests : SA1630CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1631CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1631CSharp9UnitTests.cs index f98e53bde..4bd33a0c9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1631CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1631CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1631CSharp9UnitTests : SA1631CSharp8UnitTests + public partial class SA1631CSharp9UnitTests : SA1631CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1632CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1632CSharp9UnitTests.cs index 1b4cfa749..4f8c31db1 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1632CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1632CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1632CSharp9UnitTests : SA1632CSharp8UnitTests + public partial class SA1632CSharp9UnitTests : SA1632CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1633CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1633CSharp9UnitTests.cs index ee2903208..57486d0fb 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1633CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1633CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1633CSharp9UnitTests : SA1633CSharp8UnitTests + public partial class SA1633CSharp9UnitTests : SA1633CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1634CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1634CSharp9UnitTests.cs index 4f0e66bb0..0a71166b7 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1634CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1634CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1634CSharp9UnitTests : SA1634CSharp8UnitTests + public partial class SA1634CSharp9UnitTests : SA1634CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1635CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1635CSharp9UnitTests.cs index 390fb3cd0..e5a6f1d57 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1635CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1635CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1635CSharp9UnitTests : SA1635CSharp8UnitTests + public partial class SA1635CSharp9UnitTests : SA1635CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1636CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1636CSharp9UnitTests.cs index f7b0ab97c..831fe42d4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1636CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1636CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1636CSharp9UnitTests : SA1636CSharp8UnitTests + public partial class SA1636CSharp9UnitTests : SA1636CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1637CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1637CSharp9UnitTests.cs index 2a7221756..9bff99754 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1637CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1637CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1637CSharp9UnitTests : SA1637CSharp8UnitTests + public partial class SA1637CSharp9UnitTests : SA1637CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1638CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1638CSharp9UnitTests.cs index c50ca20c0..2e6dff393 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1638CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1638CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1638CSharp9UnitTests : SA1638CSharp8UnitTests + public partial class SA1638CSharp9UnitTests : SA1638CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1639CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1639CSharp9UnitTests.cs index d778b09d1..d7841b698 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1639CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1639CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1639CSharp9UnitTests : SA1639CSharp8UnitTests + public partial class SA1639CSharp9UnitTests : SA1639CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1640CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1640CSharp9UnitTests.cs index cea2592d1..43245d4e0 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1640CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1640CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1640CSharp9UnitTests : SA1640CSharp8UnitTests + public partial class SA1640CSharp9UnitTests : SA1640CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1641CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1641CSharp9UnitTests.cs index 01d5bb4f2..cdb25bed8 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1641CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1641CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1641CSharp9UnitTests : SA1641CSharp8UnitTests + public partial class SA1641CSharp9UnitTests : SA1641CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1642CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1642CSharp9UnitTests.cs index 5c0e10d3c..55a38204b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1642CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1642CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1642CSharp9UnitTests : SA1642CSharp8UnitTests + public partial class SA1642CSharp9UnitTests : SA1642CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1643CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1643CSharp9UnitTests.cs index ebcf50b02..ed69f6711 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1643CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1643CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1643CSharp9UnitTests : SA1643CSharp8UnitTests + public partial class SA1643CSharp9UnitTests : SA1643CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1644CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1644CSharp9UnitTests.cs index 3fbc25f08..18a030866 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1644CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1644CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1644CSharp9UnitTests : SA1644CSharp8UnitTests + public partial class SA1644CSharp9UnitTests : SA1644CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1645CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1645CSharp9UnitTests.cs index 0ad50b3fa..85bda5d57 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1645CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1645CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1645CSharp9UnitTests : SA1645CSharp8UnitTests + public partial class SA1645CSharp9UnitTests : SA1645CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1646CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1646CSharp9UnitTests.cs index 91554fb3b..b20964b47 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1646CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1646CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1646CSharp9UnitTests : SA1646CSharp8UnitTests + public partial class SA1646CSharp9UnitTests : SA1646CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1647CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1647CSharp9UnitTests.cs index 47d4c717c..13c81bf7c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1647CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1647CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1647CSharp9UnitTests : SA1647CSharp8UnitTests + public partial class SA1647CSharp9UnitTests : SA1647CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1648CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1648CSharp9UnitTests.cs index 8c2582c38..6434f2134 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1648CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1648CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1648CSharp9UnitTests : SA1648CSharp8UnitTests + public partial class SA1648CSharp9UnitTests : SA1648CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1649CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1649CSharp9UnitTests.cs index 446a490b9..f2f23447a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1649CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1649CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1649CSharp9UnitTests : SA1649CSharp8UnitTests + public partial class SA1649CSharp9UnitTests : SA1649CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1650CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1650CSharp9UnitTests.cs index f54030c90..ef1941d90 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1650CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1650CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1650CSharp9UnitTests : SA1650CSharp8UnitTests + public partial class SA1650CSharp9UnitTests : SA1650CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1651CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1651CSharp9UnitTests.cs index 2c4674b16..ccfdc89a8 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1651CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1651CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class SA1651CSharp9UnitTests : SA1651CSharp8UnitTests + public partial class SA1651CSharp9UnitTests : SA1651CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1500CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1500CSharp9UnitTests.cs index 019ec036e..9a32b20c4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1500CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1500CSharp9UnitTests.cs @@ -15,7 +15,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules StyleCop.Analyzers.LayoutRules.SA1500BracesForMultiLineStatementsMustNotShareLine, StyleCop.Analyzers.LayoutRules.SA1500CodeFixProvider>; - public class SA1500CSharp9UnitTests : SA1500CSharp8UnitTests + public partial class SA1500CSharp9UnitTests : SA1500CSharp8UnitTests { [Theory] [MemberData(nameof(CommonMemberData.RecordTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1501CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1501CSharp9UnitTests.cs index 86396c2dd..e4360d126 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1501CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1501CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules { using StyleCop.Analyzers.Test.CSharp8.LayoutRules; - public class SA1501CSharp9UnitTests : SA1501CSharp8UnitTests + public partial class SA1501CSharp9UnitTests : SA1501CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1502CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1502CSharp9UnitTests.cs index 839912a9a..c5901f4fd 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1502CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1502CSharp9UnitTests.cs @@ -15,7 +15,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules StyleCop.Analyzers.LayoutRules.SA1502ElementMustNotBeOnASingleLine, StyleCop.Analyzers.LayoutRules.SA1502CodeFixProvider>; - public class SA1502CSharp9UnitTests : SA1502CSharp8UnitTests + public partial class SA1502CSharp9UnitTests : SA1502CSharp8UnitTests { [Theory] [MemberData(nameof(CommonMemberData.RecordTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1503CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1503CSharp9UnitTests.cs index acd558b09..687f1eb86 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1503CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1503CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules { using StyleCop.Analyzers.Test.CSharp8.LayoutRules; - public class SA1503CSharp9UnitTests : SA1503CSharp8UnitTests + public partial class SA1503CSharp9UnitTests : SA1503CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1504CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1504CSharp9UnitTests.cs index 5feeacbbb..f7f866255 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1504CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1504CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules { using StyleCop.Analyzers.Test.CSharp8.LayoutRules; - public class SA1504CSharp9UnitTests : SA1504CSharp8UnitTests + public partial class SA1504CSharp9UnitTests : SA1504CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1505CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1505CSharp9UnitTests.cs index cef0d4fb0..4c9a49a9b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1505CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1505CSharp9UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules StyleCop.Analyzers.LayoutRules.SA1505OpeningBracesMustNotBeFollowedByBlankLine, StyleCop.Analyzers.LayoutRules.SA1505CodeFixProvider>; - public class SA1505CSharp9UnitTests : SA1505CSharp8UnitTests + public partial class SA1505CSharp9UnitTests : SA1505CSharp8UnitTests { [Fact] [WorkItem(3272, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3272")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1506CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1506CSharp9UnitTests.cs index 09dcb085f..8906a0a9f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1506CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1506CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules { using StyleCop.Analyzers.Test.CSharp8.LayoutRules; - public class SA1506CSharp9UnitTests : SA1506CSharp8UnitTests + public partial class SA1506CSharp9UnitTests : SA1506CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1507CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1507CSharp9UnitTests.cs index e9d2d4231..acf24c784 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1507CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1507CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules { using StyleCop.Analyzers.Test.CSharp8.LayoutRules; - public class SA1507CSharp9UnitTests : SA1507CSharp8UnitTests + public partial class SA1507CSharp9UnitTests : SA1507CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1508CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1508CSharp9UnitTests.cs index 005bb2d12..507fcff7a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1508CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1508CSharp9UnitTests.cs @@ -15,7 +15,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules StyleCop.Analyzers.LayoutRules.SA1508ClosingBracesMustNotBePrecededByBlankLine, StyleCop.Analyzers.LayoutRules.SA1508CodeFixProvider>; - public class SA1508CSharp9UnitTests : SA1508CSharp8UnitTests + public partial class SA1508CSharp9UnitTests : SA1508CSharp8UnitTests { [Theory] [MemberData(nameof(CommonMemberData.RecordTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1509CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1509CSharp9UnitTests.cs index 0b210e3e2..3137ab9bc 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1509CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1509CSharp9UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules StyleCop.Analyzers.LayoutRules.SA1509OpeningBracesMustNotBePrecededByBlankLine, StyleCop.Analyzers.LayoutRules.SA1509CodeFixProvider>; - public class SA1509CSharp9UnitTests : SA1509CSharp8UnitTests + public partial class SA1509CSharp9UnitTests : SA1509CSharp8UnitTests { [Fact] [WorkItem(3272, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3272")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1510CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1510CSharp9UnitTests.cs index c81521e47..2ffdaeeb4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1510CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1510CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules { using StyleCop.Analyzers.Test.CSharp8.LayoutRules; - public class SA1510CSharp9UnitTests : SA1510CSharp8UnitTests + public partial class SA1510CSharp9UnitTests : SA1510CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1511CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1511CSharp9UnitTests.cs index f85f3ef0b..745cb6f89 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1511CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1511CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules { using StyleCop.Analyzers.Test.CSharp8.LayoutRules; - public class SA1511CSharp9UnitTests : SA1511CSharp8UnitTests + public partial class SA1511CSharp9UnitTests : SA1511CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1512CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1512CSharp9UnitTests.cs index a757e9a4f..8afa0f109 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1512CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1512CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules { using StyleCop.Analyzers.Test.CSharp8.LayoutRules; - public class SA1512CSharp9UnitTests : SA1512CSharp8UnitTests + public partial class SA1512CSharp9UnitTests : SA1512CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1513CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1513CSharp9UnitTests.cs index a4d8c6b95..0dbe6f05d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1513CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1513CSharp9UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules StyleCop.Analyzers.LayoutRules.SA1513ClosingBraceMustBeFollowedByBlankLine, StyleCop.Analyzers.LayoutRules.SA1513CodeFixProvider>; - public class SA1513CSharp9UnitTests : SA1513CSharp8UnitTests + public partial class SA1513CSharp9UnitTests : SA1513CSharp8UnitTests { [Fact] [WorkItem(3410, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3410")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1514CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1514CSharp9UnitTests.cs index c718e3b9f..908ae5be6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1514CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1514CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules { using StyleCop.Analyzers.Test.CSharp8.LayoutRules; - public class SA1514CSharp9UnitTests : SA1514CSharp8UnitTests + public partial class SA1514CSharp9UnitTests : SA1514CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1515CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1515CSharp9UnitTests.cs index f42761c01..c2f36a211 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1515CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1515CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules { using StyleCop.Analyzers.Test.CSharp8.LayoutRules; - public class SA1515CSharp9UnitTests : SA1515CSharp8UnitTests + public partial class SA1515CSharp9UnitTests : SA1515CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1516CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1516CSharp9UnitTests.cs index ed672d36c..1781cfd48 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1516CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1516CSharp9UnitTests.cs @@ -15,7 +15,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules StyleCop.Analyzers.LayoutRules.SA1516ElementsMustBeSeparatedByBlankLine, StyleCop.Analyzers.LayoutRules.SA1516CodeFixProvider>; - public class SA1516CSharp9UnitTests : SA1516CSharp8UnitTests + public partial class SA1516CSharp9UnitTests : SA1516CSharp8UnitTests { /// /// Verifies that SA1516 is reported at the correct location in top-level programs. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1517CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1517CSharp9UnitTests.cs index 0adef0a9d..6086f8a8f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1517CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1517CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules { using StyleCop.Analyzers.Test.CSharp8.LayoutRules; - public class SA1517CSharp9UnitTests : SA1517CSharp8UnitTests + public partial class SA1517CSharp9UnitTests : SA1517CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1518CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1518CSharp9UnitTests.cs index deb9614a9..fa58c537a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1518CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1518CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules { using StyleCop.Analyzers.Test.CSharp8.LayoutRules; - public class SA1518CSharp9UnitTests : SA1518CSharp8UnitTests + public partial class SA1518CSharp9UnitTests : SA1518CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1519CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1519CSharp9UnitTests.cs index 834a21321..18d30da08 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1519CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1519CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules { using StyleCop.Analyzers.Test.CSharp8.LayoutRules; - public class SA1519CSharp9UnitTests : SA1519CSharp8UnitTests + public partial class SA1519CSharp9UnitTests : SA1519CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1520CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1520CSharp9UnitTests.cs index 3885c0250..5bdca5ff9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1520CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1520CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules { using StyleCop.Analyzers.Test.CSharp8.LayoutRules; - public class SA1520CSharp9UnitTests : SA1520CSharp8UnitTests + public partial class SA1520CSharp9UnitTests : SA1520CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1119CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1119CSharp9UnitTests.cs index 9dcd5059f..262065c1f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1119CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1119CSharp9UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules StyleCop.Analyzers.MaintainabilityRules.SA1119StatementMustNotUseUnnecessaryParenthesis, StyleCop.Analyzers.MaintainabilityRules.SA1119CodeFixProvider>; - public class SA1119CSharp9UnitTests : SA1119CSharp8UnitTests + public partial class SA1119CSharp9UnitTests : SA1119CSharp8UnitTests { /// /// Verifies that a type cast followed by a with expression is handled correctly. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1400CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1400CSharp9UnitTests.cs index 43b3a90d3..1e0d988a1 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1400CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1400CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules; - public class SA1400CSharp9UnitTests : SA1400CSharp8UnitTests + public partial class SA1400CSharp9UnitTests : SA1400CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1401CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1401CSharp9UnitTests.cs index faf949c1d..316213fdb 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1401CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1401CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules; - public class SA1401CSharp9UnitTests : SA1401CSharp8UnitTests + public partial class SA1401CSharp9UnitTests : SA1401CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1403CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1403CSharp9UnitTests.cs index 1fa9d1419..e204fbff2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1403CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1403CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules; - public class SA1403CSharp9UnitTests : SA1403CSharp8UnitTests + public partial class SA1403CSharp9UnitTests : SA1403CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1404CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1404CSharp9UnitTests.cs index 0336c1d0d..b2da19872 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1404CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1404CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules; - public class SA1404CSharp9UnitTests : SA1404CSharp8UnitTests + public partial class SA1404CSharp9UnitTests : SA1404CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1405CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1405CSharp9UnitTests.cs index 93eceb7e2..93eef9b1c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1405CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1405CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules; - public class SA1405CSharp9UnitTests : SA1405CSharp8UnitTests + public partial class SA1405CSharp9UnitTests : SA1405CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1406CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1406CSharp9UnitTests.cs index af5a877d1..e99633f35 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1406CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1406CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules; - public class SA1406CSharp9UnitTests : SA1406CSharp8UnitTests + public partial class SA1406CSharp9UnitTests : SA1406CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1407CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1407CSharp9UnitTests.cs index b47b22743..2e34a5c7b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1407CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1407CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules; - public class SA1407CSharp9UnitTests : SA1407CSharp8UnitTests + public partial class SA1407CSharp9UnitTests : SA1407CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1408CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1408CSharp9UnitTests.cs index 61e746f5f..2a2cfc1b0 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1408CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1408CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules; - public class SA1408CSharp9UnitTests : SA1408CSharp8UnitTests + public partial class SA1408CSharp9UnitTests : SA1408CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1409CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1409CSharp9UnitTests.cs index ea7d92a1d..12fa23e5d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1409CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1409CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules; - public class SA1409CSharp9UnitTests : SA1409CSharp8UnitTests + public partial class SA1409CSharp9UnitTests : SA1409CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1410CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1410CSharp9UnitTests.cs index 822a497ac..694299619 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1410CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1410CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules; - public class SA1410CSharp9UnitTests : SA1410CSharp8UnitTests + public partial class SA1410CSharp9UnitTests : SA1410CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1411CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1411CSharp9UnitTests.cs index ad9a2e1e6..2312d84cb 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1411CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1411CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules; - public class SA1411CSharp9UnitTests : SA1411CSharp8UnitTests + public partial class SA1411CSharp9UnitTests : SA1411CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1412CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1412CSharp9UnitTests.cs index 40251ecd1..114e8b5bf 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1412CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1412CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules; - public class SA1412CSharp9UnitTests : SA1412CSharp8UnitTests + public partial class SA1412CSharp9UnitTests : SA1412CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1413CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1413CSharp9UnitTests.cs index d85368205..55a2ba77a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1413CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1413CSharp9UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules StyleCop.Analyzers.MaintainabilityRules.SA1413UseTrailingCommasInMultiLineInitializers, StyleCop.Analyzers.MaintainabilityRules.SA1413CodeFixProvider>; - public class SA1413CSharp9UnitTests : SA1413CSharp8UnitTests + public partial class SA1413CSharp9UnitTests : SA1413CSharp8UnitTests { [Fact] [WorkItem(3240, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3240")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1300CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1300CSharp9UnitTests.cs index c0af19fad..807826631 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1300CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1300CSharp9UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.NamingRules StyleCop.Analyzers.NamingRules.SA1300ElementMustBeginWithUpperCaseLetter, StyleCop.Analyzers.NamingRules.RenameToUpperCaseCodeFixProvider>; - public class SA1300CSharp9UnitTests : SA1300CSharp8UnitTests + public partial class SA1300CSharp9UnitTests : SA1300CSharp8UnitTests { [Fact] public async Task TestPositionalRecord1Async() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1301CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1301CSharp9UnitTests.cs index f6e49cf3e..79d4b522e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1301CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1301CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.NamingRules { using StyleCop.Analyzers.Test.CSharp8.NamingRules; - public class SA1301CSharp9UnitTests : SA1301CSharp8UnitTests + public partial class SA1301CSharp9UnitTests : SA1301CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1302CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1302CSharp9UnitTests.cs index 6cda83340..ec51d4795 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1302CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1302CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.NamingRules { using StyleCop.Analyzers.Test.CSharp8.NamingRules; - public class SA1302CSharp9UnitTests : SA1302CSharp8UnitTests + public partial class SA1302CSharp9UnitTests : SA1302CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1303CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1303CSharp9UnitTests.cs index 12c4e51ce..27a241c96 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1303CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1303CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.NamingRules { using StyleCop.Analyzers.Test.CSharp8.NamingRules; - public class SA1303CSharp9UnitTests : SA1303CSharp8UnitTests + public partial class SA1303CSharp9UnitTests : SA1303CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1304CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1304CSharp9UnitTests.cs index 9586e1b40..ad101998c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1304CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1304CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.NamingRules { using StyleCop.Analyzers.Test.CSharp8.NamingRules; - public class SA1304CSharp9UnitTests : SA1304CSharp8UnitTests + public partial class SA1304CSharp9UnitTests : SA1304CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1305CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1305CSharp9UnitTests.cs index 898ea15e2..655ccc857 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1305CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1305CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.NamingRules { using StyleCop.Analyzers.Test.CSharp8.NamingRules; - public class SA1305CSharp9UnitTests : SA1305CSharp8UnitTests + public partial class SA1305CSharp9UnitTests : SA1305CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1306CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1306CSharp9UnitTests.cs index 4db8cc07d..c7299a986 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1306CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1306CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.NamingRules { using StyleCop.Analyzers.Test.CSharp8.NamingRules; - public class SA1306CSharp9UnitTests : SA1306CSharp8UnitTests + public partial class SA1306CSharp9UnitTests : SA1306CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1307CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1307CSharp9UnitTests.cs index cbaca73c9..a9eab491f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1307CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1307CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.NamingRules { using StyleCop.Analyzers.Test.CSharp8.NamingRules; - public class SA1307CSharp9UnitTests : SA1307CSharp8UnitTests + public partial class SA1307CSharp9UnitTests : SA1307CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1308CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1308CSharp9UnitTests.cs index 68cf6a87e..4d341636f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1308CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1308CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.NamingRules { using StyleCop.Analyzers.Test.CSharp8.NamingRules; - public class SA1308CSharp9UnitTests : SA1308CSharp8UnitTests + public partial class SA1308CSharp9UnitTests : SA1308CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1309CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1309CSharp9UnitTests.cs index cfe570cf7..cf423d09b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1309CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1309CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.NamingRules { using StyleCop.Analyzers.Test.CSharp8.NamingRules; - public class SA1309CSharp9UnitTests : SA1309CSharp8UnitTests + public partial class SA1309CSharp9UnitTests : SA1309CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1310CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1310CSharp9UnitTests.cs index 5facd92ba..c579567ab 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1310CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1310CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.NamingRules { using StyleCop.Analyzers.Test.CSharp8.NamingRules; - public class SA1310CSharp9UnitTests : SA1310CSharp8UnitTests + public partial class SA1310CSharp9UnitTests : SA1310CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1311CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1311CSharp9UnitTests.cs index 575c783bf..084d13b66 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1311CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1311CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.NamingRules { using StyleCop.Analyzers.Test.CSharp8.NamingRules; - public class SA1311CSharp9UnitTests : SA1311CSharp8UnitTests + public partial class SA1311CSharp9UnitTests : SA1311CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1312CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1312CSharp9UnitTests.cs index 6c4457d0c..ab3ed34dd 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1312CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1312CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.NamingRules { using StyleCop.Analyzers.Test.CSharp8.NamingRules; - public class SA1312CSharp9UnitTests : SA1312CSharp8UnitTests + public partial class SA1312CSharp9UnitTests : SA1312CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1313CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1313CSharp9UnitTests.cs index 1ee1ef5ef..bd393fb24 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1313CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1313CSharp9UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.NamingRules StyleCop.Analyzers.NamingRules.SA1313ParameterNamesMustBeginWithLowerCaseLetter, StyleCop.Analyzers.NamingRules.RenameToLowerCaseCodeFixProvider>; - public class SA1313CSharp9UnitTests : SA1313CSharp8UnitTests + public partial class SA1313CSharp9UnitTests : SA1313CSharp8UnitTests { [Fact] [WorkItem(3168, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3168")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1314CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1314CSharp9UnitTests.cs index a0275475c..0bb8dd9b2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1314CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1314CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.NamingRules { using StyleCop.Analyzers.Test.CSharp8.NamingRules; - public class SA1314CSharp9UnitTests : SA1314CSharp8UnitTests + public partial class SA1314CSharp9UnitTests : SA1314CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1316CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1316CSharp9UnitTests.cs index ca674db13..33841ff19 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1316CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SA1316CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.NamingRules { using StyleCop.Analyzers.Test.CSharp8.NamingRules; - public class SA1316CSharp9UnitTests : SA1316CSharp8UnitTests + public partial class SA1316CSharp9UnitTests : SA1316CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SX1309CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SX1309CSharp9UnitTests.cs index 4b090c3bc..fadff3de8 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SX1309CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SX1309CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.NamingRules { using StyleCop.Analyzers.Test.CSharp8.NamingRules; - public class SX1309CSharp9UnitTests : SX1309CSharp8UnitTests + public partial class SX1309CSharp9UnitTests : SX1309CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SX1309SCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SX1309SCSharp9UnitTests.cs index 13286baf2..242e9cb7d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SX1309SCSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/NamingRules/SX1309SCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.NamingRules { using StyleCop.Analyzers.Test.CSharp8.NamingRules; - public class SX1309SCSharp9UnitTests : SX1309SCSharp8UnitTests + public partial class SX1309SCSharp9UnitTests : SX1309SCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200CSharp9UnitTests.cs index eb81ab3bc..43ec92e6c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200CSharp9UnitTests.cs @@ -15,7 +15,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules StyleCop.Analyzers.OrderingRules.SA1200UsingDirectivesMustBePlacedCorrectly, StyleCop.Analyzers.OrderingRules.UsingCodeFixProvider>; - public class SA1200CSharp9UnitTests : SA1200CSharp8UnitTests + public partial class SA1200CSharp9UnitTests : SA1200CSharp8UnitTests { /// /// Verifies that having using statements in the compilation unit will not produce diagnostics for top-level diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1201CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1201CSharp9UnitTests.cs index 859d7d657..616363bfc 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1201CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1201CSharp9UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules StyleCop.Analyzers.OrderingRules.SA1201ElementsMustAppearInTheCorrectOrder, StyleCop.Analyzers.OrderingRules.ElementOrderCodeFixProvider>; - public class SA1201CSharp9UnitTests : SA1201CSharp8UnitTests + public partial class SA1201CSharp9UnitTests : SA1201CSharp8UnitTests { [Fact] [WorkItem(3236, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3236")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1202CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1202CSharp9UnitTests.cs index 3f0486cc3..58553ae37 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1202CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1202CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules { using StyleCop.Analyzers.Test.CSharp8.OrderingRules; - public class SA1202CSharp9UnitTests : SA1202CSharp8UnitTests + public partial class SA1202CSharp9UnitTests : SA1202CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1203CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1203CSharp9UnitTests.cs index c6466ea4e..3312840e3 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1203CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1203CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules { using StyleCop.Analyzers.Test.CSharp8.OrderingRules; - public class SA1203CSharp9UnitTests : SA1203CSharp8UnitTests + public partial class SA1203CSharp9UnitTests : SA1203CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1204CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1204CSharp9UnitTests.cs index 1cce9def4..84fa227a9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1204CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1204CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules { using StyleCop.Analyzers.Test.CSharp8.OrderingRules; - public class SA1204CSharp9UnitTests : SA1204CSharp8UnitTests + public partial class SA1204CSharp9UnitTests : SA1204CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1205CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1205CSharp9UnitTests.cs index 511673a55..b3c4bb44b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1205CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1205CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules { using StyleCop.Analyzers.Test.CSharp8.OrderingRules; - public class SA1205CSharp9UnitTests : SA1205CSharp8UnitTests + public partial class SA1205CSharp9UnitTests : SA1205CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1206CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1206CSharp9UnitTests.cs index f7395456b..b302caedb 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1206CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1206CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules { using StyleCop.Analyzers.Test.CSharp8.OrderingRules; - public class SA1206CSharp9UnitTests : SA1206CSharp8UnitTests + public partial class SA1206CSharp9UnitTests : SA1206CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1207CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1207CSharp9UnitTests.cs index 3afb1f4ee..1fb71999c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1207CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1207CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules { using StyleCop.Analyzers.Test.CSharp8.OrderingRules; - public class SA1207CSharp9UnitTests : SA1207CSharp8UnitTests + public partial class SA1207CSharp9UnitTests : SA1207CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1208CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1208CSharp9UnitTests.cs index 1df0b2f82..0f1062e47 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1208CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1208CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules { using StyleCop.Analyzers.Test.CSharp8.OrderingRules; - public class SA1208CSharp9UnitTests : SA1208CSharp8UnitTests + public partial class SA1208CSharp9UnitTests : SA1208CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1209CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1209CSharp9UnitTests.cs index 7a00ed77c..8ec3e8ef2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1209CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1209CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules { using StyleCop.Analyzers.Test.CSharp8.OrderingRules; - public class SA1209CSharp9UnitTests : SA1209CSharp8UnitTests + public partial class SA1209CSharp9UnitTests : SA1209CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1210CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1210CSharp9UnitTests.cs index 946713f64..3040ffaf0 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1210CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1210CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules { using StyleCop.Analyzers.Test.CSharp8.OrderingRules; - public class SA1210CSharp9UnitTests : SA1210CSharp8UnitTests + public partial class SA1210CSharp9UnitTests : SA1210CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1211CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1211CSharp9UnitTests.cs index 8fac56b04..8a110a47d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1211CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1211CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules { using StyleCop.Analyzers.Test.CSharp8.OrderingRules; - public class SA1211CSharp9UnitTests : SA1211CSharp8UnitTests + public partial class SA1211CSharp9UnitTests : SA1211CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1212CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1212CSharp9UnitTests.cs index 9c0dfe925..43f070246 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1212CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1212CSharp9UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules StyleCop.Analyzers.OrderingRules.SA1212PropertyAccessorsMustFollowOrder, StyleCop.Analyzers.OrderingRules.SA1212SA1213CodeFixProvider>; - public class SA1212CSharp9UnitTests : SA1212CSharp8UnitTests + public partial class SA1212CSharp9UnitTests : SA1212CSharp8UnitTests { [Fact] [WorkItem(3652, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3652")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1213CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1213CSharp9UnitTests.cs index 89ad1cd3c..5c3b4bb79 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1213CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1213CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules { using StyleCop.Analyzers.Test.CSharp8.OrderingRules; - public class SA1213CSharp9UnitTests : SA1213CSharp8UnitTests + public partial class SA1213CSharp9UnitTests : SA1213CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1214CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1214CSharp9UnitTests.cs index 4ba451e2d..d829a2505 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1214CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1214CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules { using StyleCop.Analyzers.Test.CSharp8.OrderingRules; - public class SA1214CSharp9UnitTests : SA1214CSharp8UnitTests + public partial class SA1214CSharp9UnitTests : SA1214CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1215CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1215CSharp9UnitTests.cs index 21611be9d..fc3a8ec56 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1215CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1215CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules { using StyleCop.Analyzers.Test.CSharp8.OrderingRules; - public class SA1215CSharp9UnitTests : SA1215CSharp8UnitTests + public partial class SA1215CSharp9UnitTests : SA1215CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1216CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1216CSharp9UnitTests.cs index 94964fa31..237d650ac 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1216CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1216CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules { using StyleCop.Analyzers.Test.CSharp8.OrderingRules; - public class SA1216CSharp9UnitTests : SA1216CSharp8UnitTests + public partial class SA1216CSharp9UnitTests : SA1216CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1217CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1217CSharp9UnitTests.cs index 9c2f943a0..f8901ef69 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1217CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1217CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules { using StyleCop.Analyzers.Test.CSharp8.OrderingRules; - public class SA1217CSharp9UnitTests : SA1217CSharp8UnitTests + public partial class SA1217CSharp9UnitTests : SA1217CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1100CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1100CSharp9UnitTests.cs index eaa1f713c..1795fc2f2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1100CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1100CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1100CSharp9UnitTests : SA1100CSharp8UnitTests + public partial class SA1100CSharp9UnitTests : SA1100CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1101CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1101CSharp9UnitTests.cs index b9ac5d103..a9119a89a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1101CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1101CSharp9UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules StyleCop.Analyzers.ReadabilityRules.SA1101PrefixLocalCallsWithThis, StyleCop.Analyzers.ReadabilityRules.SA1101CodeFixProvider>; - public class SA1101CSharp9UnitTests : SA1101CSharp8UnitTests + public partial class SA1101CSharp9UnitTests : SA1101CSharp8UnitTests { [Fact] [WorkItem(3201, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3201")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1102CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1102CSharp9UnitTests.cs index f14ad392c..0f01dcde2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1102CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1102CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1102CSharp9UnitTests : SA1102CSharp8UnitTests + public partial class SA1102CSharp9UnitTests : SA1102CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1103CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1103CSharp9UnitTests.cs index 72623deef..9a5482322 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1103CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1103CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1103CSharp9UnitTests : SA1103CSharp8UnitTests + public partial class SA1103CSharp9UnitTests : SA1103CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1104CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1104CSharp9UnitTests.cs index c37223f24..78cf8b5d9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1104CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1104CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1104CSharp9UnitTests : SA1104CSharp8UnitTests + public partial class SA1104CSharp9UnitTests : SA1104CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1105CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1105CSharp9UnitTests.cs index 285a622ab..371e01df1 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1105CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1105CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1105CSharp9UnitTests : SA1105CSharp8UnitTests + public partial class SA1105CSharp9UnitTests : SA1105CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1106CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1106CSharp9UnitTests.cs index ad65e7e6c..969675841 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1106CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1106CSharp9UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules StyleCop.Analyzers.ReadabilityRules.SA1106CodeMustNotContainEmptyStatements, StyleCop.Analyzers.ReadabilityRules.SA1106CodeFixProvider>; - public class SA1106CSharp9UnitTests : SA1106CSharp8UnitTests + public partial class SA1106CSharp9UnitTests : SA1106CSharp8UnitTests { [Fact] [WorkItem(3267, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3267")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1107CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1107CSharp9UnitTests.cs index 5f4669c49..dbcd22a35 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1107CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1107CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1107CSharp9UnitTests : SA1107CSharp8UnitTests + public partial class SA1107CSharp9UnitTests : SA1107CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1108CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1108CSharp9UnitTests.cs index bd4081f53..de9d34404 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1108CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1108CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1108CSharp9UnitTests : SA1108CSharp8UnitTests + public partial class SA1108CSharp9UnitTests : SA1108CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1109CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1109CSharp9UnitTests.cs index 12269a1ed..02ce8f582 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1109CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1109CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1109CSharp9UnitTests : SA1109CSharp8UnitTests + public partial class SA1109CSharp9UnitTests : SA1109CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1110CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1110CSharp9UnitTests.cs index a3237a5f5..bdaa844bf 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1110CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1110CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1110CSharp9UnitTests : SA1110CSharp8UnitTests + public partial class SA1110CSharp9UnitTests : SA1110CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1111CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1111CSharp9UnitTests.cs index 49be8fe43..e7e70f249 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1111CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1111CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1111CSharp9UnitTests : SA1111CSharp8UnitTests + public partial class SA1111CSharp9UnitTests : SA1111CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1112CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1112CSharp9UnitTests.cs index e38fbe135..bf9db5d84 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1112CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1112CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1112CSharp9UnitTests : SA1112CSharp8UnitTests + public partial class SA1112CSharp9UnitTests : SA1112CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1113CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1113CSharp9UnitTests.cs index 5469355d0..82adbfd74 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1113CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1113CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1113CSharp9UnitTests : SA1113CSharp8UnitTests + public partial class SA1113CSharp9UnitTests : SA1113CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1114CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1114CSharp9UnitTests.cs index 89b4b2121..19b0020ef 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1114CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1114CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1114CSharp9UnitTests : SA1114CSharp8UnitTests + public partial class SA1114CSharp9UnitTests : SA1114CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1115CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1115CSharp9UnitTests.cs index beedf5da6..ec76a95a4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1115CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1115CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1115CSharp9UnitTests : SA1115CSharp8UnitTests + public partial class SA1115CSharp9UnitTests : SA1115CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1116CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1116CSharp9UnitTests.cs index 8c5ca31f5..a4930b508 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1116CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1116CSharp9UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules StyleCop.Analyzers.ReadabilityRules.SA1116SplitParametersMustStartOnLineAfterDeclaration, StyleCop.Analyzers.ReadabilityRules.SA1116CodeFixProvider>; - public class SA1116CSharp9UnitTests : SA1116CSharp8UnitTests + public partial class SA1116CSharp9UnitTests : SA1116CSharp8UnitTests { [Fact] public async Task TestTargetTypedNewExpressionnAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1117CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1117CSharp9UnitTests.cs index 9ffb51099..ed4d3796d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1117CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1117CSharp9UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules using Xunit; using static StyleCop.Analyzers.Test.Verifiers.StyleCopDiagnosticVerifier; - public class SA1117CSharp9UnitTests : SA1117CSharp8UnitTests + public partial class SA1117CSharp9UnitTests : SA1117CSharp8UnitTests { [Fact] public async Task TestValidTargetTypedNewExpressionAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1118CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1118CSharp9UnitTests.cs index ded3a7f7b..bb3bc1896 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1118CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1118CSharp9UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules using Xunit; using static StyleCop.Analyzers.Test.Verifiers.StyleCopDiagnosticVerifier; - public class SA1118CSharp9UnitTests : SA1118CSharp8UnitTests + public partial class SA1118CSharp9UnitTests : SA1118CSharp8UnitTests { [Fact] [WorkItem(3314, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3314")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1120CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1120CSharp9UnitTests.cs index 0a6e7d875..881207182 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1120CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1120CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1120CSharp9UnitTests : SA1120CSharp8UnitTests + public partial class SA1120CSharp9UnitTests : SA1120CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1121CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1121CSharp9UnitTests.cs index 12d822d70..9665cfbe1 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1121CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1121CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1121CSharp9UnitTests : SA1121CSharp8UnitTests + public partial class SA1121CSharp9UnitTests : SA1121CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1122CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1122CSharp9UnitTests.cs index a7c4e7938..1005f153a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1122CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1122CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1122CSharp9UnitTests : SA1122CSharp8UnitTests + public partial class SA1122CSharp9UnitTests : SA1122CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1123CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1123CSharp9UnitTests.cs index 3201e6c3b..b4eb606d2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1123CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1123CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1123CSharp9UnitTests : SA1123CSharp8UnitTests + public partial class SA1123CSharp9UnitTests : SA1123CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1124CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1124CSharp9UnitTests.cs index 9dfaa08a7..67b45d4bc 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1124CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1124CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1124CSharp9UnitTests : SA1124CSharp8UnitTests + public partial class SA1124CSharp9UnitTests : SA1124CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1125CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1125CSharp9UnitTests.cs index 1ffb22f4f..ebf7ab1ef 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1125CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1125CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1125CSharp9UnitTests : SA1125CSharp8UnitTests + public partial class SA1125CSharp9UnitTests : SA1125CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1126CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1126CSharp9UnitTests.cs index 2ce61dd7e..959cfd1b3 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1126CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1126CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1126CSharp9UnitTests : SA1126CSharp8UnitTests + public partial class SA1126CSharp9UnitTests : SA1126CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1127CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1127CSharp9UnitTests.cs index b47bac9e0..eaa44aa08 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1127CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1127CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1127CSharp9UnitTests : SA1127CSharp8UnitTests + public partial class SA1127CSharp9UnitTests : SA1127CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1128CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1128CSharp9UnitTests.cs index 853b5e0c9..5d5d8560c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1128CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1128CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1128CSharp9UnitTests : SA1128CSharp8UnitTests + public partial class SA1128CSharp9UnitTests : SA1128CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1129CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1129CSharp9UnitTests.cs index 53fba57ec..acd31096d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1129CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1129CSharp9UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules StyleCop.Analyzers.ReadabilityRules.SA1129DoNotUseDefaultValueTypeConstructor, StyleCop.Analyzers.ReadabilityRules.SA1129CodeFixProvider>; - public class SA1129CSharp9UnitTests : SA1129CSharp8UnitTests + public partial class SA1129CSharp9UnitTests : SA1129CSharp8UnitTests { /// /// Verifies that target type new expressions for value types will generate diagnostics. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1130CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1130CSharp9UnitTests.cs index 635d7b214..63f1dbf7c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1130CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1130CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1130CSharp9UnitTests : SA1130CSharp8UnitTests + public partial class SA1130CSharp9UnitTests : SA1130CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1131CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1131CSharp9UnitTests.cs index 85fe37960..b94388896 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1131CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1131CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1131CSharp9UnitTests : SA1131CSharp8UnitTests + public partial class SA1131CSharp9UnitTests : SA1131CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1132CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1132CSharp9UnitTests.cs index cdbcfc367..ce03e3d7b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1132CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1132CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1132CSharp9UnitTests : SA1132CSharp8UnitTests + public partial class SA1132CSharp9UnitTests : SA1132CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1133CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1133CSharp9UnitTests.cs index 73d416d81..bcabb4b39 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1133CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1133CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1133CSharp9UnitTests : SA1133CSharp8UnitTests + public partial class SA1133CSharp9UnitTests : SA1133CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1134CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1134CSharp9UnitTests.cs index 7f97e088e..ca447ba18 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1134CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1134CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1134CSharp9UnitTests : SA1134CSharp8UnitTests + public partial class SA1134CSharp9UnitTests : SA1134CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1135CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1135CSharp9UnitTests.cs index 6d948b3a1..9f123d60f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1135CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1135CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1135CSharp9UnitTests : SA1135CSharp8UnitTests + public partial class SA1135CSharp9UnitTests : SA1135CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1136CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1136CSharp9UnitTests.cs index b5d36f080..dac63c600 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1136CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1136CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1136CSharp9UnitTests : SA1136CSharp8UnitTests + public partial class SA1136CSharp9UnitTests : SA1136CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1137CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1137CSharp9UnitTests.cs index 1093df5b3..6ca2964f4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1137CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1137CSharp9UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules StyleCop.Analyzers.ReadabilityRules.SA1137ElementsShouldHaveTheSameIndentation, StyleCop.Analyzers.ReadabilityRules.IndentationCodeFixProvider>; - public class SA1137CSharp9UnitTests : SA1137CSharp8UnitTests + public partial class SA1137CSharp9UnitTests : SA1137CSharp8UnitTests { [Fact] [WorkItem(3668, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3668")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1139CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1139CSharp9UnitTests.cs index 517798cae..48f2bc49e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1139CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1139CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SA1139CSharp9UnitTests : SA1139CSharp8UnitTests + public partial class SA1139CSharp9UnitTests : SA1139CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SX1101CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SX1101CSharp9UnitTests.cs index 67381edd6..8a79a21dc 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SX1101CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SX1101CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules { using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; - public class SX1101CSharp9UnitTests : SX1101CSharp8UnitTests + public partial class SX1101CSharp9UnitTests : SX1101CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Settings/SettingsCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Settings/SettingsCSharp9UnitTests.cs index babedc423..281ade82c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Settings/SettingsCSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Settings/SettingsCSharp9UnitTests.cs @@ -9,7 +9,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.Settings using Microsoft.CodeAnalysis.Diagnostics; using StyleCop.Analyzers.Test.CSharp8.Settings; - public class SettingsCSharp9UnitTests : SettingsCSharp8UnitTests + public partial class SettingsCSharp9UnitTests : SettingsCSharp8UnitTests { protected override AnalyzerConfigOptionsProvider CreateAnalyzerConfigOptionsProvider(AnalyzerConfigSet analyzerConfigSet) { diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Settings/SettingsFileCodeFixProviderCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Settings/SettingsFileCodeFixProviderCSharp9UnitTests.cs index 55d2ecc8e..12ce04a9f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Settings/SettingsFileCodeFixProviderCSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Settings/SettingsFileCodeFixProviderCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.Settings { using StyleCop.Analyzers.Test.CSharp8.Settings; - public class SettingsFileCodeFixProviderCSharp9UnitTests : SettingsFileCodeFixProviderCSharp8UnitTests + public partial class SettingsFileCodeFixProviderCSharp9UnitTests : SettingsFileCodeFixProviderCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1000CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1000CSharp9UnitTests.cs index e6c690bb7..51a427fca 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1000CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1000CSharp9UnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules StyleCop.Analyzers.SpacingRules.SA1000KeywordsMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1000CSharp9UnitTests : SA1000CSharp8UnitTests + public partial class SA1000CSharp9UnitTests : SA1000CSharp8UnitTests { [Fact] public async Task TestTargetTypedNewAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1001CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1001CSharp9UnitTests.cs index b9b6deb9b..56ba3dfa3 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1001CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1001CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1001CSharp9UnitTests : SA1001CSharp8UnitTests + public partial class SA1001CSharp9UnitTests : SA1001CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1002CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1002CSharp9UnitTests.cs index c3db0b908..0d2ae80b7 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1002CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1002CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1002CSharp9UnitTests : SA1002CSharp8UnitTests + public partial class SA1002CSharp9UnitTests : SA1002CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1003CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1003CSharp9UnitTests.cs index b25635614..2133f5b93 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1003CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1003CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1003CSharp9UnitTests : SA1003CSharp8UnitTests + public partial class SA1003CSharp9UnitTests : SA1003CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1004CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1004CSharp9UnitTests.cs index 8e3eaf18a..c956325cb 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1004CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1004CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1004CSharp9UnitTests : SA1004CSharp8UnitTests + public partial class SA1004CSharp9UnitTests : SA1004CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1005CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1005CSharp9UnitTests.cs index bd4add197..84cd58bee 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1005CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1005CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1005CSharp9UnitTests : SA1005CSharp8UnitTests + public partial class SA1005CSharp9UnitTests : SA1005CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1006CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1006CSharp9UnitTests.cs index 09c6d70e3..57bdd822d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1006CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1006CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1006CSharp9UnitTests : SA1006CSharp8UnitTests + public partial class SA1006CSharp9UnitTests : SA1006CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1007CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1007CSharp9UnitTests.cs index 90dc68ef7..92d78012d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1007CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1007CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1007CSharp9UnitTests : SA1007CSharp8UnitTests + public partial class SA1007CSharp9UnitTests : SA1007CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1008CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1008CSharp9UnitTests.cs index 76cbe2dd1..d300c7c05 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1008CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1008CSharp9UnitTests.cs @@ -15,7 +15,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules StyleCop.Analyzers.SpacingRules.SA1008OpeningParenthesisMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1008CSharp9UnitTests : SA1008CSharp8UnitTests + public partial class SA1008CSharp9UnitTests : SA1008CSharp8UnitTests { [Fact] [WorkItem(3230, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3230")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1009CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1009CSharp9UnitTests.cs index 2649408d7..73cbb50ff 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1009CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1009CSharp9UnitTests.cs @@ -15,7 +15,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules StyleCop.Analyzers.SpacingRules.SA1009ClosingParenthesisMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1009CSharp9UnitTests : SA1009CSharp8UnitTests + public partial class SA1009CSharp9UnitTests : SA1009CSharp8UnitTests { [Fact] [WorkItem(3248, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3248")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1010CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1010CSharp9UnitTests.cs index 5803c17a2..6ad3b9386 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1010CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1010CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1010CSharp9UnitTests : SA1010CSharp8UnitTests + public partial class SA1010CSharp9UnitTests : SA1010CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1011CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1011CSharp9UnitTests.cs index 86f931220..15b1f27cf 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1011CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1011CSharp9UnitTests.cs @@ -13,7 +13,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules StyleCop.Analyzers.SpacingRules.SA1011ClosingSquareBracketsMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1011CSharp9UnitTests : SA1011CSharp8UnitTests + public partial class SA1011CSharp9UnitTests : SA1011CSharp8UnitTests { [Fact] public async Task TestFunctionPointerUnmanagedCallingConventionListAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1012CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1012CSharp9UnitTests.cs index f22d36385..04b304c3d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1012CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1012CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1012CSharp9UnitTests : SA1012CSharp8UnitTests + public partial class SA1012CSharp9UnitTests : SA1012CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1013CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1013CSharp9UnitTests.cs index e4dddd431..b92b7c80e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1013CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1013CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1013CSharp9UnitTests : SA1013CSharp8UnitTests + public partial class SA1013CSharp9UnitTests : SA1013CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1014CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1014CSharp9UnitTests.cs index dd5dcea63..e845e887b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1014CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1014CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1014CSharp9UnitTests : SA1014CSharp8UnitTests + public partial class SA1014CSharp9UnitTests : SA1014CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1015CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1015CSharp9UnitTests.cs index a72fe1070..32c4a9ca1 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1015CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1015CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1015CSharp9UnitTests : SA1015CSharp8UnitTests + public partial class SA1015CSharp9UnitTests : SA1015CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1016CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1016CSharp9UnitTests.cs index 48442f621..8e6e97e62 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1016CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1016CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1016CSharp9UnitTests : SA1016CSharp8UnitTests + public partial class SA1016CSharp9UnitTests : SA1016CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1017CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1017CSharp9UnitTests.cs index 6dc7ac48c..2b7633076 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1017CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1017CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1017CSharp9UnitTests : SA1017CSharp8UnitTests + public partial class SA1017CSharp9UnitTests : SA1017CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1018CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1018CSharp9UnitTests.cs index ce1aef2a0..a5b4b696d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1018CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1018CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1018CSharp9UnitTests : SA1018CSharp8UnitTests + public partial class SA1018CSharp9UnitTests : SA1018CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1019CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1019CSharp9UnitTests.cs index 646be0388..e610e85cb 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1019CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1019CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1019CSharp9UnitTests : SA1019CSharp8UnitTests + public partial class SA1019CSharp9UnitTests : SA1019CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1020CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1020CSharp9UnitTests.cs index 65e0ac33a..31abd189f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1020CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1020CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1020CSharp9UnitTests : SA1020CSharp8UnitTests + public partial class SA1020CSharp9UnitTests : SA1020CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1021CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1021CSharp9UnitTests.cs index 89cbe81b0..c339c1f76 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1021CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1021CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1021CSharp9UnitTests : SA1021CSharp8UnitTests + public partial class SA1021CSharp9UnitTests : SA1021CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1022CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1022CSharp9UnitTests.cs index 7e076ede5..ebaafcc68 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1022CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1022CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1022CSharp9UnitTests : SA1022CSharp8UnitTests + public partial class SA1022CSharp9UnitTests : SA1022CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1023CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1023CSharp9UnitTests.cs index 2ca8514ae..5f06c79df 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1023CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1023CSharp9UnitTests.cs @@ -13,7 +13,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules StyleCop.Analyzers.SpacingRules.SA1023DereferenceAndAccessOfSymbolsMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1023CSharp9UnitTests : SA1023CSharp8UnitTests + public partial class SA1023CSharp9UnitTests : SA1023CSharp8UnitTests { [Fact] public async Task TestFunctionPointerParameterInvalidSpacingAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1024CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1024CSharp9UnitTests.cs index 2f328bd67..f4627c9b6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1024CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1024CSharp9UnitTests.cs @@ -15,7 +15,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules StyleCop.Analyzers.SpacingRules.SA1024ColonsMustBeSpacedCorrectly, StyleCop.Analyzers.SpacingRules.TokenSpacingCodeFixProvider>; - public class SA1024CSharp9UnitTests : SA1024CSharp8UnitTests + public partial class SA1024CSharp9UnitTests : SA1024CSharp8UnitTests { [Fact] [WorkItem(3248, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3248")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1025CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1025CSharp9UnitTests.cs index 1c76708ef..1cfa321e6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1025CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1025CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1025CSharp9UnitTests : SA1025CSharp8UnitTests + public partial class SA1025CSharp9UnitTests : SA1025CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1026CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1026CSharp9UnitTests.cs index ce7a205f4..aeb7b5490 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1026CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1026CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1026CSharp9UnitTests : SA1026CSharp8UnitTests + public partial class SA1026CSharp9UnitTests : SA1026CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1027AlternateIndentationCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1027AlternateIndentationCSharp9UnitTests.cs index 3b18b260e..a70063c9b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1027AlternateIndentationCSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1027AlternateIndentationCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1027AlternateIndentationCSharp9UnitTests : SA1027AlternateIndentationCSharp8UnitTests + public partial class SA1027AlternateIndentationCSharp9UnitTests : SA1027AlternateIndentationCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1027CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1027CSharp9UnitTests.cs index 11f3a4402..9982c1bfc 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1027CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1027CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1027CSharp9UnitTests : SA1027CSharp8UnitTests + public partial class SA1027CSharp9UnitTests : SA1027CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1027UseTabsCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1027UseTabsCSharp9UnitTests.cs index cfe1371a2..80dc2d812 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1027UseTabsCSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1027UseTabsCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1027UseTabsCSharp9UnitTests : SA1027UseTabsCSharp8UnitTests + public partial class SA1027UseTabsCSharp9UnitTests : SA1027UseTabsCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1028CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1028CSharp9UnitTests.cs index 4d60028b1..77b46935e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1028CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1028CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { using StyleCop.Analyzers.Test.CSharp8.SpacingRules; - public class SA1028CSharp9UnitTests : SA1028CSharp8UnitTests + public partial class SA1028CSharp9UnitTests : SA1028CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpecialRules/SA0001CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpecialRules/SA0001CSharp9UnitTests.cs index 5013d4599..bd8502e52 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpecialRules/SA0001CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpecialRules/SA0001CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpecialRules { using StyleCop.Analyzers.Test.CSharp8.SpecialRules; - public class SA0001CSharp9UnitTests : SA0001CSharp8UnitTests + public partial class SA0001CSharp9UnitTests : SA0001CSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpecialRules/SA0002CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpecialRules/SA0002CSharp9UnitTests.cs index 04cb0dbd7..54d572c75 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpecialRules/SA0002CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpecialRules/SA0002CSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpecialRules { using StyleCop.Analyzers.Test.CSharp8.SpecialRules; - public class SA0002CSharp9UnitTests : SA0002CSharp8UnitTests + public partial class SA0002CSharp9UnitTests : SA0002CSharp8UnitTests { } } From dc41c135b1855b9f765625091eea1438c4ce6cf7 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Thu, 28 Sep 2023 17:18:24 -0500 Subject: [PATCH 12/36] Add missing test files and fix inheritance --- .../MaintainabilityRules/SA1414CSharp10UnitTests.cs | 11 +++++++++++ .../ReadabilityRules/SA1141CSharp10UnitTests.cs | 11 +++++++++++ .../ReadabilityRules/SA1142CSharp10UnitTests.cs | 11 +++++++++++ .../MaintainabilityRules/SA1414CSharp11UnitTests.cs | 11 +++++++++++ .../ReadabilityRules/SA1141CSharp11UnitTests.cs | 11 +++++++++++ .../ReadabilityRules/SA1142CSharp11UnitTests.cs | 11 +++++++++++ .../ReadabilityRules/SA1141CSharp7UnitTests.cs | 3 ++- .../MaintainabilityRules/SA1414CSharp8UnitTests.cs | 11 +++++++++++ .../ReadabilityRules/SA1141CSharp8UnitTests.cs | 11 +++++++++++ .../ReadabilityRules/SA1142CSharp8UnitTests.cs | 11 +++++++++++ .../MaintainabilityRules/SA1414CSharp9UnitTests.cs | 11 +++++++++++ .../ReadabilityRules/SA1141CSharp9UnitTests.cs | 11 +++++++++++ .../ReadabilityRules/SA1142CSharp9UnitTests.cs | 11 +++++++++++ .../ReadabilityRules/SA1141UnitTests.cs | 8 ++++---- 14 files changed, 138 insertions(+), 5 deletions(-) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1414CSharp10UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1141CSharp10UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/ReadabilityRules/SA1142CSharp10UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1414CSharp11UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1141CSharp11UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/ReadabilityRules/SA1142CSharp11UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1414CSharp8UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1141CSharp8UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1142CSharp8UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1414CSharp9UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1141CSharp9UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1142CSharp9UnitTests.cs 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/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.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/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.CSharp7/ReadabilityRules/SA1141CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1141CSharp7UnitTests.cs index d6512d47d..5da606afa 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1141CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1141CSharp7UnitTests.cs @@ -9,6 +9,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules using System.Threading.Tasks; using Microsoft.CodeAnalysis.Testing; using StyleCop.Analyzers.ReadabilityRules; + using StyleCop.Analyzers.Test.ReadabilityRules; using Xunit; using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier< StyleCop.Analyzers.ReadabilityRules.SA1141UseTupleSyntax, @@ -19,7 +20,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules /// /// /// - public class SA1141CSharp7UnitTests + public partial class SA1141CSharp7UnitTests : SA1141UnitTests { /// /// Verifies that member declarations containing ValueTuple will result in the proper diagnostics and fixes. diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1414CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1414CSharp8UnitTests.cs new file mode 100644 index 000000000..db729916b --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1414CSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules +{ + using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules; + + public partial class SA1414CSharp8UnitTests : SA1414CSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1141CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1141CSharp8UnitTests.cs new file mode 100644 index 000000000..ea6bd3028 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1141CSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules +{ + using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; + + public partial class SA1141CSharp8UnitTests : SA1141CSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1142CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1142CSharp8UnitTests.cs new file mode 100644 index 000000000..300ada9d2 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1142CSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules +{ + using StyleCop.Analyzers.Test.CSharp7.ReadabilityRules; + + public partial class SA1142CSharp8UnitTests : SA1142CSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1414CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1414CSharp9UnitTests.cs new file mode 100644 index 000000000..f46a3c407 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1414CSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules +{ + using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules; + + public partial class SA1414CSharp9UnitTests : SA1414CSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1141CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1141CSharp9UnitTests.cs new file mode 100644 index 000000000..4c9eb72fb --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1141CSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules +{ + using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; + + public partial class SA1141CSharp9UnitTests : SA1141CSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1142CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1142CSharp9UnitTests.cs new file mode 100644 index 000000000..9ea8e90b9 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1142CSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules +{ + using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules; + + public partial class SA1142CSharp9UnitTests : SA1142CSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1141UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1141UnitTests.cs index b83db66a3..2e2e8d2b5 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1141UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1141UnitTests.cs @@ -1,13 +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. -#nullable disable - namespace StyleCop.Analyzers.Test.ReadabilityRules { using System; using System.Threading; using System.Threading.Tasks; + using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Testing; using StyleCop.Analyzers.ReadabilityRules; using Xunit; @@ -23,7 +22,8 @@ namespace StyleCop.Analyzers.Test.ReadabilityRules public class SA1141UnitTests { /// - /// Verifies that usage of will not produce a diagnostic. + /// Verifies that usage of will not produce a diagnostic when the language + /// version is restricted to C# 6. /// /// A representing the asynchronous operation. [Fact] @@ -42,7 +42,7 @@ public class TestClass } "; - await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false); + await VerifyCSharpDiagnosticAsync(LanguageVersion.CSharp6, testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false); } //// TODO: Make sure that all paths are covered! From d1d8ee998642876665f87b7b2fafe8550f33d608 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Thu, 28 Sep 2023 14:22:12 -0500 Subject: [PATCH 13/36] Generate derived test classes --- .../StyleCop.Analyzers.CodeGeneration.csproj | 3 +- .../DerivedTestGenerator.cs | 167 ++++++++++++++++++ .../IncludeTestClassesAnalyzer.cs | 156 ++++++++++++++++ .../PrivateDiagnosticIds.cs | 13 ++ ...StyleCop.Analyzers.PrivateAnalyzers.csproj | 31 ++++ ...StyleCop.Analyzers.PrivateCodeFixes.csproj | 43 +++++ ...AnalyzerConfigurationCSharp10UnitTests.cs} | 2 +- ...ritdocCodeFixProviderCSharp10UnitTests.cs} | 2 +- ...cs => NoXmlFileHeaderCSharp10UnitTests.cs} | 2 +- ... => SymbolNameHelpersCSharp10UnitTests.cs} | 2 +- ... => SA1516UsingGroupsCSharp10UnitTests.cs} | 2 +- ...rationSyntaxExtensionsCSharp10UnitTests.cs | 11 ++ ...gumentSyntaxExtensionsCSharp10UnitTests.cs | 11 ++ ...rationSyntaxExtensionsCSharp10UnitTests.cs | 11 ++ ...itchLabelSyntaxWrapperCSharp10UnitTests.cs | 11 ++ ...StatementSyntaxWrapperCSharp10UnitTests.cs | 11 ++ ...tPatternSyntaxWrapperCSharp10UnitTests.cs} | 2 +- ...rationSyntaxExtensionsCSharp10UnitTests.cs | 11 ++ ...eclarationSyntaxExtensionsTestsCSharp10.cs | 11 -- ...meterSyntaxExtensionsCSharp10UnitTests.cs} | 2 +- ...xpressionSyntaxWrapperCSharp10UnitTests.cs | 11 ++ ...onPatternSyntaxWrapperCSharp10UnitTests.cs | 11 ++ ...rationSyntaxExtensionsCSharp10UnitTests.cs | 11 ++ ...eclarationSyntaxExtensionsTestsCSharp10.cs | 11 -- ...signationSyntaxWrapperCSharp10UnitTests.cs | 11 ++ ...rdDesignationSyntaxWrapperTestsCSharp10.cs | 11 -- ...xpressionSyntaxWrapperCSharp10UnitTests.cs | 11 ++ ...ionExpressionSyntaxWrapperTestsCSharp10.cs | 11 -- ...xpressionSyntaxWrapperCSharp10UnitTests.cs | 11 ++ ...ernExpressionSyntaxWrapperTestsCSharp10.cs | 11 -- ... => LanguageVersionExCSharp10UnitTests.cs} | 2 +- ....cs => LightupHelpersCSharp10UnitTests.cs} | 2 +- ...StatementSyntaxWrapperCSharp10UnitTests.cs | 11 ++ ...tionStatementSyntaxWrapperTestsCSharp10.cs | 11 -- ...10.cs => MethodKindExCSharp10UnitTests.cs} | 2 +- .../OperationKindExCSharp10UnitTests.cs | 11 ++ ...signationSyntaxWrapperCSharp10UnitTests.cs | 11 ++ ...leDesignationSyntaxWrapperTestsCSharp10.cs | 11 -- ... PatternSyntaxWrapperCSharp10UnitTests.cs} | 2 +- .../PatternSyntaxWrapperTestsCSharp10.cs | 11 -- ...pressionSyntaxWrapperCSharp10UnitTests.cs} | 2 +- ...RefExpressionSyntaxWrapperTestsCSharp10.cs | 11 -- .../RefTypeSyntaxWrapperCSharp10UnitTests.cs | 11 ++ .../RefTypeSyntaxWrapperTestsCSharp10.cs | 11 -- ...signationSyntaxWrapperCSharp10UnitTests.cs | 11 ++ ...leDesignationSyntaxWrapperTestsCSharp10.cs | 11 -- ...essionSyntaxExtensionsCSharp10UnitTests.cs | 11 ++ ...ExpressionSyntaxExtensionsTestsCSharp10.cs | 11 -- ...essionArmSyntaxWrapperCSharp10UnitTests.cs | 11 ++ ...ExpressionArmSyntaxWrapperTestsCSharp10.cs | 11 -- ...xpressionSyntaxWrapperCSharp10UnitTests.cs | 11 ++ ...tchExpressionSyntaxWrapperTestsCSharp10.cs | 11 -- ...10.cs => SyntaxKindExCSharp10UnitTests.cs} | 2 +- .../Lightup/SyntaxKindExTestsCSharp10.cs | 11 -- ...0.cs => SyntaxWrapperCSharp10UnitTests.cs} | 2 +- .../SyntaxWrapperHelperCSharp10UnitTests.cs | 11 ++ .../SyntaxWrapperHelperTestsCSharp10.cs | 11 -- .../Lightup/SyntaxWrapperTestsCSharp10.cs | 11 -- ...pressionSyntaxWrapperCSharp10UnitTests.cs} | 2 +- ...rowExpressionSyntaxWrapperTestsCSharp10.cs | 11 -- ...leElementSyntaxWrapperCSharp10UnitTests.cs | 11 ++ .../TupleElementSyntaxWrapperTestsCSharp10.cs | 11 -- ...pressionSyntaxWrapperCSharp10UnitTests.cs} | 2 +- ...pleExpressionSyntaxWrapperTestsCSharp10.cs | 11 -- ...upleTypeSyntaxWrapperCSharp10UnitTests.cs} | 2 +- .../TupleTypeSyntaxWrapperTestsCSharp10.cs | 11 -- ...signationSyntaxWrapperCSharp10UnitTests.cs | 11 ++ ...leDesignationSyntaxWrapperTestsCSharp10.cs | 11 -- ...enClauseSyntaxWrapperCSharp10UnitTests.cs} | 2 +- .../WhenClauseSyntaxWrapperTestsCSharp10.cs | 11 -- .../SA1402CSharp10ForStructUnitTests.cs | 11 -- ....cs => SA1402ForClassCSharp10UnitTests.cs} | 2 +- ... => SA1402ForDelegateCSharp10UnitTests.cs} | 2 +- ...s.cs => SA1402ForEnumCSharp10UnitTests.cs} | 2 +- .../SA1402ForInterfaceCSharp10UnitTests.cs | 11 ++ ...cs => SA1402ForRecordCSharp10UnitTests.cs} | 2 +- ... SA1402ForRecordClassCSharp10UnitTests.cs} | 2 +- ...SA1402ForRecordStructCSharp10UnitTests.cs} | 2 +- ...cs => SA1402ForStructCSharp10UnitTests.cs} | 2 +- ...A1200OutsideNamespaceCSharp10UnitTests.cs} | 2 +- ....cs => SA1200PreserveCSharp10UnitTests.cs} | 2 +- ...SA1206CodeFixProviderCSharp10UnitTests.cs} | 2 +- ...binedSystemDirectivesCSharp10UnitTests.cs} | 2 +- ... UsingCodeFixProviderCSharp10UnitTests.cs} | 2 +- ...binedSystemDirectivesCSharp10UnitTests.cs} | 2 +- ...oviderGroupSeparationCSharp10UnitTests.cs} | 2 +- ...FixProviderRegressionCSharp10UnitTests.cs} | 2 +- .../StyleCop.Analyzers.Test.CSharp10.csproj | 1 + ...AnalyzerConfigurationCSharp11UnitTests.cs} | 2 +- ...ritdocCodeFixProviderCSharp11UnitTests.cs} | 2 +- ...cs => NoXmlFileHeaderCSharp11UnitTests.cs} | 2 +- ... => SymbolNameHelpersCSharp11UnitTests.cs} | 2 +- ... => SA1516UsingGroupsCSharp11UnitTests.cs} | 2 +- ...rationSyntaxExtensionsCSharp11UnitTests.cs | 11 ++ ...gumentSyntaxExtensionsCSharp11UnitTests.cs | 11 ++ ...rationSyntaxExtensionsCSharp11UnitTests.cs | 11 ++ ...itchLabelSyntaxWrapperCSharp11UnitTests.cs | 11 ++ ...StatementSyntaxWrapperCSharp11UnitTests.cs | 11 ++ ...tPatternSyntaxWrapperCSharp11UnitTests.cs} | 2 +- ...rationSyntaxExtensionsCSharp11UnitTests.cs | 11 ++ ...eclarationSyntaxExtensionsTestsCSharp11.cs | 11 -- ...meterSyntaxExtensionsCSharp11UnitTests.cs} | 2 +- ...xpressionSyntaxWrapperCSharp11UnitTests.cs | 11 ++ ...onPatternSyntaxWrapperCSharp11UnitTests.cs | 11 ++ ...rationSyntaxExtensionsCSharp11UnitTests.cs | 11 ++ ...eclarationSyntaxExtensionsTestsCSharp11.cs | 11 -- ...signationSyntaxWrapperCSharp11UnitTests.cs | 11 ++ ...rdDesignationSyntaxWrapperTestsCSharp11.cs | 11 -- ...xpressionSyntaxWrapperCSharp11UnitTests.cs | 11 ++ ...ionExpressionSyntaxWrapperTestsCSharp11.cs | 11 -- ...xpressionSyntaxWrapperCSharp11UnitTests.cs | 11 ++ ...ernExpressionSyntaxWrapperTestsCSharp11.cs | 11 -- ... => LanguageVersionExCSharp11UnitTests.cs} | 2 +- ....cs => LightupHelpersCSharp11UnitTests.cs} | 2 +- ...StatementSyntaxWrapperCSharp11UnitTests.cs | 11 ++ ...tionStatementSyntaxWrapperTestsCSharp11.cs | 11 -- ...11.cs => MethodKindExCSharp11UnitTests.cs} | 2 +- .../OperationKindExCSharp11UnitTests.cs | 11 ++ ...signationSyntaxWrapperCSharp11UnitTests.cs | 11 ++ ...leDesignationSyntaxWrapperTestsCSharp11.cs | 11 -- ... PatternSyntaxWrapperCSharp11UnitTests.cs} | 2 +- .../PatternSyntaxWrapperTestsCSharp11.cs | 11 -- ...pressionSyntaxWrapperCSharp11UnitTests.cs} | 2 +- ...RefExpressionSyntaxWrapperTestsCSharp11.cs | 11 -- .../RefTypeSyntaxWrapperCSharp11UnitTests.cs | 11 ++ .../RefTypeSyntaxWrapperTestsCSharp11.cs | 11 -- ...signationSyntaxWrapperCSharp11UnitTests.cs | 11 ++ ...leDesignationSyntaxWrapperTestsCSharp11.cs | 11 -- ...essionSyntaxExtensionsCSharp11UnitTests.cs | 11 ++ ...ExpressionSyntaxExtensionsTestsCSharp11.cs | 11 -- ...essionArmSyntaxWrapperCSharp11UnitTests.cs | 11 ++ ...ExpressionArmSyntaxWrapperTestsCSharp11.cs | 11 -- ...xpressionSyntaxWrapperCSharp11UnitTests.cs | 11 ++ ...tchExpressionSyntaxWrapperTestsCSharp11.cs | 11 -- ...11.cs => SyntaxKindExCSharp11UnitTests.cs} | 2 +- .../Lightup/SyntaxKindExTestsCSharp11.cs | 11 -- ...1.cs => SyntaxWrapperCSharp11UnitTests.cs} | 2 +- .../SyntaxWrapperHelperCSharp11UnitTests.cs | 11 ++ .../SyntaxWrapperHelperTestsCSharp11.cs | 11 -- .../Lightup/SyntaxWrapperTestsCSharp11.cs | 11 -- ...pressionSyntaxWrapperCSharp11UnitTests.cs} | 2 +- ...rowExpressionSyntaxWrapperTestsCSharp11.cs | 11 -- ...leElementSyntaxWrapperCSharp11UnitTests.cs | 11 ++ .../TupleElementSyntaxWrapperTestsCSharp11.cs | 11 -- ...pressionSyntaxWrapperCSharp11UnitTests.cs} | 2 +- ...pleExpressionSyntaxWrapperTestsCSharp11.cs | 11 -- ...upleTypeSyntaxWrapperCSharp11UnitTests.cs} | 2 +- .../TupleTypeSyntaxWrapperTestsCSharp11.cs | 11 -- ...signationSyntaxWrapperCSharp11UnitTests.cs | 11 ++ ...leDesignationSyntaxWrapperTestsCSharp11.cs | 11 -- ...enClauseSyntaxWrapperCSharp11UnitTests.cs} | 2 +- .../WhenClauseSyntaxWrapperTestsCSharp11.cs | 11 -- .../SA1402CSharp11ForRecordClassUnitTests.cs | 11 -- .../SA1402CSharp11ForRecordStructUnitTests.cs | 11 -- .../SA1402CSharp11ForRecordUnitTests.cs | 11 -- .../SA1402CSharp11ForStructUnitTests.cs | 11 -- ....cs => SA1402ForClassCSharp11UnitTests.cs} | 2 +- .../SA1402ForDelegateCSharp11UnitTests.cs | 11 ++ ...s.cs => SA1402ForEnumCSharp11UnitTests.cs} | 2 +- .../SA1402ForInterfaceCSharp11UnitTests.cs | 11 ++ ...cs => SA1402ForRecordCSharp11UnitTests.cs} | 2 +- .../SA1402ForRecordClassCSharp11UnitTests.cs | 11 ++ .../SA1402ForRecordStructCSharp11UnitTests.cs | 11 ++ ...cs => SA1402ForStructCSharp11UnitTests.cs} | 2 +- ...A1200OutsideNamespaceCSharp11UnitTests.cs} | 2 +- ....cs => SA1200PreserveCSharp11UnitTests.cs} | 2 +- ...SA1206CodeFixProviderCSharp11UnitTests.cs} | 2 +- ...harp11CombinedSystemDirectivesUnitTests.cs | 11 -- ...binedSystemDirectivesCSharp11UnitTests.cs} | 2 +- ... UsingCodeFixProviderCSharp11UnitTests.cs} | 2 +- ...binedSystemDirectivesCSharp11UnitTests.cs} | 2 +- ...oviderGroupSeparationCSharp11UnitTests.cs} | 2 +- ...eFixProviderRegressionCSharp11UnitTests.cs | 11 ++ .../StyleCop.Analyzers.Test.CSharp11.csproj | 1 + ... AnalyzerConfigurationCSharp7UnitTests.cs} | 2 +- ...eritdocCodeFixProviderCSharp7UnitTests.cs} | 2 +- ....cs => NoXmlFileHeaderCSharp7UnitTests.cs} | 2 +- ...s => SymbolNameHelpersCSharp7UnitTests.cs} | 2 +- ...s => SA1516UsingGroupsCSharp7UnitTests.cs} | 2 +- ...rationSyntaxExtensionsCSharp7UnitTests.cs} | 2 +- ...gumentSyntaxExtensionsCSharp7UnitTests.cs} | 2 +- ...rationSyntaxExtensionsCSharp7UnitTests.cs} | 2 +- ...itchLabelSyntaxWrapperCSharp7UnitTests.cs} | 2 +- ...ntPatternSyntaxWrapperCSharp7UnitTests.cs} | 2 +- ...rationSyntaxExtensionsCSharp7UnitTests.cs} | 2 +- ...ameterSyntaxExtensionsCSharp7UnitTests.cs} | 2 +- ...xpressionSyntaxWrapperCSharp7UnitTests.cs} | 2 +- ...onPatternSyntaxWrapperCSharp7UnitTests.cs} | 2 +- ...rationSyntaxExtensionsCSharp7UnitTests.cs} | 2 +- ...signationSyntaxWrapperCSharp7UnitTests.cs} | 2 +- ...xpressionSyntaxWrapperCSharp7UnitTests.cs} | 2 +- ...xpressionSyntaxWrapperCSharp7UnitTests.cs} | 2 +- ...s => LanguageVersionExCSharp7UnitTests.cs} | 2 +- ...7.cs => LightupHelpersCSharp7UnitTests.cs} | 4 +- ...StatementSyntaxWrapperCSharp7UnitTests.cs} | 2 +- ...rp7.cs => MethodKindExCSharp7UnitTests.cs} | 2 +- ....cs => OperationKindExCSharp7UnitTests.cs} | 4 +- ...signationSyntaxWrapperCSharp7UnitTests.cs} | 2 +- ...> PatternSyntaxWrapperCSharp7UnitTests.cs} | 2 +- ...xpressionSyntaxWrapperCSharp7UnitTests.cs} | 2 +- ...> RefTypeSyntaxWrapperCSharp7UnitTests.cs} | 2 +- ...signationSyntaxWrapperCSharp7UnitTests.cs} | 2 +- ...essionSyntaxExtensionsCSharp7UnitTests.cs} | 2 +- ...essionArmSyntaxWrapperCSharp7UnitTests.cs} | 2 +- ...xpressionSyntaxWrapperCSharp7UnitTests.cs} | 2 +- ...rp7.cs => SyntaxKindExCSharp7UnitTests.cs} | 2 +- ...ts.cs => SyntaxWrapperCSharp7UnitTests.cs} | 2 +- ...=> SyntaxWrapperHelperCSharp7UnitTests.cs} | 2 +- ...xpressionSyntaxWrapperCSharp7UnitTests.cs} | 2 +- ...leElementSyntaxWrapperCSharp7UnitTests.cs} | 2 +- ...xpressionSyntaxWrapperCSharp7UnitTests.cs} | 2 +- ...TupleTypeSyntaxWrapperCSharp7UnitTests.cs} | 2 +- ...signationSyntaxWrapperCSharp7UnitTests.cs} | 2 +- ...henClauseSyntaxWrapperCSharp7UnitTests.cs} | 2 +- ...s.cs => SA1402ForClassCSharp7UnitTests.cs} | 2 +- ...s => SA1402ForDelegateCSharp7UnitTests.cs} | 2 +- ...ts.cs => SA1402ForEnumCSharp7UnitTests.cs} | 2 +- ... => SA1402ForInterfaceCSharp7UnitTests.cs} | 2 +- ....cs => SA1402ForStructCSharp7UnitTests.cs} | 2 +- ...SA1200OutsideNamespaceCSharp7UnitTests.cs} | 2 +- ...s.cs => SA1200PreserveCSharp7UnitTests.cs} | 2 +- ... SA1206CodeFixProviderCSharp7UnitTests.cs} | 2 +- ...Sharp7CombinedSystemDirectivesUnitTests.cs | 11 -- ...mbinedSystemDirectivesCSharp7UnitTests.cs} | 2 +- ...> UsingCodeFixProviderCSharp7UnitTests.cs} | 2 +- ...mbinedSystemDirectivesCSharp7UnitTests.cs} | 2 +- ...roviderGroupSeparationCSharp7UnitTests.cs} | 2 +- ...deFixProviderRegressionCSharp7UnitTests.cs | 11 ++ .../StyleCop.Analyzers.Test.CSharp7.csproj | 1 + ... AnalyzerConfigurationCSharp8UnitTests.cs} | 2 +- ...eritdocCodeFixProviderCSharp8UnitTests.cs} | 2 +- ....cs => NoXmlFileHeaderCSharp8UnitTests.cs} | 2 +- ...s => SymbolNameHelpersCSharp8UnitTests.cs} | 2 +- ...s => SA1516UsingGroupsCSharp8UnitTests.cs} | 2 +- ...arationSyntaxExtensionsCSharp8UnitTests.cs | 11 ++ ...gumentSyntaxExtensionsCSharp8UnitTests.cs} | 2 +- ...arationSyntaxExtensionsCSharp8UnitTests.cs | 11 ++ ...witchLabelSyntaxWrapperCSharp8UnitTests.cs | 11 ++ ...StatementSyntaxWrapperCSharp8UnitTests.cs} | 2 +- ...antPatternSyntaxWrapperCSharp8UnitTests.cs | 11 ++ ...arationSyntaxExtensionsCSharp8UnitTests.cs | 11 ++ ...DeclarationSyntaxExtensionsTestsCSharp8.cs | 11 -- ...rameterSyntaxExtensionsCSharp8UnitTests.cs | 11 ++ ...ExpressionSyntaxWrapperCSharp8UnitTests.cs | 11 ++ ...ionPatternSyntaxWrapperCSharp8UnitTests.cs | 11 ++ ...arationSyntaxExtensionsCSharp8UnitTests.cs | 11 ++ ...DeclarationSyntaxExtensionsTestsCSharp8.cs | 11 -- ...esignationSyntaxWrapperCSharp8UnitTests.cs | 11 ++ ...ardDesignationSyntaxWrapperTestsCSharp8.cs | 11 -- ...ExpressionSyntaxWrapperCSharp8UnitTests.cs | 11 ++ ...tionExpressionSyntaxWrapperTestsCSharp8.cs | 11 -- ...ExpressionSyntaxWrapperCSharp8UnitTests.cs | 11 ++ ...ternExpressionSyntaxWrapperTestsCSharp8.cs | 11 -- ...s => LanguageVersionExCSharp8UnitTests.cs} | 2 +- .../Lightup/LanguageVersionExTestsCSharp8.cs | 11 -- ...8.cs => LightupHelpersCSharp8UnitTests.cs} | 4 +- ...nStatementSyntaxWrapperCSharp8UnitTests.cs | 11 ++ ...ctionStatementSyntaxWrapperTestsCSharp8.cs | 11 -- ...rp8.cs => MethodKindExCSharp8UnitTests.cs} | 2 +- ....cs => OperationKindExCSharp8UnitTests.cs} | 2 +- ...esignationSyntaxWrapperCSharp8UnitTests.cs | 11 ++ ...bleDesignationSyntaxWrapperTestsCSharp8.cs | 11 -- ...> PatternSyntaxWrapperCSharp8UnitTests.cs} | 2 +- ...xpressionSyntaxWrapperCSharp8UnitTests.cs} | 2 +- .../RefExpressionSyntaxWrapperTestsCSharp8.cs | 11 -- .../RefTypeSyntaxWrapperCSharp8UnitTests.cs | 11 ++ .../RefTypeSyntaxWrapperTestsCSharp8.cs | 11 -- ...esignationSyntaxWrapperCSharp8UnitTests.cs | 11 ++ ...bleDesignationSyntaxWrapperTestsCSharp8.cs | 11 -- ...ressionSyntaxExtensionsCSharp8UnitTests.cs | 11 ++ ...nExpressionSyntaxExtensionsTestsCSharp8.cs | 11 -- ...essionArmSyntaxWrapperCSharp8UnitTests.cs} | 2 +- ...xpressionSyntaxWrapperCSharp8UnitTests.cs} | 2 +- ...rp8.cs => SyntaxKindExCSharp8UnitTests.cs} | 2 +- .../Lightup/SyntaxKindExTestsCSharp8.cs | 11 -- ...p8.cs => SyntaxWrapperCSharp8UnitTests.cs} | 2 +- ...=> SyntaxWrapperHelperCSharp8UnitTests.cs} | 2 +- .../SyntaxWrapperHelperTestsCSharp8.cs | 11 -- .../Lightup/SyntaxWrapperTestsCSharp8.cs | 11 -- ...ExpressionSyntaxWrapperCSharp8UnitTests.cs | 11 ++ ...hrowExpressionSyntaxWrapperTestsCSharp8.cs | 11 -- ...leElementSyntaxWrapperCSharp8UnitTests.cs} | 2 +- .../TupleElementSyntaxWrapperTestsCSharp8.cs | 11 -- ...ExpressionSyntaxWrapperCSharp8UnitTests.cs | 11 ++ ...upleExpressionSyntaxWrapperTestsCSharp8.cs | 11 -- .../TupleTypeSyntaxWrapperCSharp8UnitTests.cs | 11 ++ .../TupleTypeSyntaxWrapperTestsCSharp8.cs | 11 -- ...esignationSyntaxWrapperCSharp8UnitTests.cs | 11 ++ ...bleDesignationSyntaxWrapperTestsCSharp8.cs | 11 -- ...henClauseSyntaxWrapperCSharp8UnitTests.cs} | 2 +- .../WhenClauseSyntaxWrapperTestsCSharp8.cs | 11 -- .../SA1402CSharp8ForStructUnitTests.cs | 11 -- ...s.cs => SA1402ForClassCSharp8UnitTests.cs} | 2 +- ...s => SA1402ForDelegateCSharp8UnitTests.cs} | 2 +- ...ts.cs => SA1402ForEnumCSharp8UnitTests.cs} | 2 +- .../SA1402ForInterfaceCSharp8UnitTests.cs | 11 ++ ....cs => SA1402ForStructCSharp8UnitTests.cs} | 2 +- ...SA1200OutsideNamespaceCSharp8UnitTests.cs} | 2 +- ...s.cs => SA1200PreserveCSharp8UnitTests.cs} | 2 +- ... SA1206CodeFixProviderCSharp8UnitTests.cs} | 2 +- ...Sharp8CombinedSystemDirectivesUnitTests.cs | 11 -- ...mbinedSystemDirectivesCSharp8UnitTests.cs} | 2 +- ...> UsingCodeFixProviderCSharp8UnitTests.cs} | 2 +- ...mbinedSystemDirectivesCSharp8UnitTests.cs} | 2 +- ...roviderGroupSeparationCSharp8UnitTests.cs} | 2 +- ...deFixProviderRegressionCSharp8UnitTests.cs | 11 ++ .../StyleCop.Analyzers.Test.CSharp8.csproj | 3 +- ... AnalyzerConfigurationCSharp9UnitTests.cs} | 2 +- ...eritdocCodeFixProviderCSharp9UnitTests.cs} | 2 +- ....cs => NoXmlFileHeaderCSharp9UnitTests.cs} | 2 +- ...s => SymbolNameHelpersCSharp9UnitTests.cs} | 2 +- ...s => SA1516UsingGroupsCSharp9UnitTests.cs} | 2 +- ...arationSyntaxExtensionsCSharp9UnitTests.cs | 11 ++ ...gumentSyntaxExtensionsCSharp9UnitTests.cs} | 2 +- ...arationSyntaxExtensionsCSharp9UnitTests.cs | 11 ++ ...witchLabelSyntaxWrapperCSharp9UnitTests.cs | 11 ++ ...hStatementSyntaxWrapperCSharp9UnitTests.cs | 11 ++ ...ntPatternSyntaxWrapperCSharp9UnitTests.cs} | 2 +- ...arationSyntaxExtensionsCSharp9UnitTests.cs | 11 ++ ...DeclarationSyntaxExtensionsTestsCSharp9.cs | 11 -- ...ameterSyntaxExtensionsCSharp9UnitTests.cs} | 2 +- ...ExpressionSyntaxWrapperCSharp9UnitTests.cs | 11 ++ ...tionExpressionSyntaxWrapperTestsCSharp9.cs | 11 -- ...ionPatternSyntaxWrapperCSharp9UnitTests.cs | 11 ++ ...arationSyntaxExtensionsCSharp9UnitTests.cs | 11 ++ ...DeclarationSyntaxExtensionsTestsCSharp9.cs | 11 -- ...esignationSyntaxWrapperCSharp9UnitTests.cs | 11 ++ ...ardDesignationSyntaxWrapperTestsCSharp9.cs | 11 -- ...ExpressionSyntaxWrapperCSharp9UnitTests.cs | 11 ++ ...tionExpressionSyntaxWrapperTestsCSharp9.cs | 11 -- ...ExpressionSyntaxWrapperCSharp9UnitTests.cs | 11 ++ ...ternExpressionSyntaxWrapperTestsCSharp9.cs | 11 -- ...s => LanguageVersionExCSharp9UnitTests.cs} | 2 +- ...9.cs => LightupHelpersCSharp9UnitTests.cs} | 4 +- ...nStatementSyntaxWrapperCSharp9UnitTests.cs | 11 ++ ...ctionStatementSyntaxWrapperTestsCSharp9.cs | 11 -- ...rp9.cs => MethodKindExCSharp9UnitTests.cs} | 2 +- ....cs => OperationKindExCSharp9UnitTests.cs} | 2 +- ...esignationSyntaxWrapperCSharp9UnitTests.cs | 11 ++ ...bleDesignationSyntaxWrapperTestsCSharp9.cs | 11 -- ...> PatternSyntaxWrapperCSharp9UnitTests.cs} | 2 +- ...ExpressionSyntaxWrapperCSharp9UnitTests.cs | 11 ++ .../RefExpressionSyntaxWrapperTestsCSharp9.cs | 11 -- .../RefTypeSyntaxWrapperCSharp9UnitTests.cs | 11 ++ .../RefTypeSyntaxWrapperTestsCSharp9.cs | 11 -- ...esignationSyntaxWrapperCSharp9UnitTests.cs | 11 ++ ...bleDesignationSyntaxWrapperTestsCSharp9.cs | 11 -- ...ressionSyntaxExtensionsCSharp9UnitTests.cs | 11 ++ ...nExpressionSyntaxExtensionsTestsCSharp9.cs | 11 -- ...ressionArmSyntaxWrapperCSharp9UnitTests.cs | 11 ++ ...hExpressionArmSyntaxWrapperTestsCSharp9.cs | 11 -- ...ExpressionSyntaxWrapperCSharp9UnitTests.cs | 11 ++ ...itchExpressionSyntaxWrapperTestsCSharp9.cs | 11 -- ...rp9.cs => SyntaxKindExCSharp9UnitTests.cs} | 2 +- .../Lightup/SyntaxKindExTestsCSharp9.cs | 11 -- ...p9.cs => SyntaxWrapperCSharp9UnitTests.cs} | 2 +- ...=> SyntaxWrapperHelperCSharp9UnitTests.cs} | 2 +- .../SyntaxWrapperHelperTestsCSharp9.cs | 11 -- .../Lightup/SyntaxWrapperTestsCSharp9.cs | 11 -- ...ExpressionSyntaxWrapperCSharp9UnitTests.cs | 11 ++ ...hrowExpressionSyntaxWrapperTestsCSharp9.cs | 11 -- ...pleElementSyntaxWrapperCSharp9UnitTests.cs | 11 ++ .../TupleElementSyntaxWrapperTestsCSharp9.cs | 11 -- ...ExpressionSyntaxWrapperCSharp9UnitTests.cs | 11 ++ ...upleExpressionSyntaxWrapperTestsCSharp9.cs | 11 -- ...TupleTypeSyntaxWrapperCSharp9UnitTests.cs} | 2 +- .../TupleTypeSyntaxWrapperTestsCSharp9.cs | 11 -- ...esignationSyntaxWrapperCSharp9UnitTests.cs | 11 ++ ...bleDesignationSyntaxWrapperTestsCSharp9.cs | 11 -- ...henClauseSyntaxWrapperCSharp9UnitTests.cs} | 2 +- .../WhenClauseSyntaxWrapperTestsCSharp9.cs | 11 -- .../SA1402CSharp9ForStructUnitTests.cs | 11 -- ...s.cs => SA1402ForClassCSharp9UnitTests.cs} | 2 +- ...s => SA1402ForDelegateCSharp9UnitTests.cs} | 2 +- ...ts.cs => SA1402ForEnumCSharp9UnitTests.cs} | 2 +- .../SA1402ForInterfaceCSharp9UnitTests.cs | 11 ++ ....cs => SA1402ForRecordCSharp9UnitTests.cs} | 2 +- ....cs => SA1402ForStructCSharp9UnitTests.cs} | 2 +- ...SA1200OutsideNamespaceCSharp9UnitTests.cs} | 2 +- ...s.cs => SA1200PreserveCSharp9UnitTests.cs} | 2 +- ... SA1206CodeFixProviderCSharp9UnitTests.cs} | 2 +- ...mbinedSystemDirectivesCSharp9UnitTests.cs} | 2 +- ...> UsingCodeFixProviderCSharp9UnitTests.cs} | 2 +- ...mbinedSystemDirectivesCSharp9UnitTests.cs} | 2 +- ...roviderGroupSeparationCSharp9UnitTests.cs} | 2 +- ...eFixProviderRegressionCSharp9UnitTests.cs} | 2 +- .../StyleCop.Analyzers.Test.CSharp9.csproj | 1 + ...s.cs => AnalyzerConfigurationUnitTests.cs} | 2 +- .../ExportCodeFixProviderAttributeNameTest.cs | 2 - ...Tests.cs => SymbolNameHelpersUnitTests.cs} | 2 +- ...Tests.cs => LanguageVersionExUnitTests.cs} | 4 +- ...ersTests.cs => LightupHelpersUnitTests.cs} | 2 +- ...indExTests.cs => MethodKindExUnitTests.cs} | 4 +- ...tchExpressionArmSyntaxWrapperUnitTests.cs} | 2 +- ...SwitchExpressionSyntaxWrapperUnitTests.cs} | 2 +- ...indExTests.cs => SyntaxKindExUnitTests.cs} | 4 +- ...sts.cs => SyntaxWrapperHelperUnitTests.cs} | 2 +- .../SequentialTestCollection.cs | 2 - .../WorkItemAttribute.cs | 2 - StyleCopAnalyzers.sln | 12 ++ 400 files changed, 1721 insertions(+), 1301 deletions(-) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.PrivateAnalyzers/DerivedTestGenerator.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.PrivateAnalyzers/IncludeTestClassesAnalyzer.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.PrivateAnalyzers/PrivateDiagnosticIds.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.PrivateAnalyzers/StyleCop.Analyzers.PrivateAnalyzers.csproj create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.PrivateCodeFixes/StyleCop.Analyzers.PrivateCodeFixes.csproj rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/{AnalyzerConfigurationTestsCSharp10.cs => AnalyzerConfigurationCSharp10UnitTests.cs} (72%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/{CSharp10InheritdocCodeFixProviderUnitTests.cs => InheritdocCodeFixProviderCSharp10UnitTests.cs} (73%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/{CSharp10NoXmlFileHeaderUnitTests.cs => NoXmlFileHeaderCSharp10UnitTests.cs} (77%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/HelperTests/{SymbolNameHelpersCSharp10Tests.cs => SymbolNameHelpersCSharp10UnitTests.cs} (75%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/{SA1516CSharp10UsingGroupsUnitTests.cs => SA1516UsingGroupsCSharp10UnitTests.cs} (75%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/AccessorDeclarationSyntaxExtensionsCSharp10UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ArgumentSyntaxExtensionsCSharp10UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp10UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp10UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CommonForEachStatementSyntaxWrapperCSharp10UnitTests.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/{AccessorDeclarationSyntaxExtensionsTestsCSharp10.cs => ConstantPatternSyntaxWrapperCSharp10UnitTests.cs} (70%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp10UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp10.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/{BaseMethodDeclarationSyntaxExtensionsTestsCSharp10.cs => CrefParameterSyntaxExtensionsCSharp10UnitTests.cs} (70%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationExpressionSyntaxWrapperCSharp10UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationPatternSyntaxWrapperCSharp10UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DestructorDeclarationSyntaxExtensionsCSharp10UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp10.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DiscardDesignationSyntaxWrapperCSharp10UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp10.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp10UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp10.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/IsPatternExpressionSyntaxWrapperCSharp10UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp10.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/{ArgumentSyntaxExtensionsTestsCSharp10.cs => LanguageVersionExCSharp10UnitTests.cs} (74%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/{LanguageVersionExTestsCSharp10.cs => LightupHelpersCSharp10UnitTests.cs} (76%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LocalFunctionStatementSyntaxWrapperCSharp10UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp10.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/{MethodKindExTestsCSharp10.cs => MethodKindExCSharp10UnitTests.cs} (76%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/OperationKindExCSharp10UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp10UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp10.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/{ConstantPatternSyntaxWrapperTestsCSharp10.cs => PatternSyntaxWrapperCSharp10UnitTests.cs} (73%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/PatternSyntaxWrapperTestsCSharp10.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/{DeclarationExpressionSyntaxWrapperTestsCSharp10.cs => RefExpressionSyntaxWrapperCSharp10UnitTests.cs} (71%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefExpressionSyntaxWrapperTestsCSharp10.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefTypeSyntaxWrapperCSharp10UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefTypeSyntaxWrapperTestsCSharp10.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SingleVariableDesignationSyntaxWrapperCSharp10UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp10.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp10UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp10.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionArmSyntaxWrapperCSharp10UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp10.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionSyntaxWrapperCSharp10UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp10.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/{OperationKindExTestsCSharp10.cs => SyntaxKindExCSharp10UnitTests.cs} (76%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxKindExTestsCSharp10.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/{LightupHelpersTestsCSharp10.cs => SyntaxWrapperCSharp10UnitTests.cs} (76%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperHelperCSharp10UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperHelperTestsCSharp10.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperTestsCSharp10.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/{CommonForEachStatementSyntaxWrapperTestsCSharp10.cs => ThrowExpressionSyntaxWrapperCSharp10UnitTests.cs} (70%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp10.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleElementSyntaxWrapperCSharp10UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleElementSyntaxWrapperTestsCSharp10.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/{CasePatternSwitchLabelSyntaxWrapperTestsCSharp10.cs => TupleExpressionSyntaxWrapperCSharp10UnitTests.cs} (70%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleExpressionSyntaxWrapperTestsCSharp10.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/{CrefParameterSyntaxExtensionsTestsCSharp10.cs => TupleTypeSyntaxWrapperCSharp10UnitTests.cs} (72%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleTypeSyntaxWrapperTestsCSharp10.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/VariableDesignationSyntaxWrapperCSharp10UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/VariableDesignationSyntaxWrapperTestsCSharp10.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/{DeclarationPatternSyntaxWrapperTestsCSharp10.cs => WhenClauseSyntaxWrapperCSharp10UnitTests.cs} (72%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/WhenClauseSyntaxWrapperTestsCSharp10.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForStructUnitTests.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/{SA1402CSharp10ForClassUnitTests.cs => SA1402ForClassCSharp10UnitTests.cs} (93%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/{SA1402CSharp10ForRecordUnitTests.cs => SA1402ForDelegateCSharp10UnitTests.cs} (76%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/{SA1402CSharp10ForDelegateUnitTests.cs => SA1402ForEnumCSharp10UnitTests.cs} (78%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForInterfaceCSharp10UnitTests.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/{SA1402CSharp10ForEnumUnitTests.cs => SA1402ForRecordCSharp10UnitTests.cs} (77%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/{SA1402CSharp10ForRecordClassUnitTests.cs => SA1402ForRecordClassCSharp10UnitTests.cs} (89%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/{SA1402CSharp10ForRecordStructUnitTests.cs => SA1402ForRecordStructCSharp10UnitTests.cs} (89%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/{SA1402CSharp10ForInterfaceUnitTests.cs => SA1402ForStructCSharp10UnitTests.cs} (77%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/{SA1200CSharp10OutsideNamespaceUnitTests.cs => SA1200OutsideNamespaceCSharp10UnitTests.cs} (92%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/{SA1200CSharp10PreserveUnitTests.cs => SA1200PreserveCSharp10UnitTests.cs} (94%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/{CSharp10UsingCodeFixProviderUnitTests.cs => SA1206CodeFixProviderCSharp10UnitTests.cs} (74%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/{SA1210CSharp10CombinedSystemDirectivesUnitTests.cs => SA1210CombinedSystemDirectivesCSharp10UnitTests.cs} (92%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/{SA1206CSharp10CodeFixProviderUnitTests.cs => UsingCodeFixProviderCSharp10UnitTests.cs} (74%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/{CSharp10UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs => UsingCodeFixProviderCombinedSystemDirectivesCSharp10UnitTests.cs} (66%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/{CSharp10UsingCodeFixProviderGroupSeparationUnitTests.cs => UsingCodeFixProviderGroupSeparationCSharp10UnitTests.cs} (69%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/{CSharp10UsingCodeFixProviderRegressionUnitTests.cs => UsingCodeFixProviderRegressionCSharp10UnitTests.cs} (70%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/{AnalyzerConfigurationTestsCSharp11.cs => AnalyzerConfigurationCSharp11UnitTests.cs} (72%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/{CSharp11InheritdocCodeFixProviderUnitTests.cs => InheritdocCodeFixProviderCSharp11UnitTests.cs} (73%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/{CSharp11NoXmlFileHeaderUnitTests.cs => NoXmlFileHeaderCSharp11UnitTests.cs} (76%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/HelperTests/{SymbolNameHelpersCSharp11Tests.cs => SymbolNameHelpersCSharp11UnitTests.cs} (75%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/{SA1516CSharp11UsingGroupsUnitTests.cs => SA1516UsingGroupsCSharp11UnitTests.cs} (75%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/AccessorDeclarationSyntaxExtensionsCSharp11UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ArgumentSyntaxExtensionsCSharp11UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp11UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp11UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CommonForEachStatementSyntaxWrapperCSharp11UnitTests.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/{AccessorDeclarationSyntaxExtensionsTestsCSharp11.cs => ConstantPatternSyntaxWrapperCSharp11UnitTests.cs} (70%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp11UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp11.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/{BaseMethodDeclarationSyntaxExtensionsTestsCSharp11.cs => CrefParameterSyntaxExtensionsCSharp11UnitTests.cs} (70%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationExpressionSyntaxWrapperCSharp11UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationPatternSyntaxWrapperCSharp11UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DestructorDeclarationSyntaxExtensionsCSharp11UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp11.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DiscardDesignationSyntaxWrapperCSharp11UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp11.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp11UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp11.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/IsPatternExpressionSyntaxWrapperCSharp11UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp11.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/{ArgumentSyntaxExtensionsTestsCSharp11.cs => LanguageVersionExCSharp11UnitTests.cs} (74%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/{LanguageVersionExTestsCSharp11.cs => LightupHelpersCSharp11UnitTests.cs} (75%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LocalFunctionStatementSyntaxWrapperCSharp11UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp11.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/{MethodKindExTestsCSharp11.cs => MethodKindExCSharp11UnitTests.cs} (76%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/OperationKindExCSharp11UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp11UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp11.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/{ConstantPatternSyntaxWrapperTestsCSharp11.cs => PatternSyntaxWrapperCSharp11UnitTests.cs} (73%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/PatternSyntaxWrapperTestsCSharp11.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/{DeclarationExpressionSyntaxWrapperTestsCSharp11.cs => RefExpressionSyntaxWrapperCSharp11UnitTests.cs} (71%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefExpressionSyntaxWrapperTestsCSharp11.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefTypeSyntaxWrapperCSharp11UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefTypeSyntaxWrapperTestsCSharp11.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SingleVariableDesignationSyntaxWrapperCSharp11UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp11.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp11UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp11.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionArmSyntaxWrapperCSharp11UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp11.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionSyntaxWrapperCSharp11UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp11.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/{OperationKindExTestsCSharp11.cs => SyntaxKindExCSharp11UnitTests.cs} (76%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxKindExTestsCSharp11.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/{LightupHelpersTestsCSharp11.cs => SyntaxWrapperCSharp11UnitTests.cs} (76%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperHelperCSharp11UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperHelperTestsCSharp11.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperTestsCSharp11.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/{CommonForEachStatementSyntaxWrapperTestsCSharp11.cs => ThrowExpressionSyntaxWrapperCSharp11UnitTests.cs} (70%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp11.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleElementSyntaxWrapperCSharp11UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleElementSyntaxWrapperTestsCSharp11.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/{CasePatternSwitchLabelSyntaxWrapperTestsCSharp11.cs => TupleExpressionSyntaxWrapperCSharp11UnitTests.cs} (70%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleExpressionSyntaxWrapperTestsCSharp11.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/{CrefParameterSyntaxExtensionsTestsCSharp11.cs => TupleTypeSyntaxWrapperCSharp11UnitTests.cs} (72%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleTypeSyntaxWrapperTestsCSharp11.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/VariableDesignationSyntaxWrapperCSharp11UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/VariableDesignationSyntaxWrapperTestsCSharp11.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/{DeclarationPatternSyntaxWrapperTestsCSharp11.cs => WhenClauseSyntaxWrapperCSharp11UnitTests.cs} (72%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/WhenClauseSyntaxWrapperTestsCSharp11.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForRecordClassUnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForRecordStructUnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForRecordUnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForStructUnitTests.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/{SA1402CSharp11ForDelegateUnitTests.cs => SA1402ForClassCSharp11UnitTests.cs} (77%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForDelegateCSharp11UnitTests.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/{SA1402CSharp11ForClassUnitTests.cs => SA1402ForEnumCSharp11UnitTests.cs} (77%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForInterfaceCSharp11UnitTests.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/{SA1402CSharp11ForEnumUnitTests.cs => SA1402ForRecordCSharp11UnitTests.cs} (77%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForRecordClassCSharp11UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForRecordStructCSharp11UnitTests.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/{SA1402CSharp11ForInterfaceUnitTests.cs => SA1402ForStructCSharp11UnitTests.cs} (77%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/{CSharp11UsingCodeFixProviderUnitTests.cs => SA1200OutsideNamespaceCSharp11UnitTests.cs} (73%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/{SA1200CSharp11PreserveUnitTests.cs => SA1200PreserveCSharp11UnitTests.cs} (76%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/{SA1206CSharp11CodeFixProviderUnitTests.cs => SA1206CodeFixProviderCSharp11UnitTests.cs} (95%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1210CSharp11CombinedSystemDirectivesUnitTests.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/{CSharp11UsingCodeFixProviderRegressionUnitTests.cs => SA1210CombinedSystemDirectivesCSharp11UnitTests.cs} (70%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/{SA1200CSharp11OutsideNamespaceUnitTests.cs => UsingCodeFixProviderCSharp11UnitTests.cs} (74%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/{CSharp11UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs => UsingCodeFixProviderCombinedSystemDirectivesCSharp11UnitTests.cs} (66%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/{CSharp11UsingCodeFixProviderGroupSeparationUnitTests.cs => UsingCodeFixProviderGroupSeparationCSharp11UnitTests.cs} (69%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/UsingCodeFixProviderRegressionCSharp11UnitTests.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/{AnalyzerConfigurationTestsCSharp7.cs => AnalyzerConfigurationCSharp7UnitTests.cs} (70%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/{CSharp7InheritdocCodeFixProviderUnitTests.cs => InheritdocCodeFixProviderCSharp7UnitTests.cs} (74%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/{CSharp7NoXmlFileHeaderUnitTests.cs => NoXmlFileHeaderCSharp7UnitTests.cs} (78%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/HelperTests/{SymbolNameHelpersCSharp7Tests.cs => SymbolNameHelpersCSharp7UnitTests.cs} (95%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/{SA1516CSharp7UsingGroupsUnitTests.cs => SA1516UsingGroupsCSharp7UnitTests.cs} (76%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{AccessorDeclarationSyntaxExtensionsTests.cs => AccessorDeclarationSyntaxExtensionsCSharp7UnitTests.cs} (95%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{ArgumentSyntaxExtensionsTests.cs => ArgumentSyntaxExtensionsCSharp7UnitTests.cs} (96%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{BaseMethodDeclarationSyntaxExtensionsTests.cs => BaseMethodDeclarationSyntaxExtensionsCSharp7UnitTests.cs} (91%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{CasePatternSwitchLabelSyntaxWrapperTests.cs => CasePatternSwitchLabelSyntaxWrapperCSharp7UnitTests.cs} (98%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{ConstantPatternSyntaxWrapperTests.cs => ConstantPatternSyntaxWrapperCSharp7UnitTests.cs} (98%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{ConstructorDeclarationSyntaxExtensionsTests.cs => ConstructorDeclarationSyntaxExtensionsCSharp7UnitTests.cs} (93%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{CrefParameterSyntaxExtensionsTests.cs => CrefParameterSyntaxExtensionsCSharp7UnitTests.cs} (96%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{DeclarationExpressionSyntaxWrapperTests.cs => DeclarationExpressionSyntaxWrapperCSharp7UnitTests.cs} (98%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{DeclarationPatternSyntaxWrapperTests.cs => DeclarationPatternSyntaxWrapperCSharp7UnitTests.cs} (98%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{DestructorDeclarationSyntaxExtensionsTests.cs => DestructorDeclarationSyntaxExtensionsCSharp7UnitTests.cs} (93%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{DiscardDesignationSyntaxWrapperTests.cs => DiscardDesignationSyntaxWrapperCSharp7UnitTests.cs} (98%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTests.cs => ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp7UnitTests.cs} (99%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{IsPatternExpressionSyntaxWrapperTests.cs => IsPatternExpressionSyntaxWrapperCSharp7UnitTests.cs} (98%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{LanguageVersionExTestsCSharp7.cs => LanguageVersionExCSharp7UnitTests.cs} (75%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{LightupHelpersTestsCSharp7.cs => LightupHelpersCSharp7UnitTests.cs} (71%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{LocalFunctionStatementSyntaxWrapperTests.cs => LocalFunctionStatementSyntaxWrapperCSharp7UnitTests.cs} (99%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{MethodKindExTestsCSharp7.cs => MethodKindExCSharp7UnitTests.cs} (78%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{OperationKindExTests.cs => OperationKindExCSharp7UnitTests.cs} (96%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{ParenthesizedVariableDesignationSyntaxWrapperTests.cs => ParenthesizedVariableDesignationSyntaxWrapperCSharp7UnitTests.cs} (98%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{PatternSyntaxWrapperTests.cs => PatternSyntaxWrapperCSharp7UnitTests.cs} (98%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{RefExpressionSyntaxWrapperTests.cs => RefExpressionSyntaxWrapperCSharp7UnitTests.cs} (98%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{RefTypeSyntaxWrapperTests.cs => RefTypeSyntaxWrapperCSharp7UnitTests.cs} (98%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{SingleVariableDesignationSyntaxWrapperTests.cs => SingleVariableDesignationSyntaxWrapperCSharp7UnitTests.cs} (98%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{StackAllocArrayCreationExpressionSyntaxExtensionsTests.cs => StackAllocArrayCreationExpressionSyntaxExtensionsCSharp7UnitTests.cs} (99%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{SwitchExpressionArmSyntaxWrapperTestsCSharp7.cs => SwitchExpressionArmSyntaxWrapperCSharp7UnitTests.cs} (91%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{SwitchExpressionSyntaxWrapperTestsCSharp7.cs => SwitchExpressionSyntaxWrapperCSharp7UnitTests.cs} (71%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{SyntaxWrapperHelperTestsCSharp7.cs => SyntaxKindExCSharp7UnitTests.cs} (78%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{SyntaxWrapperTests.cs => SyntaxWrapperCSharp7UnitTests.cs} (96%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{SyntaxKindExTestsCSharp7.cs => SyntaxWrapperHelperCSharp7UnitTests.cs} (75%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{ThrowExpressionSyntaxWrapperTests.cs => ThrowExpressionSyntaxWrapperCSharp7UnitTests.cs} (98%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{TupleElementSyntaxWrapperTests.cs => TupleElementSyntaxWrapperCSharp7UnitTests.cs} (98%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{TupleExpressionSyntaxWrapperTests.cs => TupleExpressionSyntaxWrapperCSharp7UnitTests.cs} (99%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{TupleTypeSyntaxWrapperTests.cs => TupleTypeSyntaxWrapperCSharp7UnitTests.cs} (99%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{VariableDesignationSyntaxWrapperTests.cs => VariableDesignationSyntaxWrapperCSharp7UnitTests.cs} (97%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/{WhenClauseSyntaxWrapperTests.cs => WhenClauseSyntaxWrapperCSharp7UnitTests.cs} (98%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/{SA1402CSharp7ForClassUnitTests.cs => SA1402ForClassCSharp7UnitTests.cs} (78%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/{SA1402CSharp7ForEnumUnitTests.cs => SA1402ForDelegateCSharp7UnitTests.cs} (77%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/{SA1402CSharp7ForStructUnitTests.cs => SA1402ForEnumCSharp7UnitTests.cs} (79%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/{SA1402CSharp7ForInterfaceUnitTests.cs => SA1402ForInterfaceCSharp7UnitTests.cs} (77%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/{SA1402CSharp7ForDelegateUnitTests.cs => SA1402ForStructCSharp7UnitTests.cs} (78%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/{SA1206CSharp7CodeFixProviderUnitTests.cs => SA1200OutsideNamespaceCSharp7UnitTests.cs} (74%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/{SA1200CSharp7PreserveUnitTests.cs => SA1200PreserveCSharp7UnitTests.cs} (77%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/{SA1200CSharp7OutsideNamespaceUnitTests.cs => SA1206CodeFixProviderCSharp7UnitTests.cs} (75%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1210CSharp7CombinedSystemDirectivesUnitTests.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/{CSharp7UsingCodeFixProviderRegressionUnitTests.cs => SA1210CombinedSystemDirectivesCSharp7UnitTests.cs} (71%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/{CSharp7UsingCodeFixProviderUnitTests.cs => UsingCodeFixProviderCSharp7UnitTests.cs} (75%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/{CSharp7UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs => UsingCodeFixProviderCombinedSystemDirectivesCSharp7UnitTests.cs} (67%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/{CSharp7UsingCodeFixProviderGroupSeparationUnitTests.cs => UsingCodeFixProviderGroupSeparationCSharp7UnitTests.cs} (69%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/UsingCodeFixProviderRegressionCSharp7UnitTests.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/{AnalyzerConfigurationTestsCSharp8.cs => AnalyzerConfigurationCSharp8UnitTests.cs} (72%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/{CSharp8InheritdocCodeFixProviderUnitTests.cs => InheritdocCodeFixProviderCSharp8UnitTests.cs} (73%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/{CSharp8NoXmlFileHeaderUnitTests.cs => NoXmlFileHeaderCSharp8UnitTests.cs} (77%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/HelperTests/{SymbolNameHelpersCSharp8Tests.cs => SymbolNameHelpersCSharp8UnitTests.cs} (97%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/{SA1516CSharp8UsingGroupsUnitTests.cs => SA1516UsingGroupsCSharp8UnitTests.cs} (75%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/AccessorDeclarationSyntaxExtensionsCSharp8UnitTests.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/{AccessorDeclarationSyntaxExtensionsTestsCSharp8.cs => ArgumentSyntaxExtensionsCSharp8UnitTests.cs} (72%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp8UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp8UnitTests.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/{CommonForEachStatementSyntaxWrapperTests.cs => CommonForEachStatementSyntaxWrapperCSharp8UnitTests.cs} (99%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstantPatternSyntaxWrapperCSharp8UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp8UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp8.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CrefParameterSyntaxExtensionsCSharp8UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DeclarationExpressionSyntaxWrapperCSharp8UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DeclarationPatternSyntaxWrapperCSharp8UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DestructorDeclarationSyntaxExtensionsCSharp8UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp8.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DiscardDesignationSyntaxWrapperCSharp8UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp8.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp8UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp8.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/IsPatternExpressionSyntaxWrapperCSharp8UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp8.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/{ConstantPatternSyntaxWrapperTestsCSharp8.cs => LanguageVersionExCSharp8UnitTests.cs} (75%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LanguageVersionExTestsCSharp8.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/{LightupHelpersTestsCSharp8.cs => LightupHelpersCSharp8UnitTests.cs} (72%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LocalFunctionStatementSyntaxWrapperCSharp8UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp8.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/{MethodKindExTestsCSharp8.cs => MethodKindExCSharp8UnitTests.cs} (77%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/{OperationKindExTestsCSharp8.cs => OperationKindExCSharp8UnitTests.cs} (75%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp8UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp8.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/{DeclarationPatternSyntaxWrapperTestsCSharp8.cs => PatternSyntaxWrapperCSharp8UnitTests.cs} (73%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/{BaseMethodDeclarationSyntaxExtensionsTestsCSharp8.cs => RefExpressionSyntaxWrapperCSharp8UnitTests.cs} (71%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefExpressionSyntaxWrapperTestsCSharp8.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefTypeSyntaxWrapperCSharp8UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefTypeSyntaxWrapperTestsCSharp8.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SingleVariableDesignationSyntaxWrapperCSharp8UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp8.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp8UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp8.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/{SwitchExpressionArmSyntaxWrapperTestsCSharp8.cs => SwitchExpressionArmSyntaxWrapperCSharp8UnitTests.cs} (97%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/{SwitchExpressionSyntaxWrapperTestsCSharp8.cs => SwitchExpressionSyntaxWrapperCSharp8UnitTests.cs} (98%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/{PatternSyntaxWrapperTestsCSharp8.cs => SyntaxKindExCSharp8UnitTests.cs} (77%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxKindExTestsCSharp8.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/{ArgumentSyntaxExtensionsTestsCSharp8.cs => SyntaxWrapperCSharp8UnitTests.cs} (76%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/{CrefParameterSyntaxExtensionsTestsCSharp8.cs => SyntaxWrapperHelperCSharp8UnitTests.cs} (74%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxWrapperHelperTestsCSharp8.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxWrapperTestsCSharp8.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ThrowExpressionSyntaxWrapperCSharp8UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp8.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/{CasePatternSwitchLabelSyntaxWrapperTestsCSharp8.cs => TupleElementSyntaxWrapperCSharp8UnitTests.cs} (71%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleElementSyntaxWrapperTestsCSharp8.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleExpressionSyntaxWrapperCSharp8UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleExpressionSyntaxWrapperTestsCSharp8.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleTypeSyntaxWrapperCSharp8UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleTypeSyntaxWrapperTestsCSharp8.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/VariableDesignationSyntaxWrapperCSharp8UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/VariableDesignationSyntaxWrapperTestsCSharp8.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/{DeclarationExpressionSyntaxWrapperTestsCSharp8.cs => WhenClauseSyntaxWrapperCSharp8UnitTests.cs} (72%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/WhenClauseSyntaxWrapperTestsCSharp8.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForStructUnitTests.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/{SA1402CSharp8ForDelegateUnitTests.cs => SA1402ForClassCSharp8UnitTests.cs} (77%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/{SA1402CSharp8ForEnumUnitTests.cs => SA1402ForDelegateCSharp8UnitTests.cs} (76%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/{SA1402CSharp8ForClassUnitTests.cs => SA1402ForEnumCSharp8UnitTests.cs} (78%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402ForInterfaceCSharp8UnitTests.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/{SA1402CSharp8ForInterfaceUnitTests.cs => SA1402ForStructCSharp8UnitTests.cs} (77%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/{CSharp8UsingCodeFixProviderUnitTests.cs => SA1200OutsideNamespaceCSharp8UnitTests.cs} (73%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/{SA1200CSharp8PreserveUnitTests.cs => SA1200PreserveCSharp8UnitTests.cs} (76%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/{SA1206CSharp8CodeFixProviderUnitTests.cs => SA1206CodeFixProviderCSharp8UnitTests.cs} (74%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1210CSharp8CombinedSystemDirectivesUnitTests.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/{CSharp8UsingCodeFixProviderRegressionUnitTests.cs => SA1210CombinedSystemDirectivesCSharp8UnitTests.cs} (71%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/{SA1200CSharp8OutsideNamespaceUnitTests.cs => UsingCodeFixProviderCSharp8UnitTests.cs} (74%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/{CSharp8UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs => UsingCodeFixProviderCombinedSystemDirectivesCSharp8UnitTests.cs} (66%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/{CSharp8UsingCodeFixProviderGroupSeparationUnitTests.cs => UsingCodeFixProviderGroupSeparationCSharp8UnitTests.cs} (69%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/UsingCodeFixProviderRegressionCSharp8UnitTests.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/{AnalyzerConfigurationTestsCSharp9.cs => AnalyzerConfigurationCSharp9UnitTests.cs} (72%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/{CSharp9InheritdocCodeFixProviderUnitTests.cs => InheritdocCodeFixProviderCSharp9UnitTests.cs} (73%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/{CSharp9NoXmlFileHeaderUnitTests.cs => NoXmlFileHeaderCSharp9UnitTests.cs} (77%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/HelperTests/{SymbolNameHelpersCSharp9Tests.cs => SymbolNameHelpersCSharp9UnitTests.cs} (83%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/{SA1516CSharp9UsingGroupsUnitTests.cs => SA1516UsingGroupsCSharp9UnitTests.cs} (75%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/AccessorDeclarationSyntaxExtensionsCSharp9UnitTests.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/{CommonForEachStatementSyntaxWrapperTestsCSharp9.cs => ArgumentSyntaxExtensionsCSharp9UnitTests.cs} (72%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp9UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp9UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CommonForEachStatementSyntaxWrapperCSharp9UnitTests.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/{AccessorDeclarationSyntaxExtensionsTestsCSharp9.cs => ConstantPatternSyntaxWrapperCSharp9UnitTests.cs} (70%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp9UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp9.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/{BaseMethodDeclarationSyntaxExtensionsTestsCSharp9.cs => CrefParameterSyntaxExtensionsCSharp9UnitTests.cs} (70%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationExpressionSyntaxWrapperCSharp9UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp9.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationPatternSyntaxWrapperCSharp9UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DestructorDeclarationSyntaxExtensionsCSharp9UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp9.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DiscardDesignationSyntaxWrapperCSharp9UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp9.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp9UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp9.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/IsPatternExpressionSyntaxWrapperCSharp9UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp9.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/{ArgumentSyntaxExtensionsTestsCSharp9.cs => LanguageVersionExCSharp9UnitTests.cs} (75%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/{LightupHelpersTestsCSharp9.cs => LightupHelpersCSharp9UnitTests.cs} (72%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LocalFunctionStatementSyntaxWrapperCSharp9UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp9.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/{OperationKindExTestsCSharp9.cs => MethodKindExCSharp9UnitTests.cs} (77%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/{LanguageVersionExTestsCSharp9.cs => OperationKindExCSharp9UnitTests.cs} (75%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp9UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp9.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/{ConstantPatternSyntaxWrapperTestsCSharp9.cs => PatternSyntaxWrapperCSharp9UnitTests.cs} (73%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefExpressionSyntaxWrapperCSharp9UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefExpressionSyntaxWrapperTestsCSharp9.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefTypeSyntaxWrapperCSharp9UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefTypeSyntaxWrapperTestsCSharp9.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SingleVariableDesignationSyntaxWrapperCSharp9UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp9.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp9UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp9.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionArmSyntaxWrapperCSharp9UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp9.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionSyntaxWrapperCSharp9UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp9.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/{CasePatternSwitchLabelSyntaxWrapperTestsCSharp9.cs => SyntaxKindExCSharp9UnitTests.cs} (84%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxKindExTestsCSharp9.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/{PatternSyntaxWrapperTestsCSharp9.cs => SyntaxWrapperCSharp9UnitTests.cs} (76%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/{MethodKindExTestsCSharp9.cs => SyntaxWrapperHelperCSharp9UnitTests.cs} (74%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperHelperTestsCSharp9.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperTestsCSharp9.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ThrowExpressionSyntaxWrapperCSharp9UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp9.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleElementSyntaxWrapperCSharp9UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleElementSyntaxWrapperTestsCSharp9.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleExpressionSyntaxWrapperCSharp9UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleExpressionSyntaxWrapperTestsCSharp9.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/{CrefParameterSyntaxExtensionsTestsCSharp9.cs => TupleTypeSyntaxWrapperCSharp9UnitTests.cs} (73%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleTypeSyntaxWrapperTestsCSharp9.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/VariableDesignationSyntaxWrapperCSharp9UnitTests.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/VariableDesignationSyntaxWrapperTestsCSharp9.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/{DeclarationPatternSyntaxWrapperTestsCSharp9.cs => WhenClauseSyntaxWrapperCSharp9UnitTests.cs} (72%) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/WhenClauseSyntaxWrapperTestsCSharp9.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForStructUnitTests.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/{SA1402CSharp9ForDelegateUnitTests.cs => SA1402ForClassCSharp9UnitTests.cs} (77%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/{SA1402CSharp9ForInterfaceUnitTests.cs => SA1402ForDelegateCSharp9UnitTests.cs} (76%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/{SA1402CSharp9ForClassUnitTests.cs => SA1402ForEnumCSharp9UnitTests.cs} (78%) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402ForInterfaceCSharp9UnitTests.cs rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/{SA1402CSharp9ForRecordUnitTests.cs => SA1402ForRecordCSharp9UnitTests.cs} (89%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/{SA1402CSharp9ForEnumUnitTests.cs => SA1402ForStructCSharp9UnitTests.cs} (77%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/{SA1200CSharp9OutsideNamespaceUnitTests.cs => SA1200OutsideNamespaceCSharp9UnitTests.cs} (94%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/{SA1200CSharp9PreserveUnitTests.cs => SA1200PreserveCSharp9UnitTests.cs} (94%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/{CSharp9UsingCodeFixProviderUnitTests.cs => SA1206CodeFixProviderCSharp9UnitTests.cs} (74%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/{SA1210CSharp9CombinedSystemDirectivesUnitTests.cs => SA1210CombinedSystemDirectivesCSharp9UnitTests.cs} (71%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/{SA1206CSharp9CodeFixProviderUnitTests.cs => UsingCodeFixProviderCSharp9UnitTests.cs} (74%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/{CSharp9UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs => UsingCodeFixProviderCombinedSystemDirectivesCSharp9UnitTests.cs} (66%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/{CSharp9UsingCodeFixProviderGroupSeparationUnitTests.cs => UsingCodeFixProviderGroupSeparationCSharp9UnitTests.cs} (69%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/{CSharp9UsingCodeFixProviderRegressionUnitTests.cs => UsingCodeFixProviderRegressionCSharp9UnitTests.cs} (71%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test/{AnalyzerConfigurationTests.cs => AnalyzerConfigurationUnitTests.cs} (98%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test/HelperTests/{SymbolNameHelpersTests.cs => SymbolNameHelpersUnitTests.cs} (98%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/{LanguageVersionExTests.cs => LanguageVersionExUnitTests.cs} (95%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/{LightupHelpersTests.cs => LightupHelpersUnitTests.cs} (99%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/{MethodKindExTests.cs => MethodKindExUnitTests.cs} (96%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/{SwitchExpressionArmSyntaxWrapperTests.cs => SwitchExpressionArmSyntaxWrapperUnitTests.cs} (96%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/{SwitchExpressionSyntaxWrapperTests.cs => SwitchExpressionSyntaxWrapperUnitTests.cs} (98%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/{SyntaxKindExTests.cs => SyntaxKindExUnitTests.cs} (96%) rename StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/{SyntaxWrapperHelperTests.cs => SyntaxWrapperHelperUnitTests.cs} (98%) 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.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/AnalyzerConfigurationTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/AnalyzerConfigurationCSharp10UnitTests.cs similarity index 72% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/AnalyzerConfigurationTestsCSharp10.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/AnalyzerConfigurationCSharp10UnitTests.cs index e4a868e59..be7933740 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/AnalyzerConfigurationTestsCSharp10.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/AnalyzerConfigurationCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10 { using StyleCop.Analyzers.Test.CSharp9; - public class AnalyzerConfigurationTestsCSharp10 : AnalyzerConfigurationTestsCSharp9 + public partial class AnalyzerConfigurationCSharp10UnitTests : AnalyzerConfigurationCSharp9UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/CSharp10InheritdocCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/InheritdocCodeFixProviderCSharp10UnitTests.cs similarity index 73% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/CSharp10InheritdocCodeFixProviderUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/InheritdocCodeFixProviderCSharp10UnitTests.cs index be49bc8d6..31aed48d6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/CSharp10InheritdocCodeFixProviderUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/InheritdocCodeFixProviderCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules { using StyleCop.Analyzers.Test.CSharp9.DocumentationRules; - public class CSharp10InheritdocCodeFixProviderUnitTests : CSharp9InheritdocCodeFixProviderUnitTests + public partial class InheritdocCodeFixProviderCSharp10UnitTests : InheritdocCodeFixProviderCSharp9UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/CSharp10NoXmlFileHeaderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/NoXmlFileHeaderCSharp10UnitTests.cs similarity index 77% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/CSharp10NoXmlFileHeaderUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/NoXmlFileHeaderCSharp10UnitTests.cs index 50c0f5ea6..85ef880a2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/CSharp10NoXmlFileHeaderUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/DocumentationRules/NoXmlFileHeaderCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.DocumentationRules { using StyleCop.Analyzers.Test.CSharp9.DocumentationRules; - public class CSharp10NoXmlFileHeaderUnitTests : CSharp9NoXmlFileHeaderUnitTests + public partial class NoXmlFileHeaderCSharp10UnitTests : NoXmlFileHeaderCSharp9UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/HelperTests/SymbolNameHelpersCSharp10Tests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/HelperTests/SymbolNameHelpersCSharp10UnitTests.cs similarity index 75% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/HelperTests/SymbolNameHelpersCSharp10Tests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/HelperTests/SymbolNameHelpersCSharp10UnitTests.cs index e53bb6f86..ded94a69a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/HelperTests/SymbolNameHelpersCSharp10Tests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/HelperTests/SymbolNameHelpersCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.HelperTests { using StyleCop.Analyzers.Test.CSharp9.HelperTests; - public class SymbolNameHelpersCSharp10Tests : SymbolNameHelpersCSharp9Tests + public partial class SymbolNameHelpersCSharp10UnitTests : SymbolNameHelpersCSharp9UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516CSharp10UsingGroupsUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516UsingGroupsCSharp10UnitTests.cs similarity index 75% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516CSharp10UsingGroupsUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516UsingGroupsCSharp10UnitTests.cs index bfbee6adc..255ab862b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516CSharp10UsingGroupsUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/LayoutRules/SA1516UsingGroupsCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.LayoutRules { using StyleCop.Analyzers.Test.CSharp9.LayoutRules; - public class SA1516CSharp10UsingGroupsUnitTests : SA1516CSharp9UsingGroupsUnitTests + public partial class SA1516UsingGroupsCSharp10UnitTests : SA1516UsingGroupsCSharp9UnitTests { } } 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/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/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/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/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/AccessorDeclarationSyntaxExtensionsTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstantPatternSyntaxWrapperCSharp10UnitTests.cs similarity index 70% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp10.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstantPatternSyntaxWrapperCSharp10UnitTests.cs index 74af8fa3e..16987bde8 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp10.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstantPatternSyntaxWrapperCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.Lightup { using StyleCop.Analyzers.Test.CSharp9.Lightup; - public class AccessorDeclarationSyntaxExtensionsTestsCSharp10 : AccessorDeclarationSyntaxExtensionsTestsCSharp9 + public partial class ConstantPatternSyntaxWrapperCSharp10UnitTests : ConstantPatternSyntaxWrapperCSharp9UnitTests { } } 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/BaseMethodDeclarationSyntaxExtensionsTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CrefParameterSyntaxExtensionsCSharp10UnitTests.cs similarity index 70% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp10.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CrefParameterSyntaxExtensionsCSharp10UnitTests.cs index db490fc18..251e125ff 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp10.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CrefParameterSyntaxExtensionsCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.Lightup { using StyleCop.Analyzers.Test.CSharp9.Lightup; - public class BaseMethodDeclarationSyntaxExtensionsTestsCSharp10 : BaseMethodDeclarationSyntaxExtensionsTestsCSharp9 + public partial class CrefParameterSyntaxExtensionsCSharp10UnitTests : CrefParameterSyntaxExtensionsCSharp9UnitTests { } } 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/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/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/ArgumentSyntaxExtensionsTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LanguageVersionExCSharp10UnitTests.cs similarity index 74% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ArgumentSyntaxExtensionsTestsCSharp10.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LanguageVersionExCSharp10UnitTests.cs index 66b78e49b..588d2707b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ArgumentSyntaxExtensionsTestsCSharp10.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LanguageVersionExCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.Lightup { using StyleCop.Analyzers.Test.CSharp9.Lightup; - public class ArgumentSyntaxExtensionsTestsCSharp10 : ArgumentSyntaxExtensionsTestsCSharp9 + 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/LightupHelpersCSharp10UnitTests.cs similarity index 76% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LanguageVersionExTestsCSharp10.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LightupHelpersCSharp10UnitTests.cs index 5f2b2ab47..aa170127a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LanguageVersionExTestsCSharp10.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LightupHelpersCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.Lightup { using StyleCop.Analyzers.Test.CSharp9.Lightup; - public class LanguageVersionExTestsCSharp10 : LanguageVersionExTestsCSharp9 + public partial class LightupHelpersCSharp10UnitTests : LightupHelpersCSharp9UnitTests { } } 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/MethodKindExTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/MethodKindExCSharp10UnitTests.cs similarity index 76% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/MethodKindExTestsCSharp10.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/MethodKindExCSharp10UnitTests.cs index 0c7ffd54a..3e1cc4bbb 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/MethodKindExTestsCSharp10.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/MethodKindExCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.Lightup { using StyleCop.Analyzers.Test.CSharp9.Lightup; - public class MethodKindExTestsCSharp10 : MethodKindExTestsCSharp9 + public partial class MethodKindExCSharp10UnitTests : MethodKindExCSharp9UnitTests { } } 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/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/ConstantPatternSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/PatternSyntaxWrapperCSharp10UnitTests.cs similarity index 73% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstantPatternSyntaxWrapperTestsCSharp10.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/PatternSyntaxWrapperCSharp10UnitTests.cs index 95506e8cd..dfc045407 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ConstantPatternSyntaxWrapperTestsCSharp10.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/PatternSyntaxWrapperCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.Lightup { using StyleCop.Analyzers.Test.CSharp9.Lightup; - public class ConstantPatternSyntaxWrapperTestsCSharp10 : ConstantPatternSyntaxWrapperTestsCSharp9 + 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/DeclarationExpressionSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefExpressionSyntaxWrapperCSharp10UnitTests.cs similarity index 71% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp10.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefExpressionSyntaxWrapperCSharp10UnitTests.cs index 61f726b30..9b674cf20 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp10.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/RefExpressionSyntaxWrapperCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.Lightup { using StyleCop.Analyzers.Test.CSharp9.Lightup; - public class DeclarationExpressionSyntaxWrapperTestsCSharp10 : DeclarationExpressionSyntaxWrapperTestsCSharp9 + 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/OperationKindExTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxKindExCSharp10UnitTests.cs similarity index 76% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/OperationKindExTestsCSharp10.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxKindExCSharp10UnitTests.cs index c1bb9e3a1..eea401bc2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/OperationKindExTestsCSharp10.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxKindExCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.Lightup { using StyleCop.Analyzers.Test.CSharp9.Lightup; - public class OperationKindExTestsCSharp10 : OperationKindExTestsCSharp9 + 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/LightupHelpersTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperCSharp10UnitTests.cs similarity index 76% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LightupHelpersTestsCSharp10.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperCSharp10UnitTests.cs index c07648855..a52582640 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/LightupHelpersTestsCSharp10.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/SyntaxWrapperCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.Lightup { using StyleCop.Analyzers.Test.CSharp9.Lightup; - public class LightupHelpersTestsCSharp10 : LightupHelpersTestsCSharp9 + 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/CommonForEachStatementSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ThrowExpressionSyntaxWrapperCSharp10UnitTests.cs similarity index 70% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp10.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ThrowExpressionSyntaxWrapperCSharp10UnitTests.cs index 740179906..a6690082b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp10.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/ThrowExpressionSyntaxWrapperCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.Lightup { using StyleCop.Analyzers.Test.CSharp9.Lightup; - public class CommonForEachStatementSyntaxWrapperTestsCSharp10 : CommonForEachStatementSyntaxWrapperTestsCSharp9 + 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/CasePatternSwitchLabelSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleExpressionSyntaxWrapperCSharp10UnitTests.cs similarity index 70% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp10.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleExpressionSyntaxWrapperCSharp10UnitTests.cs index d5ac4b7f5..f784b1ad8 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp10.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleExpressionSyntaxWrapperCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.Lightup { using StyleCop.Analyzers.Test.CSharp9.Lightup; - public class CasePatternSwitchLabelSyntaxWrapperTestsCSharp10 : CasePatternSwitchLabelSyntaxWrapperTestsCSharp9 + 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/CrefParameterSyntaxExtensionsTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleTypeSyntaxWrapperCSharp10UnitTests.cs similarity index 72% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CrefParameterSyntaxExtensionsTestsCSharp10.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleTypeSyntaxWrapperCSharp10UnitTests.cs index 8ed43d0ba..d8cd92c1c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/CrefParameterSyntaxExtensionsTestsCSharp10.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/TupleTypeSyntaxWrapperCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.Lightup { using StyleCop.Analyzers.Test.CSharp9.Lightup; - public class CrefParameterSyntaxExtensionsTestsCSharp10 : CrefParameterSyntaxExtensionsTestsCSharp9 + 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/DeclarationPatternSyntaxWrapperTestsCSharp10.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/WhenClauseSyntaxWrapperCSharp10UnitTests.cs similarity index 72% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp10.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/WhenClauseSyntaxWrapperCSharp10UnitTests.cs index ddc1e3d22..87ce423c0 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp10.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/WhenClauseSyntaxWrapperCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.Lightup { using StyleCop.Analyzers.Test.CSharp9.Lightup; - public class DeclarationPatternSyntaxWrapperTestsCSharp10 : DeclarationPatternSyntaxWrapperTestsCSharp9 + 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/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/SA1402CSharp10ForClassUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForClassCSharp10UnitTests.cs similarity index 93% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForClassUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForClassCSharp10UnitTests.cs index 784ea4994..34ae80264 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForClassUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForClassCSharp10UnitTests.cs @@ -10,7 +10,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules; using Xunit; - public class SA1402CSharp10ForClassUnitTests : SA1402CSharp9ForClassUnitTests + public partial class SA1402ForClassCSharp10UnitTests : SA1402ForClassCSharp9UnitTests { [Fact] [WorkItem(3435, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3435")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForDelegateCSharp10UnitTests.cs similarity index 76% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForDelegateCSharp10UnitTests.cs index 016434091..43b326ed3 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForDelegateCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules; - public class SA1402CSharp10ForRecordUnitTests : SA1402CSharp9ForRecordUnitTests + public partial class SA1402ForDelegateCSharp10UnitTests : SA1402ForDelegateCSharp9UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForDelegateUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForEnumCSharp10UnitTests.cs similarity index 78% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForDelegateUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForEnumCSharp10UnitTests.cs index 2aaa60273..77ca161aa 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForDelegateUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForEnumCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules; - public class SA1402CSharp10ForDelegateUnitTests : SA1402CSharp9ForDelegateUnitTests + 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/SA1402CSharp10ForEnumUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForRecordCSharp10UnitTests.cs similarity index 77% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForEnumUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForRecordCSharp10UnitTests.cs index f8b888329..61eba973a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForEnumUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForRecordCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules; - public class SA1402CSharp10ForEnumUnitTests : SA1402CSharp9ForEnumUnitTests + public partial class SA1402ForRecordCSharp10UnitTests : SA1402ForRecordCSharp9UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordClassUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForRecordClassCSharp10UnitTests.cs similarity index 89% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordClassUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForRecordClassCSharp10UnitTests.cs index 581a44735..0898c1ea0 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordClassUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForRecordClassCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules { using StyleCop.Analyzers.Test.MaintainabilityRules; - public class SA1402CSharp10ForRecordClassUnitTests : SA1402ForBlockDeclarationUnitTestsBase + public class SA1402ForRecordClassCSharp10UnitTests : SA1402ForBlockDeclarationUnitTestsBase { public override string Keyword => "record class"; diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordStructUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForRecordStructCSharp10UnitTests.cs similarity index 89% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordStructUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForRecordStructCSharp10UnitTests.cs index a1c205454..1a511dd6d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForRecordStructUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForRecordStructCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules { using StyleCop.Analyzers.Test.MaintainabilityRules; - public class SA1402CSharp10ForRecordStructUnitTests : SA1402ForBlockDeclarationUnitTestsBase + public class SA1402ForRecordStructCSharp10UnitTests : SA1402ForBlockDeclarationUnitTestsBase { public override string Keyword => "record struct"; diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForInterfaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForStructCSharp10UnitTests.cs similarity index 77% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForInterfaceUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForStructCSharp10UnitTests.cs index 95775bf35..e8b5f20af 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402CSharp10ForInterfaceUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/MaintainabilityRules/SA1402ForStructCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules; - public class SA1402CSharp10ForInterfaceUnitTests : SA1402CSharp9ForInterfaceUnitTests + public partial class SA1402ForStructCSharp10UnitTests : SA1402ForStructCSharp9UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200CSharp10OutsideNamespaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200OutsideNamespaceCSharp10UnitTests.cs similarity index 92% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200CSharp10OutsideNamespaceUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200OutsideNamespaceCSharp10UnitTests.cs index ebedbacf5..98b05c70b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200CSharp10OutsideNamespaceUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200OutsideNamespaceCSharp10UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules using StyleCop.Analyzers.Test.CSharp9.OrderingRules; using Xunit; - public class SA1200CSharp10OutsideNamespaceUnitTests : SA1200CSharp9OutsideNamespaceUnitTests + public partial class SA1200OutsideNamespaceCSharp10UnitTests : SA1200OutsideNamespaceCSharp9UnitTests { [Fact] public async Task TestInvalidUsingStatementsInFileScopedNamespaceAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200CSharp10PreserveUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200PreserveCSharp10UnitTests.cs similarity index 94% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200CSharp10PreserveUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200PreserveCSharp10UnitTests.cs index 8ff1aa5d3..c6bbad99e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200CSharp10PreserveUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1200PreserveCSharp10UnitTests.cs @@ -11,7 +11,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules using StyleCop.Analyzers.Test.CSharp9.OrderingRules; using Xunit; - public class SA1200CSharp10PreserveUnitTests : SA1200CSharp9PreserveUnitTests + public partial class SA1200PreserveCSharp10UnitTests : SA1200PreserveCSharp9UnitTests { [Fact] public async Task TestValidUsingStatementsInFileScopedNamespaceAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CodeFixProviderCSharp10UnitTests.cs similarity index 74% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CodeFixProviderCSharp10UnitTests.cs index 1a230a859..a0d2bc536 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CodeFixProviderCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules { using StyleCop.Analyzers.Test.CSharp9.OrderingRules; - public class CSharp10UsingCodeFixProviderUnitTests : CSharp9UsingCodeFixProviderUnitTests + public partial class SA1206CodeFixProviderCSharp10UnitTests : SA1206CodeFixProviderCSharp9UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1210CSharp10CombinedSystemDirectivesUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1210CombinedSystemDirectivesCSharp10UnitTests.cs similarity index 92% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1210CSharp10CombinedSystemDirectivesUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1210CombinedSystemDirectivesCSharp10UnitTests.cs index 20730a684..ce2f0de2d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1210CSharp10CombinedSystemDirectivesUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1210CombinedSystemDirectivesCSharp10UnitTests.cs @@ -13,7 +13,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules StyleCop.Analyzers.OrderingRules.SA1210UsingDirectivesMustBeOrderedAlphabeticallyByNamespace, StyleCop.Analyzers.OrderingRules.UsingCodeFixProvider>; - public class SA1210CSharp10CombinedSystemDirectivesUnitTests : SA1210CSharp9CombinedSystemDirectivesUnitTests + public partial class SA1210CombinedSystemDirectivesCSharp10UnitTests : SA1210CombinedSystemDirectivesCSharp9UnitTests { [Fact] public async Task TestUsingDirectivesInFileScopedNamespaceDeclarationAsync() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CSharp10CodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderCSharp10UnitTests.cs similarity index 74% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CSharp10CodeFixProviderUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderCSharp10UnitTests.cs index 8b0f773be..1a9c83eac 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1206CSharp10CodeFixProviderUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules { using StyleCop.Analyzers.Test.CSharp9.OrderingRules; - public class SA1206CSharp10CodeFixProviderUnitTests : SA1206CSharp9CodeFixProviderUnitTests + public partial class UsingCodeFixProviderCSharp10UnitTests : UsingCodeFixProviderCSharp9UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp10UnitTests.cs similarity index 66% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp10UnitTests.cs index 67055d1ae..4aa74814a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules { using StyleCop.Analyzers.Test.CSharp9.OrderingRules; - public class CSharp10UsingCodeFixProviderCombinedSystemDirectivesUnitTests : CSharp9UsingCodeFixProviderCombinedSystemDirectivesUnitTests + public partial class UsingCodeFixProviderCombinedSystemDirectivesCSharp10UnitTests : UsingCodeFixProviderCombinedSystemDirectivesCSharp9UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderGroupSeparationUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp10UnitTests.cs similarity index 69% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderGroupSeparationUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp10UnitTests.cs index 1725fcf55..c223048b9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderGroupSeparationUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules { using StyleCop.Analyzers.Test.CSharp9.OrderingRules; - public class CSharp10UsingCodeFixProviderGroupSeparationUnitTests : CSharp9UsingCodeFixProviderGroupSeparationUnitTests + public partial class UsingCodeFixProviderGroupSeparationCSharp10UnitTests : UsingCodeFixProviderGroupSeparationCSharp9UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderRegressionUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderRegressionCSharp10UnitTests.cs similarity index 70% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderRegressionUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderRegressionCSharp10UnitTests.cs index 9e611a740..569bcc146 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/CSharp10UsingCodeFixProviderRegressionUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/UsingCodeFixProviderRegressionCSharp10UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules { using StyleCop.Analyzers.Test.CSharp9.OrderingRules; - public class CSharp10UsingCodeFixProviderRegressionUnitTests : CSharp9UsingCodeFixProviderRegressionUnitTests + public partial class UsingCodeFixProviderRegressionCSharp10UnitTests : UsingCodeFixProviderRegressionCSharp9UnitTests { } } 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/AnalyzerConfigurationTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/AnalyzerConfigurationCSharp11UnitTests.cs similarity index 72% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/AnalyzerConfigurationTestsCSharp11.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/AnalyzerConfigurationCSharp11UnitTests.cs index b19535852..25fd38b43 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/AnalyzerConfigurationTestsCSharp11.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/AnalyzerConfigurationCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11 { using StyleCop.Analyzers.Test.CSharp10; - public class AnalyzerConfigurationTestsCSharp11 : AnalyzerConfigurationTestsCSharp10 + public partial class AnalyzerConfigurationCSharp11UnitTests : AnalyzerConfigurationCSharp10UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/CSharp11InheritdocCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/InheritdocCodeFixProviderCSharp11UnitTests.cs similarity index 73% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/CSharp11InheritdocCodeFixProviderUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/InheritdocCodeFixProviderCSharp11UnitTests.cs index 3d945b440..423f6df7d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/CSharp11InheritdocCodeFixProviderUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/InheritdocCodeFixProviderCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules { using StyleCop.Analyzers.Test.CSharp10.DocumentationRules; - public class CSharp11InheritdocCodeFixProviderUnitTests : CSharp10InheritdocCodeFixProviderUnitTests + public partial class InheritdocCodeFixProviderCSharp11UnitTests : InheritdocCodeFixProviderCSharp10UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/CSharp11NoXmlFileHeaderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/NoXmlFileHeaderCSharp11UnitTests.cs similarity index 76% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/CSharp11NoXmlFileHeaderUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/NoXmlFileHeaderCSharp11UnitTests.cs index 3ada085f4..4c11bd3da 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/CSharp11NoXmlFileHeaderUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/NoXmlFileHeaderCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.DocumentationRules { using StyleCop.Analyzers.Test.CSharp10.DocumentationRules; - public class CSharp11NoXmlFileHeaderUnitTests : CSharp10NoXmlFileHeaderUnitTests + public partial class NoXmlFileHeaderCSharp11UnitTests : NoXmlFileHeaderCSharp10UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/HelperTests/SymbolNameHelpersCSharp11Tests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/HelperTests/SymbolNameHelpersCSharp11UnitTests.cs similarity index 75% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/HelperTests/SymbolNameHelpersCSharp11Tests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/HelperTests/SymbolNameHelpersCSharp11UnitTests.cs index b3aea1161..c80c8d62c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/HelperTests/SymbolNameHelpersCSharp11Tests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/HelperTests/SymbolNameHelpersCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.HelperTests { using StyleCop.Analyzers.Test.CSharp10.HelperTests; - public class SymbolNameHelpersCSharp11Tests : SymbolNameHelpersCSharp10Tests + public partial class SymbolNameHelpersCSharp11UnitTests : SymbolNameHelpersCSharp10UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1516CSharp11UsingGroupsUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1516UsingGroupsCSharp11UnitTests.cs similarity index 75% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1516CSharp11UsingGroupsUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1516UsingGroupsCSharp11UnitTests.cs index adff9cda6..05584e523 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1516CSharp11UsingGroupsUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/LayoutRules/SA1516UsingGroupsCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.LayoutRules { using StyleCop.Analyzers.Test.CSharp10.LayoutRules; - public class SA1516CSharp11UsingGroupsUnitTests : SA1516CSharp10UsingGroupsUnitTests + public partial class SA1516UsingGroupsCSharp11UnitTests : SA1516UsingGroupsCSharp10UnitTests { } } 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/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/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/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/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/AccessorDeclarationSyntaxExtensionsTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstantPatternSyntaxWrapperCSharp11UnitTests.cs similarity index 70% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp11.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstantPatternSyntaxWrapperCSharp11UnitTests.cs index ddc503b90..d3a19b254 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp11.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstantPatternSyntaxWrapperCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.Lightup { using StyleCop.Analyzers.Test.CSharp10.Lightup; - public class AccessorDeclarationSyntaxExtensionsTestsCSharp11 : AccessorDeclarationSyntaxExtensionsTestsCSharp10 + public partial class ConstantPatternSyntaxWrapperCSharp11UnitTests : ConstantPatternSyntaxWrapperCSharp10UnitTests { } } 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/BaseMethodDeclarationSyntaxExtensionsTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CrefParameterSyntaxExtensionsCSharp11UnitTests.cs similarity index 70% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp11.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CrefParameterSyntaxExtensionsCSharp11UnitTests.cs index 7f6b9d467..b5b5160fa 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp11.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CrefParameterSyntaxExtensionsCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.Lightup { using StyleCop.Analyzers.Test.CSharp10.Lightup; - public class BaseMethodDeclarationSyntaxExtensionsTestsCSharp11 : BaseMethodDeclarationSyntaxExtensionsTestsCSharp10 + public partial class CrefParameterSyntaxExtensionsCSharp11UnitTests : CrefParameterSyntaxExtensionsCSharp10UnitTests { } } 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/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/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/ArgumentSyntaxExtensionsTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LanguageVersionExCSharp11UnitTests.cs similarity index 74% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ArgumentSyntaxExtensionsTestsCSharp11.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LanguageVersionExCSharp11UnitTests.cs index d482ce927..0ba0a966f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ArgumentSyntaxExtensionsTestsCSharp11.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LanguageVersionExCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.Lightup { using StyleCop.Analyzers.Test.CSharp10.Lightup; - public class ArgumentSyntaxExtensionsTestsCSharp11 : ArgumentSyntaxExtensionsTestsCSharp10 + 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/LightupHelpersCSharp11UnitTests.cs similarity index 75% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LanguageVersionExTestsCSharp11.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LightupHelpersCSharp11UnitTests.cs index ac3b75d9e..08b7a1526 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LanguageVersionExTestsCSharp11.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LightupHelpersCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.Lightup { using StyleCop.Analyzers.Test.CSharp10.Lightup; - public class LanguageVersionExTestsCSharp11 : LanguageVersionExTestsCSharp10 + public partial class LightupHelpersCSharp11UnitTests : LightupHelpersCSharp10UnitTests { } } 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/MethodKindExTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/MethodKindExCSharp11UnitTests.cs similarity index 76% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/MethodKindExTestsCSharp11.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/MethodKindExCSharp11UnitTests.cs index ddef70979..3958819dc 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/MethodKindExTestsCSharp11.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/MethodKindExCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.Lightup { using StyleCop.Analyzers.Test.CSharp10.Lightup; - public class MethodKindExTestsCSharp11 : MethodKindExTestsCSharp10 + public partial class MethodKindExCSharp11UnitTests : MethodKindExCSharp10UnitTests { } } 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/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/ConstantPatternSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/PatternSyntaxWrapperCSharp11UnitTests.cs similarity index 73% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstantPatternSyntaxWrapperTestsCSharp11.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/PatternSyntaxWrapperCSharp11UnitTests.cs index fa7fd4fdb..8d676e8fc 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ConstantPatternSyntaxWrapperTestsCSharp11.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/PatternSyntaxWrapperCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.Lightup { using StyleCop.Analyzers.Test.CSharp10.Lightup; - public class ConstantPatternSyntaxWrapperTestsCSharp11 : ConstantPatternSyntaxWrapperTestsCSharp10 + 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/DeclarationExpressionSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefExpressionSyntaxWrapperCSharp11UnitTests.cs similarity index 71% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp11.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefExpressionSyntaxWrapperCSharp11UnitTests.cs index 91eb1bd8e..8dac8896e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp11.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/RefExpressionSyntaxWrapperCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.Lightup { using StyleCop.Analyzers.Test.CSharp10.Lightup; - public class DeclarationExpressionSyntaxWrapperTestsCSharp11 : DeclarationExpressionSyntaxWrapperTestsCSharp10 + 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/OperationKindExTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxKindExCSharp11UnitTests.cs similarity index 76% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/OperationKindExTestsCSharp11.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxKindExCSharp11UnitTests.cs index 44aa9f927..b3a842316 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/OperationKindExTestsCSharp11.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxKindExCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.Lightup { using StyleCop.Analyzers.Test.CSharp10.Lightup; - public class OperationKindExTestsCSharp11 : OperationKindExTestsCSharp10 + 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/LightupHelpersTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperCSharp11UnitTests.cs similarity index 76% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LightupHelpersTestsCSharp11.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperCSharp11UnitTests.cs index 78e8b20a6..ae46ee183 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/LightupHelpersTestsCSharp11.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/SyntaxWrapperCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.Lightup { using StyleCop.Analyzers.Test.CSharp10.Lightup; - public class LightupHelpersTestsCSharp11 : LightupHelpersTestsCSharp10 + 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/CommonForEachStatementSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ThrowExpressionSyntaxWrapperCSharp11UnitTests.cs similarity index 70% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp11.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ThrowExpressionSyntaxWrapperCSharp11UnitTests.cs index dec1d95ef..be104d46b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp11.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/ThrowExpressionSyntaxWrapperCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.Lightup { using StyleCop.Analyzers.Test.CSharp10.Lightup; - public class CommonForEachStatementSyntaxWrapperTestsCSharp11 : CommonForEachStatementSyntaxWrapperTestsCSharp10 + 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/CasePatternSwitchLabelSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleExpressionSyntaxWrapperCSharp11UnitTests.cs similarity index 70% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp11.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleExpressionSyntaxWrapperCSharp11UnitTests.cs index 508c5a090..498b22c70 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp11.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleExpressionSyntaxWrapperCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.Lightup { using StyleCop.Analyzers.Test.CSharp10.Lightup; - public class CasePatternSwitchLabelSyntaxWrapperTestsCSharp11 : CasePatternSwitchLabelSyntaxWrapperTestsCSharp10 + 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/CrefParameterSyntaxExtensionsTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleTypeSyntaxWrapperCSharp11UnitTests.cs similarity index 72% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CrefParameterSyntaxExtensionsTestsCSharp11.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleTypeSyntaxWrapperCSharp11UnitTests.cs index f5206b97b..7f8bb3ea9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/CrefParameterSyntaxExtensionsTestsCSharp11.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/TupleTypeSyntaxWrapperCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.Lightup { using StyleCop.Analyzers.Test.CSharp10.Lightup; - public class CrefParameterSyntaxExtensionsTestsCSharp11 : CrefParameterSyntaxExtensionsTestsCSharp10 + 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/DeclarationPatternSyntaxWrapperTestsCSharp11.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/WhenClauseSyntaxWrapperCSharp11UnitTests.cs similarity index 72% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp11.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/WhenClauseSyntaxWrapperCSharp11UnitTests.cs index 3fda4579b..9bf2f34e4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp11.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/Lightup/WhenClauseSyntaxWrapperCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.Lightup { using StyleCop.Analyzers.Test.CSharp10.Lightup; - public class DeclarationPatternSyntaxWrapperTestsCSharp11 : DeclarationPatternSyntaxWrapperTestsCSharp10 + 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/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/SA1402CSharp11ForDelegateUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForClassCSharp11UnitTests.cs similarity index 77% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForDelegateUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForClassCSharp11UnitTests.cs index 526517e71..e57806802 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForDelegateUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForClassCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules; - public class SA1402CSharp11ForDelegateUnitTests : SA1402CSharp10ForDelegateUnitTests + 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/SA1402CSharp11ForClassUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForEnumCSharp11UnitTests.cs similarity index 77% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForClassUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForEnumCSharp11UnitTests.cs index db39e118a..c8704cd43 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForClassUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForEnumCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules; - public class SA1402CSharp11ForClassUnitTests : SA1402CSharp10ForClassUnitTests + 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/SA1402CSharp11ForEnumUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForRecordCSharp11UnitTests.cs similarity index 77% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForEnumUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForRecordCSharp11UnitTests.cs index 6541aa3e8..dde412102 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForEnumUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForRecordCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules; - public class SA1402CSharp11ForEnumUnitTests : SA1402CSharp10ForEnumUnitTests + 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/SA1402CSharp11ForInterfaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForStructCSharp11UnitTests.cs similarity index 77% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForInterfaceUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForStructCSharp11UnitTests.cs index d8a9ecc19..44d5b33c3 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402CSharp11ForInterfaceUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/MaintainabilityRules/SA1402ForStructCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp10.MaintainabilityRules; - public class SA1402CSharp11ForInterfaceUnitTests : SA1402CSharp10ForInterfaceUnitTests + public partial class SA1402ForStructCSharp11UnitTests : SA1402ForStructCSharp10UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200OutsideNamespaceCSharp11UnitTests.cs similarity index 73% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200OutsideNamespaceCSharp11UnitTests.cs index 3aee3b4d2..351329a34 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200OutsideNamespaceCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules { using StyleCop.Analyzers.Test.CSharp10.OrderingRules; - public class CSharp11UsingCodeFixProviderUnitTests : CSharp10UsingCodeFixProviderUnitTests + public partial class SA1200OutsideNamespaceCSharp11UnitTests : SA1200OutsideNamespaceCSharp10UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11PreserveUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200PreserveCSharp11UnitTests.cs similarity index 76% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11PreserveUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200PreserveCSharp11UnitTests.cs index 7e1177e72..9be2d4dda 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11PreserveUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200PreserveCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules { using StyleCop.Analyzers.Test.CSharp10.OrderingRules; - public class SA1200CSharp11PreserveUnitTests : SA1200CSharp10PreserveUnitTests + public partial class SA1200PreserveCSharp11UnitTests : SA1200PreserveCSharp10UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CSharp11CodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CodeFixProviderCSharp11UnitTests.cs similarity index 95% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CSharp11CodeFixProviderUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CodeFixProviderCSharp11UnitTests.cs index 4371e2887..369133453 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CSharp11CodeFixProviderUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1206CodeFixProviderCSharp11UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules StyleCop.Analyzers.OrderingRules.SA1206DeclarationKeywordsMustFollowOrder, StyleCop.Analyzers.OrderingRules.SA1206CodeFixProvider>; - public class SA1206CSharp11CodeFixProviderUnitTests : SA1206CSharp10CodeFixProviderUnitTests + public partial class SA1206CodeFixProviderCSharp11UnitTests : SA1206CodeFixProviderCSharp10UnitTests { [Fact] [WorkItem(3589, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3589")] 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/CSharp11UsingCodeFixProviderRegressionUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1210CombinedSystemDirectivesCSharp11UnitTests.cs similarity index 70% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderRegressionUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1210CombinedSystemDirectivesCSharp11UnitTests.cs index 926e61b08..ac08406c6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderRegressionUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1210CombinedSystemDirectivesCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules { using StyleCop.Analyzers.Test.CSharp10.OrderingRules; - public class CSharp11UsingCodeFixProviderRegressionUnitTests : CSharp10UsingCodeFixProviderRegressionUnitTests + public partial class SA1210CombinedSystemDirectivesCSharp11UnitTests : SA1210CombinedSystemDirectivesCSharp10UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11OutsideNamespaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/UsingCodeFixProviderCSharp11UnitTests.cs similarity index 74% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11OutsideNamespaceUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/UsingCodeFixProviderCSharp11UnitTests.cs index b598a834d..bf8d26155 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/SA1200CSharp11OutsideNamespaceUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/UsingCodeFixProviderCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules { using StyleCop.Analyzers.Test.CSharp10.OrderingRules; - public class SA1200CSharp11OutsideNamespaceUnitTests : SA1200CSharp10OutsideNamespaceUnitTests + public partial class UsingCodeFixProviderCSharp11UnitTests : UsingCodeFixProviderCSharp10UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp11UnitTests.cs similarity index 66% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp11UnitTests.cs index ebed4859e..bb41770f0 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules { using StyleCop.Analyzers.Test.CSharp10.OrderingRules; - public class CSharp11UsingCodeFixProviderCombinedSystemDirectivesUnitTests : CSharp10UsingCodeFixProviderCombinedSystemDirectivesUnitTests + public partial class UsingCodeFixProviderCombinedSystemDirectivesCSharp11UnitTests : UsingCodeFixProviderCombinedSystemDirectivesCSharp10UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderGroupSeparationUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp11UnitTests.cs similarity index 69% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderGroupSeparationUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp11UnitTests.cs index 858746476..434c862ce 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/CSharp11UsingCodeFixProviderGroupSeparationUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp11UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp11.OrderingRules { using StyleCop.Analyzers.Test.CSharp10.OrderingRules; - public class CSharp11UsingCodeFixProviderGroupSeparationUnitTests : CSharp10UsingCodeFixProviderGroupSeparationUnitTests + 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/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.CSharp7/AnalyzerConfigurationTestsCSharp7.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/AnalyzerConfigurationCSharp7UnitTests.cs similarity index 70% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/AnalyzerConfigurationTestsCSharp7.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/AnalyzerConfigurationCSharp7UnitTests.cs index e2a2e8c8f..d739ae277 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/AnalyzerConfigurationTestsCSharp7.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/AnalyzerConfigurationCSharp7UnitTests.cs @@ -3,7 +3,7 @@ namespace StyleCop.Analyzers.Test.CSharp7 { - public class AnalyzerConfigurationTestsCSharp7 : AnalyzerConfigurationTests + public partial class AnalyzerConfigurationCSharp7UnitTests : AnalyzerConfigurationUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/CSharp7InheritdocCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/InheritdocCodeFixProviderCSharp7UnitTests.cs similarity index 74% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/CSharp7InheritdocCodeFixProviderUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/InheritdocCodeFixProviderCSharp7UnitTests.cs index 9beeed04c..649c19df9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/CSharp7InheritdocCodeFixProviderUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/InheritdocCodeFixProviderCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules { using StyleCop.Analyzers.Test.DocumentationRules; - public class CSharp7InheritdocCodeFixProviderUnitTests : InheritdocCodeFixProviderUnitTests + public partial class InheritdocCodeFixProviderCSharp7UnitTests : InheritdocCodeFixProviderUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/CSharp7NoXmlFileHeaderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/NoXmlFileHeaderCSharp7UnitTests.cs similarity index 78% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/CSharp7NoXmlFileHeaderUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/NoXmlFileHeaderCSharp7UnitTests.cs index 20f958d0d..abd78da9e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/CSharp7NoXmlFileHeaderUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/NoXmlFileHeaderCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules { using StyleCop.Analyzers.Test.DocumentationRules; - public class CSharp7NoXmlFileHeaderUnitTests : NoXmlFileHeaderUnitTests + public partial class NoXmlFileHeaderCSharp7UnitTests : NoXmlFileHeaderUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/HelperTests/SymbolNameHelpersCSharp7Tests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/HelperTests/SymbolNameHelpersCSharp7UnitTests.cs similarity index 95% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/HelperTests/SymbolNameHelpersCSharp7Tests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/HelperTests/SymbolNameHelpersCSharp7UnitTests.cs index 4dfe221d2..11d2b2dca 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/HelperTests/SymbolNameHelpersCSharp7Tests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/HelperTests/SymbolNameHelpersCSharp7UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.HelperTests /// /// Unit tests for the class in the context of C# 7.x. /// - public class SymbolNameHelpersCSharp7Tests : SymbolNameHelpersTests + public partial class SymbolNameHelpersCSharp7UnitTests : SymbolNameHelpersUnitTests { /// /// Verify the workings of diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516CSharp7UsingGroupsUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516UsingGroupsCSharp7UnitTests.cs similarity index 76% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516CSharp7UsingGroupsUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516UsingGroupsCSharp7UnitTests.cs index eafb27a7b..66c3ee2a2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516CSharp7UsingGroupsUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/LayoutRules/SA1516UsingGroupsCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.LayoutRules { using StyleCop.Analyzers.Test.LayoutRules; - public class SA1516CSharp7UsingGroupsUnitTests : SA1516UsingGroupsUnitTests + public partial class SA1516UsingGroupsCSharp7UnitTests : SA1516UsingGroupsUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/AccessorDeclarationSyntaxExtensionsTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/AccessorDeclarationSyntaxExtensionsCSharp7UnitTests.cs similarity index 95% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/AccessorDeclarationSyntaxExtensionsTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/AccessorDeclarationSyntaxExtensionsCSharp7UnitTests.cs index 5380cd304..545c80ed1 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/AccessorDeclarationSyntaxExtensionsTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/AccessorDeclarationSyntaxExtensionsCSharp7UnitTests.cs @@ -9,7 +9,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class AccessorDeclarationSyntaxExtensionsTests + public class AccessorDeclarationSyntaxExtensionsCSharp7UnitTests { [Fact] public void TestExpressionBody() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ArgumentSyntaxExtensionsTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ArgumentSyntaxExtensionsCSharp7UnitTests.cs similarity index 96% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ArgumentSyntaxExtensionsTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ArgumentSyntaxExtensionsCSharp7UnitTests.cs index 88ad9ebe1..204b1d916 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ArgumentSyntaxExtensionsTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ArgumentSyntaxExtensionsCSharp7UnitTests.cs @@ -9,7 +9,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class ArgumentSyntaxExtensionsTests + public class ArgumentSyntaxExtensionsCSharp7UnitTests { [Fact] public void TestRefKindKeyword() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/BaseMethodDeclarationSyntaxExtensionsTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp7UnitTests.cs similarity index 91% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/BaseMethodDeclarationSyntaxExtensionsTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp7UnitTests.cs index 6c337366c..9cf68c825 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/BaseMethodDeclarationSyntaxExtensionsTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp7UnitTests.cs @@ -9,7 +9,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class BaseMethodDeclarationSyntaxExtensionsTests + public class BaseMethodDeclarationSyntaxExtensionsCSharp7UnitTests { [Fact] public void TestExpressionBody() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CasePatternSwitchLabelSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp7UnitTests.cs similarity index 98% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CasePatternSwitchLabelSyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp7UnitTests.cs index 1a7faf733..13c0b5343 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CasePatternSwitchLabelSyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp7UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class CasePatternSwitchLabelSyntaxWrapperTests + public class CasePatternSwitchLabelSyntaxWrapperCSharp7UnitTests { [Fact] public void TestNull() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstantPatternSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstantPatternSyntaxWrapperCSharp7UnitTests.cs similarity index 98% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstantPatternSyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstantPatternSyntaxWrapperCSharp7UnitTests.cs index c5186a70a..88771ce1a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstantPatternSyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstantPatternSyntaxWrapperCSharp7UnitTests.cs @@ -11,7 +11,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class ConstantPatternSyntaxWrapperTests + public class ConstantPatternSyntaxWrapperCSharp7UnitTests { [Fact] public void TestNull() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstructorDeclarationSyntaxExtensionsTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp7UnitTests.cs similarity index 93% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstructorDeclarationSyntaxExtensionsTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp7UnitTests.cs index 113afa2e0..3833dd262 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstructorDeclarationSyntaxExtensionsTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp7UnitTests.cs @@ -9,7 +9,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class ConstructorDeclarationSyntaxExtensionsTests + public class ConstructorDeclarationSyntaxExtensionsCSharp7UnitTests { [Fact] public void TestWithExpressionBody() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CrefParameterSyntaxExtensionsTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CrefParameterSyntaxExtensionsCSharp7UnitTests.cs similarity index 96% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CrefParameterSyntaxExtensionsTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CrefParameterSyntaxExtensionsCSharp7UnitTests.cs index 8ffaba5f9..1fab8f136 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CrefParameterSyntaxExtensionsTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/CrefParameterSyntaxExtensionsCSharp7UnitTests.cs @@ -9,7 +9,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class CrefParameterSyntaxExtensionsTests + public class CrefParameterSyntaxExtensionsCSharp7UnitTests { [Fact] public void TestRefKindKeyword() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationExpressionSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationExpressionSyntaxWrapperCSharp7UnitTests.cs similarity index 98% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationExpressionSyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationExpressionSyntaxWrapperCSharp7UnitTests.cs index ebc064251..7f87f6ae7 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationExpressionSyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationExpressionSyntaxWrapperCSharp7UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class DeclarationExpressionSyntaxWrapperTests + public class DeclarationExpressionSyntaxWrapperCSharp7UnitTests { [Fact] public void TestNull() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationPatternSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationPatternSyntaxWrapperCSharp7UnitTests.cs similarity index 98% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationPatternSyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationPatternSyntaxWrapperCSharp7UnitTests.cs index b5af0b867..9f7f804a7 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationPatternSyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationPatternSyntaxWrapperCSharp7UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class DeclarationPatternSyntaxWrapperTests + public class DeclarationPatternSyntaxWrapperCSharp7UnitTests { [Fact] public void TestNull() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DestructorDeclarationSyntaxExtensionsTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DestructorDeclarationSyntaxExtensionsCSharp7UnitTests.cs similarity index 93% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DestructorDeclarationSyntaxExtensionsTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DestructorDeclarationSyntaxExtensionsCSharp7UnitTests.cs index e3703629d..6aa3847c9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DestructorDeclarationSyntaxExtensionsTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DestructorDeclarationSyntaxExtensionsCSharp7UnitTests.cs @@ -9,7 +9,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class DestructorDeclarationSyntaxExtensionsTests + public class DestructorDeclarationSyntaxExtensionsCSharp7UnitTests { [Fact] public void TestWithExpressionBody() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DiscardDesignationSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DiscardDesignationSyntaxWrapperCSharp7UnitTests.cs similarity index 98% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DiscardDesignationSyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DiscardDesignationSyntaxWrapperCSharp7UnitTests.cs index cd6cd86b1..a90077aba 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DiscardDesignationSyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DiscardDesignationSyntaxWrapperCSharp7UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class DiscardDesignationSyntaxWrapperTests + public class DiscardDesignationSyntaxWrapperCSharp7UnitTests { [Fact] public void TestNull() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp7UnitTests.cs similarity index 99% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp7UnitTests.cs index 849920055..052aa002a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp7UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTests + public class ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp7UnitTests { [Fact] public void TestNull() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/IsPatternExpressionSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/IsPatternExpressionSyntaxWrapperCSharp7UnitTests.cs similarity index 98% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/IsPatternExpressionSyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/IsPatternExpressionSyntaxWrapperCSharp7UnitTests.cs index 42529f685..4728d5901 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/IsPatternExpressionSyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/IsPatternExpressionSyntaxWrapperCSharp7UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class IsPatternExpressionSyntaxWrapperTests + public class IsPatternExpressionSyntaxWrapperCSharp7UnitTests { [Fact] public void TestNull() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LanguageVersionExTestsCSharp7.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LanguageVersionExCSharp7UnitTests.cs similarity index 75% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LanguageVersionExTestsCSharp7.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LanguageVersionExCSharp7UnitTests.cs index 147dd2122..344176dc3 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LanguageVersionExTestsCSharp7.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LanguageVersionExCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup { using StyleCop.Analyzers.Test.Lightup; - public class LanguageVersionExTestsCSharp7 : LanguageVersionExTests + public partial class LanguageVersionExCSharp7UnitTests : LanguageVersionExUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LightupHelpersTestsCSharp7.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LightupHelpersCSharp7UnitTests.cs similarity index 71% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LightupHelpersTestsCSharp7.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LightupHelpersCSharp7UnitTests.cs index 874c70289..65e6a223e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LightupHelpersTestsCSharp7.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LightupHelpersCSharp7UnitTests.cs @@ -10,10 +10,10 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup /// /// This class tests edge case behavior of in Roslyn 2+. It extends - /// since the tests defined there are valid in both environments without + /// since the tests defined there are valid in both environments without /// alteration. /// - public class LightupHelpersTestsCSharp7 : LightupHelpersTests + public partial class LightupHelpersCSharp7UnitTests : LightupHelpersUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LocalFunctionStatementSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LocalFunctionStatementSyntaxWrapperCSharp7UnitTests.cs similarity index 99% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LocalFunctionStatementSyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LocalFunctionStatementSyntaxWrapperCSharp7UnitTests.cs index 8c4ee7d17..cbd3b74a1 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LocalFunctionStatementSyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/LocalFunctionStatementSyntaxWrapperCSharp7UnitTests.cs @@ -13,7 +13,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class LocalFunctionStatementSyntaxWrapperTests + public class LocalFunctionStatementSyntaxWrapperCSharp7UnitTests { [Fact] public void TestNull() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/MethodKindExTestsCSharp7.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/MethodKindExCSharp7UnitTests.cs similarity index 78% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/MethodKindExTestsCSharp7.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/MethodKindExCSharp7UnitTests.cs index 60563fdbc..85670fe52 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/MethodKindExTestsCSharp7.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/MethodKindExCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup { using StyleCop.Analyzers.Test.Lightup; - public class MethodKindExTestsCSharp7 : MethodKindExTests + public partial class MethodKindExCSharp7UnitTests : MethodKindExUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/OperationKindExTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/OperationKindExCSharp7UnitTests.cs similarity index 96% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/OperationKindExTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/OperationKindExCSharp7UnitTests.cs index 5aa9900b0..86dd7b017 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/OperationKindExTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/OperationKindExCSharp7UnitTests.cs @@ -11,12 +11,12 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class OperationKindExTests + public class OperationKindExCSharp7UnitTests { private static readonly Dictionary OperationKindToName; private static readonly Dictionary NameToOperationKind; - static OperationKindExTests() + static OperationKindExCSharp7UnitTests() { var renamedOperations = new Dictionary() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp7UnitTests.cs similarity index 98% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp7UnitTests.cs index 56e7912d2..d42f8ed42 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp7UnitTests.cs @@ -13,7 +13,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class ParenthesizedVariableDesignationSyntaxWrapperTests + public class ParenthesizedVariableDesignationSyntaxWrapperCSharp7UnitTests { [Fact] public void TestNull() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/PatternSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/PatternSyntaxWrapperCSharp7UnitTests.cs similarity index 98% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/PatternSyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/PatternSyntaxWrapperCSharp7UnitTests.cs index b677fc036..71564a994 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/PatternSyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/PatternSyntaxWrapperCSharp7UnitTests.cs @@ -11,7 +11,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class PatternSyntaxWrapperTests + public class PatternSyntaxWrapperCSharp7UnitTests { [Fact] public void TestNull() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/RefExpressionSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/RefExpressionSyntaxWrapperCSharp7UnitTests.cs similarity index 98% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/RefExpressionSyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/RefExpressionSyntaxWrapperCSharp7UnitTests.cs index 884914979..82f934e68 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/RefExpressionSyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/RefExpressionSyntaxWrapperCSharp7UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class RefExpressionSyntaxWrapperTests + public class RefExpressionSyntaxWrapperCSharp7UnitTests { [Fact] public void TestNull() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/RefTypeSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/RefTypeSyntaxWrapperCSharp7UnitTests.cs similarity index 98% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/RefTypeSyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/RefTypeSyntaxWrapperCSharp7UnitTests.cs index 9003e2489..93e37099c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/RefTypeSyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/RefTypeSyntaxWrapperCSharp7UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class RefTypeSyntaxWrapperTests + public class RefTypeSyntaxWrapperCSharp7UnitTests { [Fact] public void TestNull() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SingleVariableDesignationSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SingleVariableDesignationSyntaxWrapperCSharp7UnitTests.cs similarity index 98% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SingleVariableDesignationSyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SingleVariableDesignationSyntaxWrapperCSharp7UnitTests.cs index 8e9366df6..bb4e19833 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SingleVariableDesignationSyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SingleVariableDesignationSyntaxWrapperCSharp7UnitTests.cs @@ -11,7 +11,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class SingleVariableDesignationSyntaxWrapperTests + public class SingleVariableDesignationSyntaxWrapperCSharp7UnitTests { [Fact] public void TestNull() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp7UnitTests.cs similarity index 99% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp7UnitTests.cs index 5cda1e985..e1383388c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp7UnitTests.cs @@ -9,7 +9,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class StackAllocArrayCreationExpressionSyntaxExtensionsTests + public class StackAllocArrayCreationExpressionSyntaxExtensionsCSharp7UnitTests { [Fact] public void TestInitializer() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp7.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SwitchExpressionArmSyntaxWrapperCSharp7UnitTests.cs similarity index 91% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp7.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SwitchExpressionArmSyntaxWrapperCSharp7UnitTests.cs index 6e5352f5c..4d67fc441 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp7.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SwitchExpressionArmSyntaxWrapperCSharp7UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Test.Lightup; using Xunit; - public class SwitchExpressionArmSyntaxWrapperTestsCSharp7 : SwitchExpressionArmSyntaxWrapperTests + public partial class SwitchExpressionArmSyntaxWrapperCSharp7UnitTests : SwitchExpressionArmSyntaxWrapperUnitTests { [Fact] public void TestWithPatternOnNullNode() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp7.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SwitchExpressionSyntaxWrapperCSharp7UnitTests.cs similarity index 71% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp7.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SwitchExpressionSyntaxWrapperCSharp7UnitTests.cs index f93132169..8e6068838 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp7.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SwitchExpressionSyntaxWrapperCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup { using StyleCop.Analyzers.Test.Lightup; - public class SwitchExpressionSyntaxWrapperTestsCSharp7 : SwitchExpressionSyntaxWrapperTests + public partial class SwitchExpressionSyntaxWrapperCSharp7UnitTests : SwitchExpressionSyntaxWrapperUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxWrapperHelperTestsCSharp7.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxKindExCSharp7UnitTests.cs similarity index 78% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxWrapperHelperTestsCSharp7.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxKindExCSharp7UnitTests.cs index 0e17cde56..d5b190ad2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxWrapperHelperTestsCSharp7.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxKindExCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup { using StyleCop.Analyzers.Test.Lightup; - public class SyntaxWrapperHelperTestsCSharp7 : SyntaxWrapperHelperTests + public partial class SyntaxKindExCSharp7UnitTests : SyntaxKindExUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxWrapperCSharp7UnitTests.cs similarity index 96% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxWrapperCSharp7UnitTests.cs index 7593e776d..9e13e88cc 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxWrapperCSharp7UnitTests.cs @@ -11,7 +11,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class SyntaxWrapperTests + public class SyntaxWrapperCSharp7UnitTests { [Fact] public void TestWrapSyntaxNode() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxKindExTestsCSharp7.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxWrapperHelperCSharp7UnitTests.cs similarity index 75% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxKindExTestsCSharp7.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxWrapperHelperCSharp7UnitTests.cs index 555732dca..87a277c1a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxKindExTestsCSharp7.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/SyntaxWrapperHelperCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup { using StyleCop.Analyzers.Test.Lightup; - public class SyntaxKindExTestsCSharp7 : SyntaxKindExTests + public partial class SyntaxWrapperHelperCSharp7UnitTests : SyntaxWrapperHelperUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ThrowExpressionSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ThrowExpressionSyntaxWrapperCSharp7UnitTests.cs similarity index 98% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ThrowExpressionSyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ThrowExpressionSyntaxWrapperCSharp7UnitTests.cs index 92599d255..395eb669e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ThrowExpressionSyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/ThrowExpressionSyntaxWrapperCSharp7UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class ThrowExpressionSyntaxWrapperTests + public class ThrowExpressionSyntaxWrapperCSharp7UnitTests { [Fact] public void TestNull() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/TupleElementSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/TupleElementSyntaxWrapperCSharp7UnitTests.cs similarity index 98% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/TupleElementSyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/TupleElementSyntaxWrapperCSharp7UnitTests.cs index f66ac9b08..0a0f4afd3 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/TupleElementSyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/TupleElementSyntaxWrapperCSharp7UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class TupleElementSyntaxWrapperTests + public class TupleElementSyntaxWrapperCSharp7UnitTests { [Fact] public void TestNull() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/TupleExpressionSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/TupleExpressionSyntaxWrapperCSharp7UnitTests.cs similarity index 99% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/TupleExpressionSyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/TupleExpressionSyntaxWrapperCSharp7UnitTests.cs index 27fd6c988..3873414cf 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/TupleExpressionSyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/TupleExpressionSyntaxWrapperCSharp7UnitTests.cs @@ -13,7 +13,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class TupleExpressionSyntaxWrapperTests + public class TupleExpressionSyntaxWrapperCSharp7UnitTests { [Fact] public void TestNull() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/TupleTypeSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/TupleTypeSyntaxWrapperCSharp7UnitTests.cs similarity index 99% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/TupleTypeSyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/TupleTypeSyntaxWrapperCSharp7UnitTests.cs index ac51958bc..610d2f5f8 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/TupleTypeSyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/TupleTypeSyntaxWrapperCSharp7UnitTests.cs @@ -13,7 +13,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class TupleTypeSyntaxWrapperTests + public class TupleTypeSyntaxWrapperCSharp7UnitTests { [Fact] public void TestNull() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/VariableDesignationSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/VariableDesignationSyntaxWrapperCSharp7UnitTests.cs similarity index 97% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/VariableDesignationSyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/VariableDesignationSyntaxWrapperCSharp7UnitTests.cs index b62ab3948..4b2927982 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/VariableDesignationSyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/VariableDesignationSyntaxWrapperCSharp7UnitTests.cs @@ -11,7 +11,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class VariableDesignationSyntaxWrapperTests + public class VariableDesignationSyntaxWrapperCSharp7UnitTests { [Fact] public void TestNull() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/WhenClauseSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/WhenClauseSyntaxWrapperCSharp7UnitTests.cs similarity index 98% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/WhenClauseSyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/WhenClauseSyntaxWrapperCSharp7UnitTests.cs index 539c535ba..9aaeb6258 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/WhenClauseSyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/WhenClauseSyntaxWrapperCSharp7UnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class WhenClauseSyntaxWrapperTests + public class WhenClauseSyntaxWrapperCSharp7UnitTests { [Fact] public void TestNull() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForClassUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402ForClassCSharp7UnitTests.cs similarity index 78% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForClassUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402ForClassCSharp7UnitTests.cs index 654a501d8..8d7ddab6f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForClassUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402ForClassCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules { using StyleCop.Analyzers.Test.MaintainabilityRules; - public class SA1402CSharp7ForClassUnitTests : SA1402ForClassUnitTests + public partial class SA1402ForClassCSharp7UnitTests : SA1402ForClassUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForEnumUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402ForDelegateCSharp7UnitTests.cs similarity index 77% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForEnumUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402ForDelegateCSharp7UnitTests.cs index 39897fc79..e703a9c29 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForEnumUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402ForDelegateCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules { using StyleCop.Analyzers.Test.MaintainabilityRules; - public class SA1402CSharp7ForEnumUnitTests : SA1402ForEnumUnitTests + public partial class SA1402ForDelegateCSharp7UnitTests : SA1402ForDelegateUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForStructUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402ForEnumCSharp7UnitTests.cs similarity index 79% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForStructUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402ForEnumCSharp7UnitTests.cs index b54562411..89c09c5d8 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForStructUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402ForEnumCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules { using StyleCop.Analyzers.Test.MaintainabilityRules; - public class SA1402CSharp7ForStructUnitTests : SA1402ForStructUnitTests + public partial class SA1402ForEnumCSharp7UnitTests : SA1402ForEnumUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForInterfaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402ForInterfaceCSharp7UnitTests.cs similarity index 77% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForInterfaceUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402ForInterfaceCSharp7UnitTests.cs index edf88e3e9..e094340d9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForInterfaceUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402ForInterfaceCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules { using StyleCop.Analyzers.Test.MaintainabilityRules; - public class SA1402CSharp7ForInterfaceUnitTests : SA1402ForInterfaceUnitTests + public partial class SA1402ForInterfaceCSharp7UnitTests : SA1402ForInterfaceUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForDelegateUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402ForStructCSharp7UnitTests.cs similarity index 78% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForDelegateUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402ForStructCSharp7UnitTests.cs index bf8efb3d9..208d1ee1d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402CSharp7ForDelegateUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1402ForStructCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules { using StyleCop.Analyzers.Test.MaintainabilityRules; - public class SA1402CSharp7ForDelegateUnitTests : SA1402ForDelegateUnitTests + public partial class SA1402ForStructCSharp7UnitTests : SA1402ForStructUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1206CSharp7CodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200OutsideNamespaceCSharp7UnitTests.cs similarity index 74% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1206CSharp7CodeFixProviderUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200OutsideNamespaceCSharp7UnitTests.cs index ff81aac3d..3773b883d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1206CSharp7CodeFixProviderUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200OutsideNamespaceCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class SA1206CSharp7CodeFixProviderUnitTests : SA1206CodeFixProviderUnitTests + public partial class SA1200OutsideNamespaceCSharp7UnitTests : SA1200OutsideNamespaceUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200CSharp7PreserveUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200PreserveCSharp7UnitTests.cs similarity index 77% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200CSharp7PreserveUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200PreserveCSharp7UnitTests.cs index ad4d2e32b..621bb206c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200CSharp7PreserveUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200PreserveCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class SA1200CSharp7PreserveUnitTests : SA1200PreserveUnitTests + public partial class SA1200PreserveCSharp7UnitTests : SA1200PreserveUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200CSharp7OutsideNamespaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1206CodeFixProviderCSharp7UnitTests.cs similarity index 75% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200CSharp7OutsideNamespaceUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1206CodeFixProviderCSharp7UnitTests.cs index 97dcfa672..16b535432 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1200CSharp7OutsideNamespaceUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1206CodeFixProviderCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class SA1200CSharp7OutsideNamespaceUnitTests : SA1200OutsideNamespaceUnitTests + public partial class SA1206CodeFixProviderCSharp7UnitTests : SA1206CodeFixProviderUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1210CSharp7CombinedSystemDirectivesUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1210CSharp7CombinedSystemDirectivesUnitTests.cs deleted file mode 100644 index c39da36f2..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1210CSharp7CombinedSystemDirectivesUnitTests.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.OrderingRules -{ - using StyleCop.Analyzers.Test.OrderingRules; - - public class SA1210CSharp7CombinedSystemDirectivesUnitTests : SA1210CombinedSystemDirectivesUnitTests - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderRegressionUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1210CombinedSystemDirectivesCSharp7UnitTests.cs similarity index 71% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderRegressionUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1210CombinedSystemDirectivesCSharp7UnitTests.cs index 14e69fc76..04d5fb878 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderRegressionUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1210CombinedSystemDirectivesCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class CSharp7UsingCodeFixProviderRegressionUnitTests : UsingCodeFixProviderRegressionUnitTests + public partial class SA1210CombinedSystemDirectivesCSharp7UnitTests : SA1210CombinedSystemDirectivesUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/UsingCodeFixProviderCSharp7UnitTests.cs similarity index 75% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/UsingCodeFixProviderCSharp7UnitTests.cs index 7f2194f7a..6f1abb228 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/UsingCodeFixProviderCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class CSharp7UsingCodeFixProviderUnitTests : UsingCodeFixProviderUnitTests + public partial class UsingCodeFixProviderCSharp7UnitTests : UsingCodeFixProviderUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp7UnitTests.cs similarity index 67% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp7UnitTests.cs index a2c9b4715..4cd086690 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class CSharp7UsingCodeFixProviderCombinedSystemDirectivesUnitTests : UsingCodeFixProviderCombinedSystemDirectivesUnitTests + public partial class UsingCodeFixProviderCombinedSystemDirectivesCSharp7UnitTests : UsingCodeFixProviderCombinedSystemDirectivesUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderGroupSeparationUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp7UnitTests.cs similarity index 69% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderGroupSeparationUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp7UnitTests.cs index bfa792579..3c8ed4479 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/CSharp7UsingCodeFixProviderGroupSeparationUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp7UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using StyleCop.Analyzers.Test.OrderingRules; - public class CSharp7UsingCodeFixProviderGroupSeparationUnitTests : UsingCodeFixProviderGroupSeparationUnitTests + public partial class UsingCodeFixProviderGroupSeparationCSharp7UnitTests : UsingCodeFixProviderGroupSeparationUnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/UsingCodeFixProviderRegressionCSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/UsingCodeFixProviderRegressionCSharp7UnitTests.cs new file mode 100644 index 000000000..e409d7410 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/UsingCodeFixProviderRegressionCSharp7UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel 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.OrderingRules +{ + using StyleCop.Analyzers.Test.OrderingRules; + + public partial class UsingCodeFixProviderRegressionCSharp7UnitTests : UsingCodeFixProviderRegressionUnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/StyleCop.Analyzers.Test.CSharp7.csproj b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/StyleCop.Analyzers.Test.CSharp7.csproj index af6d8b98e..dc7c46be7 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/StyleCop.Analyzers.Test.CSharp7.csproj +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/StyleCop.Analyzers.Test.CSharp7.csproj @@ -27,6 +27,7 @@ + diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/AnalyzerConfigurationTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/AnalyzerConfigurationCSharp8UnitTests.cs similarity index 72% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/AnalyzerConfigurationTestsCSharp8.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/AnalyzerConfigurationCSharp8UnitTests.cs index c6496fefc..dd71a0f1c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/AnalyzerConfigurationTestsCSharp8.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/AnalyzerConfigurationCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8 { using StyleCop.Analyzers.Test.CSharp7; - public class AnalyzerConfigurationTestsCSharp8 : AnalyzerConfigurationTestsCSharp7 + public partial class AnalyzerConfigurationCSharp8UnitTests : AnalyzerConfigurationCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/CSharp8InheritdocCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/InheritdocCodeFixProviderCSharp8UnitTests.cs similarity index 73% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/CSharp8InheritdocCodeFixProviderUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/InheritdocCodeFixProviderCSharp8UnitTests.cs index 2d84c20f3..2bf510f7a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/CSharp8InheritdocCodeFixProviderUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/InheritdocCodeFixProviderCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class CSharp8InheritdocCodeFixProviderUnitTests : CSharp7InheritdocCodeFixProviderUnitTests + public partial class InheritdocCodeFixProviderCSharp8UnitTests : InheritdocCodeFixProviderCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/CSharp8NoXmlFileHeaderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/NoXmlFileHeaderCSharp8UnitTests.cs similarity index 77% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/CSharp8NoXmlFileHeaderUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/NoXmlFileHeaderCSharp8UnitTests.cs index dec040470..b6acb0c61 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/CSharp8NoXmlFileHeaderUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/NoXmlFileHeaderCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; - public class CSharp8NoXmlFileHeaderUnitTests : CSharp7NoXmlFileHeaderUnitTests + public partial class NoXmlFileHeaderCSharp8UnitTests : NoXmlFileHeaderCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/HelperTests/SymbolNameHelpersCSharp8Tests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/HelperTests/SymbolNameHelpersCSharp8UnitTests.cs similarity index 97% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/HelperTests/SymbolNameHelpersCSharp8Tests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/HelperTests/SymbolNameHelpersCSharp8UnitTests.cs index 7c12c70cc..e7fc159fd 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/HelperTests/SymbolNameHelpersCSharp8Tests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/HelperTests/SymbolNameHelpersCSharp8UnitTests.cs @@ -15,7 +15,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.HelperTests /// /// Unit tests for the class in the context of C# 8.0. /// - public class SymbolNameHelpersCSharp8Tests : SymbolNameHelpersCSharp7Tests + public partial class SymbolNameHelpersCSharp8UnitTests : SymbolNameHelpersCSharp7UnitTests { /// /// Verify the workings of diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1516CSharp8UsingGroupsUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1516UsingGroupsCSharp8UnitTests.cs similarity index 75% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1516CSharp8UsingGroupsUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1516UsingGroupsCSharp8UnitTests.cs index b6ab1cfb2..690957c49 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1516CSharp8UsingGroupsUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1516UsingGroupsCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules { using StyleCop.Analyzers.Test.CSharp7.LayoutRules; - public class SA1516CSharp8UsingGroupsUnitTests : SA1516CSharp7UsingGroupsUnitTests + public partial class SA1516UsingGroupsCSharp8UnitTests : SA1516UsingGroupsCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/AccessorDeclarationSyntaxExtensionsCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/AccessorDeclarationSyntaxExtensionsCSharp8UnitTests.cs new file mode 100644 index 000000000..5b3b5fb89 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/AccessorDeclarationSyntaxExtensionsCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.Lightup +{ + using StyleCop.Analyzers.Test.CSharp7.Lightup; + + public partial class AccessorDeclarationSyntaxExtensionsCSharp8UnitTests : AccessorDeclarationSyntaxExtensionsCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ArgumentSyntaxExtensionsCSharp8UnitTests.cs similarity index 72% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp8.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ArgumentSyntaxExtensionsCSharp8UnitTests.cs index 5035b847e..166f69bcb 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp8.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ArgumentSyntaxExtensionsCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.Lightup { using StyleCop.Analyzers.Test.CSharp7.Lightup; - public class AccessorDeclarationSyntaxExtensionsTestsCSharp8 : AccessorDeclarationSyntaxExtensionsTests + public partial class ArgumentSyntaxExtensionsCSharp8UnitTests : ArgumentSyntaxExtensionsCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp8UnitTests.cs new file mode 100644 index 000000000..fb089484e --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.Lightup +{ + using StyleCop.Analyzers.Test.CSharp7.Lightup; + + public partial class BaseMethodDeclarationSyntaxExtensionsCSharp8UnitTests : BaseMethodDeclarationSyntaxExtensionsCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp8UnitTests.cs new file mode 100644 index 000000000..8055e962b --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.Lightup +{ + using StyleCop.Analyzers.Test.CSharp7.Lightup; + + public partial class CasePatternSwitchLabelSyntaxWrapperCSharp8UnitTests : CasePatternSwitchLabelSyntaxWrapperCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CommonForEachStatementSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CommonForEachStatementSyntaxWrapperCSharp8UnitTests.cs similarity index 99% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CommonForEachStatementSyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CommonForEachStatementSyntaxWrapperCSharp8UnitTests.cs index e14ee3673..93d29e6ce 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CommonForEachStatementSyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CommonForEachStatementSyntaxWrapperCSharp8UnitTests.cs @@ -13,7 +13,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class CommonForEachStatementSyntaxWrapperTests + public class CommonForEachStatementSyntaxWrapperCSharp8UnitTests { [Fact] public void TestNull() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstantPatternSyntaxWrapperCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstantPatternSyntaxWrapperCSharp8UnitTests.cs new file mode 100644 index 000000000..538d4b40d --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstantPatternSyntaxWrapperCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.Lightup +{ + using StyleCop.Analyzers.Test.CSharp7.Lightup; + + public partial class ConstantPatternSyntaxWrapperCSharp8UnitTests : ConstantPatternSyntaxWrapperCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp8UnitTests.cs new file mode 100644 index 000000000..263e1b600 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.Lightup +{ + using StyleCop.Analyzers.Test.CSharp7.Lightup; + + public partial class ConstructorDeclarationSyntaxExtensionsCSharp8UnitTests : ConstructorDeclarationSyntaxExtensionsCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp8.cs deleted file mode 100644 index 405b1761e..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp8.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.CSharp8.Lightup -{ - using StyleCop.Analyzers.Test.CSharp7.Lightup; - - public class ConstructorDeclarationSyntaxExtensionsTestsCSharp8 : ConstructorDeclarationSyntaxExtensionsTests - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CrefParameterSyntaxExtensionsCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CrefParameterSyntaxExtensionsCSharp8UnitTests.cs new file mode 100644 index 000000000..76fada855 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CrefParameterSyntaxExtensionsCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.Lightup +{ + using StyleCop.Analyzers.Test.CSharp7.Lightup; + + public partial class CrefParameterSyntaxExtensionsCSharp8UnitTests : CrefParameterSyntaxExtensionsCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DeclarationExpressionSyntaxWrapperCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DeclarationExpressionSyntaxWrapperCSharp8UnitTests.cs new file mode 100644 index 000000000..9dd442081 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DeclarationExpressionSyntaxWrapperCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.Lightup +{ + using StyleCop.Analyzers.Test.CSharp7.Lightup; + + public partial class DeclarationExpressionSyntaxWrapperCSharp8UnitTests : DeclarationExpressionSyntaxWrapperCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DeclarationPatternSyntaxWrapperCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DeclarationPatternSyntaxWrapperCSharp8UnitTests.cs new file mode 100644 index 000000000..85fee6b3e --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DeclarationPatternSyntaxWrapperCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.Lightup +{ + using StyleCop.Analyzers.Test.CSharp7.Lightup; + + public partial class DeclarationPatternSyntaxWrapperCSharp8UnitTests : DeclarationPatternSyntaxWrapperCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DestructorDeclarationSyntaxExtensionsCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DestructorDeclarationSyntaxExtensionsCSharp8UnitTests.cs new file mode 100644 index 000000000..fe31338f5 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DestructorDeclarationSyntaxExtensionsCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.Lightup +{ + using StyleCop.Analyzers.Test.CSharp7.Lightup; + + public partial class DestructorDeclarationSyntaxExtensionsCSharp8UnitTests : DestructorDeclarationSyntaxExtensionsCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp8.cs deleted file mode 100644 index be1b97078..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp8.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.CSharp8.Lightup -{ - using StyleCop.Analyzers.Test.CSharp7.Lightup; - - public class DestructorDeclarationSyntaxExtensionsTestsCSharp8 : DestructorDeclarationSyntaxExtensionsTests - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DiscardDesignationSyntaxWrapperCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DiscardDesignationSyntaxWrapperCSharp8UnitTests.cs new file mode 100644 index 000000000..bd58f7b2a --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DiscardDesignationSyntaxWrapperCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.Lightup +{ + using StyleCop.Analyzers.Test.CSharp7.Lightup; + + public partial class DiscardDesignationSyntaxWrapperCSharp8UnitTests : DiscardDesignationSyntaxWrapperCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp8.cs deleted file mode 100644 index dbc83e89e..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp8.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.CSharp8.Lightup -{ - using StyleCop.Analyzers.Test.CSharp7.Lightup; - - public class DiscardDesignationSyntaxWrapperTestsCSharp8 : DiscardDesignationSyntaxWrapperTests - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp8UnitTests.cs new file mode 100644 index 000000000..0862bce43 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.Lightup +{ + using StyleCop.Analyzers.Test.CSharp7.Lightup; + + public partial class ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp8UnitTests : ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp8.cs deleted file mode 100644 index 4bde3bd76..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp8.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.CSharp8.Lightup -{ - using StyleCop.Analyzers.Test.CSharp7.Lightup; - - public class ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp8 : ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTests - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/IsPatternExpressionSyntaxWrapperCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/IsPatternExpressionSyntaxWrapperCSharp8UnitTests.cs new file mode 100644 index 000000000..c62d04d21 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/IsPatternExpressionSyntaxWrapperCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.Lightup +{ + using StyleCop.Analyzers.Test.CSharp7.Lightup; + + public partial class IsPatternExpressionSyntaxWrapperCSharp8UnitTests : IsPatternExpressionSyntaxWrapperCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp8.cs deleted file mode 100644 index 15617fee9..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp8.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.CSharp8.Lightup -{ - using StyleCop.Analyzers.Test.CSharp7.Lightup; - - public class IsPatternExpressionSyntaxWrapperTestsCSharp8 : IsPatternExpressionSyntaxWrapperTests - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstantPatternSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LanguageVersionExCSharp8UnitTests.cs similarity index 75% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstantPatternSyntaxWrapperTestsCSharp8.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LanguageVersionExCSharp8UnitTests.cs index 8bc4ee4a1..02f3b1328 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ConstantPatternSyntaxWrapperTestsCSharp8.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LanguageVersionExCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.Lightup { using StyleCop.Analyzers.Test.CSharp7.Lightup; - public class ConstantPatternSyntaxWrapperTestsCSharp8 : ConstantPatternSyntaxWrapperTests + public partial class LanguageVersionExCSharp8UnitTests : LanguageVersionExCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LanguageVersionExTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LanguageVersionExTestsCSharp8.cs deleted file mode 100644 index caea0f75b..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LanguageVersionExTestsCSharp8.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.CSharp8.Lightup -{ - using StyleCop.Analyzers.Test.CSharp7.Lightup; - - public class LanguageVersionExTestsCSharp8 : LanguageVersionExTestsCSharp7 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LightupHelpersTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LightupHelpersCSharp8UnitTests.cs similarity index 72% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LightupHelpersTestsCSharp8.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LightupHelpersCSharp8UnitTests.cs index 7e70f2d59..f555cec2a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LightupHelpersTestsCSharp8.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LightupHelpersCSharp8UnitTests.cs @@ -11,10 +11,10 @@ namespace StyleCop.Analyzers.Test.CSharp8.Lightup /// /// This class tests edge case behavior of in Roslyn 2+. It extends - /// since the tests defined there are valid in both environments without + /// since the tests defined there are valid in both environments without /// alteration. /// - public class LightupHelpersTestsCSharp8 : LightupHelpersTestsCSharp7 + public partial class LightupHelpersCSharp8UnitTests : LightupHelpersCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LocalFunctionStatementSyntaxWrapperCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LocalFunctionStatementSyntaxWrapperCSharp8UnitTests.cs new file mode 100644 index 000000000..517438789 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LocalFunctionStatementSyntaxWrapperCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.Lightup +{ + using StyleCop.Analyzers.Test.CSharp7.Lightup; + + public partial class LocalFunctionStatementSyntaxWrapperCSharp8UnitTests : LocalFunctionStatementSyntaxWrapperCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp8.cs deleted file mode 100644 index 97f540080..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp8.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.CSharp8.Lightup -{ - using StyleCop.Analyzers.Test.CSharp7.Lightup; - - public class LocalFunctionStatementSyntaxWrapperTestsCSharp8 : LocalFunctionStatementSyntaxWrapperTests - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/MethodKindExTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/MethodKindExCSharp8UnitTests.cs similarity index 77% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/MethodKindExTestsCSharp8.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/MethodKindExCSharp8UnitTests.cs index d96e561e7..a24e962a5 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/MethodKindExTestsCSharp8.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/MethodKindExCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.Lightup { using StyleCop.Analyzers.Test.CSharp7.Lightup; - public class MethodKindExTestsCSharp8 : MethodKindExTestsCSharp7 + public partial class MethodKindExCSharp8UnitTests : MethodKindExCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/OperationKindExTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/OperationKindExCSharp8UnitTests.cs similarity index 75% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/OperationKindExTestsCSharp8.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/OperationKindExCSharp8UnitTests.cs index 6bae36243..8d4c7305a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/OperationKindExTestsCSharp8.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/OperationKindExCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.Lightup { using StyleCop.Analyzers.Test.CSharp7.Lightup; - public class OperationKindExTestsCSharp8 : OperationKindExTests + public partial class OperationKindExCSharp8UnitTests : OperationKindExCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp8UnitTests.cs new file mode 100644 index 000000000..6cb134f09 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.Lightup +{ + using StyleCop.Analyzers.Test.CSharp7.Lightup; + + public partial class ParenthesizedVariableDesignationSyntaxWrapperCSharp8UnitTests : ParenthesizedVariableDesignationSyntaxWrapperCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp8.cs deleted file mode 100644 index e5c4450cb..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp8.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.CSharp8.Lightup -{ - using StyleCop.Analyzers.Test.CSharp7.Lightup; - - public class ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp8 : ParenthesizedVariableDesignationSyntaxWrapperTests - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/PatternSyntaxWrapperCSharp8UnitTests.cs similarity index 73% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp8.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/PatternSyntaxWrapperCSharp8UnitTests.cs index 5ff197618..03755cf02 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp8.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/PatternSyntaxWrapperCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.Lightup { using StyleCop.Analyzers.Test.CSharp7.Lightup; - public class DeclarationPatternSyntaxWrapperTestsCSharp8 : DeclarationPatternSyntaxWrapperTests + public partial class PatternSyntaxWrapperCSharp8UnitTests : PatternSyntaxWrapperCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefExpressionSyntaxWrapperCSharp8UnitTests.cs similarity index 71% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp8.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefExpressionSyntaxWrapperCSharp8UnitTests.cs index ffc0247f8..4c1dc65a2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp8.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefExpressionSyntaxWrapperCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.Lightup { using StyleCop.Analyzers.Test.CSharp7.Lightup; - public class BaseMethodDeclarationSyntaxExtensionsTestsCSharp8 : BaseMethodDeclarationSyntaxExtensionsTests + public partial class RefExpressionSyntaxWrapperCSharp8UnitTests : RefExpressionSyntaxWrapperCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefExpressionSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefExpressionSyntaxWrapperTestsCSharp8.cs deleted file mode 100644 index 7dadc6fb9..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefExpressionSyntaxWrapperTestsCSharp8.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.CSharp8.Lightup -{ - using StyleCop.Analyzers.Test.CSharp7.Lightup; - - public class RefExpressionSyntaxWrapperTestsCSharp8 : RefExpressionSyntaxWrapperTests - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefTypeSyntaxWrapperCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefTypeSyntaxWrapperCSharp8UnitTests.cs new file mode 100644 index 000000000..cae76f955 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefTypeSyntaxWrapperCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.Lightup +{ + using StyleCop.Analyzers.Test.CSharp7.Lightup; + + public partial class RefTypeSyntaxWrapperCSharp8UnitTests : RefTypeSyntaxWrapperCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefTypeSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefTypeSyntaxWrapperTestsCSharp8.cs deleted file mode 100644 index 0520c27a8..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/RefTypeSyntaxWrapperTestsCSharp8.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.CSharp8.Lightup -{ - using StyleCop.Analyzers.Test.CSharp7.Lightup; - - public class RefTypeSyntaxWrapperTestsCSharp8 : RefTypeSyntaxWrapperTests - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SingleVariableDesignationSyntaxWrapperCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SingleVariableDesignationSyntaxWrapperCSharp8UnitTests.cs new file mode 100644 index 000000000..e01276511 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SingleVariableDesignationSyntaxWrapperCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.Lightup +{ + using StyleCop.Analyzers.Test.CSharp7.Lightup; + + public partial class SingleVariableDesignationSyntaxWrapperCSharp8UnitTests : SingleVariableDesignationSyntaxWrapperCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp8.cs deleted file mode 100644 index cec15685a..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp8.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.CSharp8.Lightup -{ - using StyleCop.Analyzers.Test.CSharp7.Lightup; - - public class SingleVariableDesignationSyntaxWrapperTestsCSharp8 : SingleVariableDesignationSyntaxWrapperTests - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp8UnitTests.cs new file mode 100644 index 000000000..dcfa5e472 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.Lightup +{ + using StyleCop.Analyzers.Test.CSharp7.Lightup; + + public partial class StackAllocArrayCreationExpressionSyntaxExtensionsCSharp8UnitTests : StackAllocArrayCreationExpressionSyntaxExtensionsCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp8.cs deleted file mode 100644 index 7e88b8a85..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp8.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.CSharp8.Lightup -{ - using StyleCop.Analyzers.Test.CSharp7.Lightup; - - public class StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp8 : StackAllocArrayCreationExpressionSyntaxExtensionsTests - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SwitchExpressionArmSyntaxWrapperCSharp8UnitTests.cs similarity index 97% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp8.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SwitchExpressionArmSyntaxWrapperCSharp8UnitTests.cs index af49afabb..471ad4a42 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp8.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SwitchExpressionArmSyntaxWrapperCSharp8UnitTests.cs @@ -13,7 +13,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.Lightup using StyleCop.Analyzers.Test.CSharp7.Lightup; using Xunit; - public class SwitchExpressionArmSyntaxWrapperTestsCSharp8 : SwitchExpressionArmSyntaxWrapperTestsCSharp7 + public partial class SwitchExpressionArmSyntaxWrapperCSharp8UnitTests : SwitchExpressionArmSyntaxWrapperCSharp7UnitTests { [Fact] public void TestSyntaxNodeProperty() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SwitchExpressionSyntaxWrapperCSharp8UnitTests.cs similarity index 98% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp8.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SwitchExpressionSyntaxWrapperCSharp8UnitTests.cs index 9f5bd3a40..374208711 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp8.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SwitchExpressionSyntaxWrapperCSharp8UnitTests.cs @@ -13,7 +13,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.Lightup using StyleCop.Analyzers.Test.CSharp7.Lightup; using Xunit; - public class SwitchExpressionSyntaxWrapperTestsCSharp8 : SwitchExpressionSyntaxWrapperTestsCSharp7 + public partial class SwitchExpressionSyntaxWrapperCSharp8UnitTests : SwitchExpressionSyntaxWrapperCSharp7UnitTests { [Fact] public void TestSyntaxNodeProperty() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/PatternSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxKindExCSharp8UnitTests.cs similarity index 77% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/PatternSyntaxWrapperTestsCSharp8.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxKindExCSharp8UnitTests.cs index 6d6adfe44..bbb48a835 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/PatternSyntaxWrapperTestsCSharp8.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxKindExCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.Lightup { using StyleCop.Analyzers.Test.CSharp7.Lightup; - public class PatternSyntaxWrapperTestsCSharp8 : PatternSyntaxWrapperTests + public partial class SyntaxKindExCSharp8UnitTests : SyntaxKindExCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxKindExTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxKindExTestsCSharp8.cs deleted file mode 100644 index 7291688fd..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxKindExTestsCSharp8.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.CSharp8.Lightup -{ - using StyleCop.Analyzers.Test.CSharp7.Lightup; - - public class SyntaxKindExTestsCSharp8 : SyntaxKindExTestsCSharp7 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ArgumentSyntaxExtensionsTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxWrapperCSharp8UnitTests.cs similarity index 76% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ArgumentSyntaxExtensionsTestsCSharp8.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxWrapperCSharp8UnitTests.cs index da940bd6f..0a9a23853 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ArgumentSyntaxExtensionsTestsCSharp8.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxWrapperCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.Lightup { using StyleCop.Analyzers.Test.CSharp7.Lightup; - public class ArgumentSyntaxExtensionsTestsCSharp8 : ArgumentSyntaxExtensionsTests + public partial class SyntaxWrapperCSharp8UnitTests : SyntaxWrapperCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CrefParameterSyntaxExtensionsTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxWrapperHelperCSharp8UnitTests.cs similarity index 74% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CrefParameterSyntaxExtensionsTestsCSharp8.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxWrapperHelperCSharp8UnitTests.cs index c66c8bb83..b7c1b3aad 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CrefParameterSyntaxExtensionsTestsCSharp8.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxWrapperHelperCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.Lightup { using StyleCop.Analyzers.Test.CSharp7.Lightup; - public class CrefParameterSyntaxExtensionsTestsCSharp8 : CrefParameterSyntaxExtensionsTests + public partial class SyntaxWrapperHelperCSharp8UnitTests : SyntaxWrapperHelperCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxWrapperHelperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxWrapperHelperTestsCSharp8.cs deleted file mode 100644 index de7ed0073..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxWrapperHelperTestsCSharp8.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.CSharp8.Lightup -{ - using StyleCop.Analyzers.Test.CSharp7.Lightup; - - public class SyntaxWrapperHelperTestsCSharp8 : SyntaxWrapperHelperTestsCSharp7 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxWrapperTestsCSharp8.cs deleted file mode 100644 index 178f79be2..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SyntaxWrapperTestsCSharp8.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.CSharp8.Lightup -{ - using StyleCop.Analyzers.Test.CSharp7.Lightup; - - public class SyntaxWrapperTestsCSharp8 : SyntaxWrapperTests - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ThrowExpressionSyntaxWrapperCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ThrowExpressionSyntaxWrapperCSharp8UnitTests.cs new file mode 100644 index 000000000..378fc9984 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ThrowExpressionSyntaxWrapperCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.Lightup +{ + using StyleCop.Analyzers.Test.CSharp7.Lightup; + + public partial class ThrowExpressionSyntaxWrapperCSharp8UnitTests : ThrowExpressionSyntaxWrapperCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp8.cs deleted file mode 100644 index af687aa24..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp8.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.CSharp8.Lightup -{ - using StyleCop.Analyzers.Test.CSharp7.Lightup; - - public class ThrowExpressionSyntaxWrapperTestsCSharp8 : ThrowExpressionSyntaxWrapperTests - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleElementSyntaxWrapperCSharp8UnitTests.cs similarity index 71% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp8.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleElementSyntaxWrapperCSharp8UnitTests.cs index 62507cadf..66ead12ea 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp8.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleElementSyntaxWrapperCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.Lightup { using StyleCop.Analyzers.Test.CSharp7.Lightup; - public class CasePatternSwitchLabelSyntaxWrapperTestsCSharp8 : CasePatternSwitchLabelSyntaxWrapperTests + public partial class TupleElementSyntaxWrapperCSharp8UnitTests : TupleElementSyntaxWrapperCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleElementSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleElementSyntaxWrapperTestsCSharp8.cs deleted file mode 100644 index 5d2ada015..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleElementSyntaxWrapperTestsCSharp8.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.CSharp8.Lightup -{ - using StyleCop.Analyzers.Test.CSharp7.Lightup; - - public class TupleElementSyntaxWrapperTestsCSharp8 : TupleElementSyntaxWrapperTests - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleExpressionSyntaxWrapperCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleExpressionSyntaxWrapperCSharp8UnitTests.cs new file mode 100644 index 000000000..7f28fbb4b --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleExpressionSyntaxWrapperCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.Lightup +{ + using StyleCop.Analyzers.Test.CSharp7.Lightup; + + public partial class TupleExpressionSyntaxWrapperCSharp8UnitTests : TupleExpressionSyntaxWrapperCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleExpressionSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleExpressionSyntaxWrapperTestsCSharp8.cs deleted file mode 100644 index 514d54457..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleExpressionSyntaxWrapperTestsCSharp8.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.CSharp8.Lightup -{ - using StyleCop.Analyzers.Test.CSharp7.Lightup; - - public class TupleExpressionSyntaxWrapperTestsCSharp8 : TupleExpressionSyntaxWrapperTests - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleTypeSyntaxWrapperCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleTypeSyntaxWrapperCSharp8UnitTests.cs new file mode 100644 index 000000000..7cbd2f5aa --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleTypeSyntaxWrapperCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.Lightup +{ + using StyleCop.Analyzers.Test.CSharp7.Lightup; + + public partial class TupleTypeSyntaxWrapperCSharp8UnitTests : TupleTypeSyntaxWrapperCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleTypeSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleTypeSyntaxWrapperTestsCSharp8.cs deleted file mode 100644 index 86edd0399..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/TupleTypeSyntaxWrapperTestsCSharp8.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.CSharp8.Lightup -{ - using StyleCop.Analyzers.Test.CSharp7.Lightup; - - public class TupleTypeSyntaxWrapperTestsCSharp8 : TupleTypeSyntaxWrapperTests - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/VariableDesignationSyntaxWrapperCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/VariableDesignationSyntaxWrapperCSharp8UnitTests.cs new file mode 100644 index 000000000..5c5fa6929 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/VariableDesignationSyntaxWrapperCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.Lightup +{ + using StyleCop.Analyzers.Test.CSharp7.Lightup; + + public partial class VariableDesignationSyntaxWrapperCSharp8UnitTests : VariableDesignationSyntaxWrapperCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/VariableDesignationSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/VariableDesignationSyntaxWrapperTestsCSharp8.cs deleted file mode 100644 index 8ec30f6d6..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/VariableDesignationSyntaxWrapperTestsCSharp8.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.CSharp8.Lightup -{ - using StyleCop.Analyzers.Test.CSharp7.Lightup; - - public class VariableDesignationSyntaxWrapperTestsCSharp8 : VariableDesignationSyntaxWrapperTests - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/WhenClauseSyntaxWrapperCSharp8UnitTests.cs similarity index 72% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp8.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/WhenClauseSyntaxWrapperCSharp8UnitTests.cs index da520b46a..d8bd59755 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp8.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/WhenClauseSyntaxWrapperCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.Lightup { using StyleCop.Analyzers.Test.CSharp7.Lightup; - public class DeclarationExpressionSyntaxWrapperTestsCSharp8 : DeclarationExpressionSyntaxWrapperTests + public partial class WhenClauseSyntaxWrapperCSharp8UnitTests : WhenClauseSyntaxWrapperCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/WhenClauseSyntaxWrapperTestsCSharp8.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/WhenClauseSyntaxWrapperTestsCSharp8.cs deleted file mode 100644 index f1c9aa610..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/WhenClauseSyntaxWrapperTestsCSharp8.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.CSharp8.Lightup -{ - using StyleCop.Analyzers.Test.CSharp7.Lightup; - - public class WhenClauseSyntaxWrapperTestsCSharp8 : WhenClauseSyntaxWrapperTests - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForStructUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForStructUnitTests.cs deleted file mode 100644 index c34dcef18..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForStructUnitTests.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.CSharp8.MaintainabilityRules -{ - using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules; - - public class SA1402CSharp8ForStructUnitTests : SA1402CSharp7ForStructUnitTests - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForDelegateUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402ForClassCSharp8UnitTests.cs similarity index 77% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForDelegateUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402ForClassCSharp8UnitTests.cs index e6ec8814b..9087471f5 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForDelegateUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402ForClassCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules; - public class SA1402CSharp8ForDelegateUnitTests : SA1402CSharp7ForDelegateUnitTests + public partial class SA1402ForClassCSharp8UnitTests : SA1402ForClassCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForEnumUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402ForDelegateCSharp8UnitTests.cs similarity index 76% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForEnumUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402ForDelegateCSharp8UnitTests.cs index 396509f56..603cb2007 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForEnumUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402ForDelegateCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules; - public class SA1402CSharp8ForEnumUnitTests : SA1402CSharp7ForEnumUnitTests + public partial class SA1402ForDelegateCSharp8UnitTests : SA1402ForDelegateCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForClassUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402ForEnumCSharp8UnitTests.cs similarity index 78% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForClassUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402ForEnumCSharp8UnitTests.cs index c937bb94f..b8f99f638 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForClassUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402ForEnumCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules; - public class SA1402CSharp8ForClassUnitTests : SA1402CSharp7ForClassUnitTests + public partial class SA1402ForEnumCSharp8UnitTests : SA1402ForEnumCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402ForInterfaceCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402ForInterfaceCSharp8UnitTests.cs new file mode 100644 index 000000000..df025251b --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402ForInterfaceCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules +{ + using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules; + + public partial class SA1402ForInterfaceCSharp8UnitTests : SA1402ForInterfaceCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForInterfaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402ForStructCSharp8UnitTests.cs similarity index 77% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForInterfaceUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402ForStructCSharp8UnitTests.cs index 41f87110a..b8b12c589 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402CSharp8ForInterfaceUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1402ForStructCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules; - public class SA1402CSharp8ForInterfaceUnitTests : SA1402CSharp7ForInterfaceUnitTests + public partial class SA1402ForStructCSharp8UnitTests : SA1402ForStructCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200OutsideNamespaceCSharp8UnitTests.cs similarity index 73% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200OutsideNamespaceCSharp8UnitTests.cs index ef7cf22a0..bb093832f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200OutsideNamespaceCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class CSharp8UsingCodeFixProviderUnitTests : CSharp7UsingCodeFixProviderUnitTests + public partial class SA1200OutsideNamespaceCSharp8UnitTests : SA1200OutsideNamespaceCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200CSharp8PreserveUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200PreserveCSharp8UnitTests.cs similarity index 76% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200CSharp8PreserveUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200PreserveCSharp8UnitTests.cs index fd54baa29..3e8a11d6c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200CSharp8PreserveUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200PreserveCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class SA1200CSharp8PreserveUnitTests : SA1200CSharp7PreserveUnitTests + public partial class SA1200PreserveCSharp8UnitTests : SA1200PreserveCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1206CSharp8CodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1206CodeFixProviderCSharp8UnitTests.cs similarity index 74% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1206CSharp8CodeFixProviderUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1206CodeFixProviderCSharp8UnitTests.cs index 095b8bb6c..18f5b599f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1206CSharp8CodeFixProviderUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1206CodeFixProviderCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class SA1206CSharp8CodeFixProviderUnitTests : SA1206CSharp7CodeFixProviderUnitTests + public partial class SA1206CodeFixProviderCSharp8UnitTests : SA1206CodeFixProviderCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1210CSharp8CombinedSystemDirectivesUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1210CSharp8CombinedSystemDirectivesUnitTests.cs deleted file mode 100644 index ae1c4f728..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1210CSharp8CombinedSystemDirectivesUnitTests.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.CSharp8.OrderingRules -{ - using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - - public class SA1210CSharp8CombinedSystemDirectivesUnitTests : SA1210CSharp7CombinedSystemDirectivesUnitTests - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderRegressionUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1210CombinedSystemDirectivesCSharp8UnitTests.cs similarity index 71% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderRegressionUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1210CombinedSystemDirectivesCSharp8UnitTests.cs index 8a3af2b11..d51d0c167 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderRegressionUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1210CombinedSystemDirectivesCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class CSharp8UsingCodeFixProviderRegressionUnitTests : CSharp7UsingCodeFixProviderRegressionUnitTests + public partial class SA1210CombinedSystemDirectivesCSharp8UnitTests : SA1210CombinedSystemDirectivesCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200CSharp8OutsideNamespaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/UsingCodeFixProviderCSharp8UnitTests.cs similarity index 74% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200CSharp8OutsideNamespaceUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/UsingCodeFixProviderCSharp8UnitTests.cs index 79613a058..4ff8773b0 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/SA1200CSharp8OutsideNamespaceUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/UsingCodeFixProviderCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class SA1200CSharp8OutsideNamespaceUnitTests : SA1200CSharp7OutsideNamespaceUnitTests + public partial class UsingCodeFixProviderCSharp8UnitTests : UsingCodeFixProviderCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp8UnitTests.cs similarity index 66% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp8UnitTests.cs index 030ed81ca..f3c897b76 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class CSharp8UsingCodeFixProviderCombinedSystemDirectivesUnitTests : CSharp7UsingCodeFixProviderCombinedSystemDirectivesUnitTests + public partial class UsingCodeFixProviderCombinedSystemDirectivesCSharp8UnitTests : UsingCodeFixProviderCombinedSystemDirectivesCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderGroupSeparationUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp8UnitTests.cs similarity index 69% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderGroupSeparationUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp8UnitTests.cs index e2ec11216..6f6d99d98 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/CSharp8UsingCodeFixProviderGroupSeparationUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp8UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules { using StyleCop.Analyzers.Test.CSharp7.OrderingRules; - public class CSharp8UsingCodeFixProviderGroupSeparationUnitTests : CSharp7UsingCodeFixProviderGroupSeparationUnitTests + public partial class UsingCodeFixProviderGroupSeparationCSharp8UnitTests : UsingCodeFixProviderGroupSeparationCSharp7UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/UsingCodeFixProviderRegressionCSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/UsingCodeFixProviderRegressionCSharp8UnitTests.cs new file mode 100644 index 000000000..03ec8e1bb --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/OrderingRules/UsingCodeFixProviderRegressionCSharp8UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp8.OrderingRules +{ + using StyleCop.Analyzers.Test.CSharp7.OrderingRules; + + public partial class UsingCodeFixProviderRegressionCSharp8UnitTests : UsingCodeFixProviderRegressionCSharp7UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/StyleCop.Analyzers.Test.CSharp8.csproj b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/StyleCop.Analyzers.Test.CSharp8.csproj index 5cc860e80..e1edd7d7c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/StyleCop.Analyzers.Test.CSharp8.csproj +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/StyleCop.Analyzers.Test.CSharp8.csproj @@ -30,7 +30,8 @@ - + + \ No newline at end of file diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/AnalyzerConfigurationTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/AnalyzerConfigurationCSharp9UnitTests.cs similarity index 72% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/AnalyzerConfigurationTestsCSharp9.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/AnalyzerConfigurationCSharp9UnitTests.cs index 521b97920..d36b8e12e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/AnalyzerConfigurationTestsCSharp9.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/AnalyzerConfigurationCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9 { using StyleCop.Analyzers.Test.CSharp8; - public class AnalyzerConfigurationTestsCSharp9 : AnalyzerConfigurationTestsCSharp8 + public partial class AnalyzerConfigurationCSharp9UnitTests : AnalyzerConfigurationCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/CSharp9InheritdocCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/InheritdocCodeFixProviderCSharp9UnitTests.cs similarity index 73% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/CSharp9InheritdocCodeFixProviderUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/InheritdocCodeFixProviderCSharp9UnitTests.cs index 579bf5db4..e34902be0 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/CSharp9InheritdocCodeFixProviderUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/InheritdocCodeFixProviderCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class CSharp9InheritdocCodeFixProviderUnitTests : CSharp8InheritdocCodeFixProviderUnitTests + public partial class InheritdocCodeFixProviderCSharp9UnitTests : InheritdocCodeFixProviderCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/CSharp9NoXmlFileHeaderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/NoXmlFileHeaderCSharp9UnitTests.cs similarity index 77% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/CSharp9NoXmlFileHeaderUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/NoXmlFileHeaderCSharp9UnitTests.cs index 39196717b..145111f79 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/CSharp9NoXmlFileHeaderUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/NoXmlFileHeaderCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules { using StyleCop.Analyzers.Test.CSharp8.DocumentationRules; - public class CSharp9NoXmlFileHeaderUnitTests : CSharp8NoXmlFileHeaderUnitTests + public partial class NoXmlFileHeaderCSharp9UnitTests : NoXmlFileHeaderCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/HelperTests/SymbolNameHelpersCSharp9Tests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/HelperTests/SymbolNameHelpersCSharp9UnitTests.cs similarity index 83% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/HelperTests/SymbolNameHelpersCSharp9Tests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/HelperTests/SymbolNameHelpersCSharp9UnitTests.cs index fc021d9e3..f628ba5fc 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/HelperTests/SymbolNameHelpersCSharp9Tests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/HelperTests/SymbolNameHelpersCSharp9UnitTests.cs @@ -10,7 +10,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.HelperTests /// /// Unit tests for the class in the context of C# 9.0. /// - public class SymbolNameHelpersCSharp9Tests : SymbolNameHelpersCSharp8Tests + public partial class SymbolNameHelpersCSharp9UnitTests : SymbolNameHelpersCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1516CSharp9UsingGroupsUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1516UsingGroupsCSharp9UnitTests.cs similarity index 75% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1516CSharp9UsingGroupsUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1516UsingGroupsCSharp9UnitTests.cs index 84f6337c1..9f702755b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1516CSharp9UsingGroupsUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1516UsingGroupsCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules { using StyleCop.Analyzers.Test.CSharp8.LayoutRules; - public class SA1516CSharp9UsingGroupsUnitTests : SA1516CSharp8UsingGroupsUnitTests + public partial class SA1516UsingGroupsCSharp9UnitTests : SA1516UsingGroupsCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/AccessorDeclarationSyntaxExtensionsCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/AccessorDeclarationSyntaxExtensionsCSharp9UnitTests.cs new file mode 100644 index 000000000..bb4369626 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/AccessorDeclarationSyntaxExtensionsCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class AccessorDeclarationSyntaxExtensionsCSharp9UnitTests : AccessorDeclarationSyntaxExtensionsCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ArgumentSyntaxExtensionsCSharp9UnitTests.cs similarity index 72% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp9.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ArgumentSyntaxExtensionsCSharp9UnitTests.cs index f5ef687d4..d855355f5 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CommonForEachStatementSyntaxWrapperTestsCSharp9.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ArgumentSyntaxExtensionsCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.Lightup { using StyleCop.Analyzers.Test.CSharp8.Lightup; - public class CommonForEachStatementSyntaxWrapperTestsCSharp9 : CommonForEachStatementSyntaxWrapperTests + public partial class ArgumentSyntaxExtensionsCSharp9UnitTests : ArgumentSyntaxExtensionsCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp9UnitTests.cs new file mode 100644 index 000000000..08cd87ebe --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class BaseMethodDeclarationSyntaxExtensionsCSharp9UnitTests : BaseMethodDeclarationSyntaxExtensionsCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp9UnitTests.cs new file mode 100644 index 000000000..58c2edbbb --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class CasePatternSwitchLabelSyntaxWrapperCSharp9UnitTests : CasePatternSwitchLabelSyntaxWrapperCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CommonForEachStatementSyntaxWrapperCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CommonForEachStatementSyntaxWrapperCSharp9UnitTests.cs new file mode 100644 index 000000000..92e7f8112 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CommonForEachStatementSyntaxWrapperCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class CommonForEachStatementSyntaxWrapperCSharp9UnitTests : CommonForEachStatementSyntaxWrapperCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ConstantPatternSyntaxWrapperCSharp9UnitTests.cs similarity index 70% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp9.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ConstantPatternSyntaxWrapperCSharp9UnitTests.cs index 8c01ef6d0..4b740c2d0 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp9.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ConstantPatternSyntaxWrapperCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.Lightup { using StyleCop.Analyzers.Test.CSharp8.Lightup; - public class AccessorDeclarationSyntaxExtensionsTestsCSharp9 : AccessorDeclarationSyntaxExtensionsTestsCSharp8 + public partial class ConstantPatternSyntaxWrapperCSharp9UnitTests : ConstantPatternSyntaxWrapperCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp9UnitTests.cs new file mode 100644 index 000000000..e05c1c99b --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class ConstructorDeclarationSyntaxExtensionsCSharp9UnitTests : ConstructorDeclarationSyntaxExtensionsCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp9.cs deleted file mode 100644 index eddb6e6c1..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ConstructorDeclarationSyntaxExtensionsTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class ConstructorDeclarationSyntaxExtensionsTestsCSharp9 : ConstructorDeclarationSyntaxExtensionsTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CrefParameterSyntaxExtensionsCSharp9UnitTests.cs similarity index 70% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp9.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CrefParameterSyntaxExtensionsCSharp9UnitTests.cs index 0a49e5786..ec2c99103 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/BaseMethodDeclarationSyntaxExtensionsTestsCSharp9.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CrefParameterSyntaxExtensionsCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.Lightup { using StyleCop.Analyzers.Test.CSharp8.Lightup; - public class BaseMethodDeclarationSyntaxExtensionsTestsCSharp9 : BaseMethodDeclarationSyntaxExtensionsTestsCSharp8 + public partial class CrefParameterSyntaxExtensionsCSharp9UnitTests : CrefParameterSyntaxExtensionsCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationExpressionSyntaxWrapperCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationExpressionSyntaxWrapperCSharp9UnitTests.cs new file mode 100644 index 000000000..ed0b861fc --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationExpressionSyntaxWrapperCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class DeclarationExpressionSyntaxWrapperCSharp9UnitTests : DeclarationExpressionSyntaxWrapperCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp9.cs deleted file mode 100644 index 4d0ab4906..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationExpressionSyntaxWrapperTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class DeclarationExpressionSyntaxWrapperTestsCSharp9 : DeclarationExpressionSyntaxWrapperTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationPatternSyntaxWrapperCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationPatternSyntaxWrapperCSharp9UnitTests.cs new file mode 100644 index 000000000..1d422c1e1 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationPatternSyntaxWrapperCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class DeclarationPatternSyntaxWrapperCSharp9UnitTests : DeclarationPatternSyntaxWrapperCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DestructorDeclarationSyntaxExtensionsCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DestructorDeclarationSyntaxExtensionsCSharp9UnitTests.cs new file mode 100644 index 000000000..8dcb23b95 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DestructorDeclarationSyntaxExtensionsCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class DestructorDeclarationSyntaxExtensionsCSharp9UnitTests : DestructorDeclarationSyntaxExtensionsCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp9.cs deleted file mode 100644 index e178ab9ee..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DestructorDeclarationSyntaxExtensionsTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class DestructorDeclarationSyntaxExtensionsTestsCSharp9 : DestructorDeclarationSyntaxExtensionsTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DiscardDesignationSyntaxWrapperCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DiscardDesignationSyntaxWrapperCSharp9UnitTests.cs new file mode 100644 index 000000000..f0db61549 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DiscardDesignationSyntaxWrapperCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class DiscardDesignationSyntaxWrapperCSharp9UnitTests : DiscardDesignationSyntaxWrapperCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp9.cs deleted file mode 100644 index f9609facf..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DiscardDesignationSyntaxWrapperTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class DiscardDesignationSyntaxWrapperTestsCSharp9 : DiscardDesignationSyntaxWrapperTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp9UnitTests.cs new file mode 100644 index 000000000..f82974d81 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp9UnitTests : ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp9.cs deleted file mode 100644 index 100b78e9b..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp9 : ImplicitStackAllocArrayCreationExpressionSyntaxWrapperTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/IsPatternExpressionSyntaxWrapperCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/IsPatternExpressionSyntaxWrapperCSharp9UnitTests.cs new file mode 100644 index 000000000..535dd4cc8 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/IsPatternExpressionSyntaxWrapperCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class IsPatternExpressionSyntaxWrapperCSharp9UnitTests : IsPatternExpressionSyntaxWrapperCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp9.cs deleted file mode 100644 index aea9cd75f..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/IsPatternExpressionSyntaxWrapperTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class IsPatternExpressionSyntaxWrapperTestsCSharp9 : IsPatternExpressionSyntaxWrapperTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ArgumentSyntaxExtensionsTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LanguageVersionExCSharp9UnitTests.cs similarity index 75% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ArgumentSyntaxExtensionsTestsCSharp9.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LanguageVersionExCSharp9UnitTests.cs index 2950d6465..872c92c08 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ArgumentSyntaxExtensionsTestsCSharp9.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LanguageVersionExCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.Lightup { using StyleCop.Analyzers.Test.CSharp8.Lightup; - public class ArgumentSyntaxExtensionsTestsCSharp9 : ArgumentSyntaxExtensionsTestsCSharp8 + public partial class LanguageVersionExCSharp9UnitTests : LanguageVersionExCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LightupHelpersTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LightupHelpersCSharp9UnitTests.cs similarity index 72% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LightupHelpersTestsCSharp9.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LightupHelpersCSharp9UnitTests.cs index dc7b7cc28..c7ccefc9c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LightupHelpersTestsCSharp9.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LightupHelpersCSharp9UnitTests.cs @@ -11,10 +11,10 @@ namespace StyleCop.Analyzers.Test.CSharp9.Lightup /// /// This class tests edge case behavior of in Roslyn 3.8+. It extends - /// since the tests defined there are valid in both environments without + /// since the tests defined there are valid in both environments without /// alteration. /// - public class LightupHelpersTestsCSharp9 : LightupHelpersTestsCSharp8 + public partial class LightupHelpersCSharp9UnitTests : LightupHelpersCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LocalFunctionStatementSyntaxWrapperCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LocalFunctionStatementSyntaxWrapperCSharp9UnitTests.cs new file mode 100644 index 000000000..3a255c96f --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LocalFunctionStatementSyntaxWrapperCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class LocalFunctionStatementSyntaxWrapperCSharp9UnitTests : LocalFunctionStatementSyntaxWrapperCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp9.cs deleted file mode 100644 index 7c7cb9755..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LocalFunctionStatementSyntaxWrapperTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class LocalFunctionStatementSyntaxWrapperTestsCSharp9 : LocalFunctionStatementSyntaxWrapperTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/OperationKindExTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/MethodKindExCSharp9UnitTests.cs similarity index 77% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/OperationKindExTestsCSharp9.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/MethodKindExCSharp9UnitTests.cs index 67aa3cc0a..bd7bdd7d3 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/OperationKindExTestsCSharp9.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/MethodKindExCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.Lightup { using StyleCop.Analyzers.Test.CSharp8.Lightup; - public class OperationKindExTestsCSharp9 : OperationKindExTestsCSharp8 + public partial class MethodKindExCSharp9UnitTests : MethodKindExCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LanguageVersionExTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/OperationKindExCSharp9UnitTests.cs similarity index 75% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LanguageVersionExTestsCSharp9.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/OperationKindExCSharp9UnitTests.cs index 7bc4b302d..428de1dcb 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/LanguageVersionExTestsCSharp9.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/OperationKindExCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.Lightup { using StyleCop.Analyzers.Test.CSharp8.Lightup; - public class LanguageVersionExTestsCSharp9 : LanguageVersionExTestsCSharp8 + public partial class OperationKindExCSharp9UnitTests : OperationKindExCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp9UnitTests.cs new file mode 100644 index 000000000..d714a7f93 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class ParenthesizedVariableDesignationSyntaxWrapperCSharp9UnitTests : ParenthesizedVariableDesignationSyntaxWrapperCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp9.cs deleted file mode 100644 index fff8c67cc..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp9 : ParenthesizedVariableDesignationSyntaxWrapperTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ConstantPatternSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/PatternSyntaxWrapperCSharp9UnitTests.cs similarity index 73% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ConstantPatternSyntaxWrapperTestsCSharp9.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/PatternSyntaxWrapperCSharp9UnitTests.cs index cc7011f18..908e125fb 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ConstantPatternSyntaxWrapperTestsCSharp9.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/PatternSyntaxWrapperCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.Lightup { using StyleCop.Analyzers.Test.CSharp8.Lightup; - public class ConstantPatternSyntaxWrapperTestsCSharp9 : ConstantPatternSyntaxWrapperTestsCSharp8 + public partial class PatternSyntaxWrapperCSharp9UnitTests : PatternSyntaxWrapperCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefExpressionSyntaxWrapperCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefExpressionSyntaxWrapperCSharp9UnitTests.cs new file mode 100644 index 000000000..82b48681a --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefExpressionSyntaxWrapperCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class RefExpressionSyntaxWrapperCSharp9UnitTests : RefExpressionSyntaxWrapperCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefExpressionSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefExpressionSyntaxWrapperTestsCSharp9.cs deleted file mode 100644 index 5f54d2f77..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefExpressionSyntaxWrapperTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class RefExpressionSyntaxWrapperTestsCSharp9 : RefExpressionSyntaxWrapperTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefTypeSyntaxWrapperCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefTypeSyntaxWrapperCSharp9UnitTests.cs new file mode 100644 index 000000000..d32584654 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefTypeSyntaxWrapperCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class RefTypeSyntaxWrapperCSharp9UnitTests : RefTypeSyntaxWrapperCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefTypeSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefTypeSyntaxWrapperTestsCSharp9.cs deleted file mode 100644 index 0e85f7d46..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/RefTypeSyntaxWrapperTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class RefTypeSyntaxWrapperTestsCSharp9 : RefTypeSyntaxWrapperTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SingleVariableDesignationSyntaxWrapperCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SingleVariableDesignationSyntaxWrapperCSharp9UnitTests.cs new file mode 100644 index 000000000..8c8681ecc --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SingleVariableDesignationSyntaxWrapperCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class SingleVariableDesignationSyntaxWrapperCSharp9UnitTests : SingleVariableDesignationSyntaxWrapperCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp9.cs deleted file mode 100644 index 280da830a..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SingleVariableDesignationSyntaxWrapperTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class SingleVariableDesignationSyntaxWrapperTestsCSharp9 : SingleVariableDesignationSyntaxWrapperTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp9UnitTests.cs new file mode 100644 index 000000000..2e4ec19c9 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class StackAllocArrayCreationExpressionSyntaxExtensionsCSharp9UnitTests : StackAllocArrayCreationExpressionSyntaxExtensionsCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp9.cs deleted file mode 100644 index bf2793507..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp9 : StackAllocArrayCreationExpressionSyntaxExtensionsTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionArmSyntaxWrapperCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionArmSyntaxWrapperCSharp9UnitTests.cs new file mode 100644 index 000000000..e278b1d4d --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionArmSyntaxWrapperCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class SwitchExpressionArmSyntaxWrapperCSharp9UnitTests : SwitchExpressionArmSyntaxWrapperCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp9.cs deleted file mode 100644 index e500bfcde..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class SwitchExpressionArmSyntaxWrapperTestsCSharp9 : SwitchExpressionArmSyntaxWrapperTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionSyntaxWrapperCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionSyntaxWrapperCSharp9UnitTests.cs new file mode 100644 index 000000000..15f7cb580 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionSyntaxWrapperCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class SwitchExpressionSyntaxWrapperCSharp9UnitTests : SwitchExpressionSyntaxWrapperCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp9.cs deleted file mode 100644 index c7a8aa17c..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SwitchExpressionSyntaxWrapperTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class SwitchExpressionSyntaxWrapperTestsCSharp9 : SwitchExpressionSyntaxWrapperTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxKindExCSharp9UnitTests.cs similarity index 84% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp9.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxKindExCSharp9UnitTests.cs index 59c516d30..1f7596791 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CasePatternSwitchLabelSyntaxWrapperTestsCSharp9.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxKindExCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.Lightup { using StyleCop.Analyzers.Test.CSharp8.Lightup; - public class CasePatternSwitchLabelSyntaxWrapperTestsCSharp9 : CasePatternSwitchLabelSyntaxWrapperTestsCSharp8 + public partial class SyntaxKindExCSharp9UnitTests : SyntaxKindExCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxKindExTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxKindExTestsCSharp9.cs deleted file mode 100644 index 482cae31e..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxKindExTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class SyntaxKindExTestsCSharp9 : SyntaxKindExTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/PatternSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperCSharp9UnitTests.cs similarity index 76% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/PatternSyntaxWrapperTestsCSharp9.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperCSharp9UnitTests.cs index 1514a2861..4cc37b8f9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/PatternSyntaxWrapperTestsCSharp9.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.Lightup { using StyleCop.Analyzers.Test.CSharp8.Lightup; - public class PatternSyntaxWrapperTestsCSharp9 : PatternSyntaxWrapperTestsCSharp8 + public partial class SyntaxWrapperCSharp9UnitTests : SyntaxWrapperCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/MethodKindExTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperHelperCSharp9UnitTests.cs similarity index 74% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/MethodKindExTestsCSharp9.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperHelperCSharp9UnitTests.cs index 4b15e47ad..dd957d625 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/MethodKindExTestsCSharp9.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperHelperCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.Lightup { using StyleCop.Analyzers.Test.CSharp8.Lightup; - public class MethodKindExTestsCSharp9 : MethodKindExTestsCSharp8 + public partial class SyntaxWrapperHelperCSharp9UnitTests : SyntaxWrapperHelperCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperHelperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperHelperTestsCSharp9.cs deleted file mode 100644 index 7df0a8adf..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperHelperTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class SyntaxWrapperHelperTestsCSharp9 : SyntaxWrapperHelperTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperTestsCSharp9.cs deleted file mode 100644 index 2fcfa8956..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/SyntaxWrapperTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class SyntaxWrapperTestsCSharp9 : SyntaxWrapperTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ThrowExpressionSyntaxWrapperCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ThrowExpressionSyntaxWrapperCSharp9UnitTests.cs new file mode 100644 index 000000000..77689227b --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ThrowExpressionSyntaxWrapperCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class ThrowExpressionSyntaxWrapperCSharp9UnitTests : ThrowExpressionSyntaxWrapperCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp9.cs deleted file mode 100644 index 17fa7b297..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/ThrowExpressionSyntaxWrapperTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class ThrowExpressionSyntaxWrapperTestsCSharp9 : ThrowExpressionSyntaxWrapperTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleElementSyntaxWrapperCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleElementSyntaxWrapperCSharp9UnitTests.cs new file mode 100644 index 000000000..f4dbb293a --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleElementSyntaxWrapperCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class TupleElementSyntaxWrapperCSharp9UnitTests : TupleElementSyntaxWrapperCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleElementSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleElementSyntaxWrapperTestsCSharp9.cs deleted file mode 100644 index 3ec485bfd..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleElementSyntaxWrapperTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class TupleElementSyntaxWrapperTestsCSharp9 : TupleElementSyntaxWrapperTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleExpressionSyntaxWrapperCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleExpressionSyntaxWrapperCSharp9UnitTests.cs new file mode 100644 index 000000000..e5c6c968f --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleExpressionSyntaxWrapperCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class TupleExpressionSyntaxWrapperCSharp9UnitTests : TupleExpressionSyntaxWrapperCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleExpressionSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleExpressionSyntaxWrapperTestsCSharp9.cs deleted file mode 100644 index 2c69c455f..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleExpressionSyntaxWrapperTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class TupleExpressionSyntaxWrapperTestsCSharp9 : TupleExpressionSyntaxWrapperTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CrefParameterSyntaxExtensionsTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleTypeSyntaxWrapperCSharp9UnitTests.cs similarity index 73% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CrefParameterSyntaxExtensionsTestsCSharp9.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleTypeSyntaxWrapperCSharp9UnitTests.cs index 50dd21861..5ccd702e4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/CrefParameterSyntaxExtensionsTestsCSharp9.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleTypeSyntaxWrapperCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.Lightup { using StyleCop.Analyzers.Test.CSharp8.Lightup; - public class CrefParameterSyntaxExtensionsTestsCSharp9 : CrefParameterSyntaxExtensionsTestsCSharp8 + public partial class TupleTypeSyntaxWrapperCSharp9UnitTests : TupleTypeSyntaxWrapperCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleTypeSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleTypeSyntaxWrapperTestsCSharp9.cs deleted file mode 100644 index 13928c4be..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/TupleTypeSyntaxWrapperTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class TupleTypeSyntaxWrapperTestsCSharp9 : TupleTypeSyntaxWrapperTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/VariableDesignationSyntaxWrapperCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/VariableDesignationSyntaxWrapperCSharp9UnitTests.cs new file mode 100644 index 000000000..3a779d0f7 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/VariableDesignationSyntaxWrapperCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.Lightup +{ + using StyleCop.Analyzers.Test.CSharp8.Lightup; + + public partial class VariableDesignationSyntaxWrapperCSharp9UnitTests : VariableDesignationSyntaxWrapperCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/VariableDesignationSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/VariableDesignationSyntaxWrapperTestsCSharp9.cs deleted file mode 100644 index c4c64ef04..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/VariableDesignationSyntaxWrapperTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class VariableDesignationSyntaxWrapperTestsCSharp9 : VariableDesignationSyntaxWrapperTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/WhenClauseSyntaxWrapperCSharp9UnitTests.cs similarity index 72% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp9.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/WhenClauseSyntaxWrapperCSharp9UnitTests.cs index 974d0337c..d743f2866 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/DeclarationPatternSyntaxWrapperTestsCSharp9.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/WhenClauseSyntaxWrapperCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.Lightup { using StyleCop.Analyzers.Test.CSharp8.Lightup; - public class DeclarationPatternSyntaxWrapperTestsCSharp9 : DeclarationPatternSyntaxWrapperTestsCSharp8 + public partial class WhenClauseSyntaxWrapperCSharp9UnitTests : WhenClauseSyntaxWrapperCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/WhenClauseSyntaxWrapperTestsCSharp9.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/WhenClauseSyntaxWrapperTestsCSharp9.cs deleted file mode 100644 index abbd4d990..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/Lightup/WhenClauseSyntaxWrapperTestsCSharp9.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.CSharp9.Lightup -{ - using StyleCop.Analyzers.Test.CSharp8.Lightup; - - public class WhenClauseSyntaxWrapperTestsCSharp9 : WhenClauseSyntaxWrapperTestsCSharp8 - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForStructUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForStructUnitTests.cs deleted file mode 100644 index 716420f44..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForStructUnitTests.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.CSharp9.MaintainabilityRules -{ - using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules; - - public class SA1402CSharp9ForStructUnitTests : SA1402CSharp8ForStructUnitTests - { - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForDelegateUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402ForClassCSharp9UnitTests.cs similarity index 77% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForDelegateUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402ForClassCSharp9UnitTests.cs index d8a47b30c..4abdc21e5 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForDelegateUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402ForClassCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules; - public class SA1402CSharp9ForDelegateUnitTests : SA1402CSharp8ForDelegateUnitTests + public partial class SA1402ForClassCSharp9UnitTests : SA1402ForClassCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForInterfaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402ForDelegateCSharp9UnitTests.cs similarity index 76% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForInterfaceUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402ForDelegateCSharp9UnitTests.cs index 4e47141b4..fdd9d0049 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForInterfaceUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402ForDelegateCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules; - public class SA1402CSharp9ForInterfaceUnitTests : SA1402CSharp8ForInterfaceUnitTests + public partial class SA1402ForDelegateCSharp9UnitTests : SA1402ForDelegateCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForClassUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402ForEnumCSharp9UnitTests.cs similarity index 78% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForClassUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402ForEnumCSharp9UnitTests.cs index 277144c7c..8c77f2cd4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForClassUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402ForEnumCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules; - public class SA1402CSharp9ForClassUnitTests : SA1402CSharp8ForClassUnitTests + public partial class SA1402ForEnumCSharp9UnitTests : SA1402ForEnumCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402ForInterfaceCSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402ForInterfaceCSharp9UnitTests.cs new file mode 100644 index 000000000..757abb515 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402ForInterfaceCSharp9UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules +{ + using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules; + + public partial class SA1402ForInterfaceCSharp9UnitTests : SA1402ForInterfaceCSharp8UnitTests + { + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForRecordUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402ForRecordCSharp9UnitTests.cs similarity index 89% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForRecordUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402ForRecordCSharp9UnitTests.cs index 72cca5e46..ccf1460ac 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForRecordUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402ForRecordCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules { using StyleCop.Analyzers.Test.MaintainabilityRules; - public class SA1402CSharp9ForRecordUnitTests : SA1402ForBlockDeclarationUnitTestsBase + public class SA1402ForRecordCSharp9UnitTests : SA1402ForBlockDeclarationUnitTestsBase { public override string Keyword => "record"; diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForEnumUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402ForStructCSharp9UnitTests.cs similarity index 77% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForEnumUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402ForStructCSharp9UnitTests.cs index 4709b3c99..025062982 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402CSharp9ForEnumUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1402ForStructCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules { using StyleCop.Analyzers.Test.CSharp8.MaintainabilityRules; - public class SA1402CSharp9ForEnumUnitTests : SA1402CSharp8ForEnumUnitTests + public partial class SA1402ForStructCSharp9UnitTests : SA1402ForStructCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200CSharp9OutsideNamespaceUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200OutsideNamespaceCSharp9UnitTests.cs similarity index 94% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200CSharp9OutsideNamespaceUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200OutsideNamespaceCSharp9UnitTests.cs index 5c778f5e2..951afb0fa 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200CSharp9OutsideNamespaceUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200OutsideNamespaceCSharp9UnitTests.cs @@ -15,7 +15,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules StyleCop.Analyzers.OrderingRules.SA1200UsingDirectivesMustBePlacedCorrectly, StyleCop.Analyzers.OrderingRules.UsingCodeFixProvider>; - public class SA1200CSharp9OutsideNamespaceUnitTests : SA1200CSharp8OutsideNamespaceUnitTests + public partial class SA1200OutsideNamespaceCSharp9UnitTests : SA1200OutsideNamespaceCSharp8UnitTests { /// /// Verifies that having using statements in the compilation unit will not produce diagnostics for top-level diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200CSharp9PreserveUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200PreserveCSharp9UnitTests.cs similarity index 94% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200CSharp9PreserveUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200PreserveCSharp9UnitTests.cs index 8acfb25de..e0bb5b7b6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200CSharp9PreserveUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1200PreserveCSharp9UnitTests.cs @@ -15,7 +15,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules StyleCop.Analyzers.OrderingRules.SA1200UsingDirectivesMustBePlacedCorrectly, StyleCop.Analyzers.OrderingRules.UsingCodeFixProvider>; - public class SA1200CSharp9PreserveUnitTests : SA1200CSharp8PreserveUnitTests + public partial class SA1200PreserveCSharp9UnitTests : SA1200PreserveCSharp8UnitTests { /// /// Verifies that having using statements in the compilation unit will not produce diagnostics for top-level diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1206CodeFixProviderCSharp9UnitTests.cs similarity index 74% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1206CodeFixProviderCSharp9UnitTests.cs index 6698fea4f..9a91e56d6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1206CodeFixProviderCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules { using StyleCop.Analyzers.Test.CSharp8.OrderingRules; - public class CSharp9UsingCodeFixProviderUnitTests : CSharp8UsingCodeFixProviderUnitTests + public partial class SA1206CodeFixProviderCSharp9UnitTests : SA1206CodeFixProviderCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1210CSharp9CombinedSystemDirectivesUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1210CombinedSystemDirectivesCSharp9UnitTests.cs similarity index 71% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1210CSharp9CombinedSystemDirectivesUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1210CombinedSystemDirectivesCSharp9UnitTests.cs index 0e357ad77..08c3ee7d9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1210CSharp9CombinedSystemDirectivesUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1210CombinedSystemDirectivesCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules { using StyleCop.Analyzers.Test.CSharp8.OrderingRules; - public class SA1210CSharp9CombinedSystemDirectivesUnitTests : SA1210CSharp8CombinedSystemDirectivesUnitTests + public partial class SA1210CombinedSystemDirectivesCSharp9UnitTests : SA1210CombinedSystemDirectivesCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1206CSharp9CodeFixProviderUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/UsingCodeFixProviderCSharp9UnitTests.cs similarity index 74% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1206CSharp9CodeFixProviderUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/UsingCodeFixProviderCSharp9UnitTests.cs index f736880b7..258504cd4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/SA1206CSharp9CodeFixProviderUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/UsingCodeFixProviderCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules { using StyleCop.Analyzers.Test.CSharp8.OrderingRules; - public class SA1206CSharp9CodeFixProviderUnitTests : SA1206CSharp8CodeFixProviderUnitTests + public partial class UsingCodeFixProviderCSharp9UnitTests : UsingCodeFixProviderCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp9UnitTests.cs similarity index 66% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp9UnitTests.cs index 508249a02..3579b9ab3 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderCombinedSystemDirectivesUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules { using StyleCop.Analyzers.Test.CSharp8.OrderingRules; - public class CSharp9UsingCodeFixProviderCombinedSystemDirectivesUnitTests : CSharp8UsingCodeFixProviderCombinedSystemDirectivesUnitTests + public partial class UsingCodeFixProviderCombinedSystemDirectivesCSharp9UnitTests : UsingCodeFixProviderCombinedSystemDirectivesCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderGroupSeparationUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp9UnitTests.cs similarity index 69% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderGroupSeparationUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp9UnitTests.cs index d876c4a42..ea7901063 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderGroupSeparationUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules { using StyleCop.Analyzers.Test.CSharp8.OrderingRules; - public class CSharp9UsingCodeFixProviderGroupSeparationUnitTests : CSharp8UsingCodeFixProviderGroupSeparationUnitTests + public partial class UsingCodeFixProviderGroupSeparationCSharp9UnitTests : UsingCodeFixProviderGroupSeparationCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderRegressionUnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/UsingCodeFixProviderRegressionCSharp9UnitTests.cs similarity index 71% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderRegressionUnitTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/UsingCodeFixProviderRegressionCSharp9UnitTests.cs index 0aac89b1d..dada4904d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/CSharp9UsingCodeFixProviderRegressionUnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/OrderingRules/UsingCodeFixProviderRegressionCSharp9UnitTests.cs @@ -5,7 +5,7 @@ namespace StyleCop.Analyzers.Test.CSharp9.OrderingRules { using StyleCop.Analyzers.Test.CSharp8.OrderingRules; - public class CSharp9UsingCodeFixProviderRegressionUnitTests : CSharp8UsingCodeFixProviderRegressionUnitTests + public partial class UsingCodeFixProviderRegressionCSharp9UnitTests : UsingCodeFixProviderRegressionCSharp8UnitTests { } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/StyleCop.Analyzers.Test.CSharp9.csproj b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/StyleCop.Analyzers.Test.CSharp9.csproj index c5dc6f6d6..9e4cf64df 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/StyleCop.Analyzers.Test.CSharp9.csproj +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/StyleCop.Analyzers.Test.CSharp9.csproj @@ -29,6 +29,7 @@ + \ No newline at end of file diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/AnalyzerConfigurationTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/AnalyzerConfigurationUnitTests.cs similarity index 98% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test/AnalyzerConfigurationTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test/AnalyzerConfigurationUnitTests.cs index 20dcb3a6d..c2d72dd98 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/AnalyzerConfigurationTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/AnalyzerConfigurationUnitTests.cs @@ -18,7 +18,7 @@ namespace StyleCop.Analyzers.Test using Microsoft.CodeAnalysis.Testing.Verifiers; using Xunit; - public class AnalyzerConfigurationTests + public class AnalyzerConfigurationUnitTests { public static IEnumerable AllAnalyzers { diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/ExportCodeFixProviderAttributeNameTest.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/ExportCodeFixProviderAttributeNameTest.cs index b54cf4ca4..048ba6e68 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/ExportCodeFixProviderAttributeNameTest.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/ExportCodeFixProviderAttributeNameTest.cs @@ -1,8 +1,6 @@ // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. -#nullable disable - namespace StyleCop.Analyzers.Test { using System; diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/HelperTests/SymbolNameHelpersTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/HelperTests/SymbolNameHelpersUnitTests.cs similarity index 98% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test/HelperTests/SymbolNameHelpersTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test/HelperTests/SymbolNameHelpersUnitTests.cs index 15e3d3eaf..c7d8da7e5 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/HelperTests/SymbolNameHelpersTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/HelperTests/SymbolNameHelpersUnitTests.cs @@ -19,7 +19,7 @@ namespace StyleCop.Analyzers.Test.HelperTests /// /// Unit tests for the class. /// - public class SymbolNameHelpersTests : IAsyncLifetime + public class SymbolNameHelpersUnitTests : IAsyncLifetime { private const string TestProjectName = "TestProject"; private const string TestFilename = "Test.cs"; diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/LanguageVersionExTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/LanguageVersionExUnitTests.cs similarity index 95% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/LanguageVersionExTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/LanguageVersionExUnitTests.cs index 3b86990c0..52ce4d4b3 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/LanguageVersionExTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/LanguageVersionExUnitTests.cs @@ -11,12 +11,12 @@ namespace StyleCop.Analyzers.Test.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class LanguageVersionExTests + public class LanguageVersionExUnitTests { private static readonly Dictionary LanguageVersionToName; private static readonly Dictionary NameToLanguageVersion; - static LanguageVersionExTests() + static LanguageVersionExUnitTests() { LanguageVersionToName = new Dictionary(); NameToLanguageVersion = new Dictionary(); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/LightupHelpersTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/LightupHelpersUnitTests.cs similarity index 99% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/LightupHelpersTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/LightupHelpersUnitTests.cs index 157b2656f..1c2f7b3cc 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/LightupHelpersTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/LightupHelpersUnitTests.cs @@ -12,7 +12,7 @@ namespace StyleCop.Analyzers.Test.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class LightupHelpersTests + public class LightupHelpersUnitTests { [Fact] public void TestCanWrapNullNode() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/MethodKindExTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/MethodKindExUnitTests.cs similarity index 96% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/MethodKindExTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/MethodKindExUnitTests.cs index bb28932f7..f7c542da9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/MethodKindExTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/MethodKindExUnitTests.cs @@ -12,12 +12,12 @@ namespace StyleCop.Analyzers.Test.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class MethodKindExTests + public class MethodKindExUnitTests { private static readonly Dictionary MethodKindToName; private static readonly Dictionary NameToMethodKind; - static MethodKindExTests() + static MethodKindExUnitTests() { MethodKindToName = new Dictionary(); NameToMethodKind = new Dictionary(); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SwitchExpressionArmSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SwitchExpressionArmSyntaxWrapperUnitTests.cs similarity index 96% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SwitchExpressionArmSyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SwitchExpressionArmSyntaxWrapperUnitTests.cs index ff8e7133a..59f022002 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SwitchExpressionArmSyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SwitchExpressionArmSyntaxWrapperUnitTests.cs @@ -11,7 +11,7 @@ namespace StyleCop.Analyzers.Test.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class SwitchExpressionArmSyntaxWrapperTests + public class SwitchExpressionArmSyntaxWrapperUnitTests { [Fact] public void TestNull() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SwitchExpressionSyntaxWrapperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SwitchExpressionSyntaxWrapperUnitTests.cs similarity index 98% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SwitchExpressionSyntaxWrapperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SwitchExpressionSyntaxWrapperUnitTests.cs index 5978853eb..2ccda0ded 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SwitchExpressionSyntaxWrapperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SwitchExpressionSyntaxWrapperUnitTests.cs @@ -11,7 +11,7 @@ namespace StyleCop.Analyzers.Test.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class SwitchExpressionSyntaxWrapperTests + public class SwitchExpressionSyntaxWrapperUnitTests { [Fact] public void TestNull() diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SyntaxKindExTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SyntaxKindExUnitTests.cs similarity index 96% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SyntaxKindExTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SyntaxKindExUnitTests.cs index 96b42cf80..c22f2d259 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SyntaxKindExTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SyntaxKindExUnitTests.cs @@ -11,12 +11,12 @@ namespace StyleCop.Analyzers.Test.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class SyntaxKindExTests + public class SyntaxKindExUnitTests { private static readonly Dictionary SyntaxKindToName; private static readonly Dictionary NameToSyntaxKind; - static SyntaxKindExTests() + static SyntaxKindExUnitTests() { SyntaxKindToName = new Dictionary(); NameToSyntaxKind = new Dictionary(); diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SyntaxWrapperHelperTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SyntaxWrapperHelperUnitTests.cs similarity index 98% rename from StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SyntaxWrapperHelperTests.cs rename to StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SyntaxWrapperHelperUnitTests.cs index 4614d1b64..1a2e4f6ba 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SyntaxWrapperHelperTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Lightup/SyntaxWrapperHelperUnitTests.cs @@ -14,7 +14,7 @@ namespace StyleCop.Analyzers.Test.Lightup using StyleCop.Analyzers.Lightup; using Xunit; - public class SyntaxWrapperHelperTests + public class SyntaxWrapperHelperUnitTests { public static IEnumerable SyntaxWrapperClasses { diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/SequentialTestCollection.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/SequentialTestCollection.cs index 7120b86a2..93338eb7d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/SequentialTestCollection.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/SequentialTestCollection.cs @@ -1,8 +1,6 @@ // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. -#nullable disable - namespace StyleCop.Analyzers.Test { using Xunit; diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/WorkItemAttribute.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/WorkItemAttribute.cs index 8c6da7b61..f77b90c5d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/WorkItemAttribute.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/WorkItemAttribute.cs @@ -1,8 +1,6 @@ // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. -#nullable disable - namespace StyleCop.Analyzers.Test { using System; diff --git a/StyleCopAnalyzers.sln b/StyleCopAnalyzers.sln index cca7f99b5..a7816266b 100644 --- a/StyleCopAnalyzers.sln +++ b/StyleCopAnalyzers.sln @@ -270,6 +270,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StyleCop.Analyzers.Test.CSh EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StyleCop.Analyzers.Test.CSharp11", "StyleCop.Analyzers\StyleCop.Analyzers.Test.CSharp11\StyleCop.Analyzers.Test.CSharp11.csproj", "{F7D63A25-EBBC-40B5-AF7E-C49213AD33CE}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StyleCop.Analyzers.PrivateAnalyzers", "StyleCop.Analyzers\StyleCop.Analyzers.PrivateAnalyzers\StyleCop.Analyzers.PrivateAnalyzers.csproj", "{465F3586-165A-4454-8276-32FC93B509AA}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StyleCop.Analyzers.PrivateCodeFixes", "StyleCop.Analyzers\StyleCop.Analyzers.PrivateCodeFixes\StyleCop.Analyzers.PrivateCodeFixes.csproj", "{BEA9E1FE-E297-4EBD-BA00-B778DC99F37D}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -324,6 +328,14 @@ Global {F7D63A25-EBBC-40B5-AF7E-C49213AD33CE}.Debug|Any CPU.Build.0 = Debug|Any CPU {F7D63A25-EBBC-40B5-AF7E-C49213AD33CE}.Release|Any CPU.ActiveCfg = Release|Any CPU {F7D63A25-EBBC-40B5-AF7E-C49213AD33CE}.Release|Any CPU.Build.0 = Release|Any CPU + {465F3586-165A-4454-8276-32FC93B509AA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {465F3586-165A-4454-8276-32FC93B509AA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {465F3586-165A-4454-8276-32FC93B509AA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {465F3586-165A-4454-8276-32FC93B509AA}.Release|Any CPU.Build.0 = Release|Any CPU + {BEA9E1FE-E297-4EBD-BA00-B778DC99F37D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BEA9E1FE-E297-4EBD-BA00-B778DC99F37D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BEA9E1FE-E297-4EBD-BA00-B778DC99F37D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BEA9E1FE-E297-4EBD-BA00-B778DC99F37D}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE From dfd5ed2e454d71a563dac50ca7bed57a37d31e9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Hellander?= Date: Sun, 15 Oct 2023 12:10:43 +0200 Subject: [PATCH 14/36] Update SA1131 to treat methods as constants #3677 --- .../ReadabilityRules/SA1131UnitTests.cs | 76 +++++++++++++++++++ .../SA1131UseReadableConditions.cs | 12 ++- 2 files changed, 84 insertions(+), 4 deletions(-) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1131UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1131UnitTests.cs index 72cd1013f..ae5fd8f42 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1131UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1131UnitTests.cs @@ -508,5 +508,81 @@ public void Test() }; await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false); } + + [Theory] + [InlineData("Method1", "arg", true)] + [InlineData("Method2", "arg", true)] + [InlineData("Method1", "field1", true)] + [InlineData("Method2", "field1", true)] + [InlineData("Method1", "field2", true)] + [InlineData("Method2", "field2", true)] + [InlineData("Const1", "Method1", false)] + [InlineData("Const1", "Method2", false)] + [InlineData("Method1", "Const1", false)] + [InlineData("Method2", "Const1", false)] + [WorkItem(3677, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3677")] + public async Task TestMethodsAsync(string expr1, string expr2, bool shouldTrigger) + { + var testExpr = $"{expr1} == {expr2}"; + var testCode = $@" +using System; + +public class TestClass +{{ + private static readonly Action Const1 = Method1; + + private Action field1 = Method1; + private readonly Action field2 = Method1; + + public bool TestMethod(Action arg) + {{ + return {(shouldTrigger ? $"[|{testExpr}|]" : testExpr)}; + }} + + private static void Method1() + {{ + }} + + private void Method2() + {{ + }} +}} +"; + + var fixedExpr = $"{expr2} == {expr1}"; + var fixedCode = $@" +using System; + +public class TestClass +{{ + private static readonly Action Const1 = Method1; + + private Action field1 = Method1; + private readonly Action field2 = Method1; + + public bool TestMethod(Action arg) + {{ + return {fixedExpr}; + }} + + private static void Method1() + {{ + }} + + private void Method2() + {{ + }} +}} +"; + + if (shouldTrigger) + { + await VerifyCSharpFixAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, fixedCode, CancellationToken.None).ConfigureAwait(false); + } + else + { + await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false); + } + } } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/SA1131UseReadableConditions.cs b/StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/SA1131UseReadableConditions.cs index d9be391ce..e3af5070e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/SA1131UseReadableConditions.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/SA1131UseReadableConditions.cs @@ -82,12 +82,16 @@ private static bool IsLiteral(ExpressionSyntax expression, SemanticModel semanti return true; } - if (semanticModel.GetSymbolInfo(expression).Symbol is IFieldSymbol fieldSymbol) + var symbol = semanticModel.GetSymbolInfo(expression).Symbol; + switch (symbol) { - return fieldSymbol.IsStatic && fieldSymbol.IsReadOnly; - } + case IFieldSymbol fieldSymbol when fieldSymbol.IsStatic && fieldSymbol.IsReadOnly: + case IMethodSymbol: + return true; - return false; + default: + return false; + } } } } From b7e150a4b7641a455d4e47d81c88aa6040319a3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Hellander?= Date: Sun, 15 Oct 2023 13:25:37 +0200 Subject: [PATCH 15/36] Update SA1011 to not require space before a range operator #3708 --- .../SpacingRules/SA1011CSharp8UnitTests.cs | 20 +++++++++++++++++++ ...singSquareBracketsMustBeSpacedCorrectly.cs | 1 + 2 files changed, 21 insertions(+) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1011CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1011CSharp8UnitTests.cs index b0ce402cb..e22a24929 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1011CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1011CSharp8UnitTests.cs @@ -106,5 +106,25 @@ public void TestMethod(object?[] arguments) await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false); } + + [Fact] + [WorkItem(3708, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3708")] + public async Task TestClosingSquareBracketFollowedByRangeAsync() + { + var testCode = @"namespace TestNamespace +{ + public class TestClass + { + public void TestMethod(int[] arg) + { + _ = arg[0]..; + _ = arg[0] ..; + } + } +} +"; + + await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false); + } } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SA1011ClosingSquareBracketsMustBeSpacedCorrectly.cs b/StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SA1011ClosingSquareBracketsMustBeSpacedCorrectly.cs index ef77ee58f..f942f5a6c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SA1011ClosingSquareBracketsMustBeSpacedCorrectly.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SA1011ClosingSquareBracketsMustBeSpacedCorrectly.cs @@ -107,6 +107,7 @@ private static void HandleCloseBracketToken(SyntaxTreeAnalysisContext context, S case SyntaxKind.OpenBracketToken: case SyntaxKind.CloseParenToken: case SyntaxKind.MinusGreaterThanToken: + case SyntaxKindEx.DotDotToken: precedesSpecialCharacter = true; break; From 16c310eb1a0dc04f6ce05b9aa660972aee576ada Mon Sep 17 00:00:00 2001 From: Martin Strecker Date: Mon, 16 Oct 2023 17:43:46 +0200 Subject: [PATCH 16/36] Avoid allocations in CanWrap... methods --- .../Lightup/LightupHelpers.cs | 60 +++++++++++-------- 1 file changed, 36 insertions(+), 24 deletions(-) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs index b247b263e..e66ab838e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs @@ -65,18 +65,22 @@ internal static bool CanWrapObject(object obj, Type underlyingType) return false; } - ConcurrentDictionary wrappedObject = SupportedObjectWrappers.GetOrAdd(underlyingType, _ => new ConcurrentDictionary()); - // Avoid creating the delegate if the value already exists - bool canCast; - if (!wrappedObject.TryGetValue(obj.GetType(), out canCast)) + if (!SupportedObjectWrappers.TryGetValue(underlyingType, out var wrappedObject)) { - canCast = wrappedObject.GetOrAdd( - obj.GetType(), - kind => underlyingType.GetTypeInfo().IsAssignableFrom(obj.GetType().GetTypeInfo())); + wrappedObject = SupportedObjectWrappers.GetOrAdd(underlyingType, static _ => new ConcurrentDictionary()); } - return canCast; + // Avoid creating the delegate and capture class if the value already exists + return wrappedObject.TryGetValue(obj.GetType(), out var canCast) + ? canCast + : GetOrAdd(obj, underlyingType, wrappedObject); + + // Don't inline this method. Otherwise a capture class is generated on each call to CanWrapObject. + static bool GetOrAdd(object obj, Type underlyingType, ConcurrentDictionary wrappedObject) + => wrappedObject.GetOrAdd( + obj.GetType(), + kind => underlyingType.GetTypeInfo().IsAssignableFrom(obj.GetType().GetTypeInfo())); } internal static bool CanWrapNode(SyntaxNode node, Type underlyingType) @@ -93,18 +97,22 @@ internal static bool CanWrapNode(SyntaxNode node, Type underlyingType) return false; } - ConcurrentDictionary wrappedSyntax = SupportedSyntaxWrappers.GetOrAdd(underlyingType, _ => new ConcurrentDictionary()); - // Avoid creating the delegate if the value already exists - bool canCast; - if (!wrappedSyntax.TryGetValue(node.Kind(), out canCast)) + if (!SupportedSyntaxWrappers.TryGetValue(underlyingType, out var wrappedSyntax)) { - canCast = wrappedSyntax.GetOrAdd( - node.Kind(), - kind => underlyingType.GetTypeInfo().IsAssignableFrom(node.GetType().GetTypeInfo())); + wrappedSyntax = SupportedSyntaxWrappers.GetOrAdd(underlyingType, static _ => new ConcurrentDictionary()); } - return canCast; + // Avoid creating the delegate and capture class if the value already exists + return wrappedSyntax.TryGetValue(node.Kind(), out var canCast) + ? canCast + : GetOrAdd(node, underlyingType, wrappedSyntax); + + // Don't inline this method. Otherwise a capture class is generated on each call to CanWrapNode. + static bool GetOrAdd(SyntaxNode node, Type underlyingType, ConcurrentDictionary wrappedSyntax) => + wrappedSyntax.GetOrAdd( + node.Kind(), + kind => underlyingType.GetTypeInfo().IsAssignableFrom(node.GetType().GetTypeInfo())); } internal static bool CanWrapOperation(IOperation operation, Type underlyingType) @@ -121,18 +129,22 @@ internal static bool CanWrapOperation(IOperation operation, Type underlyingType) return false; } - ConcurrentDictionary wrappedSyntax = SupportedOperationWrappers.GetOrAdd(underlyingType, _ => new ConcurrentDictionary()); - // Avoid creating the delegate if the value already exists - bool canCast; - if (!wrappedSyntax.TryGetValue(operation.Kind, out canCast)) + if (!SupportedOperationWrappers.TryGetValue(underlyingType, out var wrappedSyntax)) { - canCast = wrappedSyntax.GetOrAdd( - operation.Kind, - kind => underlyingType.GetTypeInfo().IsAssignableFrom(operation.GetType().GetTypeInfo())); + wrappedSyntax = SupportedOperationWrappers.GetOrAdd(underlyingType, static _ => new ConcurrentDictionary()); } - return canCast; + // Avoid creating the delegate if the value already exists + return wrappedSyntax.TryGetValue(operation.Kind, out var canCast) + ? canCast + : GetOrAdd(operation, underlyingType, wrappedSyntax); + + // Don't inline this method. Otherwise a capture class is generated on each call to CanWrapOperation. + static bool GetOrAdd(IOperation operation, Type underlyingType, ConcurrentDictionary wrappedSyntax) => + wrappedSyntax.GetOrAdd( + operation.Kind, + kind => underlyingType.GetTypeInfo().IsAssignableFrom(operation.GetType().GetTypeInfo())); } internal static Func CreateOperationPropertyAccessor(Type type, string propertyName) From b5fd4b57c96e1e83793faf0b318617dc3008961c Mon Sep 17 00:00:00 2001 From: Martin Strecker Date: Tue, 17 Oct 2023 10:05:31 +0200 Subject: [PATCH 17/36] Remove local function --- .../Lightup/LightupHelpers.cs | 52 ++++++++----------- 1 file changed, 23 insertions(+), 29 deletions(-) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs index e66ab838e..a2b0a2be9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs @@ -71,16 +71,14 @@ internal static bool CanWrapObject(object obj, Type underlyingType) wrappedObject = SupportedObjectWrappers.GetOrAdd(underlyingType, static _ => new ConcurrentDictionary()); } - // Avoid creating the delegate and capture class if the value already exists - return wrappedObject.TryGetValue(obj.GetType(), out var canCast) - ? canCast - : GetOrAdd(obj, underlyingType, wrappedObject); - - // Don't inline this method. Otherwise a capture class is generated on each call to CanWrapObject. - static bool GetOrAdd(object obj, Type underlyingType, ConcurrentDictionary wrappedObject) - => wrappedObject.GetOrAdd( - obj.GetType(), - kind => underlyingType.GetTypeInfo().IsAssignableFrom(obj.GetType().GetTypeInfo())); + // Avoid creating the delegate and capture class + if (!wrappedObject.TryGetValue(obj.GetType(), out var canCast)) + { + canCast = underlyingType.GetTypeInfo().IsAssignableFrom(obj.GetType().GetTypeInfo()); + wrappedObject.TryAdd(obj.GetType(), canCast); + } + + return canCast; } internal static bool CanWrapNode(SyntaxNode node, Type underlyingType) @@ -103,16 +101,14 @@ internal static bool CanWrapNode(SyntaxNode node, Type underlyingType) wrappedSyntax = SupportedSyntaxWrappers.GetOrAdd(underlyingType, static _ => new ConcurrentDictionary()); } - // Avoid creating the delegate and capture class if the value already exists - return wrappedSyntax.TryGetValue(node.Kind(), out var canCast) - ? canCast - : GetOrAdd(node, underlyingType, wrappedSyntax); + // Avoid creating the delegate and capture class + if (!wrappedSyntax.TryGetValue(node.Kind(), out var canCast)) + { + canCast = underlyingType.GetTypeInfo().IsAssignableFrom(node.GetType().GetTypeInfo()); + wrappedSyntax.TryAdd(node.Kind(), canCast); + } - // Don't inline this method. Otherwise a capture class is generated on each call to CanWrapNode. - static bool GetOrAdd(SyntaxNode node, Type underlyingType, ConcurrentDictionary wrappedSyntax) => - wrappedSyntax.GetOrAdd( - node.Kind(), - kind => underlyingType.GetTypeInfo().IsAssignableFrom(node.GetType().GetTypeInfo())); + return canCast; } internal static bool CanWrapOperation(IOperation operation, Type underlyingType) @@ -135,16 +131,14 @@ internal static bool CanWrapOperation(IOperation operation, Type underlyingType) wrappedSyntax = SupportedOperationWrappers.GetOrAdd(underlyingType, static _ => new ConcurrentDictionary()); } - // Avoid creating the delegate if the value already exists - return wrappedSyntax.TryGetValue(operation.Kind, out var canCast) - ? canCast - : GetOrAdd(operation, underlyingType, wrappedSyntax); - - // Don't inline this method. Otherwise a capture class is generated on each call to CanWrapOperation. - static bool GetOrAdd(IOperation operation, Type underlyingType, ConcurrentDictionary wrappedSyntax) => - wrappedSyntax.GetOrAdd( - operation.Kind, - kind => underlyingType.GetTypeInfo().IsAssignableFrom(operation.GetType().GetTypeInfo())); + // Avoid creating the delegate and capture class + if (!wrappedSyntax.TryGetValue(operation.Kind, out var canCast)) + { + canCast = underlyingType.GetTypeInfo().IsAssignableFrom(operation.GetType().GetTypeInfo()); + wrappedSyntax.TryAdd(operation.Kind, canCast); + } + + return canCast; } internal static Func CreateOperationPropertyAccessor(Type type, string propertyName) From 3386603e8b9e530d9ec60655b136f18267496fc9 Mon Sep 17 00:00:00 2001 From: Martin Strecker Date: Tue, 17 Oct 2023 20:09:07 +0200 Subject: [PATCH 18/36] Revert changes for static delegate --- .../Lightup/LightupHelpers.cs | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs index a2b0a2be9..5ec0bb38a 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs @@ -65,11 +65,7 @@ internal static bool CanWrapObject(object obj, Type underlyingType) return false; } - // Avoid creating the delegate if the value already exists - if (!SupportedObjectWrappers.TryGetValue(underlyingType, out var wrappedObject)) - { - wrappedObject = SupportedObjectWrappers.GetOrAdd(underlyingType, static _ => new ConcurrentDictionary()); - } + ConcurrentDictionary wrappedObject = SupportedObjectWrappers.GetOrAdd(underlyingType, static _ => new ConcurrentDictionary()); // Avoid creating the delegate and capture class if (!wrappedObject.TryGetValue(obj.GetType(), out var canCast)) @@ -95,11 +91,7 @@ internal static bool CanWrapNode(SyntaxNode node, Type underlyingType) return false; } - // Avoid creating the delegate if the value already exists - if (!SupportedSyntaxWrappers.TryGetValue(underlyingType, out var wrappedSyntax)) - { - wrappedSyntax = SupportedSyntaxWrappers.GetOrAdd(underlyingType, static _ => new ConcurrentDictionary()); - } + ConcurrentDictionary wrappedSyntax = SupportedSyntaxWrappers.GetOrAdd(underlyingType, static _ => new ConcurrentDictionary()); // Avoid creating the delegate and capture class if (!wrappedSyntax.TryGetValue(node.Kind(), out var canCast)) @@ -125,11 +117,7 @@ internal static bool CanWrapOperation(IOperation operation, Type underlyingType) return false; } - // Avoid creating the delegate if the value already exists - if (!SupportedOperationWrappers.TryGetValue(underlyingType, out var wrappedSyntax)) - { - wrappedSyntax = SupportedOperationWrappers.GetOrAdd(underlyingType, static _ => new ConcurrentDictionary()); - } + ConcurrentDictionary wrappedSyntax = SupportedOperationWrappers.GetOrAdd(underlyingType, static _ => new ConcurrentDictionary()); // Avoid creating the delegate and capture class if (!wrappedSyntax.TryGetValue(operation.Kind, out var canCast)) From 12b6f938c7325bf4f0e7940a234ada3f4371bb3a Mon Sep 17 00:00:00 2001 From: Martin Strecker Date: Tue, 17 Oct 2023 20:12:00 +0200 Subject: [PATCH 19/36] Comments --- .../StyleCop.Analyzers/Lightup/LightupHelpers.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs index 5ec0bb38a..43e460faf 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs @@ -67,7 +67,7 @@ internal static bool CanWrapObject(object obj, Type underlyingType) ConcurrentDictionary wrappedObject = SupportedObjectWrappers.GetOrAdd(underlyingType, static _ => new ConcurrentDictionary()); - // Avoid creating the delegate and capture class + // Avoid creating a delegate and capture class if (!wrappedObject.TryGetValue(obj.GetType(), out var canCast)) { canCast = underlyingType.GetTypeInfo().IsAssignableFrom(obj.GetType().GetTypeInfo()); @@ -93,7 +93,7 @@ internal static bool CanWrapNode(SyntaxNode node, Type underlyingType) ConcurrentDictionary wrappedSyntax = SupportedSyntaxWrappers.GetOrAdd(underlyingType, static _ => new ConcurrentDictionary()); - // Avoid creating the delegate and capture class + // Avoid creating a delegate and capture class if (!wrappedSyntax.TryGetValue(node.Kind(), out var canCast)) { canCast = underlyingType.GetTypeInfo().IsAssignableFrom(node.GetType().GetTypeInfo()); @@ -119,7 +119,7 @@ internal static bool CanWrapOperation(IOperation operation, Type underlyingType) ConcurrentDictionary wrappedSyntax = SupportedOperationWrappers.GetOrAdd(underlyingType, static _ => new ConcurrentDictionary()); - // Avoid creating the delegate and capture class + // Avoid creating a delegate and capture class if (!wrappedSyntax.TryGetValue(operation.Kind, out var canCast)) { canCast = underlyingType.GetTypeInfo().IsAssignableFrom(operation.GetType().GetTypeInfo()); From a558a43d1ae9b2f8e751920cba6eb04074abf84a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Hellander?= Date: Sat, 21 Oct 2023 14:06:24 +0200 Subject: [PATCH 20/36] Update SA1648 to accept inheritdoc on members implemented from static abstract/virtual interface members. Also add tests for non-abstract/virtual interface members. #3595 --- .../SA1648CSharp11UnitTests.cs | 37 +++++++++++++++++++ .../SA1648CSharp8UnitTests.cs | 28 ++++++++++++++ .../DocumentationRules/SA1648UnitTests.cs | 4 +- .../Helpers/NamedTypeHelpers.cs | 5 --- 4 files changed, 67 insertions(+), 7 deletions(-) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1648CSharp11UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/DocumentationRules/SA1648CSharp11UnitTests.cs index 66bc9e52e..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 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.CSharp8/DocumentationRules/SA1648CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1648CSharp8UnitTests.cs index a28785384..82f21335f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1648CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/DocumentationRules/SA1648CSharp8UnitTests.cs @@ -3,9 +3,37 @@ namespace StyleCop.Analyzers.Test.CSharp8.DocumentationRules { + using System.Threading; + using System.Threading.Tasks; + using Microsoft.CodeAnalysis.Testing; using StyleCop.Analyzers.Test.CSharp7.DocumentationRules; + using Xunit; public partial class SA1648CSharp8UnitTests : SA1648CSharp7UnitTests { + [WorkItem(3595, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3595")] + [Theory] + [InlineData("void TestMethod() {}")] + [InlineData("int TestProperty { get; set; }")] + [InlineData("event System.Action TestEvent;")] + public async Task TestIncorrectMemberInheritDocFromStaticMemberInInterfaceAsync(string member) + { + var testCode = $@" +public interface TestInterface +{{ + /// + /// A summary text. + /// + static {member} +}} + +public class TestClass : TestInterface +{{ + /// [||] + public static {member} +}}"; + + await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false); + } } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1648UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1648UnitTests.cs index a4566480b..9443e7a83 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1648UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1648UnitTests.cs @@ -323,10 +323,10 @@ public async Task TestIncorrectDelegateInheritDocAsync() await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false); } - private static Task VerifyCSharpDiagnosticAsync(string source, DiagnosticResult expected, CancellationToken cancellationToken) + protected static Task VerifyCSharpDiagnosticAsync(string source, DiagnosticResult expected, CancellationToken cancellationToken) => VerifyCSharpDiagnosticAsync(source, new[] { expected }, cancellationToken); - private static Task VerifyCSharpDiagnosticAsync(string source, DiagnosticResult[] expected, CancellationToken cancellationToken) + protected static Task VerifyCSharpDiagnosticAsync(string source, DiagnosticResult[] expected, CancellationToken cancellationToken) { var test = CreateTest(expected); test.TestCode = source; diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Helpers/NamedTypeHelpers.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Helpers/NamedTypeHelpers.cs index f542864de..685bc2e5e 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Helpers/NamedTypeHelpers.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Helpers/NamedTypeHelpers.cs @@ -145,11 +145,6 @@ internal static bool IsPartialDeclaration(MemberDeclarationSyntax declaration) /// true if the member is implementing an interface member, otherwise false. internal static bool IsImplementingAnInterfaceMember(ISymbol memberSymbol) { - if (memberSymbol.IsStatic) - { - return false; - } - bool isImplementingExplicitly; // Only methods, properties and events can implement an interface member From 393c5a1d3089727c19b72527acb2798521ea3256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Hellander?= Date: Thu, 9 Nov 2023 22:02:28 +0100 Subject: [PATCH 21/36] Update SA1600 to also handle records #3723 --- .../DocumentationRules/SA1600UnitTests.cs | 52 ++++--------------- .../SA1600ElementsMustBeDocumented.cs | 9 ++-- documentation/SA1600.md | 2 +- 3 files changed, 15 insertions(+), 48 deletions(-) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1600UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1600UnitTests.cs index a786b3f8c..593941aea 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1600UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1600UnitTests.cs @@ -10,6 +10,7 @@ namespace StyleCop.Analyzers.Test.DocumentationRules using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Testing; using StyleCop.Analyzers.DocumentationRules; + using StyleCop.Analyzers.Test.Helpers; using Xunit; using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier< StyleCop.Analyzers.DocumentationRules.SA1600ElementsMustBeDocumented, @@ -40,52 +41,19 @@ public async Task TestRegressionMethodGlobalNamespaceAsync(string code) await VerifyCSharpDiagnosticAsync(this.LanguageVersion, testCode, expected, CancellationToken.None).ConfigureAwait(false); } - [Fact] - public async Task TestClassWithoutDocumentationAsync() - { - await this.TestTypeWithoutDocumentationAsync("class", false).ConfigureAwait(false); - } - - [Fact] - public async Task TestStructWithoutDocumentationAsync() - { - await this.TestTypeWithoutDocumentationAsync("struct", false).ConfigureAwait(false); - } - - [Fact] - public async Task TestEnumWithoutDocumentationAsync() - { - await this.TestTypeWithoutDocumentationAsync("enum", false).ConfigureAwait(false); - } - - [Fact] - public async Task TestInterfaceWithoutDocumentationAsync() - { - await this.TestTypeWithoutDocumentationAsync("interface", true).ConfigureAwait(false); - } - - [Fact] - public async Task TestClassWithDocumentationAsync() - { - await this.TestTypeWithDocumentationAsync("class").ConfigureAwait(false); - } - - [Fact] - public async Task TestStructWithDocumentationAsync() - { - await this.TestTypeWithDocumentationAsync("struct").ConfigureAwait(false); - } - - [Fact] - public async Task TestEnumWithDocumentationAsync() + [Theory] + [MemberData(nameof(CommonMemberData.BaseTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] + public async Task TestBaseTypeWithoutDocumentationAsync(string type) { - await this.TestTypeWithDocumentationAsync("enum").ConfigureAwait(false); + var isInterface = type == "interface"; + await this.TestTypeWithoutDocumentationAsync(type, isInterface).ConfigureAwait(false); } - [Fact] - public async Task TestInterfaceWithDocumentationAsync() + [Theory] + [MemberData(nameof(CommonMemberData.BaseTypeDeclarationKeywords), MemberType = typeof(CommonMemberData))] + public async Task TestBaseTypeWithDocumentationAsync(string type) { - await this.TestTypeWithDocumentationAsync("interface").ConfigureAwait(false); + await this.TestTypeWithDocumentationAsync(type).ConfigureAwait(false); } [Fact] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules/SA1600ElementsMustBeDocumented.cs b/StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules/SA1600ElementsMustBeDocumented.cs index f952bb6a4..6ebe10358 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules/SA1600ElementsMustBeDocumented.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules/SA1600ElementsMustBeDocumented.cs @@ -13,6 +13,7 @@ namespace StyleCop.Analyzers.DocumentationRules using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; using StyleCop.Analyzers.Helpers; + using StyleCop.Analyzers.Lightup; using StyleCop.Analyzers.Settings.ObjectModel; /// @@ -24,7 +25,8 @@ namespace StyleCop.Analyzers.DocumentationRules /// /// A violation of this rule occurs if an element is completely missing a documentation header, or if the /// header is empty. In C# the following types of elements can have documentation headers: classes, constructors, - /// delegates, enums, events, finalizers, indexers, interfaces, methods, properties, and structs. + /// delegates, enums, events, finalizers, indexers, interfaces, methods, properties, records, record classes, + /// record structs and structs. /// [DiagnosticAnalyzer(LanguageNames.CSharp)] internal class SA1600ElementsMustBeDocumented : DiagnosticAnalyzer @@ -41,9 +43,6 @@ internal class SA1600ElementsMustBeDocumented : DiagnosticAnalyzer private static readonly DiagnosticDescriptor Descriptor = new DiagnosticDescriptor(DiagnosticId, Title, MessageFormat, AnalyzerCategory.DocumentationRules, DiagnosticSeverity.Warning, AnalyzerConstants.EnabledByDefault, Description, HelpLink); - private static readonly ImmutableArray BaseTypeDeclarationKinds = - ImmutableArray.Create(SyntaxKind.ClassDeclaration, SyntaxKind.StructDeclaration, SyntaxKind.InterfaceDeclaration, SyntaxKind.EnumDeclaration); - private static readonly Action BaseTypeDeclarationAction = Analyzer.HandleBaseTypeDeclaration; private static readonly Action MethodDeclarationAction = Analyzer.HandleMethodDeclaration; private static readonly Action ConstructorDeclarationAction = Analyzer.HandleConstructorDeclaration; @@ -114,7 +113,7 @@ public override void Initialize(AnalysisContext context) context.RegisterCompilationStartAction(context => { - context.RegisterSyntaxNodeAction(BaseTypeDeclarationAction, BaseTypeDeclarationKinds); + context.RegisterSyntaxNodeAction(BaseTypeDeclarationAction, SyntaxKinds.BaseTypeDeclaration); context.RegisterSyntaxNodeAction(MethodDeclarationAction, SyntaxKind.MethodDeclaration); context.RegisterSyntaxNodeAction(ConstructorDeclarationAction, SyntaxKind.ConstructorDeclaration); context.RegisterSyntaxNodeAction(DestructorDeclarationAction, SyntaxKind.DestructorDeclaration); diff --git a/documentation/SA1600.md b/documentation/SA1600.md index 806ef0a8b..b1b4e85b6 100644 --- a/documentation/SA1600.md +++ b/documentation/SA1600.md @@ -23,7 +23,7 @@ A C# code element is missing a documentation header. C# syntax provides a mechanism for inserting documentation for classes and elements directly into the code, through the use of Xml documentation headers. For an introduction to these headers and a description of the header syntax, see the following article: [https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/xmldoc/xml-documentation-comments](https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/xmldoc/xml-documentation-comments). -A violation of this rule occurs if an element is completely missing a documentation header, or if the header is empty. In C# the following types of elements can have documentation headers: classes, constructors, delegates, enums, events, finalizers, indexers, interfaces, methods, properties, and structs. +A violation of this rule occurs if an element is completely missing a documentation header, or if the header is empty. In C# the following types of elements can have documentation headers: classes, constructors, delegates, enums, events, finalizers, indexers, interfaces, methods, properties, records, record classes, record structs and structs. ## How to fix violations From f18c68a58b6ddc0f87c2e366ce5c0d08b3344b40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Hellander?= Date: Fri, 17 Nov 2023 16:51:15 +0100 Subject: [PATCH 22/36] Apply suggestions from code review Co-authored-by: Sam Harwell --- .../DocumentationRules/SA1600ElementsMustBeDocumented.cs | 3 +-- documentation/SA1600.md | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules/SA1600ElementsMustBeDocumented.cs b/StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules/SA1600ElementsMustBeDocumented.cs index 6ebe10358..f64633941 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules/SA1600ElementsMustBeDocumented.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules/SA1600ElementsMustBeDocumented.cs @@ -25,8 +25,7 @@ namespace StyleCop.Analyzers.DocumentationRules /// /// A violation of this rule occurs if an element is completely missing a documentation header, or if the /// header is empty. In C# the following types of elements can have documentation headers: classes, constructors, - /// delegates, enums, events, finalizers, indexers, interfaces, methods, properties, records, record classes, - /// record structs and structs. + /// delegates, enums, events, finalizers, indexers, interfaces, methods, properties, records, and structs. /// [DiagnosticAnalyzer(LanguageNames.CSharp)] internal class SA1600ElementsMustBeDocumented : DiagnosticAnalyzer diff --git a/documentation/SA1600.md b/documentation/SA1600.md index b1b4e85b6..a93042599 100644 --- a/documentation/SA1600.md +++ b/documentation/SA1600.md @@ -23,7 +23,7 @@ A C# code element is missing a documentation header. C# syntax provides a mechanism for inserting documentation for classes and elements directly into the code, through the use of Xml documentation headers. For an introduction to these headers and a description of the header syntax, see the following article: [https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/xmldoc/xml-documentation-comments](https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/xmldoc/xml-documentation-comments). -A violation of this rule occurs if an element is completely missing a documentation header, or if the header is empty. In C# the following types of elements can have documentation headers: classes, constructors, delegates, enums, events, finalizers, indexers, interfaces, methods, properties, records, record classes, record structs and structs. +A violation of this rule occurs if an element is completely missing a documentation header, or if the header is empty. In C# the following types of elements can have documentation headers: classes, constructors, delegates, enums, events, finalizers, indexers, interfaces, methods, properties, records, and structs. ## How to fix violations From 8dd785a6517757dc9c80405c081464389963fad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Hellander?= Date: Sat, 25 Nov 2023 12:43:58 +0100 Subject: [PATCH 23/36] Update SA1119 to allow a parenthesized switch expressions followed by an invocation #3730 --- .../SA1119CSharp8UnitTests.cs | 19 +++++++++++++++++++ ...atementMustNotUseUnnecessaryParenthesis.cs | 1 + 2 files changed, 20 insertions(+) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1119CSharp8UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1119CSharp8UnitTests.cs index ead0cf280..176071c3c 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1119CSharp8UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/MaintainabilityRules/SA1119CSharp8UnitTests.cs @@ -219,6 +219,25 @@ public unsafe string TestMethod(int n, byte* a, byte* b) await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false); } + [Fact] + [WorkItem(3730, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3730")] + public async Task TestSwitchExpressionFollowedByInvocationAsync() + { + string testCode = @" +using System; + +public class Foo +{ + public string TestMethod(int n, Func a, Func b) + { + return (n switch { 1 => a, 2 => b })(); + } +} +"; + + await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false); + } + [Fact] public async Task TestStackAllocExpressionInExpressionAsync() { diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/MaintainabilityRules/SA1119StatementMustNotUseUnnecessaryParenthesis.cs b/StyleCop.Analyzers/StyleCop.Analyzers/MaintainabilityRules/SA1119StatementMustNotUseUnnecessaryParenthesis.cs index 0d33ff9df..97491b01d 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/MaintainabilityRules/SA1119StatementMustNotUseUnnecessaryParenthesis.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/MaintainabilityRules/SA1119StatementMustNotUseUnnecessaryParenthesis.cs @@ -230,6 +230,7 @@ private static bool IsSwitchOrWithExpressionWithRequiredParentheses(Parenthesize MemberAccessExpressionSyntax memberAccessExpression => memberAccessExpression.Expression == outerExpression, ConditionalAccessExpressionSyntax conditionalAccessExpression => conditionalAccessExpression.Expression == outerExpression, ElementAccessExpressionSyntax elementAccessExpression => elementAccessExpression.Expression == outerExpression, + InvocationExpressionSyntax invocationExpression => invocationExpression.Expression == outerExpression, _ => false, }; } From ed996672f23b9b68eb7d84305a58db17b490edda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Hellander?= Date: Sun, 26 Nov 2023 08:59:10 +0100 Subject: [PATCH 24/36] Add test project for c# 12 --- .../Properties/AssemblyInfo.cs | 1 + .../AnalyzerConfigurationCSharp12UnitTests.cs | 11 ++++++ ...eritdocCodeFixProviderCSharp12UnitTests.cs | 11 ++++++ .../NoXmlFileHeaderCSharp12UnitTests.cs | 11 ++++++ .../SA1600CSharp12UnitTests.cs | 11 ++++++ .../SA1601CSharp12UnitTests.cs | 11 ++++++ .../SA1602CSharp12UnitTests.cs | 11 ++++++ .../SA1603CSharp12UnitTests.cs | 11 ++++++ .../SA1604CSharp12UnitTests.cs | 11 ++++++ .../SA1605CSharp12UnitTests.cs | 11 ++++++ .../SA1606CSharp12UnitTests.cs | 11 ++++++ .../SA1607CSharp12UnitTests.cs | 11 ++++++ .../SA1608CSharp12UnitTests.cs | 11 ++++++ .../SA1609CSharp12UnitTests.cs | 11 ++++++ .../SA1610CSharp12UnitTests.cs | 11 ++++++ .../SA1611CSharp12UnitTests.cs | 11 ++++++ .../SA1612CSharp12UnitTests.cs | 11 ++++++ .../SA1613CSharp12UnitTests.cs | 11 ++++++ .../SA1614CSharp12UnitTests.cs | 11 ++++++ .../SA1615CSharp12UnitTests.cs | 11 ++++++ .../SA1616CSharp12UnitTests.cs | 11 ++++++ .../SA1617CSharp12UnitTests.cs | 11 ++++++ .../SA1618CSharp12UnitTests.cs | 11 ++++++ .../SA1619CSharp12UnitTests.cs | 11 ++++++ .../SA1620CSharp12UnitTests.cs | 11 ++++++ .../SA1621CSharp12UnitTests.cs | 11 ++++++ .../SA1622CSharp12UnitTests.cs | 11 ++++++ .../SA1623CSharp12UnitTests.cs | 11 ++++++ .../SA1624CSharp12UnitTests.cs | 11 ++++++ .../SA1625CSharp12UnitTests.cs | 11 ++++++ .../SA1626CSharp12UnitTests.cs | 11 ++++++ .../SA1627CSharp12UnitTests.cs | 11 ++++++ .../SA1628CSharp12UnitTests.cs | 11 ++++++ .../SA1629CSharp12UnitTests.cs | 11 ++++++ .../SA1630CSharp12UnitTests.cs | 11 ++++++ .../SA1631CSharp12UnitTests.cs | 11 ++++++ .../SA1632CSharp12UnitTests.cs | 11 ++++++ .../SA1633CSharp12UnitTests.cs | 11 ++++++ .../SA1634CSharp12UnitTests.cs | 11 ++++++ .../SA1635CSharp12UnitTests.cs | 11 ++++++ .../SA1636CSharp12UnitTests.cs | 11 ++++++ .../SA1637CSharp12UnitTests.cs | 11 ++++++ .../SA1638CSharp12UnitTests.cs | 11 ++++++ .../SA1639CSharp12UnitTests.cs | 11 ++++++ .../SA1640CSharp12UnitTests.cs | 11 ++++++ .../SA1641CSharp12UnitTests.cs | 11 ++++++ .../SA1642CSharp12UnitTests.cs | 11 ++++++ .../SA1643CSharp12UnitTests.cs | 11 ++++++ .../SA1644CSharp12UnitTests.cs | 11 ++++++ .../SA1645CSharp12UnitTests.cs | 11 ++++++ .../SA1646CSharp12UnitTests.cs | 11 ++++++ .../SA1647CSharp12UnitTests.cs | 11 ++++++ .../SA1648CSharp12UnitTests.cs | 11 ++++++ .../SA1649CSharp12UnitTests.cs | 11 ++++++ .../SA1650CSharp12UnitTests.cs | 11 ++++++ .../SA1651CSharp12UnitTests.cs | 11 ++++++ .../SymbolNameHelpersCSharp12UnitTests.cs | 11 ++++++ .../LayoutRules/SA1500CSharp12UnitTests.cs | 11 ++++++ .../LayoutRules/SA1501CSharp12UnitTests.cs | 11 ++++++ .../LayoutRules/SA1502CSharp12UnitTests.cs | 11 ++++++ .../LayoutRules/SA1503CSharp12UnitTests.cs | 11 ++++++ .../LayoutRules/SA1504CSharp12UnitTests.cs | 11 ++++++ .../LayoutRules/SA1505CSharp12UnitTests.cs | 11 ++++++ .../LayoutRules/SA1506CSharp12UnitTests.cs | 11 ++++++ .../LayoutRules/SA1507CSharp12UnitTests.cs | 11 ++++++ .../LayoutRules/SA1508CSharp12UnitTests.cs | 11 ++++++ .../LayoutRules/SA1509CSharp12UnitTests.cs | 11 ++++++ .../LayoutRules/SA1510CSharp12UnitTests.cs | 11 ++++++ .../LayoutRules/SA1511CSharp12UnitTests.cs | 11 ++++++ .../LayoutRules/SA1512CSharp12UnitTests.cs | 11 ++++++ .../LayoutRules/SA1513CSharp12UnitTests.cs | 11 ++++++ .../LayoutRules/SA1514CSharp12UnitTests.cs | 11 ++++++ .../LayoutRules/SA1515CSharp12UnitTests.cs | 11 ++++++ .../LayoutRules/SA1516CSharp12UnitTests.cs | 11 ++++++ .../SA1516UsingGroupsCSharp12UnitTests.cs | 11 ++++++ .../LayoutRules/SA1517CSharp12UnitTests.cs | 11 ++++++ .../LayoutRules/SA1518CSharp12UnitTests.cs | 11 ++++++ .../LayoutRules/SA1519CSharp12UnitTests.cs | 11 ++++++ .../LayoutRules/SA1520CSharp12UnitTests.cs | 11 ++++++ ...rationSyntaxExtensionsCSharp12UnitTests.cs | 11 ++++++ ...gumentSyntaxExtensionsCSharp12UnitTests.cs | 11 ++++++ ...rationSyntaxExtensionsCSharp12UnitTests.cs | 11 ++++++ ...itchLabelSyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ ...StatementSyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ ...ntPatternSyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ ...rationSyntaxExtensionsCSharp12UnitTests.cs | 11 ++++++ ...ameterSyntaxExtensionsCSharp12UnitTests.cs | 11 ++++++ ...xpressionSyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ ...onPatternSyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ ...rationSyntaxExtensionsCSharp12UnitTests.cs | 11 ++++++ ...signationSyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ ...xpressionSyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ ...xpressionSyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ .../LanguageVersionExCSharp12UnitTests.cs | 11 ++++++ .../LightupHelpersCSharp12UnitTests.cs | 11 ++++++ ...StatementSyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ .../Lightup/MethodKindExCSharp12UnitTests.cs | 11 ++++++ .../OperationKindExCSharp12UnitTests.cs | 11 ++++++ ...signationSyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ .../PatternSyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ ...xpressionSyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ .../RefTypeSyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ ...signationSyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ ...essionSyntaxExtensionsCSharp12UnitTests.cs | 11 ++++++ ...essionArmSyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ ...xpressionSyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ .../Lightup/SyntaxKindExCSharp12UnitTests.cs | 11 ++++++ .../Lightup/SyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ .../SyntaxWrapperHelperCSharp12UnitTests.cs | 11 ++++++ ...xpressionSyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ ...leElementSyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ ...xpressionSyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ ...TupleTypeSyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ ...signationSyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ ...henClauseSyntaxWrapperCSharp12UnitTests.cs | 11 ++++++ .../SA1119CSharp12UnitTests.cs | 11 ++++++ .../SA1400CSharp12UnitTests.cs | 11 ++++++ .../SA1401CSharp12UnitTests.cs | 11 ++++++ .../SA1402ForClassCSharp12UnitTests.cs | 11 ++++++ .../SA1402ForDelegateCSharp12UnitTests.cs | 11 ++++++ .../SA1402ForEnumCSharp12UnitTests.cs | 11 ++++++ .../SA1402ForInterfaceCSharp12UnitTests.cs | 11 ++++++ .../SA1402ForRecordCSharp12UnitTests.cs | 11 ++++++ .../SA1402ForRecordClassCSharp12UnitTests.cs | 11 ++++++ .../SA1402ForRecordStructCSharp12UnitTests.cs | 11 ++++++ .../SA1402ForStructCSharp12UnitTests.cs | 11 ++++++ .../SA1403CSharp12UnitTests.cs | 11 ++++++ .../SA1404CSharp12UnitTests.cs | 11 ++++++ .../SA1405CSharp12UnitTests.cs | 11 ++++++ .../SA1406CSharp12UnitTests.cs | 11 ++++++ .../SA1407CSharp12UnitTests.cs | 11 ++++++ .../SA1408CSharp12UnitTests.cs | 11 ++++++ .../SA1409CSharp12UnitTests.cs | 11 ++++++ .../SA1410CSharp12UnitTests.cs | 11 ++++++ .../SA1411CSharp12UnitTests.cs | 11 ++++++ .../SA1412CSharp12UnitTests.cs | 11 ++++++ .../SA1413CSharp12UnitTests.cs | 11 ++++++ .../SA1414CSharp12UnitTests.cs | 11 ++++++ .../NamingRules/SA1300CSharp12UnitTests.cs | 11 ++++++ .../NamingRules/SA1301CSharp12UnitTests.cs | 11 ++++++ .../NamingRules/SA1302CSharp12UnitTests.cs | 11 ++++++ .../NamingRules/SA1303CSharp12UnitTests.cs | 11 ++++++ .../NamingRules/SA1304CSharp12UnitTests.cs | 11 ++++++ .../NamingRules/SA1305CSharp12UnitTests.cs | 11 ++++++ .../NamingRules/SA1306CSharp12UnitTests.cs | 11 ++++++ .../NamingRules/SA1307CSharp12UnitTests.cs | 11 ++++++ .../NamingRules/SA1308CSharp12UnitTests.cs | 11 ++++++ .../NamingRules/SA1309CSharp12UnitTests.cs | 11 ++++++ .../NamingRules/SA1310CSharp12UnitTests.cs | 11 ++++++ .../NamingRules/SA1311CSharp12UnitTests.cs | 11 ++++++ .../NamingRules/SA1312CSharp12UnitTests.cs | 11 ++++++ .../NamingRules/SA1313CSharp12UnitTests.cs | 11 ++++++ .../NamingRules/SA1314CSharp12UnitTests.cs | 11 ++++++ .../NamingRules/SA1316CSharp12UnitTests.cs | 11 ++++++ .../NamingRules/SX1309CSharp12UnitTests.cs | 11 ++++++ .../NamingRules/SX1309SCSharp12UnitTests.cs | 11 ++++++ .../OrderingRules/SA1200CSharp12UnitTests.cs | 11 ++++++ ...SA1200OutsideNamespaceCSharp12UnitTests.cs | 11 ++++++ .../SA1200PreserveCSharp12UnitTests.cs | 11 ++++++ .../OrderingRules/SA1201CSharp12UnitTests.cs | 11 ++++++ .../OrderingRules/SA1202CSharp12UnitTests.cs | 11 ++++++ .../OrderingRules/SA1203CSharp12UnitTests.cs | 11 ++++++ .../OrderingRules/SA1204CSharp12UnitTests.cs | 11 ++++++ .../OrderingRules/SA1205CSharp12UnitTests.cs | 11 ++++++ .../OrderingRules/SA1206CSharp12UnitTests.cs | 11 ++++++ .../SA1206CodeFixProviderCSharp12UnitTests.cs | 11 ++++++ .../OrderingRules/SA1207CSharp12UnitTests.cs | 11 ++++++ .../OrderingRules/SA1208CSharp12UnitTests.cs | 11 ++++++ .../OrderingRules/SA1209CSharp12UnitTests.cs | 11 ++++++ .../OrderingRules/SA1210CSharp12UnitTests.cs | 11 ++++++ ...mbinedSystemDirectivesCSharp12UnitTests.cs | 11 ++++++ .../OrderingRules/SA1211CSharp12UnitTests.cs | 11 ++++++ .../OrderingRules/SA1212CSharp12UnitTests.cs | 11 ++++++ .../OrderingRules/SA1213CSharp12UnitTests.cs | 11 ++++++ .../OrderingRules/SA1214CSharp12UnitTests.cs | 11 ++++++ .../OrderingRules/SA1215CSharp12UnitTests.cs | 11 ++++++ .../OrderingRules/SA1216CSharp12UnitTests.cs | 11 ++++++ .../OrderingRules/SA1217CSharp12UnitTests.cs | 11 ++++++ .../UsingCodeFixProviderCSharp12UnitTests.cs | 11 ++++++ ...mbinedSystemDirectivesCSharp12UnitTests.cs | 11 ++++++ ...roviderGroupSeparationCSharp12UnitTests.cs | 11 ++++++ ...eFixProviderRegressionCSharp12UnitTests.cs | 11 ++++++ .../Properties/AssemblyInfo.cs | 12 ++++++ .../SA1100CSharp12UnitTests.cs | 11 ++++++ .../SA1101CSharp12UnitTests.cs | 11 ++++++ .../SA1102CSharp12UnitTests.cs | 11 ++++++ .../SA1103CSharp12UnitTests.cs | 11 ++++++ .../SA1104CSharp12UnitTests.cs | 11 ++++++ .../SA1105CSharp12UnitTests.cs | 11 ++++++ .../SA1106CSharp12UnitTests.cs | 11 ++++++ .../SA1107CSharp12UnitTests.cs | 11 ++++++ .../SA1108CSharp12UnitTests.cs | 11 ++++++ .../SA1109CSharp12UnitTests.cs | 11 ++++++ .../SA1110CSharp12UnitTests.cs | 11 ++++++ .../SA1111CSharp12UnitTests.cs | 11 ++++++ .../SA1112CSharp12UnitTests.cs | 11 ++++++ .../SA1113CSharp12UnitTests.cs | 11 ++++++ .../SA1114CSharp12UnitTests.cs | 11 ++++++ .../SA1115CSharp12UnitTests.cs | 11 ++++++ .../SA1116CSharp12UnitTests.cs | 11 ++++++ .../SA1117CSharp12UnitTests.cs | 11 ++++++ .../SA1118CSharp12UnitTests.cs | 11 ++++++ .../SA1120CSharp12UnitTests.cs | 11 ++++++ .../SA1121CSharp12UnitTests.cs | 11 ++++++ .../SA1122CSharp12UnitTests.cs | 11 ++++++ .../SA1123CSharp12UnitTests.cs | 11 ++++++ .../SA1124CSharp12UnitTests.cs | 11 ++++++ .../SA1125CSharp12UnitTests.cs | 11 ++++++ .../SA1126CSharp12UnitTests.cs | 11 ++++++ .../SA1127CSharp12UnitTests.cs | 11 ++++++ .../SA1128CSharp12UnitTests.cs | 11 ++++++ .../SA1129CSharp12UnitTests.cs | 11 ++++++ .../SA1130CSharp12UnitTests.cs | 11 ++++++ .../SA1131CSharp12UnitTests.cs | 11 ++++++ .../SA1132CSharp12UnitTests.cs | 11 ++++++ .../SA1133CSharp12UnitTests.cs | 11 ++++++ .../SA1134CSharp12UnitTests.cs | 11 ++++++ .../SA1135CSharp12UnitTests.cs | 11 ++++++ .../SA1136CSharp12UnitTests.cs | 11 ++++++ .../SA1137CSharp12UnitTests.cs | 11 ++++++ .../SA1139CSharp12UnitTests.cs | 11 ++++++ .../SA1141CSharp12UnitTests.cs | 11 ++++++ .../SA1142CSharp12UnitTests.cs | 11 ++++++ .../SX1101CSharp12UnitTests.cs | 11 ++++++ .../Settings/SettingsCSharp12UnitTests.cs | 11 ++++++ ...ngsFileCodeFixProviderCSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1000CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1001CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1002CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1003CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1004CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1005CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1006CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1007CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1008CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1009CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1010CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1011CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1012CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1013CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1014CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1015CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1016CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1017CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1018CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1019CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1020CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1021CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1022CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1023CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1024CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1025CSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1026CSharp12UnitTests.cs | 11 ++++++ ...27AlternateIndentationCSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1027CSharp12UnitTests.cs | 11 ++++++ .../SA1027UseTabsCSharp12UnitTests.cs | 11 ++++++ .../SpacingRules/SA1028CSharp12UnitTests.cs | 11 ++++++ .../SpecialRules/SA0001CSharp12UnitTests.cs | 11 ++++++ .../SpecialRules/SA0002CSharp12UnitTests.cs | 11 ++++++ .../StyleCop.Analyzers.Test.CSharp12.csproj | 38 +++++++++++++++++++ .../StyleCop.Analyzers.Test.CSharp8.csproj | 2 +- .../Properties/AssemblyInfo.cs | 1 + .../StyleCop.Analyzers.Test.csproj | 2 +- .../Verifiers/GenericAnalyzerTest.cs | 6 ++- .../Lightup/LanguageVersionEx.cs | 1 + .../Lightup/LightupHelpers.cs | 3 ++ .../Properties/AssemblyInfo.cs | 1 + StyleCopAnalyzers.sln | 6 +++ build/opencover-report.ps1 | 19 ++++++++++ 269 files changed, 2916 insertions(+), 3 deletions(-) create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/AnalyzerConfigurationCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/InheritdocCodeFixProviderCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/NoXmlFileHeaderCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1600CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1601CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1602CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1603CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1604CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1605CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1606CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1607CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1608CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1609CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1610CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1611CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1612CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1613CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1614CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1615CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1616CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1617CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1618CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1619CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1620CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1621CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1622CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1623CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1624CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1625CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1626CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1627CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1628CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1629CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1630CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1631CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1632CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1633CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1634CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1635CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1636CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1637CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1638CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1639CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1640CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1641CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1642CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1643CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1644CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1645CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1646CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1647CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1648CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1649CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1650CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/DocumentationRules/SA1651CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/HelperTests/SymbolNameHelpersCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1500CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1501CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1502CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1503CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1504CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1505CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1506CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1507CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1508CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1509CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1510CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1511CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1512CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1513CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1514CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1515CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1516CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1516UsingGroupsCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1517CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1518CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1519CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1520CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/AccessorDeclarationSyntaxExtensionsCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ArgumentSyntaxExtensionsCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/BaseMethodDeclarationSyntaxExtensionsCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/CasePatternSwitchLabelSyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/CommonForEachStatementSyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ConstantPatternSyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ConstructorDeclarationSyntaxExtensionsCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/CrefParameterSyntaxExtensionsCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/DeclarationExpressionSyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/DeclarationPatternSyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/DestructorDeclarationSyntaxExtensionsCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/DiscardDesignationSyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ImplicitStackAllocArrayCreationExpressionSyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/IsPatternExpressionSyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/LanguageVersionExCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/LightupHelpersCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/LocalFunctionStatementSyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/MethodKindExCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/OperationKindExCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ParenthesizedVariableDesignationSyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/PatternSyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/RefExpressionSyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/RefTypeSyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SingleVariableDesignationSyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SwitchExpressionArmSyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SwitchExpressionSyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SyntaxKindExCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/SyntaxWrapperHelperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/ThrowExpressionSyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/TupleElementSyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/TupleExpressionSyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/TupleTypeSyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/VariableDesignationSyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Lightup/WhenClauseSyntaxWrapperCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1119CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1400CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1401CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForClassCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForDelegateCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForEnumCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForInterfaceCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForRecordCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForRecordClassCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForRecordStructCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1402ForStructCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1403CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1404CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1405CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1406CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1407CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1408CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1409CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1410CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1411CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1412CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1413CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/MaintainabilityRules/SA1414CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1300CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1301CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1302CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1303CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1304CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1305CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1306CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1307CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1308CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1309CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1310CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1311CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1312CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1313CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1314CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SA1316CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SX1309CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/NamingRules/SX1309SCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1200CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1200OutsideNamespaceCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1200PreserveCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1201CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1202CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1203CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1204CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1205CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1206CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1206CodeFixProviderCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1207CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1208CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1209CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1210CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1210CombinedSystemDirectivesCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1211CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1212CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1213CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1214CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1215CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1216CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/SA1217CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/UsingCodeFixProviderCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/UsingCodeFixProviderCombinedSystemDirectivesCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/UsingCodeFixProviderGroupSeparationCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/OrderingRules/UsingCodeFixProviderRegressionCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Properties/AssemblyInfo.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1100CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1101CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1102CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1103CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1104CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1105CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1106CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1107CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1108CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1109CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1110CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1111CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1112CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1113CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1114CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1115CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1116CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1117CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1118CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1120CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1121CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1122CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1123CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1124CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1125CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1126CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1127CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1128CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1129CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1130CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1131CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1132CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1133CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1134CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1135CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1136CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1137CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1139CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1141CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1142CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SX1101CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Settings/SettingsCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/Settings/SettingsFileCodeFixProviderCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1000CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1001CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1002CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1003CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1004CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1005CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1006CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1007CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1008CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1009CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1010CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1011CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1012CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1013CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1014CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1015CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1016CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1017CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1018CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1019CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1020CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1021CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1022CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1023CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1024CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1025CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1026CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1027AlternateIndentationCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1027CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1027UseTabsCSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1028CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpecialRules/SA0001CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpecialRules/SA0002CSharp12UnitTests.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/StyleCop.Analyzers.Test.CSharp12.csproj 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.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..04c5d2131 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1513CSharp12UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision 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 SA1513CSharp12UnitTests : SA1513CSharp11UnitTests + { + } +} 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..1c122fc5e --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1118CSharp12UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision 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 SA1118CSharp12UnitTests : SA1118CSharp11UnitTests + { + } +} 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..74d18935a --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1130CSharp12UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision 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 SA1130CSharp12UnitTests : SA1130CSharp11UnitTests + { + } +} 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..052702ef4 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1008CSharp12UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision 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 SA1008CSharp12UnitTests : SA1008CSharp11UnitTests + { + } +} 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..40493fa1e --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1010CSharp12UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision 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 SA1010CSharp12UnitTests : SA1010CSharp11UnitTests + { + } +} 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..192b20aba --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1015CSharp12UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision 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 SA1015CSharp12UnitTests : SA1015CSharp11UnitTests + { + } +} 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..68449d0b7 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1018CSharp12UnitTests.cs @@ -0,0 +1,11 @@ +// Copyright (c) Tunnel Vision 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 SA1018CSharp12UnitTests : SA1018CSharp11UnitTests + { + } +} 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.CSharp8/StyleCop.Analyzers.Test.CSharp8.csproj b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/StyleCop.Analyzers.Test.CSharp8.csproj index e1edd7d7c..109a19593 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/StyleCop.Analyzers.Test.CSharp8.csproj +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/StyleCop.Analyzers.Test.CSharp8.csproj @@ -23,7 +23,7 @@ - + diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Properties/AssemblyInfo.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Properties/AssemblyInfo.cs index 8f1200f19..99c4753f5 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Properties/AssemblyInfo.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Properties/AssemblyInfo.cs @@ -19,3 +19,4 @@ [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")] diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/StyleCop.Analyzers.Test.csproj b/StyleCop.Analyzers/StyleCop.Analyzers.Test/StyleCop.Analyzers.Test.csproj index 470058aef..b131a0cad 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/StyleCop.Analyzers.Test.csproj +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/StyleCop.Analyzers.Test.csproj @@ -19,7 +19,7 @@ - + diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Verifiers/GenericAnalyzerTest.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Verifiers/GenericAnalyzerTest.cs index dabf87fbc..c4d8416d4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Verifiers/GenericAnalyzerTest.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Verifiers/GenericAnalyzerTest.cs @@ -34,7 +34,11 @@ static GenericAnalyzerTest() // Use appropriate default reference assemblies per the support matrix: // https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/configure-language-version ReferenceAssemblies defaultReferenceAssemblies; - if (LightupHelpers.SupportsCSharp11) + if (LightupHelpers.SupportsCSharp12) + { + defaultReferenceAssemblies = ReferenceAssemblies.Net.Net80; + } + else if (LightupHelpers.SupportsCSharp11) { defaultReferenceAssemblies = ReferenceAssemblies.Net.Net70; } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LanguageVersionEx.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LanguageVersionEx.cs index cc5344e02..7060401e8 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LanguageVersionEx.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LanguageVersionEx.cs @@ -20,6 +20,7 @@ internal static class LanguageVersionEx public const LanguageVersion CSharp9 = (LanguageVersion)900; public const LanguageVersion CSharp10 = (LanguageVersion)1000; public const LanguageVersion CSharp11 = (LanguageVersion)1100; + public const LanguageVersion CSharp12 = (LanguageVersion)1200; public const LanguageVersion LatestMajor = (LanguageVersion)int.MaxValue - 2; public const LanguageVersion Preview = (LanguageVersion)int.MaxValue - 1; public const LanguageVersion Latest = (LanguageVersion)int.MaxValue; diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs index 43e460faf..6e4dabe10 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LightupHelpers.cs @@ -49,6 +49,9 @@ internal static class LightupHelpers public static bool SupportsCSharp11 { get; } = Enum.GetNames(typeof(LanguageVersion)).Contains(nameof(LanguageVersionEx.CSharp11)); + public static bool SupportsCSharp12 { get; } + = Enum.GetNames(typeof(LanguageVersion)).Contains(nameof(LanguageVersionEx.CSharp12)); + public static bool SupportsIOperation => SupportsCSharp73; internal static bool CanWrapObject(object obj, Type underlyingType) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Properties/AssemblyInfo.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Properties/AssemblyInfo.cs index 29c372463..11c7e48bd 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Properties/AssemblyInfo.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Properties/AssemblyInfo.cs @@ -24,4 +24,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/StyleCopAnalyzers.sln b/StyleCopAnalyzers.sln index a7816266b..1ca396001 100644 --- a/StyleCopAnalyzers.sln +++ b/StyleCopAnalyzers.sln @@ -274,6 +274,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StyleCop.Analyzers.PrivateA EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StyleCop.Analyzers.PrivateCodeFixes", "StyleCop.Analyzers\StyleCop.Analyzers.PrivateCodeFixes\StyleCop.Analyzers.PrivateCodeFixes.csproj", "{BEA9E1FE-E297-4EBD-BA00-B778DC99F37D}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StyleCop.Analyzers.Test.CSharp12", "StyleCop.Analyzers\StyleCop.Analyzers.Test.CSharp12\StyleCop.Analyzers.Test.CSharp12.csproj", "{A900C5D5-D324-4145-B795-A347A50919C7}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -336,6 +338,10 @@ Global {BEA9E1FE-E297-4EBD-BA00-B778DC99F37D}.Debug|Any CPU.Build.0 = Debug|Any CPU {BEA9E1FE-E297-4EBD-BA00-B778DC99F37D}.Release|Any CPU.ActiveCfg = Release|Any CPU {BEA9E1FE-E297-4EBD-BA00-B778DC99F37D}.Release|Any CPU.Build.0 = Release|Any CPU + {A900C5D5-D324-4145-B795-A347A50919C7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A900C5D5-D324-4145-B795-A347A50919C7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A900C5D5-D324-4145-B795-A347A50919C7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A900C5D5-D324-4145-B795-A347A50919C7}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/build/opencover-report.ps1 b/build/opencover-report.ps1 index dadebad8a..4f2b0b617 100644 --- a/build/opencover-report.ps1 +++ b/build/opencover-report.ps1 @@ -44,6 +44,7 @@ $target_dll_csharp8 = "..\StyleCop.Analyzers\StyleCop.Analyzers.Test.CSharp8\bin $target_dll_csharp9 = "..\StyleCop.Analyzers\StyleCop.Analyzers.Test.CSharp9\bin\$Configuration\net472\StyleCop.Analyzers.Test.CSharp9.dll" $target_dll_csharp10 = "..\StyleCop.Analyzers\StyleCop.Analyzers.Test.CSharp10\bin\$Configuration\net472\StyleCop.Analyzers.Test.CSharp10.dll" $target_dll_csharp11 = "..\StyleCop.Analyzers\StyleCop.Analyzers.Test.CSharp11\bin\$Configuration\net472\StyleCop.Analyzers.Test.CSharp11.dll" +$target_dll_csharp12 = "..\StyleCop.Analyzers\StyleCop.Analyzers.Test.CSharp12\bin\$Configuration\net472\StyleCop.Analyzers.Test.CSharp12.dll" If (Test-Path $report_folder) { Remove-Item -Recurse -Force $report_folder @@ -168,6 +169,24 @@ If (($AppVeyor -or $Azure) -and -not $?) { $exitCode = $LASTEXITCODE } +&$opencover_console ` + -register:$register_mode ` + -threshold:1 -oldStyle ` + -returntargetcode ` + -hideskipped:All ` + -filter:"+[StyleCop*]*" ` + -excludebyattribute:*.ExcludeFromCodeCoverage* ` + -excludebyfile:*\*Designer.cs ` + -output:"$report_folder\OpenCover.StyleCopAnalyzers.xml" ` + -mergebyhash -mergeoutput ` + -target:"$xunit_runner_console_net472" ` + -targetargs:"$target_dll_csharp12 -noshadow $AppVeyorArg -xml StyleCopAnalyzers.CSharp12.xunit.xml" + +If (($AppVeyor -or $Azure) -and -not $?) { + $host.UI.WriteErrorLine('Build failed; coverage analysis may be incomplete.') + $exitCode = $LASTEXITCODE +} + If (-not $NoReport) { &$report_generator -targetdir:$report_folder -reports:$report_folder\OpenCover.*.xml $host.UI.WriteLine("Open $report_folder\index.htm to see code coverage results.") From dd4688fcc98a8518e02f35e4768f6ac41991adb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Hellander?= Date: Sun, 26 Nov 2023 10:42:49 +0100 Subject: [PATCH 25/36] Update tests that fail for c# 12 --- .../SA1130CSharp12UnitTests.cs | 49 ++++++++++++ .../SpacingRules/SA1015CSharp12UnitTests.cs | 10 +++ .../SpacingRules/SA1018CSharp12UnitTests.cs | 12 +++ .../ReadabilityRules/SA1130UnitTests.cs | 78 +++++++++++-------- .../SpacingRules/SA1015UnitTests.cs | 13 +++- .../SpacingRules/SA1018UnitTests.cs | 11 ++- 6 files changed, 135 insertions(+), 38 deletions(-) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1130CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1130CSharp12UnitTests.cs index 74d18935a..18d3b12e9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1130CSharp12UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1130CSharp12UnitTests.cs @@ -3,9 +3,58 @@ namespace StyleCop.Analyzers.Test.CSharp12.ReadabilityRules { + using Microsoft.CodeAnalysis.Testing; using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules; + using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier< + StyleCop.Analyzers.ReadabilityRules.SA1130UseLambdaSyntax, + StyleCop.Analyzers.ReadabilityRules.SA1130CodeFixProvider>; + public partial class SA1130CSharp12UnitTests : SA1130CSharp11UnitTests { + protected override DiagnosticResult[] GetExpectedResultCodeFixSpecialCases() + { + return new[] + { + Diagnostic().WithLocation(8, 20), + Diagnostic().WithLocation(9, 20), + Diagnostic().WithLocation(10, 25), + Diagnostic().WithLocation(11, 30), + Diagnostic().WithLocation(12, 30), + DiagnosticResult.CompilerError("CS1065").WithLocation(12, 53), + Diagnostic().WithLocation(13, 30), + DiagnosticResult.CompilerError("CS7014").WithLocation(13, 47), + Diagnostic().WithLocation(14, 30), + DiagnosticResult.CompilerError("CS1670").WithLocation(14, 47), + Diagnostic().WithLocation(15, 25), + DiagnosticResult.CompilerError("CS1669").WithLocation(15, 42), + DiagnosticResult.CompilerError("CS0225").WithLocation(14, 47), + }; + } + + protected override DiagnosticResult[] GetExpectedResultAfterFixCodeFixSpecialCases() + { + return new DiagnosticResult[] + { + Diagnostic().WithLocation(12, 30), + DiagnosticResult.CompilerError("CS1065").WithLocation(12, 53), + Diagnostic().WithLocation(13, 30), + DiagnosticResult.CompilerError("CS7014").WithLocation(13, 47), + Diagnostic().WithLocation(14, 30), + DiagnosticResult.CompilerError("CS1670").WithLocation(14, 47), + Diagnostic().WithLocation(15, 25), + DiagnosticResult.CompilerError("CS1669").WithLocation(15, 42), + DiagnosticResult.CompilerError("CS0225").WithLocation(14, 47), + }; + } + + protected override DiagnosticResult[] GetExpectedResultVerifyInvalidCodeConstructions() + { + return new[] + { + Diagnostic().WithSpan(4, 50, 4, 58), + DiagnosticResult.CompilerError("CS1660").WithLocation(4, 50), + }; + } } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1015CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1015CSharp12UnitTests.cs index 192b20aba..a01446ce9 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1015CSharp12UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1015CSharp12UnitTests.cs @@ -3,9 +3,19 @@ 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/SA1018CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1018CSharp12UnitTests.cs index 68449d0b7..c07aa71e4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1018CSharp12UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1018CSharp12UnitTests.cs @@ -3,9 +3,21 @@ 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/ReadabilityRules/SA1130UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1130UnitTests.cs index ef2831880..7d12144e2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1130UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1130UnitTests.cs @@ -218,33 +218,10 @@ private void Method(object o) Action h = delegate (int x, __arglist) { Console.WriteLine(); }; } }"; - var expected = new[] - { - Diagnostic().WithLocation(8, 20), - Diagnostic().WithLocation(9, 20), - Diagnostic().WithLocation(10, 25), - Diagnostic().WithLocation(11, 30), - Diagnostic().WithLocation(12, 30), - Diagnostic(CS1065).WithLocation(12, 53), - Diagnostic().WithLocation(13, 30), - Diagnostic(CS7014).WithLocation(13, 47), - Diagnostic().WithLocation(14, 30), - Diagnostic(CS1670).WithLocation(14, 47), - Diagnostic().WithLocation(15, 25), - Diagnostic(CS1669).WithLocation(15, 42), - }; - var expectedAfterFix = new[] - { - Diagnostic().WithLocation(12, 30), - Diagnostic(CS1065).WithLocation(12, 53), - Diagnostic().WithLocation(13, 30), - Diagnostic(CS7014).WithLocation(13, 47), - Diagnostic().WithLocation(14, 30), - Diagnostic(CS1670).WithLocation(14, 47), - Diagnostic().WithLocation(15, 25), - Diagnostic(CS1669).WithLocation(15, 42), - }; + var expected = this.GetExpectedResultCodeFixSpecialCases(); + + var expectedAfterFix = this.GetExpectedResultAfterFixCodeFixSpecialCases(); var test = new CSharpTest { @@ -828,11 +805,7 @@ public class TestClass } "; - DiagnosticResult[] expected = - { - Diagnostic().WithSpan(4, 50, 4, 58), - DiagnosticResult.CompilerError("CS1660").WithMessage("Cannot convert anonymous method to type 'EventHandler[]' because it is not a delegate type").WithSpan(4, 50, 4, 62), - }; + var expected = this.GetExpectedResultVerifyInvalidCodeConstructions(); var test = new CSharpTest { @@ -1010,5 +983,48 @@ public void Test() await VerifyCSharpFixAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, fixedCode, CancellationToken.None).ConfigureAwait(false); } + + protected virtual DiagnosticResult[] GetExpectedResultCodeFixSpecialCases() + { + return new[] + { + Diagnostic().WithLocation(8, 20), + Diagnostic().WithLocation(9, 20), + Diagnostic().WithLocation(10, 25), + Diagnostic().WithLocation(11, 30), + Diagnostic().WithLocation(12, 30), + Diagnostic(CS1065).WithLocation(12, 53), + Diagnostic().WithLocation(13, 30), + Diagnostic(CS7014).WithLocation(13, 47), + Diagnostic().WithLocation(14, 30), + Diagnostic(CS1670).WithLocation(14, 47), + Diagnostic().WithLocation(15, 25), + Diagnostic(CS1669).WithLocation(15, 42), + }; + } + + protected virtual DiagnosticResult[] GetExpectedResultAfterFixCodeFixSpecialCases() + { + return new[] + { + Diagnostic().WithLocation(12, 30), + Diagnostic(CS1065).WithLocation(12, 53), + Diagnostic().WithLocation(13, 30), + Diagnostic(CS7014).WithLocation(13, 47), + Diagnostic().WithLocation(14, 30), + Diagnostic(CS1670).WithLocation(14, 47), + Diagnostic().WithLocation(15, 25), + Diagnostic(CS1669).WithLocation(15, 42), + }; + } + + protected virtual DiagnosticResult[] GetExpectedResultVerifyInvalidCodeConstructions() + { + return new[] + { + Diagnostic().WithSpan(4, 50, 4, 58), + DiagnosticResult.CompilerError("CS1660").WithMessage("Cannot convert anonymous method to type 'EventHandler[]' because it is not a delegate type").WithSpan(4, 50, 4, 62), + }; + } } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1015UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1015UnitTests.cs index 2429e609b..e6e7822be 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1015UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1015UnitTests.cs @@ -376,10 +376,7 @@ void Method() } "; - DiagnosticResult[] expected = - { - DiagnosticResult.CompilerError("CS1003").WithMessage("Syntax error, '>' expected").WithLocation(7, 35), - }; + var expected = this.GetExpectedResultMissingToken(); await VerifyCSharpDiagnosticAsync(testCode, expected, CancellationToken.None).ConfigureAwait(false); } @@ -432,5 +429,13 @@ public void TestMethod2(object input) await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false); } + + protected virtual DiagnosticResult[] GetExpectedResultMissingToken() + { + return new[] + { + DiagnosticResult.CompilerError("CS1003").WithMessage("Syntax error, '>' expected").WithLocation(7, 35), + }; + } } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1018UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1018UnitTests.cs index 29129cf56..9ed256e69 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1018UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1018UnitTests.cs @@ -129,12 +129,17 @@ private void Test() ? "; - DiagnosticResult[] expected = + var expected = this.GetExpectedResultSyntaxErrorAtEndOfFile(); + + await VerifyCSharpDiagnosticAsync(testCode, expected, CancellationToken.None).ConfigureAwait(false); + } + + protected virtual DiagnosticResult[] GetExpectedResultSyntaxErrorAtEndOfFile() + { + return new[] { DiagnosticResult.CompilerError("CS1031").WithMessage("Type expected").WithLocation(10, 2), }; - - await VerifyCSharpDiagnosticAsync(testCode, expected, CancellationToken.None).ConfigureAwait(false); } } } From 380924cacbecf26ee32cf54ecef3a0917afda819 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Hellander?= Date: Sun, 26 Nov 2023 18:39:22 +0100 Subject: [PATCH 26/36] Update SA1119 to allow parenthesis around a ref ternary conditional expression when it is the left-hand side of an assigment #3712 --- .../SA1119CSharp7UnitTests.cs | 44 +++++++++++++++++++ ...atementMustNotUseUnnecessaryParenthesis.cs | 9 ++++ 2 files changed, 53 insertions(+) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1119CSharp7UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1119CSharp7UnitTests.cs index 26f617112..e0fb7098b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1119CSharp7UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1119CSharp7UnitTests.cs @@ -5,9 +5,12 @@ namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules { + using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Testing; + using StyleCop.Analyzers.Lightup; + using StyleCop.Analyzers.Test.Helpers; using StyleCop.Analyzers.Test.MaintainabilityRules; using Xunit; using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier< @@ -16,6 +19,31 @@ namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules public partial class SA1119CSharp7UnitTests : SA1119UnitTests { + public static IEnumerable Assignments + { + get + { + yield return new object[] { "= 1" }; + yield return new object[] { "+= 1" }; + yield return new object[] { "-= 1" }; + yield return new object[] { "*= 1" }; + yield return new object[] { "/= 1" }; + yield return new object[] { "%= 1" }; + yield return new object[] { "&= 1" }; + yield return new object[] { "|= 1" }; + yield return new object[] { "^= 1" }; + yield return new object[] { "<<= 1" }; + yield return new object[] { ">>= 1" }; + yield return new object[] { "++" }; + yield return new object[] { "--" }; + + if (LightupHelpers.SupportsCSharp11) + { + yield return new object[] { ">>>= 1" }; + } + } + } + /// /// Verifies that extra parentheses in pattern matching is not reported. /// @@ -85,5 +113,21 @@ public void Bar() await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false); } + + [Theory] + [MemberData(nameof(Assignments))] + [WorkItem(3712, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3712")] + public async Task TestConditionalRefAssignmentAsync(string assignment) + { + var testCode = $@"public class Foo +{{ + public void Bar(bool b, ref int x, ref int y) + {{ + (b ? ref x : ref y) {assignment}; + }} +}}"; + + await VerifyCSharpDiagnosticAsync(LanguageVersionEx.CSharp7_2.OrLaterDefault(), testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false); + } } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/MaintainabilityRules/SA1119StatementMustNotUseUnnecessaryParenthesis.cs b/StyleCop.Analyzers/StyleCop.Analyzers/MaintainabilityRules/SA1119StatementMustNotUseUnnecessaryParenthesis.cs index 0d33ff9df..ea78db3d0 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/MaintainabilityRules/SA1119StatementMustNotUseUnnecessaryParenthesis.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/MaintainabilityRules/SA1119StatementMustNotUseUnnecessaryParenthesis.cs @@ -153,6 +153,15 @@ private static void HandleParenthesizedExpression(SyntaxNodeAnalysisContext cont return; } + if (node.Parent is AssignmentExpressionSyntax assignmentExpression + && node.Expression.IsKind(SyntaxKind.ConditionalExpression) + && assignmentExpression.Left == node) + { + // NOTE: This is only valid syntax if the conditional expression is a ref expression + // Parenthesis can't be removed here + return; + } + if (!(node.Parent is ExpressionSyntax) || node.Parent is CheckedExpressionSyntax || node.Parent is MemberAccessExpressionSyntax) From 0cb26663d8e5d0057739f649ca8c2ba0325d4aca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Hellander?= Date: Tue, 28 Nov 2023 21:10:28 +0100 Subject: [PATCH 27/36] Update after code review --- .../SA1130CSharp12UnitTests.cs | 39 +---------- .../ReadabilityRules/SA1130UnitTests.cs | 69 +++++++------------ 2 files changed, 25 insertions(+), 83 deletions(-) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1130CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1130CSharp12UnitTests.cs index 18d3b12e9..a0253a0c5 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1130CSharp12UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1130CSharp12UnitTests.cs @@ -6,55 +6,18 @@ namespace StyleCop.Analyzers.Test.CSharp12.ReadabilityRules using Microsoft.CodeAnalysis.Testing; using StyleCop.Analyzers.Test.CSharp11.ReadabilityRules; - using static StyleCop.Analyzers.Test.Verifiers.StyleCopCodeFixVerifier< - StyleCop.Analyzers.ReadabilityRules.SA1130UseLambdaSyntax, - StyleCop.Analyzers.ReadabilityRules.SA1130CodeFixProvider>; - public partial class SA1130CSharp12UnitTests : SA1130CSharp11UnitTests { - protected override DiagnosticResult[] GetExpectedResultCodeFixSpecialCases() + protected override DiagnosticResult[] GetCompilerExpectedResultCodeFixSpecialCases() { return new[] { - Diagnostic().WithLocation(8, 20), - Diagnostic().WithLocation(9, 20), - Diagnostic().WithLocation(10, 25), - Diagnostic().WithLocation(11, 30), - Diagnostic().WithLocation(12, 30), DiagnosticResult.CompilerError("CS1065").WithLocation(12, 53), - Diagnostic().WithLocation(13, 30), DiagnosticResult.CompilerError("CS7014").WithLocation(13, 47), - Diagnostic().WithLocation(14, 30), DiagnosticResult.CompilerError("CS1670").WithLocation(14, 47), - Diagnostic().WithLocation(15, 25), DiagnosticResult.CompilerError("CS1669").WithLocation(15, 42), DiagnosticResult.CompilerError("CS0225").WithLocation(14, 47), }; } - - protected override DiagnosticResult[] GetExpectedResultAfterFixCodeFixSpecialCases() - { - return new DiagnosticResult[] - { - Diagnostic().WithLocation(12, 30), - DiagnosticResult.CompilerError("CS1065").WithLocation(12, 53), - Diagnostic().WithLocation(13, 30), - DiagnosticResult.CompilerError("CS7014").WithLocation(13, 47), - Diagnostic().WithLocation(14, 30), - DiagnosticResult.CompilerError("CS1670").WithLocation(14, 47), - Diagnostic().WithLocation(15, 25), - DiagnosticResult.CompilerError("CS1669").WithLocation(15, 42), - DiagnosticResult.CompilerError("CS0225").WithLocation(14, 47), - }; - } - - protected override DiagnosticResult[] GetExpectedResultVerifyInvalidCodeConstructions() - { - return new[] - { - Diagnostic().WithSpan(4, 50, 4, 58), - DiagnosticResult.CompilerError("CS1660").WithLocation(4, 50), - }; - } } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1130UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1130UnitTests.cs index 7d12144e2..a38b7eea2 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1130UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1130UnitTests.cs @@ -6,6 +6,7 @@ namespace StyleCop.Analyzers.Test.ReadabilityRules { using System.Diagnostics.CodeAnalysis; + using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; @@ -190,14 +191,14 @@ internal class TypeName { private void Method(object o) { - Action a = delegate() { Console.WriteLine(); }; - Action b = delegate() { Console.WriteLine(); }; - Action c = delegate(int x) { Console.WriteLine(); }; - Action d = delegate(int x, int y) { Console.WriteLine(); }; - Action e = delegate (int x, int y = 0) { Console.WriteLine(); }; - Action f = delegate (int x, [Obsolete]int y) { Console.WriteLine(); }; - Action g = delegate (int x, params int y) { Console.WriteLine(); }; - Action h = delegate (int x, __arglist) { Console.WriteLine(); }; + Action a = [|delegate|]() { Console.WriteLine(); }; + Action b = [|delegate|]() { Console.WriteLine(); }; + Action c = [|delegate|](int x) { Console.WriteLine(); }; + Action d = [|delegate|](int x, int y) { Console.WriteLine(); }; + Action e = [|delegate|] (int x, int y = 0) { Console.WriteLine(); }; + Action f = [|delegate|] (int x, [Obsolete]int y) { Console.WriteLine(); }; + Action g = [|delegate|] (int x, params int y) { Console.WriteLine(); }; + Action h = [|delegate|] (int x, __arglist) { Console.WriteLine(); }; } }"; @@ -219,9 +220,16 @@ private void Method(object o) } }"; - var expected = this.GetExpectedResultCodeFixSpecialCases(); + var expected = this.GetCompilerExpectedResultCodeFixSpecialCases(); - var expectedAfterFix = this.GetExpectedResultAfterFixCodeFixSpecialCases(); + var expectedAfterFix = this.GetCompilerExpectedResultCodeFixSpecialCases() + .Concat(new[] + { + Diagnostic().WithLocation(12, 30), + Diagnostic().WithLocation(13, 30), + Diagnostic().WithLocation(14, 30), + Diagnostic().WithLocation(15, 25), + }); var test = new CSharpTest { @@ -801,11 +809,14 @@ public async Task VerifyInvalidCodeConstructionsAsync() var testCode = @"using System; public class TestClass { - public static EventHandler[] TestMethod() => delegate { }; + public static EventHandler[] TestMethod() => [|delegate|] { }; } "; - var expected = this.GetExpectedResultVerifyInvalidCodeConstructions(); + var expected = new[] + { + DiagnosticResult.CompilerError("CS1660").WithLocation(4, 50), + }; var test = new CSharpTest { @@ -984,47 +995,15 @@ public void Test() await VerifyCSharpFixAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, fixedCode, CancellationToken.None).ConfigureAwait(false); } - protected virtual DiagnosticResult[] GetExpectedResultCodeFixSpecialCases() + protected virtual DiagnosticResult[] GetCompilerExpectedResultCodeFixSpecialCases() { return new[] { - Diagnostic().WithLocation(8, 20), - Diagnostic().WithLocation(9, 20), - Diagnostic().WithLocation(10, 25), - Diagnostic().WithLocation(11, 30), - Diagnostic().WithLocation(12, 30), Diagnostic(CS1065).WithLocation(12, 53), - Diagnostic().WithLocation(13, 30), Diagnostic(CS7014).WithLocation(13, 47), - Diagnostic().WithLocation(14, 30), Diagnostic(CS1670).WithLocation(14, 47), - Diagnostic().WithLocation(15, 25), Diagnostic(CS1669).WithLocation(15, 42), }; } - - protected virtual DiagnosticResult[] GetExpectedResultAfterFixCodeFixSpecialCases() - { - return new[] - { - Diagnostic().WithLocation(12, 30), - Diagnostic(CS1065).WithLocation(12, 53), - Diagnostic().WithLocation(13, 30), - Diagnostic(CS7014).WithLocation(13, 47), - Diagnostic().WithLocation(14, 30), - Diagnostic(CS1670).WithLocation(14, 47), - Diagnostic().WithLocation(15, 25), - Diagnostic(CS1669).WithLocation(15, 42), - }; - } - - protected virtual DiagnosticResult[] GetExpectedResultVerifyInvalidCodeConstructions() - { - return new[] - { - Diagnostic().WithSpan(4, 50, 4, 58), - DiagnosticResult.CompilerError("CS1660").WithMessage("Cannot convert anonymous method to type 'EventHandler[]' because it is not a delegate type").WithSpan(4, 50, 4, 62), - }; - } } } From db6ead6d03d208c7468f04ea2d8fee0416df2a25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Hellander?= Date: Wed, 6 Dec 2023 09:47:55 +0100 Subject: [PATCH 28/36] Update SA1010 to accept whitespace before collection initializers #3687 --- .../SpacingRules/SA1010CSharp12UnitTests.cs | 38 +++++++++++++++++++ .../Lightup/SyntaxKindEx.cs | 1 + ...ningSquareBracketsMustBeSpacedCorrectly.cs | 7 +++- 3 files changed, 45 insertions(+), 1 deletion(-) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1010CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1010CSharp12UnitTests.cs index 40493fa1e..60bbffff8 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1010CSharp12UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1010CSharp12UnitTests.cs @@ -3,9 +3,47 @@ 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/Lightup/SyntaxKindEx.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/SyntaxKindEx.cs index ecb9f398b..b3c2d27c6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/SyntaxKindEx.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/SyntaxKindEx.cs @@ -69,5 +69,6 @@ internal static class SyntaxKindEx public const SyntaxKind RecordDeclaration = (SyntaxKind)9063; public const SyntaxKind FunctionPointerUnmanagedCallingConventionList = (SyntaxKind)9066; public const SyntaxKind RecordStructDeclaration = (SyntaxKind)9068; + public const SyntaxKind CollectionExpression = (SyntaxKind)9076; } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SA1010OpeningSquareBracketsMustBeSpacedCorrectly.cs b/StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SA1010OpeningSquareBracketsMustBeSpacedCorrectly.cs index aa5dacfcf..575e4f159 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SA1010OpeningSquareBracketsMustBeSpacedCorrectly.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SA1010OpeningSquareBracketsMustBeSpacedCorrectly.cs @@ -100,7 +100,7 @@ private static void HandleOpenBracketToken(SyntaxTreeAnalysisContext context, Sy } if (!firstInLine && precededBySpace && !ignorePrecedingSpaceProblem && - !IsPartOfIndexInitializer(token) && !IsPartOfListPattern(token)) + !IsPartOfIndexInitializer(token) && !IsPartOfListPattern(token) && !IsPartOfCollectionExpression(token)) { // Opening square bracket should {not be preceded} by a space. context.ReportDiagnostic(Diagnostic.Create(DescriptorNotPreceded, token.GetLocation(), TokenSpacingProperties.RemovePreceding)); @@ -128,5 +128,10 @@ private static bool IsPartOfListPattern(SyntaxToken token) { return token.Parent.IsKind(SyntaxKindEx.ListPattern); } + + private static bool IsPartOfCollectionExpression(SyntaxToken token) + { + return token.Parent.IsKind(SyntaxKindEx.CollectionExpression); + } } } From bfd1498f52d63d86a2ef5ff3fc49cf23f9b17581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Hellander?= Date: Wed, 6 Dec 2023 20:58:41 +0100 Subject: [PATCH 29/36] Update SA1513 to not require a blank line if the closing brace is at the end of a collection expression #3720 --- .../LayoutRules/SA1513CSharp12UnitTests.cs | 25 +++++++++++++++++++ ...13ClosingBraceMustBeFollowedByBlankLine.cs | 6 +++++ 2 files changed, 31 insertions(+) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1513CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1513CSharp12UnitTests.cs index 04c5d2131..47cc412e4 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1513CSharp12UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/LayoutRules/SA1513CSharp12UnitTests.cs @@ -3,9 +3,34 @@ 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/LayoutRules/SA1513ClosingBraceMustBeFollowedByBlankLine.cs b/StyleCop.Analyzers/StyleCop.Analyzers/LayoutRules/SA1513ClosingBraceMustBeFollowedByBlankLine.cs index 7b4dcf641..97dd481f1 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/LayoutRules/SA1513ClosingBraceMustBeFollowedByBlankLine.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/LayoutRules/SA1513ClosingBraceMustBeFollowedByBlankLine.cs @@ -272,6 +272,12 @@ private void AnalyzeCloseBrace(SyntaxToken token) return; } + if (nextToken.IsKind(SyntaxKind.CloseBracketToken)) + { + // the close brace is for example in an object initializer at the end of a collection expression. + return; + } + if (nextToken.IsKind(SyntaxKind.AddKeyword) || nextToken.IsKind(SyntaxKind.RemoveKeyword) || nextToken.IsKind(SyntaxKind.GetKeyword) From f2cf810e5f299ee3e1877af05cdbf4b94e10fc04 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Fri, 1 Dec 2023 10:50:21 -0600 Subject: [PATCH 30/36] Run tests in parallel jobs --- .nuget/packages.config | 4 +- azure-pipelines.yml | 78 ++--------- build/build-and-test.yml | 280 +++++++++++++++++++++++++++++++++++++++ build/test.yml | 108 +++++++++++++++ 4 files changed, 398 insertions(+), 72 deletions(-) create mode 100644 build/build-and-test.yml create mode 100644 build/test.yml 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/azure-pipelines.yml b/azure-pipelines.yml index bb3d4f15f..ef1f3f898 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,4 +1,4 @@ -pool: +pool: name: Azure Pipelines vmImage: windows-latest demands: @@ -6,73 +6,11 @@ pool: - visualstudio - vstest -jobs: -- job: Build - variables: - BuildSolution: StyleCopAnalyzers.sln - BuildPlatform: Any CPU - strategy: - matrix: - Debug: - BuildConfiguration: Debug - _debugArg: '-Debug' - Release: - BuildConfiguration: Release - _debugArg: '' - steps: - - powershell: .\init.ps1 -NoRestore - displayName: Install .NET Core SDK +stages: +- template: build/build-and-test.yml + parameters: + BuildConfiguration: Debug - - task: NuGetToolInstaller@0 - displayName: 'Use NuGet 5.3.1' - inputs: - versionSpec: 5.3.1 - - - task: NuGetCommand@2 - displayName: 'NuGet restore' - inputs: - restoreSolution: '$(BuildSolution)' - feedsToUse: 'config' - nugetConfigPath: 'NuGet.config' - - - task: VSBuild@1 - displayName: 'Build solution StyleCopAnalyzers.sln' - inputs: - solution: '$(BuildSolution)' - platform: '$(BuildPlatform)' - configuration: '$(BuildConfiguration)' - msbuildArgs: '/bl:$(Build.SourcesDirectory)/msbuild.binlog' - - - task: PowerShell@2 - displayName: Run Tests - inputs: - workingDirectory: '$(Build.SourcesDirectory)/build' - filePath: build/opencover-report.ps1 - arguments: '$(_debugArg) -NoBuild -NoReport -Azure' - - - task: PublishTestResults@2 - displayName: Publish test results - condition: always() - inputs: - testResultsFormat: xUnit - testResultsFiles: 'build/*.xml' - mergeTestResults: true - testRunTitle: '$(BuildConfiguration)' - - - task: PowerShell@2 - displayName: Upload coverage reports to codecov.io - condition: eq(variables['BuildConfiguration'], 'Debug') - inputs: - workingDirectory: '$(Build.SourcesDirectory)/build' - targetType: inline - script: | - $packageConfig = [xml](Get-Content ..\.nuget\packages.config) - $codecov_version = $packageConfig.SelectSingleNode('/packages/package[@id="Codecov"]').version - $codecov = "..\packages\Codecov.$codecov_version\tools\codecov.exe" - &$codecov -f '..\build\OpenCover.Reports\OpenCover.StyleCopAnalyzers.xml' --required - - - task: PublishBuildArtifacts@1 - displayName: Publish build logs - inputs: - pathtoPublish: msbuild.binlog - condition: failed() +- template: build/build-and-test.yml + parameters: + BuildConfiguration: Release diff --git a/build/build-and-test.yml b/build/build-and-test.yml new file mode 100644 index 000000000..4638aeb99 --- /dev/null +++ b/build/build-and-test.yml @@ -0,0 +1,280 @@ +parameters: +- name: BuildConfiguration + displayName: Build Configuration + type: string + default: Debug + values: [ 'Debug', 'Release' ] +- name: BuildSolution + displayName: Solution + type: string + default: StyleCopAnalyzers.sln +- name: BuildPlatform + displayName: Platform + type: string + default: Any CPU + +stages: +- stage: Build_${{ parameters.BuildConfiguration }} + displayName: Build ${{ parameters.BuildConfiguration }} + dependsOn: [] + jobs: + - job: Build + steps: + - powershell: .\init.ps1 -NoRestore + displayName: Install .NET Core SDK + + - task: NuGetToolInstaller@0 + displayName: 'Use NuGet 5.3.1' + inputs: + versionSpec: 5.3.1 + + - task: NuGetCommand@2 + displayName: 'NuGet restore' + inputs: + restoreSolution: '${{ parameters.BuildSolution }}' + feedsToUse: 'config' + nugetConfigPath: 'NuGet.config' + + - task: VSBuild@1 + displayName: 'Build solution ${{ parameters.BuildSolution }}' + inputs: + solution: '${{ parameters.BuildSolution }}' + platform: '${{ parameters.BuildPlatform }}' + configuration: '${{ parameters.BuildConfiguration }}' + maximumCpuCount: false # AnnotatorBuildTask doesn't support parallel builds yet + msbuildArgs: '/v:minimal /bl:$(Build.SourcesDirectory)/msbuild.binlog' + +# - task: PowerShell@2 +# displayName: Upload coverage reports to codecov.io +# condition: eq(variables['BuildConfiguration'], 'Debug') +# inputs: +# workingDirectory: '$(Build.SourcesDirectory)/build' +# targetType: inline +# script: | +# $packageConfig = [xml](Get-Content ..\.nuget\packages.config) +# $codecov_version = $packageConfig.SelectSingleNode('/packages/package[@id="Codecov"]').version +# $codecov = "..\packages\Codecov.$codecov_version\tools\codecov.exe" +# &$codecov -f '..\build\OpenCover.Reports\OpenCover.StyleCopAnalyzers.xml' --required + + - task: PublishPipelineArtifact@1 + displayName: Publish build logs + inputs: + targetPath: msbuild.binlog + artifact: Build logs ${{ parameters.BuildConfiguration }} + condition: failed() + + - task: PublishPipelineArtifact@1 + displayName: Publish solution packages + inputs: + targetPath: $(Build.SourcesDirectory)/packages + artifact: slnPackages-${{ parameters.BuildConfiguration }} + + - task: PublishPipelineArtifact@1 + displayName: Publish build output (Test C# 6) + inputs: + targetPath: $(Build.SourcesDirectory)/StyleCop.Analyzers/StyleCop.Analyzers.Test/bin + artifact: buildTest-cs6-${{ parameters.BuildConfiguration }} + + - task: PublishPipelineArtifact@1 + displayName: Publish build output (Test C# 7) + inputs: + targetPath: $(Build.SourcesDirectory)/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/bin + artifact: buildTest-cs7-${{ parameters.BuildConfiguration }} + + - task: PublishPipelineArtifact@1 + displayName: Publish build output (Test C# 8) + inputs: + targetPath: $(Build.SourcesDirectory)/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/bin + artifact: buildTest-cs8-${{ parameters.BuildConfiguration }} + + - task: PublishPipelineArtifact@1 + displayName: Publish build output (Test C# 9) + inputs: + targetPath: $(Build.SourcesDirectory)/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/bin + artifact: buildTest-cs9-${{ parameters.BuildConfiguration }} + + - task: PublishPipelineArtifact@1 + displayName: Publish build output (Test C# 10) + inputs: + targetPath: $(Build.SourcesDirectory)/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/bin + artifact: buildTest-cs10-${{ parameters.BuildConfiguration }} + + - task: PublishPipelineArtifact@1 + displayName: Publish build output (Test C# 11) + inputs: + targetPath: $(Build.SourcesDirectory)/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp11/bin + artifact: buildTest-cs11-${{ parameters.BuildConfiguration }} + + - task: PublishPipelineArtifact@1 + displayName: Publish build output (Test C# 12) + inputs: + targetPath: $(Build.SourcesDirectory)/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/bin + artifact: buildTest-cs12-${{ parameters.BuildConfiguration }} + +- stage: Test_CSharp_6_${{ parameters.BuildConfiguration }} + displayName: Test C# 6 ${{ parameters.BuildConfiguration }} + dependsOn: [ 'Build_${{ parameters.BuildConfiguration }}' ] + jobs: + - template: test.yml + parameters: + BuildConfiguration: ${{ parameters.BuildConfiguration }} + BuildSolution: ${{ parameters.BuildSolution }} + BuildPlatform: ${{ parameters.BuildPlatform }} + LangVersion: '6' + FrameworkVersion: 'net452' + +- stage: Test_CSharp_7_${{ parameters.BuildConfiguration }} + displayName: Test C# 7 ${{ parameters.BuildConfiguration }} + dependsOn: [ 'Build_${{ parameters.BuildConfiguration }}' ] + jobs: + - template: test.yml + parameters: + BuildConfiguration: ${{ parameters.BuildConfiguration }} + BuildSolution: ${{ parameters.BuildSolution }} + BuildPlatform: ${{ parameters.BuildPlatform }} + LangVersion: '7' + FrameworkVersion: 'net46' + +- stage: Test_CSharp_8_${{ parameters.BuildConfiguration }} + displayName: Test C# 8 ${{ parameters.BuildConfiguration }} + dependsOn: [ 'Build_${{ parameters.BuildConfiguration }}' ] + jobs: + - template: test.yml + parameters: + BuildConfiguration: ${{ parameters.BuildConfiguration }} + BuildSolution: ${{ parameters.BuildSolution }} + BuildPlatform: ${{ parameters.BuildPlatform }} + LangVersion: '8' + FrameworkVersion: 'net472' + +- stage: Test_CSharp_9_${{ parameters.BuildConfiguration }} + displayName: Test C# 9 ${{ parameters.BuildConfiguration }} + dependsOn: [ 'Build_${{ parameters.BuildConfiguration }}' ] + jobs: + - template: test.yml + parameters: + BuildConfiguration: ${{ parameters.BuildConfiguration }} + BuildSolution: ${{ parameters.BuildSolution }} + BuildPlatform: ${{ parameters.BuildPlatform }} + LangVersion: '9' + FrameworkVersion: 'net472' + +- stage: Test_CSharp_10_${{ parameters.BuildConfiguration }} + displayName: Test C# 10 ${{ parameters.BuildConfiguration }} + dependsOn: [ 'Build_${{ parameters.BuildConfiguration }}' ] + jobs: + - template: test.yml + parameters: + BuildConfiguration: ${{ parameters.BuildConfiguration }} + BuildSolution: ${{ parameters.BuildSolution }} + BuildPlatform: ${{ parameters.BuildPlatform }} + LangVersion: '10' + FrameworkVersion: 'net472' + +- stage: Test_CSharp_11_${{ parameters.BuildConfiguration }} + displayName: Test C# 11 ${{ parameters.BuildConfiguration }} + dependsOn: [ 'Build_${{ parameters.BuildConfiguration }}' ] + jobs: + - template: test.yml + parameters: + BuildConfiguration: ${{ parameters.BuildConfiguration }} + BuildSolution: ${{ parameters.BuildSolution }} + BuildPlatform: ${{ parameters.BuildPlatform }} + LangVersion: '11' + FrameworkVersion: 'net472' + +- stage: Test_CSharp_12_${{ parameters.BuildConfiguration }} + displayName: Test C# 12 ${{ parameters.BuildConfiguration }} + dependsOn: [ 'Build_${{ parameters.BuildConfiguration }}' ] + jobs: + - template: test.yml + parameters: + BuildConfiguration: ${{ parameters.BuildConfiguration }} + BuildSolution: ${{ parameters.BuildSolution }} + BuildPlatform: ${{ parameters.BuildPlatform }} + LangVersion: '12' + FrameworkVersion: 'net472' + +- stage: Publish_Code_Coverage_${{ parameters.BuildConfiguration }} + displayName: Publish Code Coverage + condition: eq('${{ parameters.BuildConfiguration }}', 'Debug') + dependsOn: + - Test_CSharp_6_${{ parameters.BuildConfiguration }} + - Test_CSharp_7_${{ parameters.BuildConfiguration }} + - Test_CSharp_8_${{ parameters.BuildConfiguration }} + - Test_CSharp_9_${{ parameters.BuildConfiguration }} + - Test_CSharp_10_${{ parameters.BuildConfiguration }} + - Test_CSharp_11_${{ parameters.BuildConfiguration }} + - Test_CSharp_12_${{ parameters.BuildConfiguration }} + jobs: + - job: WrapUp + steps: + - checkout: self + fetchDepth: 0 # avoid shallow clone so nbgv can do its work. + clean: true + - task: DownloadPipelineArtifact@2 + displayName: 🔻 Download solution packages + continueOnError: true + inputs: + buildType: current + artifactName: slnPackages-${{ parameters.BuildConfiguration }} + targetPath: $(Build.SourcesDirectory)/packages + - download: current + artifact: coverageResults-cs6 + displayName: 🔻 Download C# 6 code coverage results + continueOnError: true + - download: current + artifact: coverageResults-cs7 + displayName: 🔻 Download C# 7 code coverage results + continueOnError: true + - download: current + artifact: coverageResults-cs8 + displayName: 🔻 Download C# 8 code coverage results + continueOnError: true + - download: current + artifact: coverageResults-cs9 + displayName: 🔻 Download C# 9 code coverage results + continueOnError: true + - download: current + artifact: coverageResults-cs10 + displayName: 🔻 Download C# 10 code coverage results + continueOnError: true + - download: current + artifact: coverageResults-cs11 + displayName: 🔻 Download C# 11 code coverage results + continueOnError: true + - download: current + artifact: coverageResults-cs12 + displayName: 🔻 Download C# 12 code coverage results + continueOnError: true + - task: PowerShell@2 + displayName: ⚙ Merge coverage + timeoutInMinutes: 20 + inputs: + workingDirectory: $(Build.SourcesDirectory) + targetType: inline + script: | + $packageConfig = [xml](Get-Content .\.nuget\packages.config) + $packages_folder = '.\packages' + $reportgenerator_version = $packageConfig.SelectSingleNode('/packages/package[@id="ReportGenerator"]').version + $report_generator = "$packages_folder\ReportGenerator.$reportgenerator_version\tools\net47\ReportGenerator.exe" + &$report_generator -targetdir:$(Pipeline.Workspace)/coverageResults-final -reporttypes:Cobertura "-reports:$(Pipeline.Workspace)/coverageResults-*/OpenCover.*.xml" + + - task: PowerShell@2 + displayName: Public code coverage to codecov.io + timeoutInMinutes: 20 + inputs: + workingDirectory: $(Build.SourcesDirectory) + targetType: inline + script: | + $packageConfig = [xml](Get-Content .\.nuget\packages.config) + $packages_folder = '.\packages' + $codecov_version = $packageConfig.SelectSingleNode('/packages/package[@id="CodecovUploader"]').version + $codecov = "$packages_folder\CodecovUploader.$codecov_version\tools\codecov.exe" + &$codecov -f '$(Pipeline.Workspace)/coverageResults-final/Cobertura.xml' --required + + - task: PublishPipelineArtifact@1 + displayName: Publish merged coverage + inputs: + targetPath: $(Pipeline.Workspace)/coverageResults-final + artifact: coverageResults-final$(System.JobAttempt)-${{ parameters.BuildConfiguration }} diff --git a/build/test.yml b/build/test.yml new file mode 100644 index 000000000..e1491acdf --- /dev/null +++ b/build/test.yml @@ -0,0 +1,108 @@ +parameters: +- name: BuildConfiguration + displayName: Build Configuration + type: string + default: Debug + values: [ 'Debug', 'Release' ] +- name: LangVersion + displayName: C# Language Version + type: string + default: '6' + values: [ '6', '7', '8', '9', '10', '11', '12' ] +- name: FrameworkVersion + displayName: .NET Framework Version + type: string + default: 'net472' + values: [ 'net452', 'net46', 'net472' ] +- name: BuildSolution + displayName: Solution + type: string + default: StyleCopAnalyzers.sln +- name: BuildPlatform + displayName: Platform + type: string + default: Any CPU + +jobs: +- job: Test_CSharp_${{ parameters.LangVersion }} + displayName: Test C# ${{ parameters.LangVersion }} + steps: + - powershell: .\init.ps1 -NoRestore + displayName: Install .NET Core SDK + + - task: NuGetToolInstaller@0 + displayName: 'Use NuGet 5.3.1' + inputs: + versionSpec: 5.3.1 + + - task: DownloadPipelineArtifact@2 + displayName: 🔻 Download solution packages + continueOnError: true + inputs: + buildType: current + artifactName: slnPackages-${{ parameters.BuildConfiguration }} + targetPath: $(Build.SourcesDirectory)/packages + + - ${{ if eq(parameters.LangVersion, '6') }}: + - task: DownloadPipelineArtifact@2 + displayName: 🔻 Download build output + continueOnError: true + inputs: + buildType: current + artifactName: buildTest-cs${{ parameters.LangVersion }}-${{ parameters.BuildConfiguration }} + targetPath: $(Build.SourcesDirectory)/StyleCop.Analyzers/StyleCop.Analyzers.Test/bin + + - ${{ if ne(parameters.LangVersion, '6') }}: + - task: DownloadPipelineArtifact@2 + displayName: 🔻 Download build output + continueOnError: true + inputs: + buildType: current + artifactName: buildTest-cs${{ parameters.LangVersion }}-${{ parameters.BuildConfiguration }} + targetPath: $(Build.SourcesDirectory)/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp${{ parameters.LangVersion }}/bin + + - task: PowerShell@2 + displayName: 'Run tests' + timeoutInMinutes: 20 + inputs: + workingDirectory: '$(Build.SourcesDirectory)/build' + targetType: inline + script: | + $packageConfig = [xml](Get-Content ..\.nuget\packages.config) + $opencover_version = $packageConfig.SelectSingleNode('/packages/package[@id="OpenCover"]').version + $xunitrunner_version = $packageConfig.SelectSingleNode('/packages/package[@id="xunit.runner.console"]').version + + $packages_folder = '..\packages' + $opencover_console = "$packages_folder\OpenCover.$opencover_version\tools\OpenCover.Console.exe" + $xunit_runner_console_${{ parameters.FrameworkVersion }} = "$packages_folder\xunit.runner.console.$xunitrunner_version\tools\${{ parameters.FrameworkVersion }}\xunit.console.x86.exe" + $report_folder = '.\OpenCover.Reports' + mkdir $report_folder + $target_dll_name = If ('${{ parameters.LangVersion }}' -Eq '6') { "StyleCop.Analyzers.Test" } Else { "StyleCop.Analyzers.Test.CSharp${{ parameters.LangVersion }}" } + $target_dll_csharp${{ parameters.LangVersion }} = "..\StyleCop.Analyzers\$target_dll_name\bin\${{ parameters.BuildConfiguration }}\${{ parameters.FrameworkVersion }}\$target_dll_name.dll" + &$opencover_console ` + -register:Path32 ` + -threshold:1 -oldStyle ` + -returntargetcode ` + -hideskipped:All ` + -filter:"+[StyleCop*]*" ` + -excludebyattribute:*.ExcludeFromCodeCoverage* ` + -excludebyfile:*\*Designer.cs ` + -output:"$report_folder\OpenCover.StyleCopAnalyzers.CSharp${{ parameters.LangVersion }}.xml" ` + -target:"$xunit_runner_console_${{ parameters.FrameworkVersion }}" ` + -targetargs:"$target_dll_csharp${{ parameters.LangVersion }} -noshadow -xml StyleCopAnalyzers.CSharp${{ parameters.LangVersion }}.xunit.xml" + + - task: PublishTestResults@2 + displayName: 📢 Publish test results + condition: always() + inputs: + testResultsFormat: xUnit + testResultsFiles: 'build/*.xml' + mergeTestResults: true + testRunTitle: 'C# ${{ parameters.LangVersion }} ${{ parameters.BuildConfiguration }}' + + - ${{ if eq(parameters.BuildConfiguration, 'Debug') }}: + - task: PublishPipelineArtifact@1 + displayName: Publish code coverage + inputs: + targetPath: $(Build.SourcesDirectory)/build/OpenCover.Reports + artifact: coverageResults-cs${{ parameters.LangVersion }} From 1e1d804fcb6b09e6ce363c98d7a45226f42fce99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Hellander?= Date: Sat, 9 Dec 2023 07:45:38 +0100 Subject: [PATCH 31/36] Update SA1118 to allow multi-line collection expressions #3732 --- .../SA1118CSharp12UnitTests.cs | 32 +++++++++++++++++++ .../Lightup/SyntaxKindEx.cs | 1 + ...SA1118ParameterMustNotSpanMultipleLines.cs | 1 + 3 files changed, 34 insertions(+) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1118CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1118CSharp12UnitTests.cs index 1c122fc5e..f9e1f8c7b 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1118CSharp12UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/ReadabilityRules/SA1118CSharp12UnitTests.cs @@ -3,9 +3,41 @@ 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/Lightup/SyntaxKindEx.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/SyntaxKindEx.cs index ecb9f398b..b3c2d27c6 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/SyntaxKindEx.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/SyntaxKindEx.cs @@ -69,5 +69,6 @@ internal static class SyntaxKindEx public const SyntaxKind RecordDeclaration = (SyntaxKind)9063; public const SyntaxKind FunctionPointerUnmanagedCallingConventionList = (SyntaxKind)9066; public const SyntaxKind RecordStructDeclaration = (SyntaxKind)9068; + public const SyntaxKind CollectionExpression = (SyntaxKind)9076; } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/SA1118ParameterMustNotSpanMultipleLines.cs b/StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/SA1118ParameterMustNotSpanMultipleLines.cs index 00852f8ea..a2e9dee0f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/SA1118ParameterMustNotSpanMultipleLines.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/SA1118ParameterMustNotSpanMultipleLines.cs @@ -87,6 +87,7 @@ internal class SA1118ParameterMustNotSpanMultipleLines : DiagnosticAnalyzer SyntaxKind.ImplicitArrayCreationExpression, SyntaxKindEx.WithExpression, SyntaxKindEx.ImplicitObjectCreationExpression, + SyntaxKindEx.CollectionExpression, }; /// From 1fe592a8cc138bb1af703b37ad669278ca56255f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Hellander?= Date: Fri, 15 Dec 2023 18:16:35 +0100 Subject: [PATCH 32/36] Update SA1008 to require a space before the opening parenthesis of a using alias definition of a tuple type #3743 --- .../SpacingRules/SA1008CSharp12UnitTests.cs | 21 +++++++++++++++++++ ...OpeningParenthesisMustBeSpacedCorrectly.cs | 2 ++ 2 files changed, 23 insertions(+) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1008CSharp12UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1008CSharp12UnitTests.cs index 052702ef4..f0544bc37 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1008CSharp12UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp12/SpacingRules/SA1008CSharp12UnitTests.cs @@ -3,9 +3,30 @@ 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/SpacingRules/SA1008OpeningParenthesisMustBeSpacedCorrectly.cs b/StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SA1008OpeningParenthesisMustBeSpacedCorrectly.cs index 7db4a4fdf..4a6295312 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SA1008OpeningParenthesisMustBeSpacedCorrectly.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SA1008OpeningParenthesisMustBeSpacedCorrectly.cs @@ -249,10 +249,12 @@ private static void HandleOpenParenToken(SyntaxTreeAnalysisContext context, Synt case SyntaxKindEx.TupleType: // Comma covers tuple types in parameters and nested within other tuple types. + // Equals covers definition of a tuple type alias. // 'out', 'ref', 'in', 'params' parameters are covered by IsKeywordKind. // Attributes of parameters are covered by checking the previous token's parent. // Return types are handled by a helper. haveLeadingSpace = prevToken.IsKind(SyntaxKind.CommaToken) + || prevToken.IsKind(SyntaxKind.EqualsToken) || SyntaxFacts.IsKeywordKind(prevToken.Kind()) || prevToken.Parent.IsKind(SyntaxKind.AttributeList) || ((TypeSyntax)token.Parent).GetContainingNotEnclosingType().IsReturnType(); From 63700b55aa5085f3ea7c2b5d4d77bacf256c38b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Hellander?= Date: Sun, 17 Dec 2023 08:18:57 +0100 Subject: [PATCH 33/36] Update SA1009 to require a space after the closing parenthesis if it is followed by ++ or -- from a prefix unary expression #3731 --- .../SpacingRules/SA1009UnitTests.cs | 43 +++++++++++++++++++ ...ClosingParenthesisMustBeSpacedCorrectly.cs | 4 +- 2 files changed, 46 insertions(+), 1 deletion(-) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1009UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1009UnitTests.cs index 52871b857..e25de0de3 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1009UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1009UnitTests.cs @@ -985,6 +985,49 @@ await Task.Delay(1000) await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false); } + [Theory] + [InlineData("if (true)")] + [InlineData("while (true)")] + [InlineData("for (var i = 0; i < 10; i++)")] + [InlineData("foreach (var i in a)")] + [WorkItem(3731, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3731")] + public async Task TestControlStatementWithBodyOnSameLineAsync(string stmt) + { + var testCode = $@" +public class TestClass +{{ + public async void TestMethod(int x, int[] a) + {{ + {stmt}++x; + {stmt}--x; + {stmt}x++; + {stmt}{{ x++; }} + }} +}}"; + + var fixedCode = $@" +public class TestClass +{{ + public async void TestMethod(int x, int[] a) + {{ + {stmt} ++x; + {stmt} --x; + {stmt} x++; + {stmt} {{ x++; }} + }} +}}"; + + var expected = new[] + { + Diagnostic(DescriptorFollowed).WithLocation(6, 8 + stmt.Length), + Diagnostic(DescriptorFollowed).WithLocation(7, 8 + stmt.Length), + Diagnostic(DescriptorFollowed).WithLocation(8, 8 + stmt.Length), + Diagnostic(DescriptorFollowed).WithLocation(9, 8 + stmt.Length), + }; + + await VerifyCSharpFixAsync(testCode, expected, fixedCode, CancellationToken.None).ConfigureAwait(false); + } + private async Task TestWhitespaceInStatementOrDeclAsync(string originalStatement, string fixedStatement, params DiagnosticResult[] expected) { string template = @"namespace Foo diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SA1009ClosingParenthesisMustBeSpacedCorrectly.cs b/StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SA1009ClosingParenthesisMustBeSpacedCorrectly.cs index 5f6b11dd0..c33850329 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SA1009ClosingParenthesisMustBeSpacedCorrectly.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SA1009ClosingParenthesisMustBeSpacedCorrectly.cs @@ -181,7 +181,9 @@ private static void HandleCloseParenToken(SyntaxTreeAnalysisContext context, Syn case SyntaxKind.PlusPlusToken: case SyntaxKind.MinusMinusToken: - precedesStickyCharacter = true; + precedesStickyCharacter = + !nextToken.Parent.IsKind(SyntaxKind.PreIncrementExpression) + && !nextToken.Parent.IsKind(SyntaxKind.PreDecrementExpression); suppressFollowingSpaceError = false; break; From 515ac8350b07d7ac65a52c83f8062f72e7a69408 Mon Sep 17 00:00:00 2001 From: arphox Date: Mon, 18 Dec 2023 16:39:12 +0100 Subject: [PATCH 34/36] Update documentation for SA1102 to contain compilable code examples #3754 --- documentation/SA1102.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/documentation/SA1102.md b/documentation/SA1102.md index 091272de9..05b683ba5 100644 --- a/documentation/SA1102.md +++ b/documentation/SA1102.md @@ -27,21 +27,21 @@ A C# query clause does not begin on the same line as the previous clause, or on A violation of this rule occurs when a clause within a query expression does not begin on the same line as the previous clause, or on the line after the query clause. For example: ```c# - object x = select a in b + object x = from num in numbers - from c; + select num; ``` The query clause can correctly be written as: ```c# - object x = select a in b from c; + object x = from num in numbers select num; ``` or: ```c# object x = - select a - in b - from c; + from num + in numbers + select num; ``` ## How to fix violations @@ -52,8 +52,8 @@ To fix a violation of this rule, ensure that each clause in the query expression ```c# #pragma warning disable SA1102 // Query clause should follow previous clause - object x = select a in b + object x = from num in numbers - from c; + select num; #pragma warning restore SA1102 // Query clause should follow previous clause ``` From e004d416067357b223bf4a1d407ff0c3bfe5b822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Hellander?= Date: Mon, 18 Dec 2023 19:42:56 +0100 Subject: [PATCH 35/36] Change default value of test property CodeActionValidationMode to SemanticStructure instead of None and update so that tests still pass #2785 --- .../ReadabilityRules/SA1129CodeFixProvider.cs | 5 +++ .../ReadabilityRules/SA1131CodeFixProvider.cs | 31 ++++++++++++++----- .../ReadabilityRules/SA1129UnitTests.cs | 7 ++++- .../Verifiers/StyleCopCodeFixVerifier`2.cs | 2 +- 4 files changed, 35 insertions(+), 10 deletions(-) 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.Test/ReadabilityRules/SA1129UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1129UnitTests.cs index 35a5709ca..3cfff7e47 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1129UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1129UnitTests.cs @@ -406,7 +406,12 @@ public void TestMethod() }} "; - await VerifyCSharpFixAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, fixedTestCode, CancellationToken.None).ConfigureAwait(false); + await new CSharpTest + { + TestCode = testCode, + FixedCode = fixedTestCode, + CodeActionValidationMode = CodeActionValidationMode.None, // Differences in syntax nodes (SimpleMemberAccessExpression vs QualifiedName) + }.RunAsync(CancellationToken.None).ConfigureAwait(false); } /// diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Verifiers/StyleCopCodeFixVerifier`2.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Verifiers/StyleCopCodeFixVerifier`2.cs index 5f9be5385..3da289f01 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/Verifiers/StyleCopCodeFixVerifier`2.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/Verifiers/StyleCopCodeFixVerifier`2.cs @@ -133,7 +133,7 @@ public CSharpTest(LanguageVersion? languageVersion) .WithChangedOption(FormattingOptions.UseTabs, this.Language, this.UseTabs)); this.TestState.AdditionalFilesFactories.Add(GenerateSettingsFile); - this.CodeActionValidationMode = CodeActionValidationMode.None; + this.CodeActionValidationMode = CodeActionValidationMode.SemanticStructure; this.SolutionTransforms.Add((solution, projectId) => { From 6b7973e9774eefa222737d2b26c2a59d064926c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Hellander?= Date: Tue, 19 Dec 2023 19:51:46 +0100 Subject: [PATCH 36/36] Update SA1008 to not crash if there is no token before the analyzed opening parenthesis #2354 --- .../SpacingRules/SA1008CSharp9UnitTests.cs | 29 +++++++++++++++++++ .../SpacingRules/SA1008UnitTests.cs | 17 +++++++++++ ...OpeningParenthesisMustBeSpacedCorrectly.cs | 6 +++- 3 files changed, 51 insertions(+), 1 deletion(-) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1008CSharp9UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1008CSharp9UnitTests.cs index d300c7c05..e98818ab7 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1008CSharp9UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1008CSharp9UnitTests.cs @@ -5,8 +5,10 @@ namespace StyleCop.Analyzers.Test.CSharp9.SpacingRules { + using System.Linq; using System.Threading; using System.Threading.Tasks; + using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Testing; using StyleCop.Analyzers.Test.CSharp8.SpacingRules; using Xunit; @@ -81,5 +83,32 @@ void Method((int, int) c) await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false); } + + [Theory] + [InlineData("")] + [InlineData(" ")] + [InlineData("\n")] + [InlineData("\n ")] + [WorkItem(2354, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/2354")] + public async Task TestDeconstructionInTopLevelProgramAsync(string prefix) + { + var testCode = $@"{prefix}{{|#0:(|}} var a, var b) = (1, 2);"; + var fixedCode = $@"{prefix}(var a, var b) = (1, 2);"; + + await new CSharpTest() + { + TestState = + { + OutputKind = OutputKind.ConsoleApplication, + Sources = { testCode }, + }, + ExpectedDiagnostics = + { + // /0/Test0.cs(1,1): warning SA1008: Opening parenthesis should not be followed by a space. + Diagnostic(DescriptorNotFollowed).WithLocation(0), + }, + FixedCode = fixedCode, + }.RunAsync(CancellationToken.None).ConfigureAwait(false); + } } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1008UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1008UnitTests.cs index 94f6f86de..ef93d0f0f 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1008UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1008UnitTests.cs @@ -2158,5 +2158,22 @@ public void TestMethod() await VerifyCSharpDiagnosticAsync(testCode, DiagnosticResult.EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false); } + + [Fact] + [WorkItem(2354, "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/2354")] + public async Task TestNoPreviousTokenAsync() + { + var testCode = "("; + + var test = new CSharpTest() + { + TestCode = testCode, + + // Compiler diagnostics differ between Roslyn versions. The main thing is that the analyzer doesn't throw an exception. + CompilerDiagnostics = CompilerDiagnostics.None, + }; + + await test.RunAsync(CancellationToken.None).ConfigureAwait(false); + } } } diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SA1008OpeningParenthesisMustBeSpacedCorrectly.cs b/StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SA1008OpeningParenthesisMustBeSpacedCorrectly.cs index 7db4a4fdf..bb03f9241 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SA1008OpeningParenthesisMustBeSpacedCorrectly.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SA1008OpeningParenthesisMustBeSpacedCorrectly.cs @@ -142,7 +142,11 @@ private static void HandleOpenParenToken(SyntaxTreeAnalysisContext context, Synt var leadingTriviaList = TriviaHelper.MergeTriviaLists(prevToken.TrailingTrivia, token.LeadingTrivia); var isFirstOnLine = false; - if (prevToken.GetLineSpan().EndLinePosition.Line < token.GetLineSpan().StartLinePosition.Line) + if (prevToken.IsKind(SyntaxKind.None)) + { + isFirstOnLine = true; // This means that it doesn't matter if there are spaces before or not + } + else if (prevToken.GetLineSpan().EndLinePosition.Line < token.GetLineSpan().StartLinePosition.Line) { var done = false; for (var i = leadingTriviaList.Count - 1; !done && (i >= 0); i--)