4 references to SingletonAsync
Microsoft.CodeAnalysis.EditorFeatures (2)
ExternalAccess\VSTypeScript\VSTypeScriptFindUsagesContext.cs (1)
30
=> UnderlyingObject.OnReferencesFoundAsync(IAsyncEnumerableExtensions.
SingletonAsync
(reference.UnderlyingObject), cancellationToken);
ExternalAccess\VSTypeScript\VSTypeScriptFindUsagesService.cs (1)
49
=> _context.OnReferencesFoundAsync(IAsyncEnumerableExtensions.
SingletonAsync
(reference.UnderlyingObject), cancellationToken);
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Internal\Editor\FindUsages\FSharpFindUsagesContext.cs (1)
32
return _context.OnReferencesFoundAsync(IAsyncEnumerableExtensions.
SingletonAsync
(reference.RoslynSourceReferenceItem), CancellationToken).AsTask();
Microsoft.CodeAnalysis.Features (1)
FindUsages\AbstractFindUsagesService.ProgressAdapter.cs (1)
43
IAsyncEnumerableExtensions.
SingletonAsync
(new SourceReferenceItem(_definition, documentSpan, classifiedSpans, SymbolUsageInfo.None)), cancellationToken).ConfigureAwait(false);