8 references to ThrowIfTrue
Microsoft.CodeAnalysis.InteractiveHost (8)
AsyncLazy`1.cs (6)
150
Contract.
ThrowIfTrue
(_asynchronousComputationCancellationSource != null &&
154
Contract.
ThrowIfTrue
(_requests != null &&
159
Contract.
ThrowIfTrue
(_requests != null &&
163
Contract.
ThrowIfTrue
(_cachedResult != null &&
168
Contract.
ThrowIfTrue
(_asynchronousComputeFunction == null && _synchronousComputeFunction != null);
360
Contract.
ThrowIfTrue
(_computationActive);
Interactive\Core\InteractiveHost.cs (2)
404
Contract.
ThrowIfTrue
(referenceSearchPaths.IsDefault);
405
Contract.
ThrowIfTrue
(sourceSearchPaths.IsDefault);