5 writes to _stringBuilder
dotnet-svcutil-lib (5)
FrameworkFork\Microsoft.Xml\Xml\BufferBuilder.cs (5)
148
_stringBuilder
= new StringBuilder();
200
_stringBuilder
= new StringBuilder(count < DefaultSBCapacity ? DefaultSBCapacity : count);
254
_stringBuilder
= new StringBuilder(value, start, count, 0);
290
_stringBuilder
= null;
325
_stringBuilder
= new StringBuilder(_length);
27 references to _stringBuilder
dotnet-svcutil-lib (27)
FrameworkFork\Microsoft.Xml\Xml\BufferBuilder.cs (27)
146
if (
_stringBuilder
== null)
150
_stringBuilder
.Append(value);
198
if (
_stringBuilder
== null)
202
_stringBuilder
.Append(value, start, count);
252
if (
_stringBuilder
== null)
258
_stringBuilder
.Append(value, start, count);
278
if (
_stringBuilder
!= null)
280
_stringBuilder
.Length = 0;
319
returnString = (
_stringBuilder
!= null) ?
_stringBuilder
.ToString() : string.Empty;
323
if (
_stringBuilder
== null)
329
_stringBuilder
.Capacity = _length;
331
int charsLeft = _length -
_stringBuilder
.Length;
335
_stringBuilder
.Append(buf, 0, buf.Length);
338
_stringBuilder
.Append(_buffers[_buffersCount - 1].buffer, 0, charsLeft);
340
returnString =
_stringBuilder
.ToString();
376
return (
_stringBuilder
!= null) ?
_stringBuilder
.ToString(startIndex, len) : string.Empty;
381
if (
_stringBuilder
!= null)
383
if (startIndex <
_stringBuilder
.Length)
385
if (len <
_stringBuilder
.Length)
387
return
_stringBuilder
.ToString(startIndex, len);
391
sb.Append(
_stringBuilder
.ToString(startIndex,
_stringBuilder
.Length - startIndex));
392
len -= (
_stringBuilder
.Length - startIndex);
398
startIndex -=
_stringBuilder
.Length;
541
_stringBuilder
.Length = newLength;