1 write to Text
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Classification\FormattedClassification.cs (1)
29
Text
= text ?? throw new ArgumentNullException(nameof(text));
13 references to Text
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (13)
Classification\ClassificationTestHelper.cs (2)
19
=> $"({formattedClassification.
Text
}, {formattedClassification.ClassificationName})";
55
Assert.Equal(expected.
Text
, text);
Classification\FormattedClassification.cs (11)
38
&& this.
Text
== other.
Text
;
45
=> ClassificationName.GetHashCode() ^
Text
.GetHashCode();
56
return kvp.Value + $"{type}(\"{
Text
}\")";
63
switch (
Text
)
102
switch (
Text
)
195
return $"ControlKeyword(\"{
Text
}\")";
198
return $"Static(\"{
Text
}\")";
201
return $"Verbatim(\"{
Text
}\")";
204
return $"Escape(\"{
Text
}\")";
213
return $"{string.Join("", trimmedClassification.Split(' ').Select(Capitalize))}(\"{
Text
}\")";