35 references to ThrowInternalError
Microsoft.Build.Tasks.Core (35)
AssemblyFolder.cs (1)
57ErrorUtilities.ThrowInternalError("AssemblyFolder.AddFoldersFromRegistryKey expected a known hive.");
ConversionUtilities.cs (1)
159Error.ThrowInternalError("Cannot numeric evaluate");
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)
237ErrorUtilities.ThrowInternalError("Unexpected filesystem entity type."); 1667ErrorUtilities.ThrowInternalError("Unexpected empty 'input' provided.");
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);
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);
MSBuild.cs (1)
165ErrorUtilities.ThrowInternalError("Unexpected case {0}", _skipNonExistentProjects);
MSBuildNameIgnoreCaseComparer.cs (2)
49ErrorUtilities.ThrowInternalError("Invalid lengthToCompare '{0}' {1} {2}", constrainedString, start, lengthToCompare); 54ErrorUtilities.ThrowInternalError("Invalid start '{0}' {1} {2}", constrainedString, start, lengthToCompare);
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);
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.");
ResolveComReference.cs (1)
1041ErrorUtilities.ThrowInternalError("Unknown wrapper type!");
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);
XamlTaskFactory\CommandLineGenerator.cs (1)
266ErrorUtilities.ThrowInternalError("InternalError");