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