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