20 references to Throw
Microsoft.Build (13)
BackEnd\BuildManager\BuildSubmission.cs (1)
233InternalError.Throw($"BuildResult configuration ({result.ConfigurationId}) doesn't match BuildRequest configuration ({BuildRequest?.ConfigurationId})");
BackEnd\Client\MSBuildClientPacketPump.cs (1)
263InternalError.Throw($"Incomplete header read. {headerBytesRead} of {headerByte.Length} bytes read");
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
340InternalError.Throw($"Failure during engine shutdown. Exception: {e}");
BackEnd\Components\Communications\NodeProviderInProc.cs (1)
440InternalError.Throw($"Unexpected shutdown code {reason} received.");
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (1)
612InternalError.Throw($"Unexpected console output type {consoleWrite.OutputType}");
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
645InternalError.Throw($"Unknown plugin type: {plugin.Name}");
BackEnd\Components\Scheduler\SchedulableRequest.cs (1)
464InternalError.Throw($"State {_state} is not one of the expected states.");
Construction\ProjectElement.cs (1)
509InternalError.Throw($"{GetType().Name}.Clone() returned an instance of type {clone.GetType().Name}.");
Instance\TaskFactories\AssemblyTaskFactory.cs (2)
615InternalError.Throw($"How did we get two runtime values that were unmergeable? TaskIdentity Runtime: {taskIdentityParameters.Runtime}, FactoryIdentity Runtime: {factoryIdentityParameters.Runtime}."); 620InternalError.Throw($"How did we get two architecture values that were unmergeable? TaskIdentity Architecture: {taskIdentityParameters.Architecture}, FactoryIdentity Architecture: {factoryIdentityParameters.Architecture}.");
Instance\TaskFactories\TaskHostTask.cs (1)
830InternalError.Throw($"HandleBuildRequest requires IBuildEngine3 but _buildEngine is {_buildEngine?.GetType().Name ?? "null"}");
parent\Shared\LogMessagePacketBase.cs (1)
772InternalError.Throw($"Not Supported LoggingEventType {eventType}");
parent\Shared\NodeEndpointOutOfProcBase.cs (1)
929InternalError.Throw($"waitId {waitId} out of range.");
Microsoft.Build.Framework (1)
ErrorUtilities.cs (1)
28InternalError.Throw($"{value} unexpectedly not a rooted path");
Microsoft.Build.Tasks.Core (1)
parent\Shared\LogMessagePacketBase.cs (1)
772InternalError.Throw($"Not Supported LoggingEventType {eventType}");
MSBuild (5)
OutOfProcTaskHostNode.cs (3)
999InternalError.Throw($"HandleCallbackResponse called with non-callback packet type: {packet.GetType().Name}"); 1021InternalError.Throw($"TaskHost received callback response with no pending request. RequestId={callbackPacket.RequestId}, Type={packet.Type}"); 1166InternalError.Throw($"Task ID {taskId} already exists in TaskHost.");
parent\Shared\LogMessagePacketBase.cs (1)
772InternalError.Throw($"Not Supported LoggingEventType {eventType}");
parent\Shared\NodeEndpointOutOfProcBase.cs (1)
929InternalError.Throw($"waitId {waitId} out of range.");