11 references to SourceReferenceItem
Microsoft.CodeAnalysis.Features (11)
FindUsages\AbstractFindUsagesService.DefinitionTrackingContext.cs (1)
42
public ValueTask OnReferencesFoundAsync(IAsyncEnumerable<
SourceReferenceItem
> references, CancellationToken cancellationToken)
FindUsages\AbstractFindUsagesService.ProgressAdapter.cs (1)
119
await ProducerConsumer<
SourceReferenceItem
>.RunParallelAsync(
FindUsages\DefinitionItemFactory.cs (1)
283
public static async Task<
SourceReferenceItem
?> TryCreateSourceReferenceItemAsync(
FindUsages\DefinitionsAndReferences.cs (5)
14
/// A collection of <see cref="DefinitionItem"/>s and <see cref="
SourceReferenceItem
"/>s
29
/// All the references to show. Note: every <see cref="
SourceReferenceItem
.Definition"/>
32
public ImmutableArray<
SourceReferenceItem
> References { get; }
36
ImmutableArray<
SourceReferenceItem
> references)
41
var
reference = references[i];
FindUsages\FindUsagesContext.cs (1)
32
public virtual ValueTask OnReferencesFoundAsync(IAsyncEnumerable<
SourceReferenceItem
> references, CancellationToken cancellationToken) => default;
FindUsages\IFindUsagesContext.cs (1)
38
ValueTask OnReferencesFoundAsync(IAsyncEnumerable<
SourceReferenceItem
> references, CancellationToken cancellationToken);
FindUsages\IRemoteFindUsagesService.cs (1)
144
async IAsyncEnumerable<
SourceReferenceItem
> ConvertAsync(