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