13 instantiations of InternableString
Microsoft.NET.StringTools.net35 (2)
SpanBasedStringBuilder.Simple.cs (1)
110
return new
InternableString
(this).ToString();
StringTools.cs (1)
37
InternableString internableString = new
InternableString
(str);
Microsoft.NET.StringTools.net35.UnitTests (11)
SpanBasedStringBuilder_Tests.cs (7)
76
InternableString internableString = new
InternableString
(stringBuilder);
97
InternableString internableString = new
InternableString
(str);
99
internableString = new
InternableString
(new string(str.ToCharArray()));
108
int hashCode = new
InternableString
(testString).GetHashCode();
119
InternableString internableString = new
InternableString
(stringBuilder);
130
new
InternableString
(stringBuilder).ExpensiveConvertToString().ShouldBe(datum.ToString());
138
new
InternableString
(stringBuilder).ExpensiveConvertToString().ShouldBe(datum.ToString());
WeakStringCache_Tests.cs (4)
48
InternableString testStringTarget = new
InternableString
(testString);
60
InternableString testStringCopyTarget = new
InternableString
(testStringCopy);
70
testStringCopyTarget = new
InternableString
(testStringCopy);
110
InternableString stringCopy = new
InternableString
(new string(cachedStrings[i].ToCharArray()));
13 references to InternableString
Microsoft.NET.StringTools.net35 (7)
InternableString.Simple.cs (2)
44
private
InternableString
_string;
51
public Enumerator(
InternableString
spanBuilder)
StringTools.cs (1)
37
InternableString
internableString = new InternableString(str);
WeakStringCache.cs (1)
48
public string? GetString(ref
InternableString
internable)
WeakStringCache.Locking.cs (1)
29
public string GetOrCreateEntry(ref
InternableString
internable, out bool cacheHit)
WeakStringCacheInterner.cs (2)
67
private InternResult Intern(ref
InternableString
candidate, out string interned)
76
public string InternableToString(ref
InternableString
candidate)
Microsoft.NET.StringTools.net35.UnitTests (6)
SpanBasedStringBuilder_Tests.cs (3)
76
InternableString
internableString = new InternableString(stringBuilder);
97
InternableString
internableString = new InternableString(str);
119
InternableString
internableString = new InternableString(stringBuilder);
WeakStringCache_Tests.cs (3)
48
InternableString
testStringTarget = new InternableString(testString);
60
InternableString
testStringCopyTarget = new InternableString(testStringCopy);
110
InternableString
stringCopy = new InternableString(new string(cachedStrings[i].ToCharArray()));