41 references to SymbolReference
Microsoft.CodeAnalysis.Features (41)
AddImport\AbstractAddImportFeatureService.cs (7)
234await ProducerConsumer<ImmutableArray<SymbolReference>>.RunParallelAsync( 285await ProducerConsumer<ImmutableArray<SymbolReference>>.RunParallelAsync( 351IAsyncEnumerable<ImmutableArray<SymbolReference>> reader, 474private static void AddRange(ConcurrentQueue<Reference> allSymbolReferences, ImmutableArray<SymbolReference> proposedReferences) 476foreach (var reference in proposedReferences) 505private static bool NotGlobalNamespace(SymbolReference reference) 511private 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)
25public override SymbolReference CreateReference<T>(SymbolResult<T> symbol)
AddImport\SearchScopes\SearchScope.cs (1)
38public abstract SymbolReference CreateReference<T>(SymbolResult<T> symbol) where T : INamespaceOrTypeSymbol;
AddImport\SymbolReferenceFinder.cs (30)
95internal Task<ImmutableArray<SymbolReference>> FindInAllSymbolsInStartingProjectAsync(bool exact, CancellationToken cancellationToken) 98internal Task<ImmutableArray<SymbolReference>> FindInSourceSymbolsInProjectAsync(ConcurrentDictionary<Project, AsyncLazy<IAssemblySymbol>> projectToAssembly, Project project, bool exact, CancellationToken cancellationToken) 101internal Task<ImmutableArray<SymbolReference>> FindInMetadataSymbolsAsync(IAssemblySymbol assembly, Project assemblyProject, PortableExecutableReference metadataReference, bool exact, CancellationToken cancellationToken) 104private async Task<ImmutableArray<SymbolReference>> DoAsync(SearchScope searchScope, CancellationToken cancellationToken) 115using var _1 = ArrayBuilder<Task<ImmutableArray<SymbolReference>>>.GetInstance(out var tasks); 140using var _2 = ArrayBuilder<SymbolReference>.GetInstance(out var allReferences); 150private ImmutableArray<SymbolReference> DeDupeAndSortReferences(ImmutableArray<SymbolReference> allReferences) 172/// Searches for types that match the name the user has written. Returns <see cref="SymbolReference"/>s 176private async Task<ImmutableArray<SymbolReference>> GetReferencesForMatchingTypesAsync( 258/// Searches for namespaces that match the name the user has written. Returns <see cref="SymbolReference"/>s 261private async Task<ImmutableArray<SymbolReference>> GetReferencesForMatchingNamespacesAsync( 288private async Task<ImmutableArray<SymbolReference>> GetReferencesForMatchingFieldsAndPropertiesAsync( 347/// <see cref="SymbolReference"/>s to the <see cref="INamespaceSymbol"/>s that contain 350private async Task<ImmutableArray<SymbolReference>> GetReferencesForMatchingExtensionMethodsAsync( 406/// <see cref="SymbolReference"/>s to the <see cref="INamespaceSymbol"/>s that contain 409private async Task<ImmutableArray<SymbolReference>> GetReferencesForCollectionInitializerMethodsAsync( 437/// <see cref="SymbolReference"/>s to the <see cref="INamespaceSymbol"/>s that contain 440private async Task<ImmutableArray<SymbolReference>> GetReferencesForQueryPatternsAsync( 461/// <see cref="SymbolReference"/>s to the <see cref="INamespaceSymbol"/>s that contain 464private async Task<ImmutableArray<SymbolReference>> GetReferencesForGetAwaiterAsync( 486/// <see cref="SymbolReference"/>s to the <see cref="INamespaceSymbol"/>s that contain 489private async Task<ImmutableArray<SymbolReference>> GetReferencesForGetEnumeratorAsync( 511/// <see cref="SymbolReference"/>s to the <see cref="INamespaceSymbol"/>s that contain 514private async Task<ImmutableArray<SymbolReference>> GetReferencesForGetAsyncEnumeratorAsync( 536/// <see cref="SymbolReference"/>s to the <see cref="INamespaceSymbol"/>s that contain 539private async Task<ImmutableArray<SymbolReference>> GetReferencesForDeconstructAsync( 561private async Task<ImmutableArray<SymbolReference>> GetReferencesForExtensionMethodAsync( 599private ImmutableArray<SymbolReference> GetNamespaceSymbolReferences( 602using var _ = ArrayBuilder<SymbolReference>.GetInstance(out var references);