FindSymbols\FindReferences\Finders\AbstractReferenceFinder.cs (38)
36public abstract ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentAsync(
163protected static async ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentUsingIdentifierAsync(
175return ImmutableArray<FinderLocation>.Empty;
185protected static async ValueTask<ImmutableArray<FinderLocation>> FindReferencesInTokensAsync(
191using var _ = ArrayBuilder<FinderLocation>.GetInstance(out var locations);
200var finderLocation = CreateFinderLocation(state, token, reason, cancellationToken);
209protected static FinderLocation CreateFinderLocation(FindReferencesDocumentState state, SyntaxToken token, CandidateReason reason, CancellationToken cancellationToken)
248protected static async Task<ImmutableArray<FinderLocation>> FindLocalAliasReferencesAsync(
249ArrayBuilder<FinderLocation> initialReferences,
256? ImmutableArray<FinderLocation>.Empty
260protected static async Task<ImmutableArray<FinderLocation>> FindLocalAliasReferencesAsync(
261ArrayBuilder<FinderLocation> initialReferences,
267? ImmutableArray<FinderLocation>.Empty
273ArrayBuilder<FinderLocation> initialReferences,
277foreach (var reference in initialReferences)
287private static async Task<ImmutableArray<FinderLocation>> FindReferencesThroughLocalAliasSymbolsAsync(
293using var _ = ArrayBuilder<FinderLocation>.GetInstance(out var allAliasReferences);
312private static async Task<ImmutableArray<FinderLocation>> FindReferencesThroughLocalAliasSymbolsAsync(
317using var _ = ArrayBuilder<FinderLocation>.GetInstance(out var allAliasReferences);
370SyntaxNode node, FindReferencesDocumentState state, ArrayBuilder<FinderLocation> locations);
372protected static async Task<ImmutableArray<FinderLocation>> FindReferencesInDocumentAsync(
382using var _ = ArrayBuilder<FinderLocation>.GetInstance(out var locations);
393return ImmutableArray<FinderLocation>.Empty;
396protected Task<ImmutableArray<FinderLocation>> FindReferencesInForEachStatementsAsync(
407SyntaxNode node, FindReferencesDocumentState state, ArrayBuilder<FinderLocation> locations)
431protected Task<ImmutableArray<FinderLocation>> FindReferencesInCollectionInitializerAsync(
442SyntaxNode node, FindReferencesDocumentState state, ArrayBuilder<FinderLocation> locations)
470protected Task<ImmutableArray<FinderLocation>> FindReferencesInDeconstructionAsync(
481SyntaxNode node, FindReferencesDocumentState state, ArrayBuilder<FinderLocation> locations)
504protected Task<ImmutableArray<FinderLocation>> FindReferencesInAwaitExpressionAsync(
515SyntaxNode node, FindReferencesDocumentState state, ArrayBuilder<FinderLocation> locations)
531protected Task<ImmutableArray<FinderLocation>> FindReferencesInImplicitObjectCreationExpressionAsync(
542SyntaxNode node, FindReferencesDocumentState state, ArrayBuilder<FinderLocation> locations)
837protected abstract ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentAsync(
863public sealed override ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentAsync(
868: new ValueTask<ImmutableArray<FinderLocation>>(ImmutableArray<FinderLocation>.Empty);
890protected static ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentUsingSymbolNameAsync(