5 references to Utils
Microsoft.ML.InternalCodeAnalyzer (5)
NameAnalyzer.cs (3)
136
if (!
Utils
.NameIsGood(token.Text, 0, true))
141
=> !string.IsNullOrEmpty(name) && name.StartsWith("_", StringComparison.OrdinalIgnoreCase) &&
Utils
.NameIsGood(name, 1, false);
170
if (CheckUnderscore(name) || (isConst &&
Utils
.NameIsGood(name, 0, true)))
ParameterVariableNameAnalyzer.cs (1)
57
if (name == null ||
Utils
.NameIsGood(name, 0, false))
TypeParamNameAnalyzer.cs (1)
44
if (name == null || (name.StartsWith("T") &&
Utils
.NameIsGood(name, 1, true)))