1 write to Kind
Microsoft.AspNetCore.App.Analyzers (1)
Infrastructure\EmbeddedSyntax\EmbeddedSyntaxNode.cs (1)
26
Kind
= kind;
12 references to Kind
Microsoft.AspNetCore.App.Analyzers (12)
Infrastructure\AmbiguousRoutePatternComparer.cs (5)
35
_ => throw new InvalidOperationException($"Unexpected part type '{xPart.
Kind
}'."),
70
_ => throw new InvalidOperationException($"Unexpected segment node type '{xChild.
Kind
}'."),
103
var xParameterPolicies = x.ParameterParts.Where(p => p.
Kind
== RoutePatternKind.ParameterPolicy).OfType<RoutePatternPolicyParameterPartNode>().ToList();
104
var yParameterPolicies = y.ParameterParts.Where(p => p.
Kind
== RoutePatternKind.ParameterPolicy).OfType<RoutePatternPolicyParameterPartNode>().ToList();
141
_ => throw new InvalidOperationException($"Unexpected policy node type '{xPart.
Kind
}'."),
Infrastructure\EmbeddedSyntax\EmbeddedSyntaxNodeOrToken.cs (1)
37
public TSyntaxKind Kind => Node?.
Kind
?? Token.Kind;
Infrastructure\RoutePattern\RoutePatternParser.cs (6)
88
firstNode?.
Kind
== RoutePatternKind.Segment)
92
segmentPart?.
Kind
== RoutePatternKind.Literal)
113
secondNode?.
Kind
== RoutePatternKind.Separator)
168
if (previousNode != null && previousNode.
Kind
== RoutePatternKind.Parameter)
189
if (previousNode.
Kind
!= RoutePatternKind.Literal || ((RoutePatternLiteralNode)previousNode).LiteralToken.Value!.ToString() != ".")
200
if (previousNode.
Kind
== RoutePatternKind.Parameter)