10 references to GetAnnotations
Microsoft.CodeAnalysis (3)
Syntax\AnnotationExtensions.cs (1)
66return node.WithoutAnnotations<TNode>(node.GetAnnotations(annotationKind).ToArray());
Syntax\SyntaxNodeExtensions_Tracking.cs (1)
207foreach (var id in node.GetAnnotations(IdAnnotationKind))
Syntax\SyntaxNodeOrToken.cs (1)
589return _nodeOrParent.GetAnnotations(annotationKind);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
CodeActions\SyncNamespace\CSharpSyncNamespaceTestsBase.cs (1)
178annotations = n.AsNode().GetAnnotations(WarningAnnotation.Kind);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Simplification\Simplifiers\ExpressionSimplifier.cs (1)
104semanticModel, SpecialTypeAnnotation.GetSpecialType(memberAccess.GetAnnotations(SpecialTypeAnnotation.Kind).First()));
Simplification\Simplifiers\NameSimplifier.cs (1)
104var keywordToken = TryGetPredefinedKeywordToken(semanticModel, SpecialTypeAnnotation.GetSpecialType(name.GetAnnotations(SpecialTypeAnnotation.Kind).First()));
Microsoft.CodeAnalysis.UnitTests (1)
CommonSyntaxTests.cs (1)
235.GetAnnotations(SyntaxNodeExtensions.IdAnnotationKind).First();
Microsoft.CodeAnalysis.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (1)
194var annotations = annotatedNode.GetAnnotations(SymbolAnnotation.Kind);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\SimplificationHelpers.cs (2)
67var annotation1 = expression.GetAnnotations(SymbolAnnotation.Kind).FirstOrDefault(); 75var annotation2 = expression.GetAnnotations(SpecialTypeAnnotation.Kind).FirstOrDefault();