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