2 references to ThrowIfNull
Microsoft.CodeAnalysis.InteractiveHost (2)
Interactive\Core\InteractiveHost.Service.cs (1)
183
Contract.
ThrowIfNull
(_serviceState, "Service not initialized");
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (1)
312
Contract.
ThrowIfNull
(_cachedResult, $"We called {nameof(CompleteWithTask)} with a result, there should be a cached result.");