1 write to Fragments
Microsoft.NET.StringTools.net35.UnitTests (1)
InterningTestData.cs (1)
24
Fragments
= fragments;
13 references to Fragments
Microsoft.NET.StringTools.net35.UnitTests (13)
InterningTestData.cs (1)
25
_string = string.Join(string.Empty,
Fragments
);
SpanBasedStringBuilder_Tests.cs (12)
25
bool wrapFirstFragment = datum.
Fragments
.Length > 0 && datum.
Fragments
[0] != null;
28
? new SpanBasedStringBuilder(datum.
Fragments
[0])
31
for (int i = 1; i < datum.
Fragments
.Length; i++)
35
int index = datum.
Fragments
[i].Length / 2;
36
stringBuilder.Append(datum.
Fragments
[i], 0, index);
37
stringBuilder.Append(datum.
Fragments
[i], index, datum.
Fragments
[i].Length - index);
41
stringBuilder.Append(datum.
Fragments
[i]);
79
string substr = datum.
Fragments
[0] ?? string.Empty;
82
if (datum.
Fragments
.Length > 1)
84
substr += datum.
Fragments
[1];