5 references to SymbolAnnotation
Microsoft.CodeAnalysis.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (3)
185
var annotatedNodes = syntaxNodes.Where(x => x.HasAnnotations(
SymbolAnnotation
.Kind));
194
var annotations = annotatedNode.GetAnnotations(
SymbolAnnotation
.Kind);
199
foreach (var namedType in
SymbolAnnotation
.GetSymbols(annotation, model.Compilation).OfType<INamedTypeSymbol>())
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\SimplificationHelpers.cs (2)
67
var annotation1 = expression.GetAnnotations(
SymbolAnnotation
.Kind).FirstOrDefault();
70
var typeSymbol =
SymbolAnnotation
.GetSymbol(annotation1, semanticModel.Compilation);