System.MissingMethodException: Method not found: 'Int32 System.Runtime.InteropServices.Marshal.SizeOf(!!0)'.
at NativeTextRenderer.DrawTransparentText(IntPtr fontHandle, String str, Color color, Point point, Size size, TextAlignFlags flags, Boolean multilineSupport)
at NativeTextRenderer.DrawTransparentText(String str, IntPtr LogFont, Color color, Point point, Size size, TextAlignFlags flags)
at MaterialSkin.Controls.MaterialTextBox2.OnPaint(PaintEventArgs pevent)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
System.MissingMethodException: Method not found: 'Int32 System.Runtime.InteropServices.Marshal.SizeOf(!!0)'. at NativeTextRenderer.DrawTransparentText(IntPtr fontHandle, String str, Color color, Point point, Size size, TextAlignFlags flags, Boolean multilineSupport) at NativeTextRenderer.DrawTransparentText(String str, IntPtr LogFont, Color color, Point point, Size size, TextAlignFlags flags) at MaterialSkin.Controls.MaterialTextBox2.OnPaint(PaintEventArgs pevent) at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer) at System.Windows.Forms.Control.WmPaint(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)