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