12 references to Normal
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (1)
CodeModel\CodeModelTestHelpers.vb (1)
110
Dim handle = GCHandle.Alloc(managedObject, GCHandleType.
Normal
)
PresentationCore (2)
System\Windows\Media\EventProxy.cs (1)
138
m_handle = System.Runtime.InteropServices.GCHandle.Alloc(epw, System.Runtime.InteropServices.GCHandleType.
Normal
)
System\Windows\Media\StreamAsIStream.cs (1)
657
sd.m_handle = System.Runtime.InteropServices.GCHandle.Alloc(sais, System.Runtime.InteropServices.GCHandleType.
Normal
);
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\ComAwareWeakReference.cs (2)
133
nint newHandle = GCHandle.InternalAlloc(newRef, GCHandleType.
Normal
);
177
nint newHandle = GCHandle.InternalAlloc(comAwareRef, GCHandleType.
Normal
);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\GCHandle.cs (1)
65
public static GCHandle Alloc(object? value) => new GCHandle(value, GCHandleType.
Normal
);
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\libraries\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyLoadContext.cs (2)
101
var thisHandle = GCHandle.Alloc(this, IsCollectible ? GCHandleType.WeakTrackResurrection : GCHandleType.
Normal
);
147
var thisStrongHandle = GCHandle.Alloc(this, 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
);