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