diff --git a/ILSpy.ReadyToRun/ReadyToRunLanguage.cs b/ILSpy.ReadyToRun/ReadyToRunLanguage.cs index f10c40941..602771a2f 100644 --- a/ILSpy.ReadyToRun/ReadyToRunLanguage.cs +++ b/ILSpy.ReadyToRun/ReadyToRunLanguage.cs @@ -170,7 +170,7 @@ namespace ICSharpCode.ILSpy.ReadyToRun output.WriteLine($" Offset: {DebugInfo.GetPlatformSpecificRegister(debugInfo.Machine, varLoc.VariableLocation.Data1)}"); break; default: - throw new BadImageFormatException("Unexpected variable type"); + output.WriteLine("WRN: Unexpected variable location type"); } output.WriteLine(""); }