From 60fc14d99002fcade7ca590fba7f088b3c99e8fa Mon Sep 17 00:00:00 2001 From: Cyrus Najmabadi Date: Wed, 24 Oct 2018 11:19:48 -0700 Subject: [PATCH] Fix diagnostic IDs. --- .../Portable/Diagnostics/Analyzers/IDEDiagnosticIds.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Features/Core/Portable/Diagnostics/Analyzers/IDEDiagnosticIds.cs b/src/Features/Core/Portable/Diagnostics/Analyzers/IDEDiagnosticIds.cs index e1687e6667a..befb9330ed6 100644 --- a/src/Features/Core/Portable/Diagnostics/Analyzers/IDEDiagnosticIds.cs +++ b/src/Features/Core/Portable/Diagnostics/Analyzers/IDEDiagnosticIds.cs @@ -1,5 +1,9 @@ // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +using System; +using System.Collections.Generic; +using System.Reflection; + namespace Microsoft.CodeAnalysis.Diagnostics { internal static class IDEDiagnosticIds @@ -88,8 +92,8 @@ internal static class IDEDiagnosticIds public const string FormattingDiagnosticId = "IDE0055"; - public const string UseIndexOperatorDiagnosticId = "IDE0055"; - public const string UseRangeOperatorDiagnosticId = "IDE0056"; + public const string UseIndexOperatorDiagnosticId = "IDE0056"; + public const string UseRangeOperatorDiagnosticId = "IDE0057"; // Analyzer error Ids public const string AnalyzerChangedId = "IDE1001"; -- GitLab