2 writes to GCHandle
System.Runtime.InteropServices.JavaScript (2)
System\Runtime\InteropServices\JavaScript\JSHostImplementation.Types.cs (2)
26GCHandle = (IntPtr)InteropServices.GCHandle.Alloc(this, GCHandleType.Normal); 36GCHandle = gcvHandle;
7 references to GCHandle
System.Runtime.InteropServices.JavaScript (7)
System\Runtime\InteropServices\JavaScript\CancelablePromise.cs (1)
27Interop.Runtime.CancelPromise(holder.GCHandle);
System\Runtime\InteropServices\JavaScript\JSFunctionBinding.cs (3)
313res.slot.GCHandle = holder.GCHandle; 382targetContext.ReleasePromiseHolder(preCreatedHolder.GCHandle); 392targetContext.ReleasePromiseHolder(preCreatedHolder!.GCHandle);
System\Runtime\InteropServices\JavaScript\JSProxyContext.cs (3)
396ThreadJsOwnedHolders.Add(holder.GCHandle, holder); 640if (!IsGCVHandle(holder.GCHandle)) 642((GCHandle)holder.GCHandle).Free();