1 write to weakHandle
Microsoft.NET.StringTools.net35 (1)
WeakStringCache.cs (1)
80weakHandle = GCHandle.Alloc(str, GCHandleType.Weak);
8 references to weakHandle
Microsoft.NET.StringTools.net35 (8)
WeakStringCache.cs (8)
41public bool IsUsed => weakHandle.IsAllocated && weakHandle.Target != null; 50if (!weakHandle.IsAllocated) 55if (weakHandle.Target is not string str) 74if (weakHandle.IsAllocated) 76weakHandle.Target = str; 89if (weakHandle.IsAllocated) 91weakHandle.Free();