8 references to ThrowInternalError
MSBuildTaskHost (8)
BinaryTranslator.cs (2)
103
EscapeHatches.
ThrowInternalError
("Cannot get writer from reader.");
850
EscapeHatches.
ThrowInternalError
("Cannot get reader from writer.");
BuildExceptionSerializationHelper.cs (3)
58
EscapeHatches.
ThrowInternalError
($"Type {exceptionType.FullName} is not recognized as a build exception type.");
67
EscapeHatches.
ThrowInternalError
("Serialization contract was already initialized.");
81
EscapeHatches.
ThrowInternalError
("Serialization contract was not initialized.");
Traits.cs (3)
441
ThrowInternalError
($"Environment variable \"{environmentVariable}\" should have values \"true\", \"false\" or undefined");
465
ThrowInternalError
($"Invalid escape hatch for project instance translation: {mode}");
505
ThrowInternalError
($"Invalid escape hatch for SdkReference property expansion: {mode}");