1 instantiation of Pointer
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Pointer.cs (1)
32return new Pointer(ptr, rtType);
20 references to Pointer
mscorlib (1)
src\runtime\src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
485[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.Pointer))]
netstandard (1)
netstandard.cs (1)
1453[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.Pointer))]
System.Private.CoreLib (10)
Internal\Runtime\Augments\RuntimeAugments.cs (4)
34using ReflectionPointer = System.Reflection.Pointer; 247return ReflectionPointer.Box(*(void**)address, Type.GetTypeFromHandle(fieldType)); 269return ReflectionPointer.Box((void*)Unsafe.As<byte, IntPtr>(ref address), Type.GetTypeFromHandle(fieldType)); 336return ReflectionPointer.Box((void*)ptrValue, Type.GetTypeFromHandle(fieldTypeHandle));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Pointer.cs (2)
38if (ptr is Pointer p) 46if (obj is Pointer pointer)
System\InvokeUtils.cs (1)
401if (srcObject is Pointer srcPointer)
System\Reflection\DynamicInvokeInfo.cs (3)
792obj = Pointer.Box((void*)Unsafe.As<byte, IntPtr>(ref obj.GetRawData()), type); 826obj = Pointer.Box((void*)Unsafe.As<byte, IntPtr>(ref obj.GetRawData()), type); 857obj = Pointer.Box((void*)Unsafe.As<byte, IntPtr>(ref byref), type);
System.Private.DataContractSerialization (6)
System\Runtime\Serialization\Globals.cs (1)
81internal static Type TypeOfReflectionPointer => field ??= typeof(System.Reflection.Pointer);
System\Runtime\Serialization\Json\JsonFormatGeneratorStatics.cs (2)
89s_boxPointer = typeof(Pointer).GetMethod("Box"); 357s_unboxPointer = typeof(Pointer).GetMethod("Unbox");
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (1)
631memberType = typeof(System.Reflection.Pointer);
System\Runtime\Serialization\XmlFormatGeneratorStatics.cs (2)
73internal static MethodInfo BoxPointer => field ??= typeof(Pointer).GetMethod("Box")!; 189internal static MethodInfo UnboxPointer => field ??= typeof(Pointer).GetMethod("Unbox")!;
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
505[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.Pointer))]
System.Runtime.InteropServices.JavaScript (1)
System\Runtime\InteropServices\JavaScript\JSHostImplementation.CoreCLR.cs (1)
64object boxedLegacyArgs = Pointer.Box((void*)args, typeof(JSMarshalerArgument*));