10 instantiations of FinderLocation
Microsoft.CodeAnalysis.Features (1)
ChangeSignature\DelegateInvokeMethodReferenceFinder.cs (1)
107node => new FinderLocation(
Microsoft.CodeAnalysis.Workspaces (9)
FindSymbols\FindReferences\Finders\AbstractReferenceFinder.cs (6)
210=> new(token.GetRequiredParent(), CreateReferenceLocation(state, token, reason, cancellationToken)); 419locations.Add(new FinderLocation(node, new ReferenceLocation( 457locations.Add(new FinderLocation(expression, new ReferenceLocation( 497locations.Add(new FinderLocation(node, new ReferenceLocation( 524locations.Add(new FinderLocation(node, new ReferenceLocation( 555locations.Add(new FinderLocation(node, new ReferenceLocation(
FindSymbols\FindReferences\Finders\AbstractReferenceFinder_GlobalSuppressions.cs (1)
89locations.Add(new FinderLocation(token.GetRequiredParent(), referenceLocation));
FindSymbols\FindReferences\Finders\ConstructorSymbolReferenceFinder.cs (1)
244locations.Add(new FinderLocation(node, new ReferenceLocation(
FindSymbols\FindReferences\Finders\PropertySymbolReferenceFinder.cs (1)
207locations.Add(new FinderLocation(node,
99 references to FinderLocation
Microsoft.CodeAnalysis.Features (1)
ChangeSignature\DelegateInvokeMethodReferenceFinder.cs (1)
73protected override async ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentAsync(
Microsoft.CodeAnalysis.Workspaces (98)
FindSymbols\FindReferences\Finders\AbstractMemberScopedReferenceFinder.cs (3)
48protected sealed override async ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentAsync( 64return ImmutableArray<FinderLocation>.Empty; 95private ValueTask<ImmutableArray<FinderLocation>> FindReferencesInContainerAsync(
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(
FindSymbols\FindReferences\Finders\AbstractReferenceFinder_GlobalSuppressions.cs (6)
54protected static async ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentInsideGlobalSuppressionsAsync( 60return ImmutableArray<FinderLocation>.Empty; 65return ImmutableArray<FinderLocation>.Empty; 70return ImmutableArray<FinderLocation>.Empty; 75return ImmutableArray<FinderLocation>.Empty; 83using var _ = ArrayBuilder<FinderLocation>.GetInstance(out var locations);
FindSymbols\FindReferences\Finders\AbstractTypeParameterSymbolReferenceFinder.cs (3)
17protected sealed override async ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentAsync( 50ImmutableArray<FinderLocation> GetObjectCreationReferences(ImmutableArray<SyntaxToken> objectCreationTokens) 52using var _ = ArrayBuilder<FinderLocation>.GetInstance(out var result);
FindSymbols\FindReferences\Finders\ConstructorInitializerSymbolReferenceFinder.cs (1)
53protected sealed override async ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentAsync(
FindSymbols\FindReferences\Finders\ConstructorSymbolReferenceFinder.cs (11)
97protected override async ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentAsync( 103using var _1 = ArrayBuilder<FinderLocation>.GetInstance(out var result); 125using var _2 = ArrayBuilder<FinderLocation>.GetInstance(out var typeReferences); 154ArrayBuilder<FinderLocation> result, 163private static ValueTask<ImmutableArray<FinderLocation>> FindOrdinaryReferencesAsync( 173private static ValueTask<ImmutableArray<FinderLocation>> FindPredefinedTypeReferencesAsync( 180return new(ImmutableArray<FinderLocation>.Empty); 191private static ValueTask<ImmutableArray<FinderLocation>> FindAttributeReferencesAsync( 199: new(ImmutableArray<FinderLocation>.Empty); 202private Task<ImmutableArray<FinderLocation>> FindReferencesInImplicitObjectCreationExpressionAsync( 223SyntaxNode node, FindReferencesDocumentState state, ArrayBuilder<FinderLocation> locations)
FindSymbols\FindReferences\Finders\DestructorSymbolReferenceFinder.cs (3)
29protected override ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentAsync( 35return new ValueTask<ImmutableArray<FinderLocation>>(ImmutableArray<FinderLocation>.Empty);
FindSymbols\FindReferences\Finders\EventSymbolReferenceFinder.cs (1)
49protected sealed override ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentAsync(
FindSymbols\FindReferences\Finders\ExplicitConversionSymbolReferenceFinder.cs (1)
62protected sealed override ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentAsync(
FindSymbols\FindReferences\Finders\ExplicitInterfaceMethodReferenceFinder.cs (2)
30protected sealed override ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentAsync( 37return new(ImmutableArray<FinderLocation>.Empty);
FindSymbols\FindReferences\Finders\FieldSymbolReferenceFinder.cs (1)
42protected override async ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentAsync(
FindSymbols\FindReferences\Finders\IReferenceFinder.cs (1)
64ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentAsync(
FindSymbols\FindReferences\Finders\NamedTypeSymbolReferenceFinder.cs (9)
112protected override async ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentAsync( 118using var _ = ArrayBuilder<FinderLocation>.GetInstance(out var initialReferences); 143ArrayBuilder<FinderLocation> nonAliasReferences, 171ArrayBuilder<FinderLocation> nonAliasesReferences, 181private static ValueTask<ImmutableArray<FinderLocation>> FindOrdinaryReferencesAsync( 196private static ValueTask<ImmutableArray<FinderLocation>> FindPredefinedTypeReferencesAsync( 203return new(ImmutableArray<FinderLocation>.Empty); 214private static ValueTask<ImmutableArray<FinderLocation>> FindAttributeReferencesAsync( 222: new(ImmutableArray<FinderLocation>.Empty);
FindSymbols\FindReferences\Finders\NamespaceSymbolReferenceFinder.cs (4)
57protected override async ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentAsync( 63using var _ = ArrayBuilder<FinderLocation>.GetInstance(out var initialReferences); 106ArrayBuilder<FinderLocation> initialReferences, 119ArrayBuilder<FinderLocation> initialReferences,
FindSymbols\FindReferences\Finders\OperatorSymbolReferenceFinder.cs (1)
47protected sealed override async ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentAsync(
FindSymbols\FindReferences\Finders\OrdinaryMethodReferenceFinder.cs (5)
114protected sealed override async ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentAsync( 125: ImmutableArray<FinderLocation>.Empty; 129: ImmutableArray<FinderLocation>.Empty; 133: ImmutableArray<FinderLocation>.Empty; 140: ImmutableArray<FinderLocation>.Empty;
FindSymbols\FindReferences\Finders\ParameterSymbolReferenceFinder.cs (1)
39protected override ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentAsync(
FindSymbols\FindReferences\Finders\PropertyAccessorSymbolReferenceFinder.cs (1)
63protected override async ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentAsync(
FindSymbols\FindReferences\Finders\PropertySymbolReferenceFinder.cs (6)
123protected sealed override async ValueTask<ImmutableArray<FinderLocation>> FindReferencesInDocumentAsync( 147: ImmutableArray<FinderLocation>.Empty; 151: ImmutableArray<FinderLocation>.Empty; 172private static async Task<ImmutableArray<FinderLocation>> FindIndexerReferencesAsync( 182return ImmutableArray<FinderLocation>.Empty; 193using var _ = ArrayBuilder<FinderLocation>.GetInstance(out var locations);