1 write to stringBuilder
System.Xml (1)
System\Xml\Schema\DtdParser.cs (1)
273
stringBuilder
= new BufferBuilder();
28 references to stringBuilder
System.Xml (28)
System\Xml\Schema\DtdParser.cs (16)
2317
stringBuilder
.Length = 0;
2335
if (
stringBuilder
.Length > 0 ) {
2336
stringBuilder
.Append( chars, tokenStartPos, curPos - tokenStartPos );
2345
stringBuilder
.Append( chars, tokenStartPos, tmp1 );
2359
stringBuilder
.Append( replaceChar ); // For attributes: CDATA normalization of 0xA
2368
stringBuilder
.Append( readerAdapter.IsEntityEolNormalized ? "\u0020\u0020" : "\u0020" ); // CDATA normalization of 0xD 0xA
2371
stringBuilder
.Append( readerAdapter.IsEntityEolNormalized ? "\u000D\u000A" : "\u000A" ); // EOL normalization of 0xD 0xA
2386
stringBuilder
.Append( replaceChar ); // For attributes: CDATA normalization of 0xD and 0xD 0xA
2395
stringBuilder
.Append( (char)0x20 ); // For attributes: CDATA normalization of 0x9
2430
stringBuilder
.Append( chars, curPos, endPos - curPos );
2444
stringBuilder
.Append( chars, curPos, endPos - curPos );
2466
stringBuilder
.Append( '&' );
3036
if (
stringBuilder
.Length == 0 ) {
3040
return
stringBuilder
.ToString();
3047
string val = (
stringBuilder
.Length == 0 ) ? new string( chars, tokenStartPos, curPos - tokenStartPos - 1 ) :
stringBuilder
.ToString();
System\Xml\Schema\DtdParserAsync.cs (12)
1774
stringBuilder
.Length = 0;
1792
if (
stringBuilder
.Length > 0 ) {
1793
stringBuilder
.Append( chars, tokenStartPos, curPos - tokenStartPos );
1802
stringBuilder
.Append( chars, tokenStartPos, tmp1 );
1816
stringBuilder
.Append( replaceChar ); // For attributes: CDATA normalization of 0xA
1825
stringBuilder
.Append( readerAdapter.IsEntityEolNormalized ? "\u0020\u0020" : "\u0020" ); // CDATA normalization of 0xD 0xA
1828
stringBuilder
.Append( readerAdapter.IsEntityEolNormalized ? "\u000D\u000A" : "\u000A" ); // EOL normalization of 0xD 0xA
1843
stringBuilder
.Append( replaceChar ); // For attributes: CDATA normalization of 0xD and 0xD 0xA
1852
stringBuilder
.Append( (char)0x20 ); // For attributes: CDATA normalization of 0x9
1887
stringBuilder
.Append( chars, curPos, endPos - curPos );
1901
stringBuilder
.Append( chars, curPos, endPos - curPos );
1923
stringBuilder
.Append( '&' );