22 references to Kinds
CSharpSyntaxGenerator (22)
SourceWriter.cs (19)
414node.Kinds.Count > 1 ? "this.Kind" : "",
522if (nd.Kinds.Count >= 2)
526var kinds = nd.Kinds.Distinct().ToList();
654nd.Kinds.Count > 1 ? "SyntaxKind kind" : "",
671nd.Kinds.Count == 1 ? $"SyntaxKind.{nd.Kinds[0].Name}" : "kind",
814foreach (var kind in nd.Kinds)
1105node.Kinds.Count > 1 ? "this.Kind()" : "",
1360&& ((field.Kinds.Count == 1 && field.Kinds[0].Name != "IdentifierToken" && !field.Kinds[0].Name.EndsWith("LiteralToken", StringComparison.Ordinal)) || (field.Kinds.Count > 1 && field.Kinds.Count == node.Kinds.Count));
1384if (nd.Kinds.Count > 1 && includeKind)
1431if (nd.Kinds.Count >= 2)
1435var kinds = nd.Kinds.Distinct().ToList();
1485nd.Kinds.Count > 1 ? "kind" : "",
1519nd.Kinds.Count > 1 ? "SyntaxKind kind" : "",
1575var nKind = nd.Kinds[k];
1611nd.Kinds.Count > 1 ? "SyntaxKind kind" : "",
1618nd.Kinds.Count > 1 ? "kind" : "",
1700nd.Kinds.Count > 1 ? "SyntaxKind kind" : "",
1725nd.Kinds.Count > 1 ? "kind" : "",