12 references to IsPartOfStructuredTrivia
Microsoft.CodeAnalysis (2)
Syntax\SyntaxToken.cs (1)
226
return Parent?.
IsPartOfStructuredTrivia
() ?? false;
Syntax\SyntaxTrivia.cs (1)
142
return Token.Parent?.
IsPartOfStructuredTrivia
() ?? false;
Microsoft.CodeAnalysis.CSharp (4)
Compilation\CSharpSemanticModel.cs (1)
1343
else if (node.IsMissing || node.HasErrors || node.Width == 0 || node.
IsPartOfStructuredTrivia
())
Syntax\SyntaxNodeRemover.cs (1)
59
: base(nodesToRemove.Any(n => n.
IsPartOfStructuredTrivia
()))
Syntax\SyntaxReplacer.cs (2)
105
_nodeSet.Any(n => n.
IsPartOfStructuredTrivia
()) ||
377
: base(originalNode.Span, editKind, false, originalNode.
IsPartOfStructuredTrivia
())
Microsoft.CodeAnalysis.VisualBasic (3)
Syntax\SyntaxNodeRemover.vb (1)
45
MyBase.New(nodes.Any(Function(n) n.
IsPartOfStructuredTrivia
()))
Syntax\SyntaxReplacer.vb (2)
89
Me._visitStructuredTrivia = Me._nodeSet.Any(Function(n) n.
IsPartOfStructuredTrivia
()) OrElse
292
MyBase.New(originalNode.FullSpan, editKind, visitTrivia:=False, visitIntoStructuredTrivia:=originalNode.
IsPartOfStructuredTrivia
())
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
CaseCorrection\VisualBasicCaseCorrectionService.Rewriter.vb (1)
76
If token.Parent.
IsPartOfStructuredTrivia
() Then
Microsoft.CodeAnalysis.Workspaces (2)
FindSymbols\FindReferences\Finders\AbstractMethodOrPropertyOrEventSymbolReferenceFinder.cs (1)
55
var inStructuredTrivia = node.
IsPartOfStructuredTrivia
();
FindSymbols\FindReferences\Finders\AbstractReferenceFinder.cs (1)
685
if (node.
IsPartOfStructuredTrivia
())