15 writes to Length
dotnet-svcutil-lib (15)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (14)
2260
_stringBuilder.
Length
= 0;
3675
sb.
Length
= originalSbLen;
3688
sb.
Length
= 0;
4343
_stringBuilder.
Length
= 0;
5492
_stringBuilder.
Length
= 0;
5570
_stringBuilder.
Length
= 0;
5575
_stringBuilder.
Length
= 0;
5612
_stringBuilder.
Length
= 0;
5621
_stringBuilder.
Length
= 0;
5912
_stringBuilder.
Length
= 0;
6047
_stringBuilder.
Length
= 0;
6409
_stringBuilder.
Length
= 0;
6611
_stringBuilder.
Length
= 0;
8859
_stringBuilder.
Length
= 0;
FrameworkFork\Microsoft.Xml\Xml\schema\DtdParser.cs (1)
2429
_stringBuilder.
Length
= 0;
26 references to Length
dotnet-svcutil-lib (26)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (23)
2228
Debug.Assert(_stringBuilder.
Length
== 0);
3660
Debug.Assert(_stringBuilder.
Length
== 0 || isTextDecl);
3669
int originalSbLen = sb.
Length
;
5227
Debug.Assert(_stringBuilder.
Length
== 0);
5327
int valueChunkLen = _stringBuilder.
Length
- valueChunkStartPos;
5354
valueChunkStartPos = _stringBuilder.
Length
;
5371
int valueChunkLen = _stringBuilder.
Length
- valueChunkStartPos;
5465
valueChunkStartPos = _stringBuilder.
Length
;
5478
int valueChunkLen = _stringBuilder.
Length
- valueChunkStartPos;
5528
Debug.Assert(_stringBuilder.
Length
== 0);
5565
Debug.Assert(_stringBuilder.
Length
> 0);
5605
} while (!fullValue && orChars <= 0x20 && _stringBuilder.
Length
< MinWhitespaceLookahedCount);
5608
XmlNodeType nodeType = (_stringBuilder.
Length
< MinWhitespaceLookahedCount) ? GetTextNodeType(orChars) : XmlNodeType.Text;
5895
Debug.Assert(_stringBuilder.
Length
== 0);
5910
Debug.Assert(_stringBuilder.
Length
> 0);
6026
Debug.Assert(_stringBuilder.
Length
== 0);
6044
if (_stringBuilder.
Length
> 0)
6323
Debug.Assert(_stringBuilder.
Length
== 0);
6393
Debug.Assert(_stringBuilder.
Length
== 0);
6598
Debug.Assert(_stringBuilder.
Length
== 0);
8720
Debug.Assert(_stringBuilder.
Length
== 0);
8776
if (_stringBuilder.
Length
== 0)
8830
if (_stringBuilder.
Length
> 0)
FrameworkFork\Microsoft.Xml\Xml\schema\DtdParser.cs (3)
2443
if (_stringBuilder.
Length
> 0)
3259
if (_stringBuilder.
Length
== 0)
3273
string val = (_stringBuilder.
Length
== 0) ? new string(_chars, _tokenStartPos, _curPos - _tokenStartPos - 1) : _stringBuilder.ToString();