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