19 references to Fail
Microsoft.CodeAnalysis.EditorFeatures (4)
EditAndContinue\ActiveStatementTrackingService.cs (1)
74Contract.Fail("Can only track active statements for a single edit session.");
FindUsages\BufferedFindUsagesContext.cs (1)
214Contract.Fail("GoToImpl/Base should never report a reference.");
Shared\Tagging\Utilities\TagSpanIntervalTree.cs (1)
96Contract.Fail(tag + " doesn't intersects with any requested span");
Tagging\AbstractAsynchronousTaggerProvider.TagSource_ReferenceCounting.cs (1)
24Contract.Fail($@"Should have been disposed!
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Completion\CompletionResolveHandler.cs (1)
186Contract.Fail("Result id should always be provided when resolving a completion item we returned.");
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Simplification\Simplifiers\ExpressionSimplifier.vb (1)
202Contract.Fail("QualifiedName Left = " + qualifiedName.Left.ToString() + " and QualifiedName Right = " + qualifiedName.Right.ToString() + " . Left is tried to be replaced with the PredefinedType " + replacementNode.ToString())
Microsoft.CodeAnalysis.Workspaces (12)
Contract.cs (10)
29Fail("Unexpected null", lineNumber); 42Fail("Unexpected null", lineNumber); 55Fail(message, lineNumber); 68Fail(message.GetFormattedText(), lineNumber); 81Fail("Unexpected false", lineNumber); 94Fail(message, lineNumber); 107Fail(message.GetFormattedText(), lineNumber); 120Fail("Unexpected true", lineNumber); 133Fail(message, lineNumber); 146Fail(message.GetFormattedText(), lineNumber);
Editing\SyntaxEditor.cs (1)
258Contract.Fail($"GetCurrentNode returned null with the following node: {OriginalNode}");
Remote\IRemoteKeepAliveService.cs (1)
59Contract.Fail("Should have been disposed!");
Microsoft.VisualStudio.LanguageServices (1)
LanguageClient\LogHubLspLogger.cs (1)
31Contract.Fail($"{GetType().FullName} was double disposed");