21 instantiations of InternalErrorException
Microsoft.Build (7)
BackEnd\Client\MSBuildClient.cs (1)
562throw packetPump.PacketPumpException ?? new InternalErrorException("Packet pump unexpectedly shut down");
Instance\TaskFactoryWrapper.cs (1)
242throw new InternalErrorException(); // unreachable
src\msbuild\src\Shared\LogMessagePacketBase.cs (1)
553_ => throw new InternalErrorException("Should not get to the default of GetBuildEventArgFromId ID: " + _eventType)
Utilities\EngineFileUtilities.cs (3)
286throw new InternalErrorException(ResourceUtilities.FormatResourceStringIgnoreCodeAndKeyword( 327throw new InternalErrorException(ResourceUtilities.FormatResourceStringIgnoreCodeAndKeyword( 357throw new InternalErrorException(ResourceUtilities.FormatResourceStringIgnoreCodeAndKeyword(
Utilities\NuGetFrameworkWrapper.cs (1)
250throw new InternalErrorException(string.Format(AssemblyResources.GetString("NuGetAssemblyNotFound"), assemblyDirectory), ex);
Microsoft.Build.Framework (9)
BuildCanceledEventArgs.cs (1)
49throw new InternalErrorException("Message cannot be null or consist only white-space characters.");
BuildEnvironmentHelper.cs (1)
595_ => throw new InternalErrorException("Unknown processor architecture " + NativeMethods.ProcessorArchitecture),
ErrorUtilities.cs (2)
184=> throw new InternalErrorException(message); 200=> throw new InternalErrorException(message, innerException);
InternalErrorException.cs (1)
54return new InternalErrorException(message, innerException, true /* calledFromDeserialization */);
ItemSpecModifiers.cs (2)
345throw new InternalErrorException($"\"{modifier}\" is not a valid item-spec modifier."); 477throw new InternalErrorException($"\"{modifier}\" is not a valid item-spec modifier.");
Traits.cs (2)
569throw new InternalErrorException(message); 581throw new InternalErrorException(FormatString(message, args));
Microsoft.Build.Tasks.Core (4)
AssemblyDependency\CopyLocalState.cs (1)
107throw new InternalErrorException("Unexpected CopyLocal flag.");
src\msbuild\src\Shared\LogMessagePacketBase.cs (1)
553_ => throw new InternalErrorException("Should not get to the default of GetBuildEventArgFromId ID: " + _eventType)
src\msbuild\src\Shared\NodePipeBase.cs (2)
254throw new InternalErrorException("No packet factory is registered for deserialization."); 264throw new InternalErrorException($"Exception while deserializing packet {packetType}: {e}");
MSBuild (1)
src\msbuild\src\Shared\LogMessagePacketBase.cs (1)
553_ => throw new InternalErrorException("Should not get to the default of GetBuildEventArgFromId ID: " + _eventType)
50 references to InternalErrorException
Microsoft.Build (47)
BackEnd\Components\Communications\SerializationContractInitializer.cs (2)
38new(typeof(InternalErrorException), InternalErrorException.CreateFromRemote),
BackEnd\Components\Logging\BuildEventArgTransportSink.cs (2)
39/// <exception cref="InternalErrorException">Send data delegate is null</exception> 135/// <exception cref="InternalErrorException">buildEvent is null</exception>
BackEnd\Components\Logging\CentralForwardingLogger.cs (1)
78/// <exception cref="InternalErrorException">EventSource is null</exception>
BackEnd\Components\Logging\EventRedirectorToSink.cs (3)
34/// <exception cref="InternalErrorException">Eventsink is null</exception> 35/// <exception cref="InternalErrorException">LoggerId is less than 0</exception> 51/// <exception cref="InternalErrorException">BuildEvent is null</exception>
BackEnd\Components\Logging\EventSourceSink.cs (1)
316catch (Exception exception) when (exception is not InternalErrorException)
BackEnd\Components\Logging\ILoggingService.cs (3)
385/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 386/// <exception cref="InternalErrorException">Message is null</exception> 548/// <exception cref="InternalErrorException">BuildEventContext is null</exception>
BackEnd\Components\Logging\LoggingService.cs (12)
888/// <exception cref="InternalErrorException">When buildComponentHost is null</exception> 889/// <exception cref="InternalErrorException">Service has already shutdown</exception> 926/// <exception cref="InternalErrorException">Service has already shutdown</exception> 998/// <exception cref="InternalErrorException">Packet is null</exception> 999/// <exception cref="InternalErrorException">Packet is not a NodePacketType.LogMessage</exception> 1025/// <exception cref="InternalErrorException">If logger is null</exception> 1112/// <exception cref="InternalErrorException">If forwardingLogger is null</exception> 1180/// <exception cref="InternalErrorException">When forwardingLoggerSink is null</exception> 1181/// <exception cref="InternalErrorException">When loggerDescriptions is null</exception> 1238/// <exception cref="InternalErrorException">buildEvent is null</exception> 1292/// <exception cref="InternalErrorException">buildEvent is null</exception> 1542/// <exception cref="InternalErrorException">WaitHandle returns something other than 0 or 1</exception>
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (21)
37/// <exception cref="InternalErrorException">MessageResourceName is null</exception> 55/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 56/// <exception cref="InternalErrorException">Message is null</exception> 70/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 71/// <exception cref="InternalErrorException">Message is null</exception> 111/// <exception cref="InternalErrorException">MessageResourceName is null</exception> 130/// <exception cref="InternalErrorException">File is null</exception> 131/// <exception cref="InternalErrorException">Message is null</exception> 153/// <exception cref="InternalErrorException">InvalidProjectFileException is null</exception> 154/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 208/// <exception cref="InternalErrorException">TaskName is null</exception> 225/// <exception cref="InternalErrorException">MessageResourceName is null</exception> 516/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 554/// <exception cref="InternalErrorException">parentBuildEventContext is null</exception> 555/// <exception cref="InternalErrorException">projectBuildEventContext is null</exception> 670/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 703/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 742/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 771/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 800/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 838/// <exception cref="InternalErrorException">BuildEventContext is null</exception>
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
727catch (InternalErrorException) when (!_taskLoggingContext.IsValid) 1764catch (InternalErrorException) when (!_taskLoggingContext.IsValid)
Microsoft.Build.Framework (2)
ExceptionHandling.cs (1)
33|| e is InternalErrorException)
InternalErrorException.cs (1)
52internal static InternalErrorException CreateFromRemote(string message, Exception innerException)
Microsoft.Build.Tasks.Core (1)
src\msbuild\src\Shared\NodePipeBase.cs (1)
262catch (Exception e) when (e is not InternalErrorException)