5 references to GetOrCreateEntry
Microsoft.NET.StringTools (1)
WeakStringCacheInterner.cs (1)
69
interned = _weakStringCache.
GetOrCreateEntry
(ref candidate, out bool cacheHit);
Microsoft.NET.StringTools.UnitTests (4)
WeakStringCache_Tests.cs (4)
52
string cachedString = _cache.
GetOrCreateEntry
(ref testStringTarget, out bool cacheHit);
61
cachedString = _cache.
GetOrCreateEntry
(ref testStringCopyTarget, out cacheHit);
71
cachedString = _cache.
GetOrCreateEntry
(ref testStringCopyTarget, out cacheHit);
111
string cachedStringFromCache = _cache.
GetOrCreateEntry
(ref stringCopy, out bool cacheHit);