8 references to ThrowInternalError
Microsoft.Build.Framework (8)
BinaryTranslator.cs (2)
107EscapeHatches.ThrowInternalError("Cannot get writer from reader."); 922EscapeHatches.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)
458ThrowInternalError($"Environment variable \"{environmentVariable}\" should have values \"true\", \"false\" or undefined"); 482ThrowInternalError($"Invalid escape hatch for project instance translation: {mode}"); 522ThrowInternalError($"Invalid escape hatch for SdkReference property expansion: {mode}");