5 references to GetAnnotations
Microsoft.CodeAnalysis (1)
Syntax\SyntaxToken.cs (1)
363
return this.WithoutAnnotations(this.
GetAnnotations
(annotationKind));
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
CodeActions\SyncNamespace\CSharpSyncNamespaceTestsBase.cs (1)
182
annotations = n.AsToken().
GetAnnotations
(WarningAnnotation.Kind);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Simplification\Simplifiers\AbstractCSharpSimplifier.cs (2)
106
aliasAnnotationInfo = qualifiedNameNode.Right.Identifier.
GetAnnotations
(AliasAnnotation.Kind).Single();
114
aliasAnnotationInfo = aliasQualifiedNameNode.Name.Identifier.
GetAnnotations
(AliasAnnotation.Kind).Single();
Microsoft.CodeAnalysis.Workspaces (1)
Rename\RenameUtilities.cs (1)
31
var originalAliasAnnotation = token.
GetAnnotations
(AliasAnnotation.Kind).Single();