4 writes to stream
System.Private.Xml (4)
System\Xml\Core\XmlTextReaderImpl.cs (2)
2846
_ps.
stream
= stream;
3068
_ps.
stream
= (Stream?)tmpResolver.GetEntity(_ps.baseUri, null, typeof(Stream));
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
872
_ps.
stream
= stream;
System\Xml\Core\XmlTextReaderImplHelpers.cs (1)
71
stream
= null;
22 references to stream
System.Private.Xml (22)
System\Xml\Core\XmlTextReaderImpl.cs (14)
2917
Debug.Assert(_ps.charPos == 0 && _ps.charsUsed == 0 && _ps.
stream
== null);
2946
Debug.Assert(_ps.
stream
== null && _ps.textReader == null);
3076
if (_ps.
stream
== null)
3081
Debug.Assert(_ps.
stream
!= null);
3082
InitStreamInput(_ps.baseUri, _ps.baseUriStr, _ps.
stream
, null);
3209
Debug.Assert(_ps.
stream
!= null);
3224
if (_ps.
stream
== null)
3285
Debug.Assert(_ps.
stream
!= null && _ps.decoder != null && _ps.bytes != null);
3359
if (_ps.
stream
!= null)
3411
if (_ps.
stream
!= null)
3434
if (_ps.
stream
!= null)
3443
int read = _ps.
stream
.Read(_ps.bytes, _ps.bytesUsed, _ps.bytes.Length - _ps.bytesUsed);
3488
Debug.Assert(_ps.
stream
!= null && _ps.decoder != null && _ps.bytes != null);
8053
_ps.
stream
?.Dispose();
System\Xml\Core\XmlTextReaderImplAsync.cs (6)
944
Debug.Assert(_ps.charPos == 0 && _ps.charsUsed == 0 && _ps.
stream
== null);
1003
Debug.Assert(_ps.
stream
!= null);
1048
if (_ps.
stream
!= null)
1099
if (_ps.
stream
!= null)
1120
if (_ps.
stream
!= null)
1127
int read = await _ps.
stream
.ReadAsync(_ps.bytes.AsMemory(_ps.bytesUsed)).ConfigureAwait(false);
System\Xml\Core\XmlTextReaderImplHelpers.cs (2)
91
if (
stream
!= null)
93
stream
.Dispose();