1 write to Node
Microsoft.AspNetCore.App.Analyzers (1)
Infrastructure\EmbeddedSyntax\EmbeddedSyntaxNodeOrToken.cs (1)
20
Node
= node;
30 references to Node
Microsoft.AspNetCore.App.Analyzers (30)
Infrastructure\EmbeddedSyntax\EmbeddedSeparatedSyntaxNodeList.cs (3)
45
Debug.Assert(NodesAndTokens[i].
Node
is EmbeddedSyntaxNode<TSyntaxKind, TSyntaxNode>);
68
AnalyzerDebug.Assert(nodeOrToken.
Node
!= null);
69
return (TDerivedNode)nodeOrToken.
Node
;
Infrastructure\EmbeddedSyntax\EmbeddedSyntaxHelpers.cs (1)
34
return child.
Node
;
Infrastructure\EmbeddedSyntax\EmbeddedSyntaxNode.cs (3)
95
child.
Node
.GetSpan(ref start, ref end);
115
if (child.
Node
.Contains(virtualChar))
169
child.
Node
.WriteTo(sb);
Infrastructure\EmbeddedSyntax\EmbeddedSyntaxNodeOrToken.cs (5)
33
Debug.Assert(
Node
== null);
37
public TSyntaxKind Kind =>
Node
?.Kind ?? Token.Kind;
39
[MemberNotNullWhen(true, nameof(
Node
))]
40
public bool IsNode =>
Node
!= null;
43
=> IsNode ?
Node
.GetFullSpan() : _token.GetFullSpan();
Infrastructure\RoutePattern\RoutePatternHelpers.cs (2)
30
AnalyzerDebug.Assert(nodeOrToken.
Node
!= null);
32
node = nodeOrToken.
Node
;
Infrastructure\RoutePattern\RoutePatternParser.cs (11)
87
root.ChildAt(0).
Node
is var firstNode &&
91
firstNode.ChildAt(0).
Node
is var segmentPart &&
112
root.ChildAt(1).
Node
is var secondNode &&
177
segmentPart.
Node
!.ToString());
206
previousNode = segmentPart.
Node
;
231
if (parameterPart.
Node
!= null)
236
var parameterNameNode = (RoutePatternNameParameterPartNode)parameterPart.
Node
;
246
var defaultValueNode = (RoutePatternDefaultValueParameterPartNode)parameterPart.
Node
;
253
var catchAllNode = (RoutePatternCatchAllParameterPartNode)parameterPart.
Node
;
258
policies.Add(parameterPart.
Node
.ToString());
321
CollectDiagnostics(child.
Node
, seenDiagnostics, diagnostics);
RouteEmbeddedLanguage\RoutePatternBraceMatcher.cs (1)
91
var result = FindNode(child.
Node
, ch, predicate);
RouteEmbeddedLanguage\RoutePatternClassifier.cs (2)
38
AddClassifications(child.
Node
, visitor);
145
ClassifyWholeNode(child.
Node
, typeName);
RouteEmbeddedLanguage\RoutePatternCompletionProvider.cs (1)
288
var result = FindToken(child.
Node
, ch);
RouteEmbeddedLanguage\RoutePatternHighlighter.cs (1)
123
var result = FindNode(child.
Node
, ch, predicate);