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