From b546cf3bc6cdc387901ec6511bd0654e52a94815 Mon Sep 17 00:00:00 2001 From: Cyrus Najmabadi Date: Tue, 23 Oct 2018 12:00:51 -0700 Subject: [PATCH] New subtype. --- .../CSharpUseIndexOperatorDiagnosticAnalyzer.cs | 2 +- .../CSharpUseRangeOperatorDiagnosticAnalyzer.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Features/CSharp/Portable/UseIndexOrRangeOperator/CSharpUseIndexOperatorDiagnosticAnalyzer.cs b/src/Features/CSharp/Portable/UseIndexOrRangeOperator/CSharpUseIndexOperatorDiagnosticAnalyzer.cs index 2d6102c323f..6d7bd7dd3e8 100644 --- a/src/Features/CSharp/Portable/UseIndexOrRangeOperator/CSharpUseIndexOperatorDiagnosticAnalyzer.cs +++ b/src/Features/CSharp/Portable/UseIndexOrRangeOperator/CSharpUseIndexOperatorDiagnosticAnalyzer.cs @@ -35,7 +35,7 @@ namespace Microsoft.CodeAnalysis.CSharp.UseIndexOrRangeOperator /// preserve semantics. /// [DiagnosticAnalyzer(LanguageNames.CSharp), Shared] - internal partial class CSharpUseIndexOperatorDiagnosticAnalyzer : AbstractCodeStyleDiagnosticAnalyzer + internal partial class CSharpUseIndexOperatorDiagnosticAnalyzer : AbstractBuiltInCodeStyleDiagnosticAnalyzer { public CSharpUseIndexOperatorDiagnosticAnalyzer() : base(IDEDiagnosticIds.UseIndexOperatorDiagnosticId, diff --git a/src/Features/CSharp/Portable/UseIndexOrRangeOperator/CSharpUseRangeOperatorDiagnosticAnalyzer.cs b/src/Features/CSharp/Portable/UseIndexOrRangeOperator/CSharpUseRangeOperatorDiagnosticAnalyzer.cs index 5fb4e2b17ef..8f0424be08a 100644 --- a/src/Features/CSharp/Portable/UseIndexOrRangeOperator/CSharpUseRangeOperatorDiagnosticAnalyzer.cs +++ b/src/Features/CSharp/Portable/UseIndexOrRangeOperator/CSharpUseRangeOperatorDiagnosticAnalyzer.cs @@ -27,7 +27,7 @@ namespace Microsoft.CodeAnalysis.CSharp.UseIndexOrRangeOperator /// could always limit the feature to only work on a whitelist of known safe types. /// [DiagnosticAnalyzer(LanguageNames.CSharp), Shared] - internal partial class CSharpUseRangeOperatorDiagnosticAnalyzer : AbstractCodeStyleDiagnosticAnalyzer + internal partial class CSharpUseRangeOperatorDiagnosticAnalyzer : AbstractBuiltInCodeStyleDiagnosticAnalyzer { public const string UseIndexer = nameof(UseIndexer); public const string ComputedRange = nameof(ComputedRange); -- GitLab