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