19 references to ThrowInternalError
Microsoft.Build.Engine.OM.UnitTests (19)
ErrorUtilities.cs (11)
47ThrowInternalError(message, args); 106ThrowInternalError("This type does not implement ToString() properly {0}", param.GetType().FullName!); 122ThrowInternalError("{0} unexpectedly null", parameterName); 137ThrowInternalError("Lock should already have been taken"); 155ThrowInternalError("{0} unexpectedly empty", parameterName); 165ThrowInternalError("{0} unexpectedly empty", parameterName); 179ThrowInternalError("{0} unexpectedly not a rooted path", value); 205ThrowInternalError(unformattedMessage, arg0); 216ThrowInternalError(unformattedMessage, arg0, arg1); 227ThrowInternalError(unformattedMessage, arg0, arg1, arg2); 238ThrowInternalError(unformattedMessage, arg0, arg1, arg2, arg3);
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);