44 references to GetAnnotations
Microsoft.CodeAnalysis (16)
Syntax\GreenNode.cs (5)
463var annotations = this.GetAnnotations(); 482var annotations = this.GetAnnotations(); 501var annotations = this.GetAnnotations(); 525var annotations = this.GetAnnotations(); 553var annotations = this.GetAnnotations();
Syntax\GreenNodeExtensions.cs (3)
28var existingAnnotations = node.GetAnnotations(); 46var existingAnnotations = node.GetAnnotations(); 77var existingAnnotations = node.GetAnnotations();
Syntax\InternalSyntax\SyntaxList.WithLotsOfChildren.cs (1)
63return new WithLotsOfChildren(errors, this.GetAnnotations(), children, _childOffsets);
Syntax\InternalSyntax\SyntaxList.WithManyChildren.cs (1)
107return new WithManyChildren(errors, this.GetAnnotations(), children);
Syntax\InternalSyntax\SyntaxList.WithThreeChildren.cs (1)
69return new WithThreeChildren(errors, this.GetAnnotations(), _child0, _child1, _child2);
Syntax\InternalSyntax\SyntaxList.WithTwoChildren.cs (1)
61return new WithTwoChildren(errors, this.GetAnnotations(), _child0, _child1);
Syntax\SyntaxNode.cs (2)
1249return this.Green.GetAnnotations(); 1370var annotations = this.Green.GetAnnotations();
Syntax\SyntaxToken.cs (1)
388var annotations = this.Node.GetAnnotations();
Syntax\SyntaxTrivia.cs (1)
383var annotations = this.UnderlyingNode.GetAnnotations();
Microsoft.CodeAnalysis.CSharp (28)
Syntax\InternalSyntax\SyntaxToken.cs (3)
349return new SyntaxTokenWithTrivia(this.Kind, trivia, null, this.GetDiagnostics(), this.GetAnnotations()); 359return new SyntaxTokenWithTrivia(this.Kind, null, trivia, this.GetDiagnostics(), this.GetAnnotations()); 365return new SyntaxToken(this.Kind, this.FullWidth, diagnostics, this.GetAnnotations());
Syntax\InternalSyntax\SyntaxToken.MissingTokenWithTrivia.cs (3)
49return new MissingTokenWithTrivia(this.Kind, trivia, this.TrailingField, this.GetDiagnostics(), this.GetAnnotations()); 54return new MissingTokenWithTrivia(this.Kind, this.LeadingField, trivia, this.GetDiagnostics(), this.GetAnnotations()); 59return new MissingTokenWithTrivia(this.Kind, this.LeadingField, this.TrailingField, diagnostics, this.GetAnnotations());
Syntax\InternalSyntax\SyntaxToken.SyntaxIdentifier.cs (3)
46return new SyntaxIdentifierWithTrivia(this.Kind, this.TextField, this.TextField, trivia, null, this.GetDiagnostics(), this.GetAnnotations()); 51return new SyntaxIdentifierWithTrivia(this.Kind, this.TextField, this.TextField, null, trivia, this.GetDiagnostics(), this.GetAnnotations()); 56return new SyntaxIdentifier(this.Text, diagnostics, this.GetAnnotations());
Syntax\InternalSyntax\SyntaxToken.SyntaxIdentifierExtended.cs (3)
49return new SyntaxIdentifierWithTrivia(this.contextualKind, this.TextField, this.valueText, trivia, null, this.GetDiagnostics(), this.GetAnnotations()); 54return new SyntaxIdentifierWithTrivia(this.contextualKind, this.TextField, this.valueText, null, trivia, this.GetDiagnostics(), this.GetAnnotations()); 59return new SyntaxIdentifierExtended(this.contextualKind, this.TextField, this.valueText, diagnostics, this.GetAnnotations());
Syntax\InternalSyntax\SyntaxToken.SyntaxIdentifierWithTrailingTrivia.cs (3)
42return new SyntaxIdentifierWithTrivia(this.Kind, this.TextField, this.TextField, trivia, _trailing, this.GetDiagnostics(), this.GetAnnotations()); 47return new SyntaxIdentifierWithTrailingTrivia(this.TextField, trivia, this.GetDiagnostics(), this.GetAnnotations()); 52return new SyntaxIdentifierWithTrailingTrivia(this.TextField, _trailing, diagnostics, this.GetAnnotations());
Syntax\InternalSyntax\SyntaxToken.SyntaxIdentifierWithTrivia.cs (3)
70return new SyntaxIdentifierWithTrivia(this.contextualKind, this.TextField, this.valueText, trivia, _trailing, this.GetDiagnostics(), this.GetAnnotations()); 75return new SyntaxIdentifierWithTrivia(this.contextualKind, this.TextField, this.valueText, _leading, trivia, this.GetDiagnostics(), this.GetAnnotations()); 80return new SyntaxIdentifierWithTrivia(this.contextualKind, this.TextField, this.valueText, _leading, _trailing, diagnostics, this.GetAnnotations());
Syntax\InternalSyntax\SyntaxToken.SyntaxLiteral.cs (3)
59return new SyntaxTokenWithValueAndTrivia<T>(this.Kind, this.TextField, this.ValueField, trivia, null, this.GetDiagnostics(), this.GetAnnotations()); 64return new SyntaxTokenWithValueAndTrivia<T>(this.Kind, this.TextField, this.ValueField, null, trivia, this.GetDiagnostics(), this.GetAnnotations()); 69return new SyntaxTokenWithValue<T>(this.Kind, this.TextField, this.ValueField, diagnostics, this.GetAnnotations());
Syntax\InternalSyntax\SyntaxToken.SyntaxLiteralWithTrivia.cs (3)
65return new SyntaxTokenWithValueAndTrivia<T>(this.Kind, this.TextField, this.ValueField, trivia, _trailing, this.GetDiagnostics(), this.GetAnnotations()); 70return new SyntaxTokenWithValueAndTrivia<T>(this.Kind, this.TextField, this.ValueField, _leading, trivia, this.GetDiagnostics(), this.GetAnnotations()); 75return new SyntaxTokenWithValueAndTrivia<T>(this.Kind, this.TextField, this.ValueField, _leading, _trailing, diagnostics, this.GetAnnotations());
Syntax\InternalSyntax\SyntaxToken.SyntaxTokenWithTrivia.cs (3)
58return new SyntaxTokenWithTrivia(this.Kind, trivia, this.TrailingField, this.GetDiagnostics(), this.GetAnnotations()); 63return new SyntaxTokenWithTrivia(this.Kind, this.LeadingField, trivia, this.GetDiagnostics(), this.GetAnnotations()); 68return new SyntaxTokenWithTrivia(this.Kind, this.LeadingField, this.TrailingField, diagnostics, this.GetAnnotations());
Syntax\InternalSyntax\SyntaxTrivia.cs (1)
67return new SyntaxTrivia(this.Kind, this.Text, diagnostics, GetAnnotations());