35 instantiations of InternalErrorException
Microsoft.Build (10)
BackEnd\Client\MSBuildClient.cs (1)
560throw packetPump.PacketPumpException ?? new InternalErrorException("Packet pump unexpectedly shut down");
BuildEnvironmentHelper.cs (1)
585_ => throw new InternalErrorException("Unknown processor architecture " + NativeMethodsShared.ProcessorArchitecture),
ErrorUtilities.cs (3)
59throw new InternalErrorException(ResourceUtilities.FormatString(message, args)); 69throw new InternalErrorException(ResourceUtilities.FormatString(message, args), innerException); 80throw new InternalErrorException("Unreachable?");
Instance\TaskFactoryWrapper.cs (1)
238throw new InternalErrorException(); // unreachable
LogMessagePacketBase.cs (1)
666_ => throw new InternalErrorException("Should not get to the default of GetBuildEventArgFromId ID: " + _eventType)
Utilities\EngineFileUtilities.cs (2)
287throw new InternalErrorException($"Logging type {loggingMechanism.GetType()} is not understood by {nameof(GetFileList)}."); 325throw new InternalErrorException($"Logging type {loggingMechanism.GetType()} is not understood by {nameof(GetFileList)}.");
Utilities\NuGetFrameworkWrapper.cs (1)
249throw new InternalErrorException(string.Format(AssemblyResources.GetString("NuGetAssemblyNotFound"), assemblyDirectory), ex);
Microsoft.Build.Engine.OM.UnitTests (4)
BuildEnvironmentHelper.cs (1)
585_ => throw new InternalErrorException("Unknown processor architecture " + NativeMethodsShared.ProcessorArchitecture),
ErrorUtilities.cs (3)
59throw new InternalErrorException(ResourceUtilities.FormatString(message, args)); 69throw new InternalErrorException(ResourceUtilities.FormatString(message, args), innerException); 80throw new InternalErrorException("Unreachable?");
Microsoft.Build.Engine.UnitTests (2)
BackEnd\BinaryTranslator_Tests.cs (2)
234value = new InternalErrorException("Another message", exception); 292throw new InvalidProjectFileException("sample message", new InternalErrorException("Another message"));
Microsoft.Build.Framework (5)
BuildCanceledEventArgs.cs (1)
50throw new InternalErrorException("Message cannot be null or consist only white-space characters.");
ErrorUtilities.cs (1)
55throw new InternalErrorException(
InternalErrorException.cs (1)
54return new InternalErrorException(message, innerException, true /* calledFromDeserialization */);
Traits.cs (2)
532throw new InternalErrorException(message); 544throw new InternalErrorException(FormatString(message, args));
Microsoft.Build.Tasks.Core (5)
AssemblyDependency\CopyLocalState.cs (1)
108throw new InternalErrorException("Unexpected CopyLocal flag.");
BuildEnvironmentHelper.cs (1)
585_ => throw new InternalErrorException("Unknown processor architecture " + NativeMethodsShared.ProcessorArchitecture),
ErrorUtilities.cs (3)
59throw new InternalErrorException(ResourceUtilities.FormatString(message, args)); 69throw new InternalErrorException(ResourceUtilities.FormatString(message, args), innerException); 80throw new InternalErrorException("Unreachable?");
Microsoft.Build.Utilities.Core (4)
BuildEnvironmentHelper.cs (1)
585_ => throw new InternalErrorException("Unknown processor architecture " + NativeMethodsShared.ProcessorArchitecture),
ErrorUtilities.cs (3)
59throw new InternalErrorException(ResourceUtilities.FormatString(message, args)); 69throw new InternalErrorException(ResourceUtilities.FormatString(message, args), innerException); 80throw new InternalErrorException("Unreachable?");
MSBuild (5)
BuildEnvironmentHelper.cs (1)
585_ => throw new InternalErrorException("Unknown processor architecture " + NativeMethodsShared.ProcessorArchitecture),
ErrorUtilities.cs (3)
59throw new InternalErrorException(ResourceUtilities.FormatString(message, args)); 69throw new InternalErrorException(ResourceUtilities.FormatString(message, args), innerException); 80throw new InternalErrorException("Unreachable?");
LogMessagePacketBase.cs (1)
666_ => throw new InternalErrorException("Should not get to the default of GetBuildEventArgFromId ID: " + _eventType)
167 references to InternalErrorException
Microsoft.Build (47)
BackEnd\Components\Communications\SerializationContractInitializer.cs (2)
34new(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)
36/// <exception cref="InternalErrorException">Eventsink is null</exception> 37/// <exception cref="InternalErrorException">LoggerId is less than 0</exception> 53/// <exception cref="InternalErrorException">BuildEvent is null</exception>
BackEnd\Components\Logging\ILoggingService.cs (3)
360/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 361/// <exception cref="InternalErrorException">Message is null</exception> 523/// <exception cref="InternalErrorException">BuildEventContext is null</exception>
BackEnd\Components\Logging\LoggingService.cs (12)
850/// <exception cref="InternalErrorException">When buildComponentHost is null</exception> 851/// <exception cref="InternalErrorException">Service has already shutdown</exception> 885/// <exception cref="InternalErrorException">Service has already shutdown</exception> 957/// <exception cref="InternalErrorException">Packet is null</exception> 958/// <exception cref="InternalErrorException">Packet is not a NodePacketType.LogMessage</exception> 1033/// <exception cref="InternalErrorException">If logger is null</exception> 1120/// <exception cref="InternalErrorException">If forwardingLogger is null</exception> 1186/// <exception cref="InternalErrorException">When forwardingLoggerSink is null</exception> 1187/// <exception cref="InternalErrorException">When loggerDescriptions is null</exception> 1244/// <exception cref="InternalErrorException">buildEvent is null</exception> 1295/// <exception cref="InternalErrorException">buildEvent is null</exception> 1500/// <exception cref="InternalErrorException">WaitHandle returns something other than 0 or 1</exception>
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (21)
36/// <exception cref="InternalErrorException">MessageResourceName is null</exception> 54/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 55/// <exception cref="InternalErrorException">Message is null</exception> 69/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 70/// <exception cref="InternalErrorException">Message is null</exception> 110/// <exception cref="InternalErrorException">MessageResourceName is null</exception> 129/// <exception cref="InternalErrorException">File is null</exception> 130/// <exception cref="InternalErrorException">Message is null</exception> 152/// <exception cref="InternalErrorException">InvalidProjectFileException is null</exception> 153/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 207/// <exception cref="InternalErrorException">TaskName is null</exception> 224/// <exception cref="InternalErrorException">MessageResourceName is null</exception> 449/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 487/// <exception cref="InternalErrorException">parentBuildEventContext is null</exception> 488/// <exception cref="InternalErrorException">projectBuildEventContext is null</exception> 605/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 635/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 674/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 703/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 732/// <exception cref="InternalErrorException">BuildEventContext is null</exception> 770/// <exception cref="InternalErrorException">BuildEventContext is null</exception>
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
665catch (InternalErrorException) when (!_taskLoggingContext.IsValid) 1626catch (InternalErrorException) when (!_taskLoggingContext.IsValid)
ExceptionHandling.cs (1)
111|| e is InternalErrorException
Microsoft.Build.Engine.OM.UnitTests (1)
ExceptionHandling.cs (1)
111|| e is InternalErrorException
Microsoft.Build.Engine.UnitTests (113)
BackEnd\AssemblyTaskFactory_Tests.cs (2)
106Assert.Throws<InternalErrorException>(() => 120Assert.Throws<InternalErrorException>(() =>
BackEnd\BuildEventArgTransportSink_Tests.cs (2)
41Assert.Throws<InternalErrorException>(() => 52Assert.Throws<InternalErrorException>(() =>
BackEnd\BuildManager_Tests.cs (1)
4175e.ShouldBeOfType<InternalErrorException>();
BackEnd\BuildRequest_Tests.cs (2)
99Assert.Throws<InternalErrorException>(() => 109Assert.Throws<InternalErrorException>(() =>
BackEnd\BuildRequestConfiguration_Tests.cs (6)
64Assert.Throws<InternalErrorException>(() => 137Assert.Throws<InternalErrorException>(() => 497var exception = Assert.Throws<InternalErrorException>( 507var exception = Assert.Throws<InternalErrorException>(
BackEnd\BuildRequestEntry_Tests.cs (4)
179Assert.Throws<InternalErrorException>(() => 195Assert.Throws<InternalErrorException>(() => 212Assert.Throws<InternalErrorException>(() => 236Assert.Throws<InternalErrorException>(() =>
BackEnd\BuildResult_Tests.cs (1)
230Assert.Throws<InternalErrorException>(() =>
BackEnd\CacheAggregator_Tests.cs (12)
52var e = Should.Throw<InternalErrorException>(() => aggregator.Aggregate()); 66var e = Should.Throw<InternalErrorException>(() => 91var e = Should.Throw<InternalErrorException>(() => aggregator.Aggregate()); 118var e = Should.Throw<InternalErrorException>(() => aggregator.Aggregate()); 141var e = Should.Throw<InternalErrorException>(() => aggregator.Aggregate()); 172var e = Should.Throw<InternalErrorException>(() => aggregator.Aggregate());
BackEnd\CentralForwardingLogger_Tests.cs (2)
55Assert.Throws<InternalErrorException>(() => 68Assert.Throws<InternalErrorException>(() =>
BackEnd\ConfigCache_Tests.cs (1)
125Assert.Throws<InternalErrorException>(() => ((ConfigCache)obj).GetSmallestConfigId());
BackEnd\EventRedirectorToSink_Tests.cs (3)
24Assert.Throws<InternalErrorException>(() => 37Assert.Throws<InternalErrorException>(() => 82Assert.Throws<InternalErrorException>(() =>
BackEnd\EventSourceSink_Tests.cs (1)
125Assert.Throws<InternalErrorException>(() =>
BackEnd\LoggingContext_Tests.cs (1)
60Assert.Throws<InternalErrorException>(() =>
BackEnd\LoggingService_Tests.cs (12)
117Assert.Throws<InternalErrorException>(() => 129Assert.Throws<InternalErrorException>(() => 189Assert.Throws<InternalErrorException>(() => 204Assert.Throws<InternalErrorException>(() => 216Assert.Throws<InternalErrorException>(() => 319Assert.Throws<InternalErrorException>(() => 331Assert.Throws<InternalErrorException>(() => 502Assert.Throws<InternalErrorException>(() => 513Assert.Throws<InternalErrorException>(() => 524Assert.Throws<InternalErrorException>(() => 673Assert.Throws<InternalErrorException>(() => 686Assert.Throws<InternalErrorException>(() =>
BackEnd\LoggingServicesLogMethod_Tests.cs (35)
53Assert.Throws<InternalErrorException>(() => 103Assert.Throws<InternalErrorException>(() => 116Assert.Throws<InternalErrorException>(() => 153Assert.Throws<InternalErrorException>(() => 166Assert.Throws<InternalErrorException>(() => 214Assert.Throws<InternalErrorException>(() => 227Assert.Throws<InternalErrorException>(() => 258Assert.Throws<InternalErrorException>(() => 272Assert.Throws<InternalErrorException>(() => 332Assert.Throws<InternalErrorException>(() => 373Assert.Throws<InternalErrorException>(() => 386Assert.Throws<InternalErrorException>(() => 399Assert.Throws<InternalErrorException>(() => 509Assert.Throws<InternalErrorException>(() => 523Assert.Throws<InternalErrorException>(() => 567Assert.Throws<InternalErrorException>(() => 580Assert.Throws<InternalErrorException>(() => 607Assert.Throws<InternalErrorException>(() => 620Assert.Throws<InternalErrorException>(() => 633Assert.Throws<InternalErrorException>(() => 677Assert.Throws<InternalErrorException>(() => 690Assert.Throws<InternalErrorException>(() => 730Assert.Throws<InternalErrorException>(() => 753Assert.Throws<InternalErrorException>(() => 793Assert.Throws<InternalErrorException>(() => 807Assert.Throws<InternalErrorException>(() => 911Assert.Throws<InternalErrorException>(() => 976Assert.Throws<InternalErrorException>(() => 1094Assert.Throws<InternalErrorException>(() => 1129Assert.Throws<InternalErrorException>(() => 1169Assert.Throws<InternalErrorException>(() => 1217Assert.Throws<InternalErrorException>(() => 1256InternalErrorException exception = Assert.Throws<InternalErrorException>(() => 1409catch (InternalErrorException ex)
BackEnd\Lookup_Tests.cs (1)
1012Assert.Throws<InternalErrorException>(() =>
BackEnd\NodeEndpointInProc_Tests.cs (2)
382catch (InternalErrorException) 397catch (InternalErrorException)
BackEnd\NodePackets_Tests.cs (1)
35Assert.Throws<InternalErrorException>(() =>
BackEnd\ResultsCache_Tests.cs (1)
141Assert.Throws<InternalErrorException>(() =>
BackEnd\TargetBuilder_Tests.cs (1)
1467Assert.Throws<InternalErrorException>(() => resultsCache.GetResultForRequest(entry.Request));
BackEnd\TargetEntry_Tests.cs (2)
136Assert.Throws<InternalErrorException>(() => 150Assert.Throws<InternalErrorException>(() =>
BackEnd\TaskHostConfiguration_Tests.cs (3)
40Assert.Throws<InternalErrorException>(() => 75Assert.Throws<InternalErrorException>(() => 110Assert.Throws<InternalErrorException>(() =>
BackEnd\TaskHostTaskComplete_Tests.cs (4)
100AssertInvalidConstructorThrows(typeof(InternalErrorException), TaskCompleteType.CrashedDuringExecution, null, "ExceptionlessErrorMessage", null, null, null); 101AssertInvalidConstructorThrows(typeof(InternalErrorException), TaskCompleteType.CrashedDuringInitialization, null, null, null, null, null); 102AssertInvalidConstructorThrows(typeof(InternalErrorException), TaskCompleteType.Success, new ArgumentNullException(), "ExceptionlessErrorMessage", null, null, null); 103AssertInvalidConstructorThrows(typeof(InternalErrorException), TaskCompleteType.CrashedDuringExecution, null, null, new string[1] { "Foo" }, null, null);
Collections\MSBuildNameIgnoreCaseComparer_Tests.cs (3)
83Assert.Throws<InternalErrorException>(() => 94Assert.Throws<InternalErrorException>(() => 105Assert.Throws<InternalErrorException>(() =>
Collections\OMcollections_tests.cs (1)
241Assert.Throws<InternalErrorException>(() =>
Construction\ElementLocation_Tests.cs (2)
212Assert.Throws<InternalErrorException>(() => 223Assert.Throws<InternalErrorException>(() =>
ErrorUtilities_Tests.cs (1)
23catch (InternalErrorException e)
Evaluation\ProjectRootElementCache_Tests.cs (2)
50Assert.Throws<InternalErrorException>(() => 61Assert.Throws<InternalErrorException>(() =>
Evaluation\SimpleProjectRootElementCache_Tests.cs (2)
102Should.Throw<InternalErrorException>(() => 121Should.Throw<InternalErrorException>(() =>
Graph\ProjectGraph_Tests.cs (1)
126Assert.Throws<InternalErrorException>(() => new ProjectGraphNode(null));
Instance\ProjectInstance_Internal_Tests.cs (1)
823Should.Throw<InternalErrorException>(() => projectInstance.AddTarget("a", "1==1", "inputs", "outputs", "returns", "keepDuplicateOutputs", "dependsOnTargets", "beforeTargets", "afterTargets", true));
Microsoft.Build.Framework (1)
InternalErrorException.cs (1)
52internal static InternalErrorException CreateFromRemote(string message, Exception innerException)
Microsoft.Build.Tasks.Core (1)
ExceptionHandling.cs (1)
111|| e is InternalErrorException
Microsoft.Build.Tasks.UnitTests (1)
ErrorUtilities_Tests.cs (1)
23catch (InternalErrorException e)
Microsoft.Build.Utilities.Core (1)
ExceptionHandling.cs (1)
111|| e is InternalErrorException
Microsoft.Build.Utilities.UnitTests (1)
ErrorUtilities_Tests.cs (1)
23catch (InternalErrorException e)
MSBuild (1)
ExceptionHandling.cs (1)
111|| e is InternalErrorException