9 references to DestroyStructure
ILCompiler.Compiler (1)
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\IntrinsicId.cs (1)
232/// <see cref="System.Runtime.InteropServices.Marshal.DestroyStructure(nint, System.Type)"/>
illink (1)
PresentationCore (1)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
559Marshal.DestroyStructure(new IntPtr(pElement), typeof(MS.Win32.Recognizer.PACKET_PROPERTY));
System.Private.CoreLib (5)
Internal\Runtime\CompilerHelpers\InteropHelpers.cs (1)
565Marshal.DestroyStructure(address, o.GetType());
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
623public static void DestroyStructure<T>(IntPtr ptr) => DestroyStructure(ptr, typeof(T));
System\Runtime\InteropServices\Marshal.NativeAot.cs (3)
132DestroyStructure(ptr, structure.GetType()); 275DestroyStructure(nativeBytes, structType); 354DestroyStructure(nativeBytes, structType);
System.Windows.Forms.Primitives (1)
Windows\Win32\PInvoke.CreateWindowEx.cs (1)
68Marshal.DestroyStructure(native, lpParam.GetType());