34 references to ThrowInternalError
Microsoft.Build.Tasks.Core (34)
AssemblyDependency\Node\OutOfProcRarClient.cs (2)
89
ErrorUtilities.
ThrowInternalError
($"Received unexpected log event type {logMessagePacket.Type}");
96
ErrorUtilities.
ThrowInternalError
($"Received unexpected packet type {packet.Type}");
AssemblyDependency\Node\OutOfProcRarNodeEndpoint.cs (1)
117
ErrorUtilities.
ThrowInternalError
($"Received unexpected packet type {packetType}");
ConversionUtilities.cs (1)
159
Error.
ThrowInternalError
("Cannot numeric evaluate");
ErrorUtilities.cs (13)
48
ThrowInternalError
(message, args);
107
ThrowInternalError
("This type does not implement ToString() properly {0}", param.GetType().FullName!);
123
ThrowInternalError
("{0} unexpectedly null", parameterName);
137
ThrowInternalError
("Lock should already have been taken");
154
ThrowInternalError
("{0} unexpectedly empty", parameterName);
164
ThrowInternalError
("{0} unexpectedly empty", parameterName);
178
ThrowInternalError
("{0} unexpectedly not a rooted path", value);
204
ThrowInternalError
(unformattedMessage, arg0);
215
ThrowInternalError
(unformattedMessage, arg0);
226
ThrowInternalError
(unformattedMessage, arg0, arg1);
237
ThrowInternalError
(unformattedMessage, arg0, arg1);
248
ThrowInternalError
(unformattedMessage, arg0, arg1, arg2);
259
ThrowInternalError
(unformattedMessage, arg0, arg1, arg2, arg3);
FileMatcher.cs (2)
243
ErrorUtilities.
ThrowInternalError
("Unexpected filesystem entity type.");
1690
ErrorUtilities.
ThrowInternalError
("Unexpected empty 'input' provided.");
InterningBinaryReader.cs (2)
121
ErrorUtilities.
ThrowInternalError
("From calculating based on the memorystream, about to read n = {0}. length = {1}, rawPosition = {2}, readLength = {3}, stringLength = {4}, currPos = {5}.", n, length, rawPosition, readLength, stringLength, currPos);
136
ErrorUtilities.
ThrowInternalError
("From getting the length out of BaseStream.Read directly, about to read n = {0}. readLength = {1}, stringLength = {2}, currPos = {3}", n, readLength, stringLength, currPos);
LogMessagePacketBase.cs (1)
771
ErrorUtilities.
ThrowInternalError
("Not Supported LoggingEventType {0}", eventType.ToString());
MSBuild.cs (1)
165
ErrorUtilities.
ThrowInternalError
("Unexpected case {0}", _skipNonExistentProjects);
NodePacketFactory.cs (3)
55
ErrorUtilities.
ThrowInternalError
("No packet handler for type {0}", packetType);
70
ErrorUtilities.
ThrowInternalError
("No packet handler for type {0}", packetType);
84
ErrorUtilities.
ThrowInternalError
("No packet handler for type {0}", packet.Type);
PrintLineDebugger.cs (3)
83
ErrorUtilities.
ThrowInternalError
("Cannot set a new writer over an old writer. Remove the old one first");
105
ErrorUtilities.
ThrowInternalError
("Cannot unset an already null writer");
169
ErrorUtilities.
ThrowInternalError
($"The writer from this {nameof(PrintLineDebugger)} instance differs from the static writer.");
ResourceUtilities.cs (5)
428
ErrorUtilities.
ThrowInternalError
(
454
ErrorUtilities.
ThrowInternalError
("The resource string \"" + resourceName + "\" was not found.");
462
ErrorUtilities.
ThrowInternalError
(e.Message);
469
ErrorUtilities.
ThrowInternalError
(e.Message);
476
ErrorUtilities.
ThrowInternalError
(e.Message);