1 instantiation of RemoteServiceCallbackId
Microsoft.CodeAnalysis.Workspaces (1)
Remote\RemoteServiceCallbackDispatcher.cs (1)
46
var callbackId = new
RemoteServiceCallbackId
(Interlocked.Increment(ref _callbackId));
184 references to RemoteServiceCallbackId
Microsoft.CodeAnalysis.ExternalAccess.Razor (3)
Remote\RazorRemoteServiceCallbackIdWrapper.cs (3)
15
internal
RemoteServiceCallbackId
UnderlyingObject { get; }
17
public RazorRemoteServiceCallbackIdWrapper(
RemoteServiceCallbackId
underlyingObject)
20
public static implicit operator RazorRemoteServiceCallbackIdWrapper(
RemoteServiceCallbackId
id)
Microsoft.CodeAnalysis.Features (62)
AddImport\Remote\AbstractAddImportFeatureService_Remote.cs (4)
36
private ISymbolSearchService GetService(
RemoteServiceCallbackId
callbackId)
39
public ValueTask<ImmutableArray<PackageWithTypeResult>> FindPackagesWithTypeAsync(
RemoteServiceCallbackId
callbackId, string source, string name, int arity, CancellationToken cancellationToken)
42
public ValueTask<ImmutableArray<PackageWithAssemblyResult>> FindPackagesWithAssemblyAsync(
RemoteServiceCallbackId
callbackId, string source, string name, CancellationToken cancellationToken)
45
public ValueTask<ImmutableArray<ReferenceAssemblyWithTypeResult>> FindReferenceAssembliesWithTypeAsync(
RemoteServiceCallbackId
callbackId, string name, int arity, CancellationToken cancellationToken)
AddImport\Remote\IRemoteMissingImportDiscoveryService.cs (5)
21
ValueTask<ImmutableArray<PackageWithTypeResult>> FindPackagesWithTypeAsync(
RemoteServiceCallbackId
callbackId, string source, string name, int arity, CancellationToken cancellationToken);
22
ValueTask<ImmutableArray<PackageWithAssemblyResult>> FindPackagesWithAssemblyAsync(
RemoteServiceCallbackId
callbackId, string source, string name, CancellationToken cancellationToken);
23
ValueTask<ImmutableArray<ReferenceAssemblyWithTypeResult>> FindReferenceAssembliesWithTypeAsync(
RemoteServiceCallbackId
callbackId, string name, int arity, CancellationToken cancellationToken);
27
Checksum solutionChecksum,
RemoteServiceCallbackId
callbackId, DocumentId documentId, TextSpan span, string diagnosticId, int maxResults,
31
Checksum solutionChecksum,
RemoteServiceCallbackId
callbackId, DocumentId id, TextSpan span, ImmutableArray<string> diagnosticIds,
ConvertTupleToStruct\IRemoteConvertTupleToStructCodeRefactoringService.cs (3)
25
ValueTask<CleanCodeGenerationOptions> GetOptionsAsync(
RemoteServiceCallbackId
callbackId, string language, CancellationToken cancellationToken);
30
RemoteServiceCallbackId
callbackId,
47
public ValueTask<CleanCodeGenerationOptions> GetOptionsAsync(
RemoteServiceCallbackId
callbackId, string language, CancellationToken cancellationToken)
DesignerAttribute\IRemoteDesignerAttributeDiscoveryService.cs (4)
23
ValueTask ReportDesignerAttributeDataAsync(
RemoteServiceCallbackId
callbackId, ImmutableArray<DesignerAttributeData> data, CancellationToken cancellationToken);
27
RemoteServiceCallbackId
callbackId, Checksum solutionChecksum, DocumentId? priorityDocument, bool useFrozenSnapshots, CancellationToken cancellationToken);
39
private new IDesignerAttributeDiscoveryService.ICallback GetCallback(
RemoteServiceCallbackId
callbackId)
42
public ValueTask ReportDesignerAttributeDataAsync(
RemoteServiceCallbackId
callbackId, ImmutableArray<DesignerAttributeData> data, CancellationToken cancellationToken)
EditAndContinue\Remote\IRemoteEditAndContinueService.cs (11)
20
ValueTask<ImmutableArray<ManagedActiveStatementDebugInfo>> GetActiveStatementsAsync(
RemoteServiceCallbackId
callbackId, CancellationToken cancellationToken);
21
ValueTask<ManagedHotReloadAvailability> GetAvailabilityAsync(
RemoteServiceCallbackId
callbackId, Guid mvid, CancellationToken cancellationToken);
22
ValueTask<ImmutableArray<string>> GetCapabilitiesAsync(
RemoteServiceCallbackId
callbackId, CancellationToken cancellationToken);
23
ValueTask PrepareModuleForUpdateAsync(
RemoteServiceCallbackId
callbackId, Guid mvid, CancellationToken cancellationToken);
25
ValueTask<ImmutableArray<ActiveStatementSpan>> GetSpansAsync(
RemoteServiceCallbackId
callbackId, DocumentId? documentId, string filePath, CancellationToken cancellationToken);
26
ValueTask<string?> TryGetMatchingSourceTextAsync(
RemoteServiceCallbackId
callbackId, string filePath, ImmutableArray<byte> requiredChecksum, SourceHashAlgorithm checksumAlgorithm, CancellationToken cancellationToken);
29
ValueTask<ImmutableArray<DiagnosticData>> GetDocumentDiagnosticsAsync(Checksum solutionChecksum,
RemoteServiceCallbackId
callbackId, DocumentId documentId, CancellationToken cancellationToken);
30
ValueTask<EmitSolutionUpdateResults.Data> EmitSolutionUpdateAsync(Checksum solutionChecksum,
RemoteServiceCallbackId
callbackId, DebuggingSessionId sessionId, CancellationToken cancellationToken);
38
ValueTask<DebuggingSessionId> StartDebuggingSessionAsync(Checksum solutionChecksum,
RemoteServiceCallbackId
callbackId, ImmutableArray<DocumentId> captureMatchingDocuments, bool captureAllMatchingDocuments, bool reportDiagnostics, CancellationToken cancellationToken);
50
ValueTask<ImmutableArray<ActiveStatementSpan>> GetAdjustedActiveStatementSpansAsync(Checksum solutionChecksum,
RemoteServiceCallbackId
callbackId, DebuggingSessionId sessionId, DocumentId documentId, CancellationToken cancellationToken);
53
ValueTask<LinePositionSpan?> GetCurrentActiveStatementPositionAsync(Checksum solutionChecksum,
RemoteServiceCallbackId
callbackId, DebuggingSessionId sessionId, ManagedInstructionId instructionId, CancellationToken cancellationToken);
EditAndContinue\Remote\RemoteEditAndContinueServiceProxy.cs (6)
37
public ValueTask<ImmutableArray<ActiveStatementSpan>> GetSpansAsync(
RemoteServiceCallbackId
callbackId, DocumentId? documentId, string filePath, CancellationToken cancellationToken)
40
public ValueTask<string?> TryGetMatchingSourceTextAsync(
RemoteServiceCallbackId
callbackId, string filePath, ImmutableArray<byte> requiredChecksum, SourceHashAlgorithm checksumAlgorithm, CancellationToken cancellationToken)
43
public ValueTask<ImmutableArray<ManagedActiveStatementDebugInfo>> GetActiveStatementsAsync(
RemoteServiceCallbackId
callbackId, CancellationToken cancellationToken)
46
public ValueTask<ManagedHotReloadAvailability> GetAvailabilityAsync(
RemoteServiceCallbackId
callbackId, Guid mvid, CancellationToken cancellationToken)
49
public ValueTask<ImmutableArray<string>> GetCapabilitiesAsync(
RemoteServiceCallbackId
callbackId, CancellationToken cancellationToken)
52
public ValueTask PrepareModuleForUpdateAsync(
RemoteServiceCallbackId
callbackId, Guid mvid, CancellationToken cancellationToken)
EncapsulateField\IRemoteEncapsulateFieldService.cs (3)
25
ValueTask<CleanCodeGenerationOptions> GetOptionsAsync(
RemoteServiceCallbackId
callbackId, string language, CancellationToken cancellationToken);
30
RemoteServiceCallbackId
callbackId,
46
public ValueTask<CleanCodeGenerationOptions> GetOptionsAsync(
RemoteServiceCallbackId
callbackId, string language, CancellationToken cancellationToken)
FindUsages\IRemoteFindUsagesService.cs (19)
26
ValueTask<FindUsagesOptions> GetOptionsAsync(
RemoteServiceCallbackId
callbackId, string language, CancellationToken cancellationToken);
27
ValueTask AddItemsAsync(
RemoteServiceCallbackId
callbackId, int count, CancellationToken cancellationToken);
28
ValueTask ItemsCompletedAsync(
RemoteServiceCallbackId
callbackId, int count, CancellationToken cancellationToken);
29
ValueTask ReportMessageAsync(
RemoteServiceCallbackId
callbackId, string message, CancellationToken cancellationToken);
30
ValueTask ReportInformationalMessageAsync(
RemoteServiceCallbackId
callbackId, string message, CancellationToken cancellationToken);
31
ValueTask SetSearchTitleAsync(
RemoteServiceCallbackId
callbackId, string title, CancellationToken cancellationToken);
32
ValueTask OnDefinitionFoundAsync(
RemoteServiceCallbackId
callbackId, SerializableDefinitionItem definition, CancellationToken cancellationToken);
33
ValueTask OnReferenceFoundAsync(
RemoteServiceCallbackId
callbackId, SerializableSourceReferenceItem reference, CancellationToken cancellationToken);
38
RemoteServiceCallbackId
callbackId,
45
RemoteServiceCallbackId
callbackId,
59
private new FindUsagesServerCallback GetCallback(
RemoteServiceCallbackId
callbackId)
62
public ValueTask<FindUsagesOptions> GetOptionsAsync(
RemoteServiceCallbackId
callbackId, string language, CancellationToken cancellationToken)
65
public ValueTask AddItemsAsync(
RemoteServiceCallbackId
callbackId, int count, CancellationToken cancellationToken)
68
public ValueTask ItemsCompletedAsync(
RemoteServiceCallbackId
callbackId, int count, CancellationToken cancellationToken)
71
public ValueTask OnDefinitionFoundAsync(
RemoteServiceCallbackId
callbackId, SerializableDefinitionItem definition, CancellationToken cancellationToken)
74
public ValueTask OnReferenceFoundAsync(
RemoteServiceCallbackId
callbackId, SerializableSourceReferenceItem reference, CancellationToken cancellationToken)
77
public ValueTask ReportMessageAsync(
RemoteServiceCallbackId
callbackId, string message, CancellationToken cancellationToken)
80
public ValueTask ReportInformationalMessageAsync(
RemoteServiceCallbackId
callbackId, string message, CancellationToken cancellationToken)
83
public ValueTask SetSearchTitleAsync(
RemoteServiceCallbackId
callbackId, string title, CancellationToken cancellationToken)
NavigateTo\IRemoteNavigateToSearchService.cs (7)
19
ValueTask SearchDocumentAsync(Checksum solutionChecksum, DocumentId documentId, string searchPattern, ImmutableArray<string> kinds,
RemoteServiceCallbackId
callbackId, CancellationToken cancellationToken);
20
ValueTask SearchProjectAsync(Checksum solutionChecksum, ProjectId projectId, ImmutableArray<DocumentId> priorityDocumentIds, string searchPattern, ImmutableArray<string> kinds,
RemoteServiceCallbackId
callbackId, CancellationToken cancellationToken);
22
ValueTask SearchGeneratedDocumentsAsync(Checksum solutionChecksum, ProjectId projectId, string searchPattern, ImmutableArray<string> kinds,
RemoteServiceCallbackId
callbackId, CancellationToken cancellationToken);
23
ValueTask SearchCachedDocumentsAsync(ImmutableArray<DocumentKey> documentKeys, ImmutableArray<DocumentKey> priorityDocumentKeys, string searchPattern, ImmutableArray<string> kinds,
RemoteServiceCallbackId
callbackId, CancellationToken cancellationToken);
29
ValueTask OnResultFoundAsync(
RemoteServiceCallbackId
callbackId, RoslynNavigateToItem result);
42
private new NavigateToSearchServiceCallback GetCallback(
RemoteServiceCallbackId
callbackId)
45
public ValueTask OnResultFoundAsync(
RemoteServiceCallbackId
callbackId, RoslynNavigateToItem result)
Microsoft.CodeAnalysis.Remote.ServiceHub (48)
Services\ClientOptionProviders.cs (8)
24
private readonly Func<
RemoteServiceCallbackId
, string, CancellationToken, ValueTask<TOptions>> _callback;
25
private readonly
RemoteServiceCallbackId
_callbackId;
29
public RemoteOptionsProviderCache(Func<
RemoteServiceCallbackId
, string, CancellationToken, ValueTask<TOptions>> callback,
RemoteServiceCallbackId
callbackId)
49
public ClientCleanCodeGenerationOptionsProvider(Func<
RemoteServiceCallbackId
, string, CancellationToken, ValueTask<CleanCodeGenerationOptions>> callback,
RemoteServiceCallbackId
callbackId)
60
public ClientCodeCleanupOptionsProvider(Func<
RemoteServiceCallbackId
, string, CancellationToken, ValueTask<CodeCleanupOptions>> callback,
RemoteServiceCallbackId
callbackId)
Services\ConvertTupleToStructCodeRefactoringProvider\RemoteConvertTupleToStructCodeRefactoringService.cs (2)
37
private CleanCodeGenerationOptionsProvider GetClientOptionsProvider(
RemoteServiceCallbackId
callbackId)
43
RemoteServiceCallbackId
callbackId,
Services\DesignerAttributeDiscovery\RemoteDesignerAttributeDiscoveryService.cs (3)
17
private readonly
RemoteServiceCallbackId
_callbackId;
21
RemoteServiceCallbackId
callbackId)
46
RemoteServiceCallbackId
callbackId,
Services\EditAndContinue\RemoteEditAndContinueService.cs (10)
32
private readonly
RemoteServiceCallbackId
_callbackId;
34
public ManagedEditAndContinueDebuggerService(RemoteCallback<IRemoteEditAndContinueService.ICallback> callback,
RemoteServiceCallbackId
callbackId)
56
private readonly
RemoteServiceCallbackId
_callbackId;
58
public SourceTextProvider(RemoteCallback<IRemoteEditAndContinueService.ICallback> callback,
RemoteServiceCallbackId
callbackId)
79
private ActiveStatementSpanProvider CreateActiveStatementSpanProvider(
RemoteServiceCallbackId
callbackId)
85
public ValueTask<DebuggingSessionId> StartDebuggingSessionAsync(Checksum solutionChecksum,
RemoteServiceCallbackId
callbackId, ImmutableArray<DocumentId> captureMatchingDocuments, bool captureAllMatchingDocuments, bool reportDiagnostics, CancellationToken cancellationToken)
124
public ValueTask<ImmutableArray<DiagnosticData>> GetDocumentDiagnosticsAsync(Checksum solutionChecksum,
RemoteServiceCallbackId
callbackId, DocumentId documentId, CancellationToken cancellationToken)
146
Checksum solutionChecksum,
RemoteServiceCallbackId
callbackId, DebuggingSessionId sessionId, CancellationToken cancellationToken)
207
public ValueTask<ImmutableArray<ActiveStatementSpan>> GetAdjustedActiveStatementSpansAsync(Checksum solutionChecksum,
RemoteServiceCallbackId
callbackId, DebuggingSessionId sessionId, DocumentId documentId, CancellationToken cancellationToken)
230
public ValueTask<LinePositionSpan?> GetCurrentActiveStatementPositionAsync(Checksum solutionChecksum,
RemoteServiceCallbackId
callbackId, DebuggingSessionId sessionId, ManagedInstructionId instructionId, CancellationToken cancellationToken)
Services\EncapsulateField\RemoteEncapsulateFieldService.cs (2)
37
private CleanCodeGenerationOptionsProvider GetClientOptionsProvider(
RemoteServiceCallbackId
callbackId)
43
RemoteServiceCallbackId
callbackId,
Services\FindUsages\RemoteFindUsagesService.cs (4)
33
RemoteServiceCallbackId
callbackId,
56
RemoteServiceCallbackId
callbackId,
78
private readonly
RemoteServiceCallbackId
_callbackId;
81
public RemoteFindUsageContext(RemoteCallback<IRemoteFindUsagesService.ICallback> callback,
RemoteServiceCallbackId
callbackId)
Services\MissingImportDiscovery\RemoteMissingImportDiscoveryService.cs (4)
34
RemoteServiceCallbackId
callbackId,
62
RemoteServiceCallbackId
callbackId,
100
private readonly
RemoteServiceCallbackId
_callbackId;
102
public SymbolSearchService(RemoteCallback<IRemoteMissingImportDiscoveryService.ICallback> callback,
RemoteServiceCallbackId
callbackId)
Services\NavigateToSearch\RemoteNavigateToSearchService.cs (5)
34
RemoteServiceCallbackId
callbackId, CancellationToken cancellationToken)
55
RemoteServiceCallbackId
callbackId,
74
RemoteServiceCallbackId
callbackId,
94
RemoteServiceCallbackId
callbackId,
107
public ValueTask SearchCachedDocumentsAsync(ImmutableArray<DocumentKey> documentKeys, ImmutableArray<DocumentKey> priorityDocumentKeys, string searchPattern, ImmutableArray<string> kinds,
RemoteServiceCallbackId
callbackId, CancellationToken cancellationToken)
Services\Renamer\RemoteRenamerService.cs (4)
31
private CodeCleanupOptionsProvider GetClientOptionsProvider(
RemoteServiceCallbackId
callbackId)
37
RemoteServiceCallbackId
callbackId,
63
RemoteServiceCallbackId
callbackId,
89
RemoteServiceCallbackId
callbackId,
Services\SymbolFinder\RemoteSymbolFinderService.cs (6)
38
RemoteServiceCallbackId
callbackId,
71
public ValueTask FindLiteralReferencesAsync(Checksum solutionChecksum,
RemoteServiceCallbackId
callbackId, object value, TypeCode typeCode, CancellationToken cancellationToken)
178
private readonly
RemoteServiceCallbackId
_callbackId;
182
public FindLiteralReferencesProgressCallback(RemoteCallback<IRemoteSymbolFinderService.ICallback> callback,
RemoteServiceCallbackId
callbackId)
203
private readonly
RemoteServiceCallbackId
_callbackId;
207
public FindReferencesProgressCallback(Solution solution, RemoteCallback<IRemoteSymbolFinderService.ICallback> callback,
RemoteServiceCallbackId
callbackId)
Microsoft.CodeAnalysis.Remote.Workspaces (12)
BrokeredServiceConnection.cs (6)
135
public override async ValueTask<bool> TryInvokeAsync(Func<TService,
RemoteServiceCallbackId
, CancellationToken, ValueTask> invocation, CancellationToken cancellationToken)
152
public override async ValueTask<Optional<TResult>> TryInvokeAsync<TResult>(Func<TService,
RemoteServiceCallbackId
, CancellationToken, ValueTask<TResult>> invocation, CancellationToken cancellationToken)
236
public override async ValueTask<bool> TryInvokeAsync(Solution solution, Func<TService, Checksum,
RemoteServiceCallbackId
, CancellationToken, ValueTask> invocation, CancellationToken cancellationToken)
255
public override async ValueTask<Optional<TResult>> TryInvokeAsync<TResult>(Solution solution, Func<TService, Checksum,
RemoteServiceCallbackId
, CancellationToken, ValueTask<TResult>> invocation, CancellationToken cancellationToken)
274
public override async ValueTask<bool> TryInvokeAsync(Project project, Func<TService, Checksum,
RemoteServiceCallbackId
, CancellationToken, ValueTask> invocation, CancellationToken cancellationToken)
293
public override async ValueTask<Optional<TResult>> TryInvokeAsync<TResult>(Project project, Func<TService, Checksum,
RemoteServiceCallbackId
, CancellationToken, ValueTask<TResult>> invocation, CancellationToken cancellationToken)
ExternalAccess\Pythia\Api\PythiaRemoteServiceCallbackIdWrapper.cs (3)
14
internal
RemoteServiceCallbackId
UnderlyingObject { get; }
16
public PythiaRemoteServiceCallbackIdWrapper(
RemoteServiceCallbackId
underlyingObject)
19
public static implicit operator PythiaRemoteServiceCallbackIdWrapper(
RemoteServiceCallbackId
id)
ExternalAccess\UnitTesting\Api\UnitTestingRemoteServiceCallbackIdWrapper.cs (3)
14
internal
RemoteServiceCallbackId
UnderlyingObject { get; }
16
public UnitTestingRemoteServiceCallbackIdWrapper(
RemoteServiceCallbackId
underlyingObject)
19
public static implicit operator UnitTestingRemoteServiceCallbackIdWrapper(
RemoteServiceCallbackId
id)
Microsoft.CodeAnalysis.Workspaces (59)
FindSymbols\IRemoteSymbolFinderService.cs (13)
18
ValueTask AddReferenceItemsAsync(
RemoteServiceCallbackId
callbackId, int count, CancellationToken cancellationToken);
19
ValueTask ReferenceItemsCompletedAsync(
RemoteServiceCallbackId
callbackId, int count, CancellationToken cancellationToken);
20
ValueTask OnStartedAsync(
RemoteServiceCallbackId
callbackId, CancellationToken cancellationToken);
21
ValueTask OnCompletedAsync(
RemoteServiceCallbackId
callbackId, CancellationToken cancellationToken);
22
ValueTask OnFindInDocumentStartedAsync(
RemoteServiceCallbackId
callbackId, DocumentId documentId, CancellationToken cancellationToken);
23
ValueTask OnFindInDocumentCompletedAsync(
RemoteServiceCallbackId
callbackId, DocumentId documentId, CancellationToken cancellationToken);
24
ValueTask OnDefinitionFoundAsync(
RemoteServiceCallbackId
callbackId, SerializableSymbolGroup group, CancellationToken cancellationToken);
25
ValueTask OnReferenceFoundAsync(
RemoteServiceCallbackId
callbackId, SerializableSymbolGroup group, SerializableSymbolAndProjectId definition, SerializableReferenceLocation reference, CancellationToken cancellationToken);
27
ValueTask AddLiteralItemsAsync(
RemoteServiceCallbackId
callbackId, int count, CancellationToken cancellationToken);
28
ValueTask LiteralItemsCompletedAsync(
RemoteServiceCallbackId
callbackId, int count, CancellationToken cancellationToken);
29
ValueTask OnLiteralReferenceFoundAsync(
RemoteServiceCallbackId
callbackId, DocumentId documentId, TextSpan span, CancellationToken cancellationToken);
32
ValueTask FindReferencesAsync(Checksum solutionChecksum,
RemoteServiceCallbackId
callbackId, SerializableSymbolAndProjectId symbolAndProjectIdArg, ImmutableArray<DocumentId> documentArgs,
35
ValueTask FindLiteralReferencesAsync(Checksum solutionChecksum,
RemoteServiceCallbackId
callbackId, object value, TypeCode typeCode, CancellationToken cancellationToken);
FindSymbols\SymbolFinder.CallbackDispatcher.cs (13)
26
private FindLiteralsServerCallback GetFindLiteralsCallback(
RemoteServiceCallbackId
callbackId)
29
private FindReferencesServerCallback GetFindReferencesCallback(
RemoteServiceCallbackId
callbackId)
34
public ValueTask AddReferenceItemsAsync(
RemoteServiceCallbackId
callbackId, int count, CancellationToken cancellationToken)
37
public ValueTask ReferenceItemsCompletedAsync(
RemoteServiceCallbackId
callbackId, int count, CancellationToken cancellationToken)
40
public ValueTask OnCompletedAsync(
RemoteServiceCallbackId
callbackId, CancellationToken cancellationToken)
43
public ValueTask OnDefinitionFoundAsync(
RemoteServiceCallbackId
callbackId, SerializableSymbolGroup symbolGroup, CancellationToken cancellationToken)
46
public ValueTask OnFindInDocumentCompletedAsync(
RemoteServiceCallbackId
callbackId, DocumentId documentId, CancellationToken cancellationToken)
49
public ValueTask OnFindInDocumentStartedAsync(
RemoteServiceCallbackId
callbackId, DocumentId documentId, CancellationToken cancellationToken)
52
public ValueTask OnReferenceFoundAsync(
RemoteServiceCallbackId
callbackId, SerializableSymbolGroup symbolGroup, SerializableSymbolAndProjectId definition, SerializableReferenceLocation reference, CancellationToken cancellationToken)
55
public ValueTask OnStartedAsync(
RemoteServiceCallbackId
callbackId, CancellationToken cancellationToken)
60
public ValueTask AddLiteralItemsAsync(
RemoteServiceCallbackId
callbackId, int count, CancellationToken cancellationToken)
63
public ValueTask LiteralItemsCompletedAsync(
RemoteServiceCallbackId
callbackId, int count, CancellationToken cancellationToken)
66
public ValueTask OnLiteralReferenceFoundAsync(
RemoteServiceCallbackId
callbackId, DocumentId documentId, TextSpan span, CancellationToken cancellationToken)
Remote\RemoteHostClient.cs (8)
86
Func<TService,
RemoteServiceCallbackId
, CancellationToken, ValueTask> invocation,
96
Func<TService,
RemoteServiceCallbackId
, CancellationToken, ValueTask<TResult>> invocation,
165
Func<TService, Checksum,
RemoteServiceCallbackId
, CancellationToken, ValueTask> invocation,
176
Func<TService, Checksum,
RemoteServiceCallbackId
, CancellationToken, ValueTask<TResult>> invocation,
188
/// Equivalent to <see cref="TryInvokeAsync{TService}(Solution, Func{TService, Checksum,
RemoteServiceCallbackId
, CancellationToken, ValueTask}, object, CancellationToken)"/>
195
Func<TService, Checksum,
RemoteServiceCallbackId
, CancellationToken, ValueTask> invocation,
205
/// Equivalent to <see cref="TryInvokeAsync{TService}(Solution, Func{TService, Checksum,
RemoteServiceCallbackId
, CancellationToken, ValueTask}, object, CancellationToken)"/>
212
Func<TService, Checksum,
RemoteServiceCallbackId
, CancellationToken, ValueTask<TResult>> invocation,
Remote\RemoteServiceCallbackDispatcher.cs (7)
21
private readonly ConcurrentDictionary<
RemoteServiceCallbackId
, object> _callbackInstances;
22
public readonly
RemoteServiceCallbackId
Id;
24
public Handle(ConcurrentDictionary<
RemoteServiceCallbackId
, object> callbackInstances,
RemoteServiceCallbackId
callbackId)
37
private readonly ConcurrentDictionary<
RemoteServiceCallbackId
, object> _callbackInstances = new(concurrencyLevel: 2, capacity: 10);
46
var
callbackId = new RemoteServiceCallbackId(Interlocked.Increment(ref _callbackId));
52
public object GetCallback(
RemoteServiceCallbackId
callbackId)
Remote\RemoteServiceCallbackId.cs (7)
11
internal readonly struct RemoteServiceCallbackId : IEquatable<
RemoteServiceCallbackId
>
20
=> obj is
RemoteServiceCallbackId
id && Equals(id);
22
public bool Equals(
RemoteServiceCallbackId
other)
28
public static bool operator ==(
RemoteServiceCallbackId
left,
RemoteServiceCallbackId
right)
31
public static bool operator !=(
RemoteServiceCallbackId
left,
RemoteServiceCallbackId
right)
Remote\RemoteServiceConnection.cs (6)
36
Func<TService,
RemoteServiceCallbackId
, CancellationToken, ValueTask> invocation,
40
Func<TService,
RemoteServiceCallbackId
, CancellationToken, ValueTask<TResult>> invocation,
71
Func<TService, Checksum,
RemoteServiceCallbackId
, CancellationToken, ValueTask> invocation,
76
Func<TService, Checksum,
RemoteServiceCallbackId
, CancellationToken, ValueTask<TResult>> invocation,
83
Func<TService, Checksum,
RemoteServiceCallbackId
, CancellationToken, ValueTask> invocation,
88
Func<TService, Checksum,
RemoteServiceCallbackId
, CancellationToken, ValueTask<TResult>> invocation,
Rename\IRemoteRenamerService.cs (5)
28
ValueTask<CodeCleanupOptions> GetOptionsAsync(
RemoteServiceCallbackId
callbackId, string language, CancellationToken cancellationToken);
38
RemoteServiceCallbackId
callbackId,
47
RemoteServiceCallbackId
callbackId,
54
RemoteServiceCallbackId
callbackId,
71
public ValueTask<CodeCleanupOptions> GetOptionsAsync(
RemoteServiceCallbackId
callbackId, string language, CancellationToken cancellationToken)