6 references to Equals
Microsoft.NET.StringTools (1)
WeakStringCache.cs (1)
52
if (internable.
Equals
(str))
Microsoft.NET.StringTools.UnitTests (5)
SpanBasedStringBuilder_Tests.cs (5)
77
internableString.
Equals
(string.Empty).ShouldBe(internableString.Length == 0);
80
internableString.
Equals
(substr).ShouldBe(substr.Length == internableString.Length);
85
internableString.
Equals
(substr).ShouldBe(substr.Length == internableString.Length);
87
internableString.
Equals
(datum.ToString()).ShouldBeTrue();
90
internableString.
Equals
("Things").ShouldBeFalse();