private extern void InitPtr(IntPtr ptr); public EventType rawType { [MethodImpl(MethodImplOptions.InternalCall)] get; }