1 write to ClassificationName
Microsoft.AspNetCore.App.Analyzers.Test (1)
RouteEmbeddedLanguage\Infrastructure\FormattedClassification.cs (1)
22
ClassificationName
= classificationName ?? throw new ArgumentNullException(nameof(classificationName));
9 references to ClassificationName
Microsoft.AspNetCore.App.Analyzers.Test (9)
RouteEmbeddedLanguage\Infrastructure\FormattedClassification.cs (9)
29
return
ClassificationName
== other.
ClassificationName
37
=>
ClassificationName
.GetHashCode() ^ Text.GetHashCode();
41
if (
ClassificationName
.StartsWith("regex", StringComparison.Ordinal))
43
var remainder =
ClassificationName
.Substring("regex - ".Length);
49
if (
ClassificationName
.StartsWith("json", StringComparison.Ordinal))
51
var remainder =
ClassificationName
.Substring("json - ".Length);
57
switch (
ClassificationName
)
103
return $"{Capitalize(
ClassificationName
)}(\"{Text}\")";