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