4 writes to _internalSubsetValueSb
System.Private.Xml (4)
System\Xml\Schema\DtdParser.cs (2)
457_internalSubsetValueSb = new StringBuilder(); 592_internalSubsetValueSb = null;
System\Xml\Schema\DtdParserAsync.cs (2)
101_internalSubsetValueSb = new StringBuilder(); 236_internalSubsetValueSb = null;
21 references to _internalSubsetValueSb
System.Private.Xml (21)
System\Xml\Schema\DtdParser.cs (11)
367return _readerAdapter.EntityStackLength == 0 && _internalSubsetValueSb != null; 587if (_internalSubsetValueSb != null) 591_schemaInfo.InternalDtdSubset = _internalSubsetValueSb.ToString(); 1373_readerAdapter.ParseComment(_internalSubsetValueSb); 1374_internalSubsetValueSb!.Append("-->"); 1400_readerAdapter.ParsePI(_internalSubsetValueSb); 1401_internalSubsetValueSb!.Append("?>"); 2525int endPos = _readerAdapter.ParseNumericCharRef(SaveInternalSubsetValue ? _internalSubsetValueSb : null); 2539int endPos = _readerAdapter.ParseNamedCharRef(true, SaveInternalSubsetValue ? _internalSubsetValueSb : null); 3228Debug.Assert(_internalSubsetValueSb != null); 3233_internalSubsetValueSb.Append(_chars, readerCurPos, internalSubsetValueEndPos - readerCurPos);
System\Xml\Schema\DtdParserAsync.cs (10)
231if (_internalSubsetValueSb != null) 235_schemaInfo.InternalDtdSubset = _internalSubsetValueSb.ToString(); 993Debug.Assert(_internalSubsetValueSb != null); 994await _readerAdapter.ParseCommentAsync(_internalSubsetValueSb).ConfigureAwait(false); 995_internalSubsetValueSb.Append("-->"); 1021Debug.Assert(_internalSubsetValueSb != null); 1022await _readerAdapter.ParsePIAsync(_internalSubsetValueSb).ConfigureAwait(false); 1023_internalSubsetValueSb.Append("?>"); 1971int endPos = await _readerAdapter.ParseNumericCharRefAsync(SaveInternalSubsetValue ? _internalSubsetValueSb : null).ConfigureAwait(false); 1985int endPos = await _readerAdapter.ParseNamedCharRefAsync(true, SaveInternalSubsetValue ? _internalSubsetValueSb : null).ConfigureAwait(false);