13 references to NameType
Microsoft.ML.InternalCodeAnalyzer (13)
NameAnalyzer.cs (4)
32
internal static Diagnostic CreateDiagnostic(DiagnosticDescriptor rule, SyntaxToken identifier,
NameType
desired, params object[] args)
137
context.ReportDiagnostic(CreateDiagnostic(GeneralName.Rule, token,
NameType
.PascalCased));
174
isConst ?
NameType
.PascalCased :
NameType
.UnderScoreCamelCased));
NameFixProvider.cs (7)
55
NameType
desiredName;
78
case
NameType
.UnderScoreCamelCased:
81
case
NameType
.CamelCased:
84
case
NameType
.PascalCased:
87
case
NameType
.IPascalCased:
90
case
NameType
.TPascalCased:
94
Debug.Assert(!Enum.IsDefined(typeof(
NameType
), desiredName));
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));