14 references to ContainsAnnotations
Microsoft.CodeAnalysis (10)
Syntax\SyntaxNode.cs (7)
1230
get { return this.Green.
ContainsAnnotations
; }
1293
return this.DescendantNodesAndTokensAndSelf(descendIntoChildrenGreen: static g => g.
ContainsAnnotations
, descendIntoTrivia: true)
1302
return this.DescendantNodesAndTokensAndSelf(descendIntoChildrenGreen: static g => g.
ContainsAnnotations
, descendIntoTrivia: true)
1311
return this.DescendantNodesAndTokensAndSelf(descendIntoChildrenGreen: static g => g.
ContainsAnnotations
, descendIntoTrivia: true)
1354
return this.DescendantTrivia(descendIntoChildrenGreen: static n => n.
ContainsAnnotations
, descendIntoChildrenRed: null, descendIntoTrivia: true)
1363
return this.DescendantTrivia(descendIntoChildrenGreen: static n => n.
ContainsAnnotations
, descendIntoChildrenRed: null, descendIntoTrivia: true)
1372
return this.DescendantTrivia(descendIntoChildrenGreen: static n => n.
ContainsAnnotations
, descendIntoChildrenRed: null, descendIntoTrivia: true)
Syntax\SyntaxNodeOrToken.cs (1)
512
return _token.
ContainsAnnotations
;
Syntax\SyntaxToken.cs (1)
240
public bool ContainsAnnotations => Node?.
ContainsAnnotations
?? false;
Syntax\SyntaxTrivia.cs (1)
150
internal bool ContainsAnnotations => UnderlyingNode?.
ContainsAnnotations
?? false;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
IncrementalParsing\IncrementalParsingTests.cs (4)
3496
Assert.True(oldClassC.
ContainsAnnotations
, "Should contain annotations");
3497
Assert.False(newClassC.
ContainsAnnotations
, "Annotations should have been removed.");
3507
Assert.True(oldToken.
ContainsAnnotations
, "Should contain annotations");
3508
Assert.False(newToken.
ContainsAnnotations
, "Annotations should have been removed.");