1 write to WeakHandle
Microsoft.NET.StringTools (1)
WeakStringCache.cs (1)
69WeakHandle = GCHandle.Alloc(str, GCHandleType.Weak);
6 references to WeakHandle
Microsoft.NET.StringTools (6)
WeakStringCache.cs (6)
41public bool IsUsed => WeakHandle.Target != null; 50if (WeakHandle.IsAllocated && WeakHandle.Target is string str) 66if (!WeakHandle.IsAllocated) 73WeakHandle.Target = str; 82WeakHandle.Free();