2 overrides of CompilerErrorCodePrefix
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CSharpRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (1)
19protected override string CompilerErrorCodePrefix => "CS";
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
VisualBasicRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.vb (1)
21Protected Overrides ReadOnly Property CompilerErrorCodePrefix As String = "BC"
4 references to CompilerErrorCodePrefix
Microsoft.CodeAnalysis.CodeStyle (4)
AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (4)
308var idWithoutPrefix = id.StartsWith(CompilerErrorCodePrefix) && id.Length == CompilerErrorCodePrefix.Length + CompilerErrorCodeDigitCount 309? id[CompilerErrorCodePrefix.Length..] 316id = CompilerErrorCodePrefix + errorCode.ToString($"D{CompilerErrorCodeDigitCount}");