2 types derived from SymbolReference
Microsoft.CodeAnalysis.Features (2)
AddImport\References\MetadataSymbolReference.cs (1)
25PortableExecutableReference reference) : SymbolReference(provider, symbolResult)
AddImport\References\ProjectSymbolReference.cs (1)
30Project project) : SymbolReference(provider, symbolResult)
41 references to SymbolReference
Microsoft.CodeAnalysis.Features (41)
AddImport\AbstractAddImportFeatureService.cs (7)
235await ProducerConsumer<ImmutableArray<SymbolReference>>.RunParallelAsync( 286await ProducerConsumer<ImmutableArray<SymbolReference>>.RunParallelAsync( 352IAsyncEnumerable<ImmutableArray<SymbolReference>> reader, 475private static void AddRange(ConcurrentQueue<Reference> allSymbolReferences, ImmutableArray<SymbolReference> proposedReferences) 477foreach (var reference in proposedReferences) 506private static bool NotGlobalNamespace(SymbolReference reference) 512private static bool NotNull(SymbolReference reference)
AddImport\References\SymbolReference.cs (1)
41var name2 = (obj as SymbolReference)?.SymbolResult.DesiredName;
AddImport\SearchScopes\MetadataSymbolsSearchScope.cs (1)
26public override SymbolReference CreateReference<T>(SymbolResult<T> searchResult)
AddImport\SearchScopes\ProjectSearchScope.cs (1)
23public override SymbolReference CreateReference<T>(SymbolResult<T> symbol)
AddImport\SearchScopes\SearchScope.cs (1)
36public abstract SymbolReference CreateReference<T>(SymbolResult<T> symbol) where T : INamespaceOrTypeSymbol;
AddImport\SymbolReferenceFinder.cs (30)
94internal Task<ImmutableArray<SymbolReference>> FindInAllSymbolsInStartingProjectAsync(bool exact, CancellationToken cancellationToken) 97internal Task<ImmutableArray<SymbolReference>> FindInSourceSymbolsInProjectAsync(ConcurrentDictionary<Project, AsyncLazy<IAssemblySymbol?>> projectToAssembly, Project project, bool exact, CancellationToken cancellationToken) 100internal Task<ImmutableArray<SymbolReference>> FindInMetadataSymbolsAsync(IAssemblySymbol assembly, Project assemblyProject, PortableExecutableReference metadataReference, bool exact, CancellationToken cancellationToken) 103private async Task<ImmutableArray<SymbolReference>> DoAsync(SearchScope searchScope, CancellationToken cancellationToken) 114using var _1 = ArrayBuilder<Task<ImmutableArray<SymbolReference>>>.GetInstance(out var tasks); 139using var _2 = ArrayBuilder<SymbolReference>.GetInstance(out var allReferences); 149private ImmutableArray<SymbolReference> DeDupeAndSortReferences(ImmutableArray<SymbolReference> allReferences) 171/// Searches for types that match the name the user has written. Returns <see cref="SymbolReference"/>s 175private async Task<ImmutableArray<SymbolReference>> GetReferencesForMatchingTypesAsync( 257/// Searches for namespaces that match the name the user has written. Returns <see cref="SymbolReference"/>s 260private async Task<ImmutableArray<SymbolReference>> GetReferencesForMatchingNamespacesAsync( 287private async Task<ImmutableArray<SymbolReference>> GetReferencesForMatchingFieldsAndPropertiesAsync( 348/// <see cref="SymbolReference"/>s to the <see cref="INamespaceSymbol"/>s that contain 351private async Task<ImmutableArray<SymbolReference>> GetReferencesForMatchingExtensionMethodsAsync( 407/// <see cref="SymbolReference"/>s to the <see cref="INamespaceSymbol"/>s that contain 410private async Task<ImmutableArray<SymbolReference>> GetReferencesForCollectionInitializerMethodsAsync( 438/// <see cref="SymbolReference"/>s to the <see cref="INamespaceSymbol"/>s that contain 441private async Task<ImmutableArray<SymbolReference>> GetReferencesForQueryPatternsAsync( 462/// <see cref="SymbolReference"/>s to the <see cref="INamespaceSymbol"/>s that contain 465private async Task<ImmutableArray<SymbolReference>> GetReferencesForGetAwaiterAsync( 487/// <see cref="SymbolReference"/>s to the <see cref="INamespaceSymbol"/>s that contain 490private async Task<ImmutableArray<SymbolReference>> GetReferencesForGetEnumeratorAsync( 512/// <see cref="SymbolReference"/>s to the <see cref="INamespaceSymbol"/>s that contain 515private async Task<ImmutableArray<SymbolReference>> GetReferencesForGetAsyncEnumeratorAsync( 537/// <see cref="SymbolReference"/>s to the <see cref="INamespaceSymbol"/>s that contain 540private async Task<ImmutableArray<SymbolReference>> GetReferencesForDeconstructAsync( 562private async Task<ImmutableArray<SymbolReference>> GetReferencesForExtensionMethodAsync( 600private ImmutableArray<SymbolReference> GetNamespaceSymbolReferences( 603using var _ = ArrayBuilder<SymbolReference>.GetInstance(out var references);