30 references to ThrowInternalError
Microsoft.Build.Tasks.Core (30)
ConversionUtilities.cs (1)
147
Error.
ThrowInternalError
("Cannot numeric evaluate");
Copy.cs (1)
627
ErrorUtilities.
ThrowInternalError
("Failed posting a file copy to an ActionBlock. Should not happen with block at max int capacity.");
ErrorUtilities.cs (11)
48
ThrowInternalError
(message, args);
107
ThrowInternalError
("This type does not implement ToString() properly {0}", param.GetType().FullName!);
123
ThrowInternalError
("{0} unexpectedly null", parameterName);
138
ThrowInternalError
("Lock should already have been taken");
156
ThrowInternalError
("{0} unexpectedly empty", parameterName);
166
ThrowInternalError
("{0} unexpectedly empty", parameterName);
180
ThrowInternalError
("{0} unexpectedly not a rooted path", value);
206
ThrowInternalError
(unformattedMessage, arg0);
217
ThrowInternalError
(unformattedMessage, arg0, arg1);
228
ThrowInternalError
(unformattedMessage, arg0, arg1, arg2);
239
ThrowInternalError
(unformattedMessage, arg0, arg1, arg2, arg3);
FileMatcher.cs (2)
231
ErrorUtilities.
ThrowInternalError
("Unexpected filesystem entity type.");
1678
ErrorUtilities.
ThrowInternalError
("Unexpected empty 'input' provided.");
InterningBinaryReader.cs (2)
126
ErrorUtilities.
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);
141
ErrorUtilities.
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)
588
ErrorUtilities.
ThrowInternalError
("\"{0}\" is not a valid item-spec modifier.", modifier);
597
ErrorUtilities.
ThrowInternalError
("\"{0}\" is not a valid item-spec modifier.", modifier);
MSBuild.cs (1)
165
ErrorUtilities.
ThrowInternalError
("Unexpected case {0}", _skipNonExistentProjects);
MSBuildNameIgnoreCaseComparer.cs (2)
49
ErrorUtilities.
ThrowInternalError
("Invalid lengthToCompare '{0}' {1} {2}", constrainedString, start, lengthToCompare);
54
ErrorUtilities.
ThrowInternalError
("Invalid start '{0}' {1} {2}", constrainedString, start, lengthToCompare);
PrintLineDebugger.cs (3)
77
ErrorUtilities.
ThrowInternalError
("Cannot set a new writer over an old writer. Remove the old one first");
99
ErrorUtilities.
ThrowInternalError
("Cannot unset an already null writer");
161
ErrorUtilities.
ThrowInternalError
($"The writer from this {nameof(PrintLineDebugger)} instance differs from the static writer.");
ResourceUtilities.cs (5)
438
ErrorUtilities.
ThrowInternalError
(
464
ErrorUtilities.
ThrowInternalError
("The resource string \"" + resourceName + "\" was not found.");
472
ErrorUtilities.
ThrowInternalError
(e.Message);
479
ErrorUtilities.
ThrowInternalError
(e.Message);
486
ErrorUtilities.
ThrowInternalError
(e.Message);