6 writes to _length
dotnet-svcutil-lib (6)
FrameworkFork\Microsoft.Xml\Xml\BufferBuilder.cs (6)
164
_length
++;
203
_length
+= count;
260
_length
+= count;
292
_length
= 0;
473
_length
+= copyCount;
568
_length
= newLength;
16 references to _length
dotnet-svcutil-lib (16)
FrameworkFork\Microsoft.Xml\Xml\BufferBuilder.cs (16)
107
return
_length
;
117
if (value < 0 || value >
_length
)
144
if (
_length
+ 1 <= MaxStringBuilderLength)
196
if (
_length
+ count <= MaxStringBuilderLength)
250
if (
_length
+ count <= MaxStringBuilderLength)
276
if (
_length
<= MaxStringBuilderLength)
317
if ((
_length
<= MaxStringBuilderLength) || (_buffersCount == 1 && _lastBufferIndex == 0))
325
_stringBuilder = new StringBuilder(
_length
);
329
_stringBuilder.Capacity =
_length
;
331
int charsLeft =
_length
- _stringBuilder.Length;
365
if (startIndex < 0 || startIndex >=
_length
)
369
if (len < 0 || startIndex + len >
_length
)
374
if ((
_length
<= MaxStringBuilderLength) || (_buffersCount == 1 && _lastBufferIndex == 0))
532
Debug.Assert(newLength <=
_length
);
534
if (newLength ==
_length
)
539
if (
_length
<= MaxStringBuilderLength)