14 references to ContainsAnnotations
Microsoft.CodeAnalysis (5)
Syntax\GreenNode.cs (1)
596
if (this.
ContainsAnnotations
)
Syntax\SyntaxNode.cs (1)
1200
get { return this.Green.
ContainsAnnotations
; }
Syntax\SyntaxNodeOrToken.cs (1)
511
return _token.
ContainsAnnotations
;
Syntax\SyntaxToken.cs (1)
242
public bool ContainsAnnotations => Node?.
ContainsAnnotations
?? false;
Syntax\SyntaxTrivia.cs (1)
148
internal bool ContainsAnnotations => UnderlyingNode?.
ContainsAnnotations
?? false;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
IncrementalParsing\IncrementalParsingTests.cs (4)
2691
Assert.True(oldClassC.
ContainsAnnotations
, "Should contain annotations");
2692
Assert.False(newClassC.
ContainsAnnotations
, "Annotations should have been removed.");
2702
Assert.True(oldToken.
ContainsAnnotations
, "Should contain annotations");
2703
Assert.False(newToken.
ContainsAnnotations
, "Annotations should have been removed.");
Microsoft.CodeAnalysis.VisualBasic (1)
Scanner\Blender.vb (1)
422
If node.
ContainsAnnotations
Then
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (4)
IncrementalParser\IncrementalParser.vb (4)
1723
Assert.True(oldClassC2.
ContainsAnnotations
, "Should contain annotations")
1724
Assert.False(newClassC2.
ContainsAnnotations
, "Annotations should have been removed.")
1734
Assert.True(oldToken2.
ContainsAnnotations
, "Should contain annotations")
1735
Assert.False(newToken2.
ContainsAnnotations
, "Annotations should have been removed.")