11 references to IsPartOfStructuredTrivia
Microsoft.CodeAnalysis (2)
Syntax\SyntaxToken.cs (1)
226return Parent?.IsPartOfStructuredTrivia() ?? false;
Syntax\SyntaxTrivia.cs (1)
142return Token.Parent?.IsPartOfStructuredTrivia() ?? false;
Microsoft.CodeAnalysis.CSharp (4)
Compilation\CSharpSemanticModel.cs (1)
1343else 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 (2)
Syntax\SyntaxReplacer.vb (2)
89Me._visitStructuredTrivia = Me._nodeSet.Any(Function(n) n.IsPartOfStructuredTrivia()) OrElse 292MyBase.New(originalNode.FullSpan, editKind, visitTrivia:=False, visitIntoStructuredTrivia:=originalNode.IsPartOfStructuredTrivia())
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
CaseCorrection\VisualBasicCaseCorrectionService.Rewriter.vb (1)
76If token.Parent.IsPartOfStructuredTrivia() Then
Microsoft.CodeAnalysis.Workspaces (2)
FindSymbols\FindReferences\Finders\AbstractMethodOrPropertyOrEventSymbolReferenceFinder.cs (1)
55var inStructuredTrivia = node.IsPartOfStructuredTrivia();
FindSymbols\FindReferences\Finders\AbstractReferenceFinder.cs (1)
687if (node.IsPartOfStructuredTrivia())