5 references to ThrowIfFalse
Microsoft.CodeAnalysis.InteractiveHost (5)
Interactive\Core\InteractiveHost.Service.cs (1)
500
Contract.
ThrowIfFalse
(initializationFilePath == null || PathUtilities.IsAbsolute(initializationFilePath));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (1)
152
Contract.
ThrowIfFalse
(Monitor.IsEntered(asyncLazy.SyncObject));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\NonReentrantLock.cs (1)
172
=> Contract.
ThrowIfFalse
(LockHeldByMe());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\TaskExtensions.cs (2)
116
Contract.
ThrowIfFalse
(task.IsCompleted);
132
Contract.
ThrowIfFalse
(task.IsCompleted);