28 references to ThrowInternalError
Microsoft.Build.Utilities.Core (27)
ErrorUtilities.cs (11)
48ThrowInternalError(message, args); 107ThrowInternalError("This type does not implement ToString() properly {0}", param.GetType().FullName!); 123ThrowInternalError("{0} unexpectedly null", parameterName); 138ThrowInternalError("Lock should already have been taken"); 156ThrowInternalError("{0} unexpectedly empty", parameterName); 166ThrowInternalError("{0} unexpectedly empty", parameterName); 180ThrowInternalError("{0} unexpectedly not a rooted path", value); 206ThrowInternalError(unformattedMessage, arg0); 217ThrowInternalError(unformattedMessage, arg0, arg1); 228ThrowInternalError(unformattedMessage, arg0, arg1, arg2); 239ThrowInternalError(unformattedMessage, arg0, arg1, arg2, arg3);
FileMatcher.cs (2)
231ErrorUtilities.ThrowInternalError("Unexpected filesystem entity type."); 1678ErrorUtilities.ThrowInternalError("Unexpected empty 'input' provided.");
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);
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)
438ErrorUtilities.ThrowInternalError( 464ErrorUtilities.ThrowInternalError("The resource string \"" + resourceName + "\" was not found."); 472ErrorUtilities.ThrowInternalError(e.Message); 479ErrorUtilities.ThrowInternalError(e.Message); 486ErrorUtilities.ThrowInternalError(e.Message);
TaskLoggingHelper.cs (1)
1436ErrorUtilities.ThrowInternalError("Impossible canonical part.");
ToolTask.cs (1)
959ErrorUtilities.ThrowInternalError("Unknown tool notification.");
Microsoft.Build.Utilities.UnitTests (1)
ConversionUtilities.cs (1)
147Error.ThrowInternalError("Cannot numeric evaluate");