12 references to Fail
Microsoft.CodeAnalysis.Workspaces (12)
Editing\SyntaxEditor.cs (1)
253
Contract.
Fail
($"GetCurrentNode returned null with the following node: {OriginalNode}");
Remote\IRemoteKeepAliveService.cs (1)
73
Contract.
Fail
("Should have been disposed!");
src\Dependencies\Contracts\Contract.cs (10)
34
Fail
("Unexpected null", lineNumber, filePath);
47
Fail
("Unexpected null", lineNumber, filePath);
60
Fail
(message, lineNumber, filePath);
73
Fail
(message.GetFormattedText(), lineNumber, filePath);
86
Fail
("Unexpected false", lineNumber, filePath);
99
Fail
(message, lineNumber, filePath);
112
Fail
(message.GetFormattedText(), lineNumber, filePath);
125
Fail
("Unexpected true", lineNumber, filePath);
138
Fail
(message, lineNumber, filePath);
151
Fail
(message.GetFormattedText(), lineNumber, filePath);