23 references to AsAny
mscorlib (10)
system\runtime\interopservices\marshal.cs (10)
423
public static extern byte ReadByte([MarshalAs(UnmanagedType.
AsAny
), In] Object ptr, int ofs);
451
public static extern short ReadInt16([MarshalAs(UnmanagedType.
AsAny
),In] Object ptr, int ofs);
492
public static extern int ReadInt32([MarshalAs(UnmanagedType.
AsAny
),In] Object ptr, int ofs);
535
public static IntPtr ReadIntPtr([MarshalAs(UnmanagedType.
AsAny
),In] Object ptr, int ofs)
570
public static extern long ReadInt64([MarshalAs(UnmanagedType.
AsAny
),In] Object ptr, int ofs);
638
public static extern void WriteByte([MarshalAs(UnmanagedType.
AsAny
),In,Out] Object ptr, int ofs, byte val);
677
public static extern void WriteInt16([MarshalAs(UnmanagedType.
AsAny
),In,Out] Object ptr, int ofs, short val);
736
public static extern void WriteInt32([MarshalAs(UnmanagedType.
AsAny
),In,Out] Object ptr, int ofs, int val);
755
public static void WriteIntPtr([MarshalAs(UnmanagedType.
AsAny
),In,Out] Object ptr, int ofs, IntPtr val)
811
public static extern void WriteInt64([MarshalAs(UnmanagedType.
AsAny
),In,Out] Object ptr, int ofs, long val);
System (1)
compmod\microsoft\win32\UnsafeNativeMethods.cs (1)
142
int height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, [MarshalAs(UnmanagedType.
AsAny
)] object pvParam);
System.Drawing (5)
commonui\System\Drawing\Advanced\Gdiplus.cs (4)
2971
internal static extern int GdipCreateFontFromLogfontA(HandleRef hdc, [In, Out, MarshalAs(UnmanagedType.
AsAny
)] object lf, out IntPtr font);
2975
internal static extern int GdipCreateFontFromLogfontW(HandleRef hdc, [In, Out, MarshalAs(UnmanagedType.
AsAny
)] object lf, out IntPtr font);
2983
internal static extern int GdipGetLogFontW(HandleRef font, HandleRef graphics, [In, Out, MarshalAs(UnmanagedType.
AsAny
)] object lf);
2987
internal static extern int GdipGetLogFontA(HandleRef font, HandleRef graphics, [In, Out, MarshalAs(UnmanagedType.
AsAny
)] object lf);
misc\GDI\UnsafeNativeMethods.cs (1)
237
public static extern IntPtr IntCreateFontIndirect([In, Out, MarshalAs(UnmanagedType.
AsAny
)] object lf); // need object here since LOGFONT is not public.
System.Windows.Forms (5)
misc\GDI\UnsafeNativeMethods.cs (1)
237
public static extern IntPtr IntCreateFontIndirect([In, Out, MarshalAs(UnmanagedType.
AsAny
)] object lf); // need object here since LOGFONT is not public.
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (4)
349
public static extern UnsafeNativeMethods.IPicture OleCreateIPictureIndirect([MarshalAs(UnmanagedType.
AsAny
)]object pictdesc, ref Guid iid, bool fOwn);
352
public static extern UnsafeNativeMethods.IPictureDisp OleCreateIPictureDispIndirect([MarshalAs(UnmanagedType.
AsAny
)] object pictdesc, ref Guid iid, bool fOwn);
1601
HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, [MarshalAs(UnmanagedType.
AsAny
)] object pvParam);
1606
HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, [MarshalAs(UnmanagedType.
AsAny
)]object pvParam) {
WindowsBase (2)
Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (2)
2046
HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, [MarshalAs(UnmanagedType.
AsAny
)] object pvParam);
2054
HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, [MarshalAs(UnmanagedType.
AsAny
)]object pvParam) {