1 write to _stringBuilder
System.Private.Xml (1)
System\Xml\Schema\DtdParser.cs (1)
257
_stringBuilder
= new StringBuilder();
28 references to _stringBuilder
System.Private.Xml (28)
System\Xml\Schema\DtdParser.cs (16)
2404
_stringBuilder
.Length = 0;
2415
if (
_stringBuilder
.Length > 0)
2417
_stringBuilder
.Append(_chars, _tokenStartPos, _curPos - _tokenStartPos);
2427
_stringBuilder
.Append(_chars, _tokenStartPos, tmp1);
2443
_stringBuilder
.Append(replaceChar); // For attributes: CDATA normalization of 0xA
2455
_stringBuilder
.Append(_readerAdapter.IsEntityEolNormalized ? "\u0020\u0020" : "\u0020"); // CDATA normalization of 0xD 0xA
2459
_stringBuilder
.Append(_readerAdapter.IsEntityEolNormalized ? "\u000D\u000A" : "\u000A"); // EOL normalization of 0xD 0xA
2477
_stringBuilder
.Append(replaceChar); // For attributes: CDATA normalization of 0xD and 0xD 0xA
2487
_stringBuilder
.Append((char)0x20); // For attributes: CDATA normalization of 0x9
2527
_stringBuilder
.Append(_chars, _curPos, endPos - _curPos);
2544
_stringBuilder
.Append(_chars, _curPos, endPos - _curPos);
2570
_stringBuilder
.Append('&');
3183
if (
_stringBuilder
.Length == 0)
3189
return
_stringBuilder
.ToString();
3197
string val = (
_stringBuilder
.Length == 0) ? new string(_chars, _tokenStartPos, _curPos - _tokenStartPos - 1) :
_stringBuilder
.ToString();
System\Xml\Schema\DtdParserAsync.cs (12)
1850
_stringBuilder
.Length = 0;
1861
if (
_stringBuilder
.Length > 0)
1863
_stringBuilder
.Append(_chars, _tokenStartPos, _curPos - _tokenStartPos);
1873
_stringBuilder
.Append(_chars, _tokenStartPos, tmp1);
1889
_stringBuilder
.Append(replaceChar); // For attributes: CDATA normalization of 0xA
1901
_stringBuilder
.Append(_readerAdapter.IsEntityEolNormalized ? "\u0020\u0020" : "\u0020"); // CDATA normalization of 0xD 0xA
1905
_stringBuilder
.Append(_readerAdapter.IsEntityEolNormalized ? "\u000D\u000A" : "\u000A"); // EOL normalization of 0xD 0xA
1923
_stringBuilder
.Append(replaceChar); // For attributes: CDATA normalization of 0xD and 0xD 0xA
1933
_stringBuilder
.Append((char)0x20); // For attributes: CDATA normalization of 0x9
1973
_stringBuilder
.Append(_chars, _curPos, endPos - _curPos);
1990
_stringBuilder
.Append(_chars, _curPos, endPos - _curPos);
2016
_stringBuilder
.Append('&');