6 references to ThrowIfTrue
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (6)
Rpc\Contracts\MonoMSBuildDiscovery.cs (4)
73Contract.ThrowIfTrue(PlatformInformation.IsWindows); 97Contract.ThrowIfTrue(PlatformInformation.IsWindows); 134Contract.ThrowIfTrue(PlatformInformation.IsWindows); 167Contract.ThrowIfTrue(PlatformInformation.IsWindows);
Rpc\RpcServer.cs (1)
173Contract.ThrowIfTrue(responseJson.Contains("\r") || responseJson.Contains("\n"));
src\Dependencies\Collections\Extensions\FixedSizeArrayBuilder.cs (1)
64Contract.ThrowIfTrue(condition, lineNumber, filePath);