1 instantiation of RequestTelemetryLogger
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Telemetry\RequestTelemetryLoggerFactory.cs (1)
22return new RequestTelemetryLogger(serverKind.ToTelemetryString());
15 references to RequestTelemetryLogger
Microsoft.CodeAnalysis.LanguageServer.Protocol (15)
Handler\Telemetry\RequestTelemetryLoggerFactory.cs (1)
11[ExportCSharpVisualBasicLspServiceFactory(typeof(RequestTelemetryLogger)), Shared]
LspServices\RequestTelemetryScope.cs (7)
13internal sealed class RequestTelemetryScope(string name, RequestTelemetryLogger telemetryLogger) 16private readonly RequestTelemetryLogger _telemetryLogger = telemetryLogger; 17private RequestTelemetryLogger.Result _result = RequestTelemetryLogger.Result.Succeeded; 28_result = RequestTelemetryLogger.Result.Cancelled; 36_result = RequestTelemetryLogger.Result.Failed; 41_result = RequestTelemetryLogger.Result.Failed;
LspServices\TelemetryService.cs (3)
12private readonly RequestTelemetryLogger _requestTelemetryLogger; 16var requestTelemetryLogger = lspServices.GetRequiredService<RequestTelemetryLogger>();
Workspaces\LspWorkspaceManager.cs (2)
121private readonly RequestTelemetryLogger _requestTelemetryLogger; 128RequestTelemetryLogger requestTelemetryLogger)
Workspaces\LspWorkspaceManagerFactory.cs (2)
30var telemetryLogger = lspServices.GetRequiredService<RequestTelemetryLogger>();