9 references to DiagnosticIds
Microsoft.DotNet.CodeAnalysis (9)
Analyzers\AppContextDefaultsAnalyzer.cs (6)
27
new DiagnosticDescriptor(
DiagnosticIds
.BCL0010.ToString(), s_title, CreateDiagnosticMessage(s_defaultValueNotInitializedToTrue,
DiagnosticIds
.BCL0010.ToString()), s_analyzerName, DiagnosticSeverity.Error, isEnabledByDefault: true, description: s_description);
30
new DiagnosticDescriptor(
DiagnosticIds
.BCL0011.ToString(), s_title, CreateDiagnosticMessage(s_defaultValueInsideUnexpectedIfCondition,
DiagnosticIds
.BCL0011.ToString()), s_analyzerName, DiagnosticSeverity.Error, isEnabledByDefault: true, description: s_description);
33
new DiagnosticDescriptor(
DiagnosticIds
.BCL0012.ToString(), s_title, CreateDiagnosticMessage(s_defaultValueDefinedOutsideIfCondition,
DiagnosticIds
.BCL0012.ToString()), s_analyzerName, DiagnosticSeverity.Error, isEnabledByDefault: true, description: s_description);
Analyzers\MembersMustExistAnalyzer.cs (1)
26
new DiagnosticDescriptor(
DiagnosticIds
.BCL0001.ToString(), s_title, s_messageFormat, s_analyzerName, DiagnosticSeverity.Error, isEnabledByDefault: true, description: s_description, customTags: WellKnownDiagnosticTags.CompilationEnd);
Analyzers\PinvokeAnalyzer.cs (1)
24
private static DiagnosticDescriptor InvalidPinvokeCall = new DiagnosticDescriptor(
DiagnosticIds
.BCL0015.ToString(), Title, MessageFormat, AnalyzerName, DiagnosticSeverity.Error, isEnabledByDefault: true, description: Description);
Analyzers\ResourceUsageAnalyzer.cs (1)
19
private static DiagnosticDescriptor InvalidSRFormatCall = new DiagnosticDescriptor(
DiagnosticIds
.BCL0020.ToString(), Title, "", AnalyzerName, DiagnosticSeverity.Error, isEnabledByDefault: true, description: Description);