2 types derived from SymbolReference
Microsoft.CodeAnalysis.Features (2)
AddImport\References\MetadataSymbolReference.cs (1)
25
PortableExecutableReference reference) :
SymbolReference
(provider, symbolResult)
AddImport\References\ProjectSymbolReference.cs (1)
30
Project project) :
SymbolReference
(provider, symbolResult)
41 references to SymbolReference
Microsoft.CodeAnalysis.Features (41)
AddImport\AbstractAddImportFeatureService.cs (7)
236
await ProducerConsumer<ImmutableArray<
SymbolReference
>>.RunParallelAsync(
287
await ProducerConsumer<ImmutableArray<
SymbolReference
>>.RunParallelAsync(
353
IAsyncEnumerable<ImmutableArray<
SymbolReference
>> reader,
476
private static void AddRange(ConcurrentQueue<Reference> allSymbolReferences, ImmutableArray<
SymbolReference
> proposedReferences)
478
foreach (
var
reference in proposedReferences)
482
private static bool NotGlobalNamespace(
SymbolReference
reference)
488
private static bool NotNull(
SymbolReference
reference)
AddImport\References\SymbolReference.cs (1)
41
var name2 = (obj as
SymbolReference
)?.SymbolResult.DesiredName;
AddImport\SearchScopes\MetadataSymbolsSearchScope.cs (1)
26
public override
SymbolReference
CreateReference<T>(SymbolResult<T> searchResult)
AddImport\SearchScopes\ProjectSearchScope.cs (1)
23
public override
SymbolReference
CreateReference<T>(SymbolResult<T> symbol)
AddImport\SearchScopes\SearchScope.cs (1)
36
public abstract
SymbolReference
CreateReference<T>(SymbolResult<T> symbol) where T : INamespaceOrTypeSymbol;
AddImport\SymbolReferenceFinder.cs (30)
94
internal Task<ImmutableArray<
SymbolReference
>> FindInAllSymbolsInStartingProjectAsync(bool exact, CancellationToken cancellationToken)
97
internal Task<ImmutableArray<
SymbolReference
>> FindInSourceSymbolsInProjectAsync(ConcurrentDictionary<Project, AsyncLazy<IAssemblySymbol?>> projectToAssembly, Project project, bool exact, CancellationToken cancellationToken)
100
internal Task<ImmutableArray<
SymbolReference
>> FindInMetadataSymbolsAsync(IAssemblySymbol assembly, Project assemblyProject, PortableExecutableReference metadataReference, bool exact, CancellationToken cancellationToken)
103
private async Task<ImmutableArray<
SymbolReference
>> DoAsync(SearchScope searchScope, CancellationToken cancellationToken)
114
using var _1 = ArrayBuilder<Task<ImmutableArray<
SymbolReference
>>>.GetInstance(out var tasks);
139
using var _2 = ArrayBuilder<
SymbolReference
>.GetInstance(out var allReferences);
149
private ImmutableArray<
SymbolReference
> DeDupeAndSortReferences(ImmutableArray<
SymbolReference
> allReferences)
171
/// Searches for types that match the name the user has written. Returns <see cref="
SymbolReference
"/>s
175
private async Task<ImmutableArray<
SymbolReference
>> GetReferencesForMatchingTypesAsync(
257
/// Searches for namespaces that match the name the user has written. Returns <see cref="
SymbolReference
"/>s
260
private async Task<ImmutableArray<
SymbolReference
>> GetReferencesForMatchingNamespacesAsync(
287
private async Task<ImmutableArray<
SymbolReference
>> GetReferencesForMatchingFieldsAndPropertiesAsync(
348
/// cref="
SymbolReference
"/>s to the <see cref="INamespaceSymbol"/>s that contain the static classes that those
351
private async Task<ImmutableArray<
SymbolReference
>> GetReferencesForMatchingExtensionMembersAsync(
418
/// <see cref="
SymbolReference
"/>s to the <see cref="INamespaceSymbol"/>s that contain
421
private async Task<ImmutableArray<
SymbolReference
>> GetReferencesForCollectionInitializerMethodsAsync(
439
/// <see cref="
SymbolReference
"/>s to the <see cref="INamespaceSymbol"/>s that contain
442
private async Task<ImmutableArray<
SymbolReference
>> GetReferencesForQueryPatternsAsync(
463
/// <see cref="
SymbolReference
"/>s to the <see cref="INamespaceSymbol"/>s that contain
466
private async Task<ImmutableArray<
SymbolReference
>> GetReferencesForGetAwaiterAsync(
485
/// <see cref="
SymbolReference
"/>s to the <see cref="INamespaceSymbol"/>s that contain
488
private async Task<ImmutableArray<
SymbolReference
>> GetReferencesForGetEnumeratorAsync(
507
/// <see cref="
SymbolReference
"/>s to the <see cref="INamespaceSymbol"/>s that contain
510
private async Task<ImmutableArray<
SymbolReference
>> GetReferencesForGetAsyncEnumeratorAsync(
529
/// <see cref="
SymbolReference
"/>s to the <see cref="INamespaceSymbol"/>s that contain
532
private async Task<ImmutableArray<
SymbolReference
>> GetReferencesForDeconstructAsync(
554
private async Task<ImmutableArray<
SymbolReference
>> GetReferencesForExtensionMethodAsync(
641
private ImmutableArray<
SymbolReference
> GetNamespaceSymbolReferences(
644
using var _ = ArrayBuilder<
SymbolReference
>.GetInstance(out var references);