9 instantiations of InternalErrorException
Microsoft.Build (2)
BackEnd\Client\MSBuildClient.cs (1)
562throw packetPump.PacketPumpException ?? new InternalErrorException("Packet pump unexpectedly shut down");
Utilities\NuGetFrameworkWrapper.cs (1)
250throw new InternalErrorException(string.Format(AssemblyResources.GetString("NuGetAssemblyNotFound"), assemblyDirectory), ex);
Microsoft.Build.Framework (7)
InternalError.cs (6)
22=> throw new InternalErrorException(message); 43=> throw new InternalErrorException(message, innerException); 69=> throw new InternalErrorException(message); 84=> throw new InternalErrorException(handler.GetFormattedText()); 101=> throw new InternalErrorException(message, innerException); 117=> throw new InternalErrorException(handler.GetFormattedText(), innerException);
InternalErrorException.cs (1)
54return new InternalErrorException(message, innerException, true /* calledFromDeserialization */);
63 references to InternalErrorException
Microsoft.Build (47)
BackEnd\Components\Communications\SerializationContractInitializer.cs (2)
38new(typeof(InternalErrorException), InternalErrorException.CreateFromRemote),
BackEnd\Components\Logging\BuildEventArgTransportSink.cs (2)
38/// <exception cref="InternalErrorException">Send data delegate is null</exception> 132/// <exception cref="InternalErrorException">buildEvent is null</exception>
BackEnd\Components\Logging\CentralForwardingLogger.cs (1)
77/// <exception cref="InternalErrorException">EventSource is null</exception>
BackEnd\Components\Logging\EventRedirectorToSink.cs (3)
33/// <exception cref="InternalErrorException">Eventsink is null</exception> 34/// <exception cref="InternalErrorException">LoggerId is less than 0</exception> 50/// <exception cref="InternalErrorException">BuildEvent is null</exception>
BackEnd\Components\Logging\EventSourceSink.cs (1)
315catch (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> 1023/// <exception cref="InternalErrorException">If logger is null</exception> 1110/// <exception cref="InternalErrorException">If forwardingLogger is null</exception> 1178/// <exception cref="InternalErrorException">When forwardingLoggerSink is null</exception> 1179/// <exception cref="InternalErrorException">When loggerDescriptions is null</exception> 1236/// <exception cref="InternalErrorException">buildEvent is null</exception> 1290/// <exception cref="InternalErrorException">buildEvent is null</exception> 1540/// <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> 669/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 700/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 739/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 768/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 797/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 835/// <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 (15)
Assumed.cs (5)
16/// Each method throws an <see cref="InternalErrorException"/> when the assertion fails. 767/// Marks a code path as unreachable. Always throws an <see cref="InternalErrorException"/>. 775/// Marks a code path as unreachable. Always throws an <see cref="InternalErrorException"/> 785/// Always throws an <see cref="InternalErrorException"/>. The return type allows use in expression contexts. 798/// Always throws an <see cref="InternalErrorException"/> with a message constructed from an
ExceptionHandling.cs (1)
33|| e is InternalErrorException)
InternalError.cs (8)
15/// Throws an <see cref="InternalErrorException"/> with the specified message. 25/// Throws an <see cref="InternalErrorException"/> with a message constructed from an 35/// Throws an <see cref="InternalErrorException"/> with the specified message and inner exception. 46/// Throws an <see cref="InternalErrorException"/> with a message constructed from an 57/// Throws an <see cref="InternalErrorException"/> with the specified message and nominally returns 72/// Throws an <see cref="InternalErrorException"/> with a message constructed from an 87/// Throws an <see cref="InternalErrorException"/> with the specified message and inner exception, 104/// Throws an <see cref="InternalErrorException"/> with a message constructed from an
InternalErrorException.cs (1)
52internal static InternalErrorException CreateFromRemote(string message, Exception innerException)
Microsoft.Build.Tasks.Core (1)
src\msbuild\src\Shared\NodePipeBase.cs (1)
259catch (Exception e) when (e is not InternalErrorException)