15 references to Fail
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Handler\CodeActions\CodeActionResolveHelper.cs (1)
251Contract.Fail($"Can't find uri for document: {newTextDoc.Name}.");
Handler\Completion\CompletionResolveHandler.cs (1)
131Contract.Fail("Document should always be provided when resolving a completion item request.");
Handler\Completion\Extensions.cs (1)
57Contract.Fail("Result id should always be provided when resolving a completion item we returned.");
Microsoft.CodeAnalysis.Workspaces (12)
Editing\SyntaxEditor.cs (1)
253Contract.Fail($"GetCurrentNode returned null with the following node: {OriginalNode}");
Remote\IRemoteKeepAliveService.cs (1)
224Contract.Fail("Should have been disposed!");
src\Dependencies\Contracts\Contract.cs (10)
34Fail("Unexpected null", lineNumber, filePath); 47Fail("Unexpected null", lineNumber, filePath); 60Fail(message, lineNumber, filePath); 73Fail(message.GetFormattedText(), lineNumber, filePath); 86Fail("Unexpected false", lineNumber, filePath); 99Fail(message, lineNumber, filePath); 112Fail(message.GetFormattedText(), lineNumber, filePath); 125Fail("Unexpected true", lineNumber, filePath); 138Fail(message, lineNumber, filePath); 151Fail(message.GetFormattedText(), lineNumber, filePath);