17 references to Normal
PresentationCore (2)
System\Windows\Media\EventProxy.cs (1)
138m_handle = System.Runtime.InteropServices.GCHandle.Alloc(epw, System.Runtime.InteropServices.GCHandleType.Normal)
System\Windows\Media\StreamAsIStream.cs (1)
657sd.m_handle = System.Runtime.InteropServices.GCHandle.Alloc(sais, System.Runtime.InteropServices.GCHandleType.Normal);
System.Private.CoreLib (10)
src\runtime\src\coreclr\nativeaot\Common\src\Internal\Runtime\CompilerHelpers\StartupCodeHelpers.cs (1)
42s_moduleGCStaticsSpines = RuntimeImports.RhHandleAlloc(gcStaticBaseSpines, GCHandleType.Normal);
src\runtime\src\libraries\System.Private.CoreLib\src\System\ComAwareWeakReference.cs (2)
136nint newHandle = GCHandle.InternalAlloc(newRef, GCHandleType.Normal); 174nint newHandle = GCHandle.InternalAlloc(comAwareRef, GCHandleType.Normal);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\GCHandle.cs (1)
65public static GCHandle Alloc(object? value) => new GCHandle(value, GCHandleType.Normal);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\GCHandle.T.cs (2)
14/// <para>This type corresponds to <see cref="GCHandleType.Normal"/>.</para> 35_handle = GCHandle.InternalAlloc(target, GCHandleType.Normal);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyLoadContext.cs (2)
102var thisHandle = GCHandle.Alloc(this, IsCollectible ? GCHandleType.WeakTrackResurrection : GCHandleType.Normal); 148var thisStrongHandle = GCHandle.Alloc(this, GCHandleType.Normal);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\WaitSubsystem.HandleManager.Unix.cs (1)
49IntPtr handle = GCHandle.ToIntPtr(GCHandle.Alloc(waitableObject, GCHandleType.Normal));
System\RuntimeType.NativeAot.cs (1)
35_runtimeTypeInfoHandle = RuntimeImports.RhHandleAlloc(runtimeTypeInfo, GCHandleType.Normal);
System.Private.TypeLoader (1)
Internal\Runtime\TypeLoader\EETypeCreator.cs (1)
343gcStaticData = RuntimeAugments.RhHandleAlloc(obj, GCHandleType.Normal);
System.Runtime.InteropServices.JavaScript (2)
System\Runtime\InteropServices\JavaScript\JSHostImplementation.Types.cs (1)
26GCHandle = (IntPtr)InteropServices.GCHandle.Alloc(this, GCHandleType.Normal);
System\Runtime\InteropServices\JavaScript\JSProxyContext.cs (1)
315public IntPtr GetJSOwnedObjectGCHandle(object obj, GCHandleType handleType = GCHandleType.Normal)
System.Windows.Forms (2)
System\Windows\Forms\Control.ControlNativeWindow.cs (1)
43_rootRef = GCHandle.Alloc(GetControl(), GCHandleType.Normal);
System\Windows\Forms\NotifyIcon.NotifyIconNativeWindow.cs (1)
43_rootRef = GCHandle.Alloc(_reference, GCHandleType.Normal);