30 references to ThrowInternalError
MSBuild (30)
ConversionUtilities.cs (1)
147Error.ThrowInternalError("Cannot numeric evaluate");
ErrorUtilities.cs (11)
48ThrowInternalError(message, args); 104ThrowInternalError("This type does not implement ToString() properly {0}", param.GetType().FullName); 120ThrowInternalError("{0} unexpectedly null", parameterName); 135ThrowInternalError("Lock should already have been taken"); 153ThrowInternalError("{0} unexpectedly empty", parameterName); 163ThrowInternalError("{0} unexpectedly empty", parameterName); 177ThrowInternalError("{0} unexpectedly not a rooted path", value); 203ThrowInternalError(unformattedMessage, arg0); 214ThrowInternalError(unformattedMessage, arg0, arg1); 225ThrowInternalError(unformattedMessage, arg0, arg1, arg2); 236ThrowInternalError(unformattedMessage, arg0, arg1, arg2, arg3);
InterningBinaryReader.cs (2)
126ErrorUtilities.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); 141ErrorUtilities.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)
886ErrorUtilities.ThrowInternalError("Not Supported LoggingEventType {0}", eventType.ToString());
Modifiers.cs (2)
588ErrorUtilities.ThrowInternalError("\"{0}\" is not a valid item-spec modifier.", modifier); 597ErrorUtilities.ThrowInternalError("\"{0}\" is not a valid item-spec modifier.", modifier);
MSBuildNameIgnoreCaseComparer.cs (2)
49ErrorUtilities.ThrowInternalError("Invalid lengthToCompare '{0}' {1} {2}", constrainedString, start, lengthToCompare); 54ErrorUtilities.ThrowInternalError("Invalid start '{0}' {1} {2}", constrainedString, start, lengthToCompare);
NodeEndpointOutOfProcBase.cs (2)
167ErrorUtilities.ThrowInternalError("Connect() not valid on the out of proc endpoint."); 669ErrorUtilities.ThrowInternalError("waitId {0} out of range.", waitId);
NodePacketFactory.cs (1)
55ErrorUtilities.ThrowInternalError("No packet handler for type {0}", packetType);
PrintLineDebugger.cs (3)
77ErrorUtilities.ThrowInternalError("Cannot set a new writer over an old writer. Remove the old one first"); 99ErrorUtilities.ThrowInternalError("Cannot unset an already null writer"); 161ErrorUtilities.ThrowInternalError($"The writer from this {nameof(PrintLineDebugger)} instance differs from the static writer.");
ResourceUtilities.cs (5)
243ErrorUtilities.ThrowInternalError("Invalid resource parameter type, was {0}", 275ErrorUtilities.ThrowInternalError("The resource string \"" + resourceName + "\" was not found."); 283ErrorUtilities.ThrowInternalError(e.Message); 290ErrorUtilities.ThrowInternalError(e.Message); 297ErrorUtilities.ThrowInternalError(e.Message);