31 references to ThrowInternalError
MSBuild (31)
ConversionUtilities.cs (1)
159Error.ThrowInternalError("Cannot numeric evaluate");
ErrorUtilities.cs (13)
48ThrowInternalError(message, args); 107ThrowInternalError("This type does not implement ToString() properly {0}", param.GetType().FullName!); 123ThrowInternalError("{0} unexpectedly null", parameterName); 137ThrowInternalError("Lock should already have been taken"); 154ThrowInternalError("{0} unexpectedly empty", parameterName); 164ThrowInternalError("{0} unexpectedly empty", parameterName); 178ThrowInternalError("{0} unexpectedly not a rooted path", value); 204ThrowInternalError(unformattedMessage, arg0); 215ThrowInternalError(unformattedMessage, arg0); 226ThrowInternalError(unformattedMessage, arg0, arg1); 237ThrowInternalError(unformattedMessage, arg0, arg1); 248ThrowInternalError(unformattedMessage, arg0, arg1, arg2); 259ThrowInternalError(unformattedMessage, arg0, arg1, arg2, arg3);
InterningBinaryReader.cs (2)
121ErrorUtilities.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); 136ErrorUtilities.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)
771ErrorUtilities.ThrowInternalError("Not Supported LoggingEventType {0}", eventType.ToString());
NodeEndpointOutOfProcBase.cs (2)
185ErrorUtilities.ThrowInternalError("Connect() not valid on the out of proc endpoint."); 801ErrorUtilities.ThrowInternalError("waitId {0} out of range.", waitId);
NodePacketFactory.cs (3)
55ErrorUtilities.ThrowInternalError("No packet handler for type {0}", packetType); 70ErrorUtilities.ThrowInternalError("No packet handler for type {0}", packetType); 84ErrorUtilities.ThrowInternalError("No packet handler for type {0}", packet.Type);
OutOfProcTaskHostNode.cs (1)
789ErrorUtilities.ThrowInternalError("HandleCallbackResponse called with non-callback packet type: {0}", packet.GetType().Name);
PrintLineDebugger.cs (3)
83ErrorUtilities.ThrowInternalError("Cannot set a new writer over an old writer. Remove the old one first"); 105ErrorUtilities.ThrowInternalError("Cannot unset an already null writer"); 169ErrorUtilities.ThrowInternalError($"The writer from this {nameof(PrintLineDebugger)} instance differs from the static writer.");
ResourceUtilities.cs (5)
428ErrorUtilities.ThrowInternalError( 454ErrorUtilities.ThrowInternalError("The resource string \"" + resourceName + "\" was not found."); 462ErrorUtilities.ThrowInternalError(e.Message); 469ErrorUtilities.ThrowInternalError(e.Message); 476ErrorUtilities.ThrowInternalError(e.Message);