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; 2415if (_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('&'); 3183if (_stringBuilder.Length == 0) 3189return _stringBuilder.ToString(); 3197string val = (_stringBuilder.Length == 0) ? new string(_chars, _tokenStartPos, _curPos - _tokenStartPos - 1) : _stringBuilder.ToString();
System\Xml\Schema\DtdParserAsync.cs (12)
1850_stringBuilder.Length = 0; 1861if (_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('&');