3 instantiations of ReferenceCount
Microsoft.CodeAnalysis.Features (2)
CodeLens\CodeLensReferencesService.cs (2)
93progress => Task.FromResult(new ReferenceCount( 97progress => Task.FromResult(new ReferenceCount(progress.SearchCap, IsCapped: true, projectVersion.ToString())),
Microsoft.VisualStudio.LanguageServices.CodeLens (1)
ReferenceCodeLensProvider.cs (1)
255var newCount = new ReferenceCount(referenceLocationDescriptors.Value.references.Length, IsCapped: false, Version: referenceLocationDescriptors.Value.projectVersion);
14 references to ReferenceCount
Microsoft.CodeAnalysis.EditorFeatures (2)
CodeLens\ICodeLensContext.cs (2)
25Task<ReferenceCount?> GetReferenceCountAsync( 26CodeLensDescriptor descriptor, CodeLensDescriptorContext descriptorContext, ReferenceCount? previousCount, CancellationToken cancellationToken);
Microsoft.CodeAnalysis.Features (3)
CodeLens\CodeLensReferencesService.cs (1)
89public async Task<ReferenceCount?> GetReferenceCountAsync(Solution solution, DocumentId documentId, SyntaxNode syntaxNode, int maxSearchResults, CancellationToken cancellationToken)
CodeLens\ICodeLensReferencesService.cs (1)
23Task<ReferenceCount?> GetReferenceCountAsync(Solution solution, DocumentId documentId, SyntaxNode? syntaxNode, int maxSearchResults, CancellationToken cancellationToken);
CodeLens\IRemoteCodeLensReferencesService.cs (1)
14ValueTask<ReferenceCount?> GetReferenceCountAsync(Checksum solutionChecksum, DocumentId documentId, TextSpan textSpan, int maxResultCount, CancellationToken cancellationToken);
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\CodeLensReferences\RemoteCodeLensReferencesService.cs (1)
43public async ValueTask<ReferenceCount?> GetReferenceCountAsync(Checksum solutionChecksum, DocumentId documentId, TextSpan textSpan, int maxResultCount, CancellationToken cancellationToken)
Microsoft.VisualStudio.LanguageServices (4)
CodeLens\CodeLensCallbackListener.cs (2)
82public async Task<ReferenceCount?> GetReferenceCountAsync( 83CodeLensDescriptor descriptor, CodeLensDescriptorContext descriptorContext, ReferenceCount? previousCount, CancellationToken cancellationToken)
CodeLens\RemoteCodeLensReferencesService.cs (2)
42public async Task<ReferenceCount?> GetReferenceCountAsync(Solution solution, DocumentId documentId, SyntaxNode? syntaxNode, int maxSearchResults, 55var result = await client.TryInvokeAsync<IRemoteCodeLensReferencesService, ReferenceCount?>(
Microsoft.VisualStudio.LanguageServices.CodeLens (4)
ReferenceCodeLensProvider.cs (4)
175private ReferenceCount? _calculatedReferenceCount; 203var referenceCountOpt = await _callbackService.InvokeAsync<ReferenceCount?>( 214var referenceCount = referenceCountOpt.Value; 255var newCount = new ReferenceCount(referenceLocationDescriptors.Value.references.Length, IsCapped: false, Version: referenceLocationDescriptors.Value.projectVersion);