4 references to CreateDiagnostic
Microsoft.ML.InternalCodeAnalyzer (4)
NameAnalyzer.cs (2)
137
context.ReportDiagnostic(
CreateDiagnostic
(GeneralName.Rule, token, NameType.PascalCased));
173
context.ReportDiagnostic(
CreateDiagnostic
(PrivateFieldName.Rule, identifier,
ParameterVariableNameAnalyzer.cs (1)
59
context.ReportDiagnostic(NameAnalyzer.
CreateDiagnostic
(Rule, identifier, NameType.CamelCased, type));
TypeParamNameAnalyzer.cs (1)
46
context.ReportDiagnostic(NameAnalyzer.
CreateDiagnostic
(Rule, identifier, NameType.TPascalCased));