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