4 instantiations of SpanBasedStringBuilder
Microsoft.NET.StringTools.net35 (1)
StringTools.cs (1)
70return new SpanBasedStringBuilder();
Microsoft.NET.StringTools.net35.UnitTests (3)
SpanBasedStringBuilder_Tests.cs (3)
28? new SpanBasedStringBuilder(datum.Fragments[0]) 29: new SpanBasedStringBuilder(); 115using SpanBasedStringBuilder stringBuilder = new SpanBasedStringBuilder();
16 references to SpanBasedStringBuilder
Microsoft.NET.StringTools.net35 (7)
InternableString.Simple.cs (1)
110internal InternableString(SpanBasedStringBuilder builder)
StringTools.cs (6)
20private static SpanBasedStringBuilder? _spanBasedStringBuilder; 59/// Returns a new or recycled <see cref="SpanBasedStringBuilder"/>. 65public static SpanBasedStringBuilder GetSpanBasedStringBuilder() 67SpanBasedStringBuilder? stringBuilder = _spanBasedStringBuilder; 98/// Returns a <see cref="SpanBasedStringBuilder"/> instance back to the pool if possible. 101internal static void ReturnSpanBasedStringBuilder(SpanBasedStringBuilder stringBuilder)
Microsoft.NET.StringTools.net35.UnitTests (9)
SpanBasedStringBuilder_Tests.cs (9)
23private SpanBasedStringBuilder MakeSpanBasedStringBuilder(InterningTestData.TestDatum datum, bool appendSubStrings = false) 27SpanBasedStringBuilder stringBuilder = wrapFirstFragment 54using var stringBuilder = MakeSpanBasedStringBuilder(datum); 62using SpanBasedStringBuilder stringBuilder = MakeSpanBasedStringBuilder(datum); 75using var stringBuilder = MakeSpanBasedStringBuilder(datum); 115using SpanBasedStringBuilder stringBuilder = new SpanBasedStringBuilder(); 129using SpanBasedStringBuilder stringBuilder = MakeSpanBasedStringBuilder(datum, false); 137using SpanBasedStringBuilder stringBuilder = MakeSpanBasedStringBuilder(datum, true); 174using SpanBasedStringBuilder stringBuilder = MakeSpanBasedStringBuilder(datum);