7 references to LspErrorCodes
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Handler\CodeLens\CodeLensResolveHandler.cs (1)
64ErrorCode = LspErrorCodes.ContentModified
Handler\InlayHint\InlayHintResolveHandler.cs (1)
57ErrorCode = LspErrorCodes.ContentModified
LspServices\RequestTelemetryScope.cs (1)
53if (exception is StreamJsonRpc.LocalRpcException localRpcException && localRpcException.ErrorCode == LspErrorCodes.ContentModified)
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\QueueItem.cs (1)
237if (ex is LocalRpcException { ErrorCode: LspErrorCodes.ContentModified })
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
HandlerTests.cs (1)
184var response = Task.FromException<TestConfigurableResponse>(new StreamJsonRpc.LocalRpcException(nameof(HandlerTests)) { ErrorCode = LspErrorCodes.ContentModified });
Microsoft.CommonLanguageServerProtocol.Framework.UnitTests (2)
QueueItemTests.cs (2)
47Assert.Equal(LspErrorCodes.ContentModified, exception.ErrorCode); 63throw new LocalRpcException(ErrorMessage) { ErrorCode = LspErrorCodes.ContentModified };