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