diff --git a/src/D2L.CodeStyle.Analyzers/Immutability/TypeDeclarationImmutabilityAnalyzer.cs b/src/D2L.CodeStyle.Analyzers/Immutability/ImmutabilityAnalyzer.cs similarity index 95% rename from src/D2L.CodeStyle.Analyzers/Immutability/TypeDeclarationImmutabilityAnalyzer.cs rename to src/D2L.CodeStyle.Analyzers/Immutability/ImmutabilityAnalyzer.cs index 7c6f21643..5eb8cae09 100644 --- a/src/D2L.CodeStyle.Analyzers/Immutability/TypeDeclarationImmutabilityAnalyzer.cs +++ b/src/D2L.CodeStyle.Analyzers/Immutability/ImmutabilityAnalyzer.cs @@ -9,7 +9,7 @@ namespace D2L.CodeStyle.Analyzers.Immutability { [DiagnosticAnalyzer( LanguageNames.CSharp )] - public sealed class TypeDeclarationImmutabilityAnalyzer : DiagnosticAnalyzer { + public sealed class ImmutabilityAnalyzer : DiagnosticAnalyzer { public override ImmutableArray SupportedDiagnostics => ImmutableArray.Create( Diagnostics.ArraysAreMutable, diff --git a/tests/D2L.CodeStyle.Analyzers.Test/Specs/TypeDeclarationImmutabilityAnalyzer.cs b/tests/D2L.CodeStyle.Analyzers.Test/Specs/ImmutabilityAnalyzer.cs similarity index 98% rename from tests/D2L.CodeStyle.Analyzers.Test/Specs/TypeDeclarationImmutabilityAnalyzer.cs rename to tests/D2L.CodeStyle.Analyzers.Test/Specs/ImmutabilityAnalyzer.cs index bb5c425d3..e945291fd 100644 --- a/tests/D2L.CodeStyle.Analyzers.Test/Specs/TypeDeclarationImmutabilityAnalyzer.cs +++ b/tests/D2L.CodeStyle.Analyzers.Test/Specs/ImmutabilityAnalyzer.cs @@ -1,4 +1,4 @@ -// analyzer: D2L.CodeStyle.Analyzers.Immutability.TypeDeclarationImmutabilityAnalyzer +// analyzer: D2L.CodeStyle.Analyzers.Immutability.ImmutabilityAnalyzer using System; using D2L.CodeStyle.Annotations;