12 references to GetService
Microsoft.CodeAnalysis.Remote.ServiceHub (12)
Services\EditAndContinue\RemoteEditAndContinueService.cs (12)
92var sessionId = await GetService().StartDebuggingSessionAsync(solution, debuggerService, sourceTextProvider, captureMatchingDocuments, captureAllMatchingDocuments, reportDiagnostics, cancellationToken).ConfigureAwait(false); 104GetService().BreakStateOrCapabilitiesChanged(sessionId, inBreakState, out var documentsToReanalyze); 116GetService().EndDebuggingSession(sessionId, out var documentsToReanalyze); 132var diagnostics = await GetService().GetDocumentDiagnosticsAsync(document, CreateActiveStatementSpanProvider(callbackId), cancellationToken).ConfigureAwait(false); 150var service = GetService(); 176GetService().CommitSolutionUpdate(sessionId, out var documentsToReanalyze); 188GetService().DiscardSolutionUpdate(sessionId); 200return await GetService().GetBaseActiveStatementSpansAsync(sessionId, solution, documentIds, cancellationToken).ConfigureAwait(false); 212return await GetService().GetAdjustedActiveStatementSpansAsync(sessionId, document, CreateActiveStatementSpanProvider(callbackId), cancellationToken).ConfigureAwait(false); 223return await GetService().IsActiveStatementInExceptionRegionAsync(sessionId, solution, instructionId, cancellationToken).ConfigureAwait(false); 234return await GetService().GetCurrentActiveStatementPositionAsync(sessionId, solution, CreateActiveStatementSpanProvider(callbackId), instructionId, cancellationToken).ConfigureAwait(false); 245GetService().SetFileLoggingDirectory(logDirectory);