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