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)
12internal sealed class RequestTelemetryScope(string name, RequestTelemetryLogger telemetryLogger) 15private readonly RequestTelemetryLogger _telemetryLogger = telemetryLogger; 16private RequestTelemetryLogger.Result _result = RequestTelemetryLogger.Result.Succeeded; 27_result = RequestTelemetryLogger.Result.Cancelled; 32_result = RequestTelemetryLogger.Result.Failed; 37_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>();