1 write to Kind
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxNode.cs (1)
47
Kind
= kind;
38 references to Kind
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (7)
EmbeddedLanguages\Json\CSharpJsonParserTests.cs (5)
257
var element = new XElement(node.
Kind
.ToString());
269
node.
Kind
.ToString(),
278
node.
Kind
.ToString(),
285
node.
Kind
.ToString(),
291
node.
Kind
.ToString(),
EmbeddedLanguages\RegularExpressions\CSharpRegexParserTests.cs (2)
212
var element = new XElement(node.
Kind
.ToString());
227
var element = new XElement(alternationNode.
Kind
.ToString());
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Utilities\StackFrameUtils.cs (2)
43
Assert.Equal(expected.
Kind
, actual.
Kind
);
Microsoft.CodeAnalysis.Features (28)
EmbeddedLanguages\Json\JsonParser.cs (6)
192
if (child.
Kind
== JsonKind.CommaValue)
199
else if (child.
Kind
== JsonKind.Property)
212
var diagnostic = node.
Kind
switch
241
if (child.
Kind
== JsonKind.Property)
348
allProperties = allProperties && value.
Kind
== JsonKind.Property;
436
if (value.
Kind
== JsonKind.Property)
EmbeddedLanguages\Json\JsonParser.JsonNetSyntaxChecks.cs (4)
23
var diagnostic = node.
Kind
switch
167
if (child.
Kind
!= JsonKind.CommaValue && nextChild.
Kind
!= JsonKind.CommaValue)
178
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)
106
if (node.
Kind
== JsonKind.Object)
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexDocumentHighlighter.cs (1)
128
if (node.
Kind
is RegexKind.BackreferenceEscape or
EmbeddedLanguages\RegularExpressions\RegexNodes.cs (1)
407
Debug.Assert(quantifier.
Kind
!= RegexKind.LazyQuantifier);
EmbeddedLanguages\RegularExpressions\RegexParser.CaptureInfoAnalyzer.cs (1)
83
switch (node.
Kind
)
EmbeddedLanguages\RegularExpressions\RegexParser.cs (6)
312
if (current.
Kind
!= RegexKind.Text)
371
if (next.
Kind
== RegexKind.Text)
418
if (current.
Kind
== RegexKind.SimpleOptionsGrouping)
1277
if (left.
Kind
is RegexKind.CharacterClassEscape or RegexKind.CategoryEscape ||
1340
switch (component.
Kind
)
2012
current.
Kind
== RegexKind.SimpleOptionsGrouping)
EmbeddedLanguages\StackFrame\StackFrameNodeDefinitions.cs (1)
108
Debug.Assert(left.
Kind
is not StackFrameKind.Constructor);
EmbeddedLanguages\StackFrame\StackFrameParser.cs (2)
193
if (lhs.
Kind
is StackFrameKind.Constructor ||
194
lhs is StackFrameQualifiedNameNode { Right.
Kind
: StackFrameKind.Constructor })
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxNodeOrToken.cs (1)
38
public TSyntaxKind Kind => Node?.
Kind
?? Token.Kind;