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