4 writes to stream
System.Xml (4)
System\Xml\Core\XmlTextReaderImpl.cs (2)
2606
ps.
stream
= stream;
2847
ps.
stream
= (Stream) GetTempResolver().GetEntity(ps.baseUri, null, typeof(Stream));
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
832
ps.
stream
= stream;
System\Xml\Core\XmlTextReaderImplHelpers.cs (1)
83
stream
= null;
22 references to stream
System.Xml (22)
System\Xml\Core\XmlTextReaderImpl.cs (14)
2683
Debug.Assert( ps.charPos == 0 && ps.charsUsed == 0 && ps.
stream
== null );
2712
Debug.Assert( ps.
stream
== null && ps.textReader == null );
2837
if ( ps.
stream
== null ) {
2841
InitStreamInput( ps.baseUri, ps.baseUriStr, ps.
stream
, null );
2969
Debug.Assert( ps.
stream
!= null );
2981
if ( ps.
stream
== null ) {
3036
Debug.Assert( ps.
stream
!= null && ps.decoder != null && ps.bytes != null );
3095
if ( ps.
stream
!= null ) {
3136
if ( ps.
stream
!= null ) {
3153
if ( ps.
stream
!= null ) {
3157
int read = ps.
stream
.Read( ps.bytes, ps.bytesUsed, ps.bytes.Length - ps.bytesUsed );
3195
Debug.Assert( ps.
stream
!= null && ps.decoder != null && ps.bytes != null );
7245
if ( ps.
stream
!= null ) {
7246
ps.
stream
.Close();
System\Xml\Core\XmlTextReaderImplAsync.cs (6)
906
Debug.Assert( ps.charPos == 0 && ps.charsUsed == 0 && ps.
stream
== null );
965
Debug.Assert( ps.
stream
!= null );
1005
if ( ps.
stream
!= null ) {
1046
if ( ps.
stream
!= null ) {
1063
if ( ps.
stream
!= null ) {
1067
int read = await ps.
stream
.ReadAsync( ps.bytes, ps.bytesUsed, ps.bytes.Length - ps.bytesUsed ).ConfigureAwait(false);
System\Xml\Core\XmlTextReaderImplHelpers.cs (2)
103
if (
stream
!= null ) {
104
stream
.Close();