5 references to ThrowIfTrue
Microsoft.CodeAnalysis.InteractiveHost (5)
Interactive\Core\InteractiveHost.cs (2)
403
Contract.
ThrowIfTrue
(referenceSearchPaths.IsDefault);
404
Contract.
ThrowIfTrue
(sourceSearchPaths.IsDefault);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (3)
165
Contract.
ThrowIfTrue
(_requests != null &&
174
Contract.
ThrowIfTrue
(_cachedResult != null &&
179
Contract.
ThrowIfTrue
(_asynchronousComputeFunction == null && _synchronousComputeFunction != null);