IL2CPU icon indicating copy to clipboard operation
IL2CPU copied to clipboard

Struct member to object conversion

Open valentinbreiz opened this issue 5 years ago • 0 comments

Possible issues

The convertion between a struct member to an object in IL2CPU might be not working for some reasons.

Log

System.Exception: OpCode IL_007D: Ldflda tries to pop item at stack position 0 with type Aura_OS.Core.VBE+ModeInfo&, but actual type is System.IntPtr

Example

public struct ModeInfo
{
    public byte bpp;
}
Console.WriteLine("BPP: " + ModeInfo.bpp);

valentinbreiz avatar Jun 26 '20 00:06 valentinbreiz