public static void CallFuncDebugWrite(MethodInfo methodInfo, int[] args, CInterfaceMethodRefInfo interfaceMethodInfo)
 {
     if (WriteDebugMessages)
     {
         if (methodInfo.HasFlag(MethodInfoFlag.Native))
         {
             Console.ForegroundColor = NativeMethodColor;
         }
         else
         {
             Console.ForegroundColor = DebugDefaultColor;
         }
         Console.Write($"{new string(' ', Depth * Spacing)}{methodInfo.ClassFile.Name}.{methodInfo.Name}");
         WriteArgs(interfaceMethodInfo.Descriptor, methodInfo.HasFlag(MethodInfoFlag.Static), args);
         Console.Write($"   (interface {interfaceMethodInfo.ClassName})");
         Console.WriteLine();
     }
     Depth++;
 }
 public static int NumOfArgs(this CInterfaceMethodRefInfo interfaceMethodRef) => NumOfArgs(interfaceMethodRef.Descriptor);