diff --git a/runtime/compiler.cs b/runtime/compiler.cs index 4c047314..79a4be2b 100644 --- a/runtime/compiler.cs +++ b/runtime/compiler.cs @@ -3227,6 +3227,10 @@ sealed class Compiler private bool NeedsInterfaceDownCast(TypeWrapper tw, TypeWrapper arg) { + if (tw == VerifierTypeWrapper.Null) + { + return false; + } if (!tw.IsAccessibleFrom(clazz)) { tw = tw.GetPublicBaseTypeWrapper();