1 write to Kind
Microsoft.CodeAnalysis.Workspaces (1)
EmbeddedSyntaxNode.cs (1)
47
Kind
= kind;
36 references to Kind
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (7)
EmbeddedLanguages\Json\CSharpJsonParserTests.cs (5)
229
var element = new XElement(node.
Kind
.ToString());
243
var element = new XElement(node.
Kind
.ToString());
254
var element = new XElement(node.
Kind
.ToString());
263
var element = new XElement(node.
Kind
.ToString());
271
var element = new XElement(node.
Kind
.ToString());
EmbeddedLanguages\RegularExpressions\CSharpRegexParserTests.cs (2)
234
var element = new XElement(node.
Kind
.ToString());
249
var element = new XElement(alternationNode.
Kind
.ToString());
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Utilities\StackFrameUtils.cs (2)
44
Assert.Equal(expected.
Kind
, actual.
Kind
);
Microsoft.CodeAnalysis.Features (26)
EmbeddedLanguages\Json\JsonParser.cs (6)
193
if (child.
Kind
== JsonKind.CommaValue)
200
else if (child.
Kind
== JsonKind.Property)
213
var diagnostic = node.
Kind
switch
242
if (child.
Kind
== JsonKind.Property)
349
allProperties = allProperties && value.
Kind
== JsonKind.Property;
437
if (value.
Kind
== JsonKind.Property)
EmbeddedLanguages\Json\JsonParser.JsonNetSyntaxChecks.cs (4)
24
var diagnostic = node.
Kind
switch
131
if (child.
Kind
!= JsonKind.CommaValue && nextChild.
Kind
!= JsonKind.CommaValue)
142
if (child.
Kind
!= JsonKind.Property)
EmbeddedLanguages\Json\JsonParser.StrictSyntaxChecker.cs (5)
35
var diagnostic = node.
Kind
switch
113
if (child.
Kind
!= JsonKind.Property)
136
if (child.
Kind
== JsonKind.CommaValue)
141
if (child.
Kind
!= JsonKind.CommaValue)
157
if (node.Value.
Kind
== JsonKind.CommaValue)
EmbeddedLanguages\Json\LanguageServices\JsonLanguageDetector.cs (1)
114
if (node.
Kind
== JsonKind.Object)
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexDocumentHighlighter.cs (1)
128
if (node.
Kind
is RegexKind.BackreferenceEscape or
EmbeddedLanguages\RegularExpressions\RegexNodes.cs (1)
450
Debug.Assert(quantifier.
Kind
!= RegexKind.LazyQuantifier);
EmbeddedLanguages\RegularExpressions\RegexParser.CaptureInfoAnalyzer.cs (1)
83
switch (node.
Kind
)
EmbeddedLanguages\RegularExpressions\RegexParser.cs (7)
314
if (current.
Kind
!= RegexKind.Text)
373
if (next.
Kind
== RegexKind.Text)
420
if (current.
Kind
== RegexKind.SimpleOptionsGrouping)
1276
if (left.
Kind
== RegexKind.CharacterClassEscape ||
1277
left.
Kind
== RegexKind.CategoryEscape ||
1340
switch (component.
Kind
)
2048
current.
Kind
== RegexKind.SimpleOptionsGrouping)
Microsoft.CodeAnalysis.Workspaces (1)
EmbeddedSyntaxNodeOrToken.cs (1)
38
public TSyntaxKind Kind => Node?.
Kind
?? Token.Kind;