2 overrides of CompilerErrorCodeDigitCount
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CSharpRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (1)
20protected override int CompilerErrorCodeDigitCount => 4;
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
VisualBasicRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.vb (1)
23Protected Overrides ReadOnly Property CompilerErrorCodeDigitCount As Integer = 5
2 references to CompilerErrorCodeDigitCount
Microsoft.CodeAnalysis.CodeStyle (2)
AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (2)
308var idWithoutPrefix = id.StartsWith(CompilerErrorCodePrefix) && id.Length == CompilerErrorCodePrefix.Length + CompilerErrorCodeDigitCount 316id = CompilerErrorCodePrefix + errorCode.ToString($"D{CompilerErrorCodeDigitCount}");