1 write to m_stream
System.Data (1)
fx\src\data\System\Data\SQLTypes\SqlXml.cs (1)
286
m_stream
= stream;
38 references to m_stream
System.Data (38)
fx\src\data\System\Data\SQLTypes\SqlXml.cs (38)
287
Debug.Assert(
m_stream
!= null, "stream can not be null");
304
return
m_stream
.CanRead;
312
return
m_stream
.CanSeek;
320
return
m_stream
.CanWrite;
328
return
m_stream
.Length;
341
if (value < 0 || value >
m_stream
.Length)
360
if (offset < 0 || offset >
m_stream
.Length)
367
if (lPosition < 0 || lPosition >
m_stream
.Length)
373
lPosition =
m_stream
.Length + offset;
374
if (lPosition < 0 || lPosition >
m_stream
.Length)
397
if (
m_stream
.CanSeek &&
m_stream
.Position != m_lPosition)
398
m_stream
.Seek(m_lPosition, SeekOrigin.Begin);
400
int iBytesRead = (int)
m_stream
.Read(buffer, offset, count);
416
if (
m_stream
.CanSeek &&
m_stream
.Position != m_lPosition)
417
m_stream
.Seek(m_lPosition, SeekOrigin.Begin);
419
m_stream
.Write(buffer, offset, count);
429
if (
m_stream
.CanSeek && m_lPosition >=
m_stream
.Length)
432
if (
m_stream
.CanSeek &&
m_stream
.Position != m_lPosition)
433
m_stream
.Seek(m_lPosition, SeekOrigin.Begin);
435
int ret =
m_stream
.ReadByte();
443
if (
m_stream
.CanSeek &&
m_stream
.Position != m_lPosition)
444
m_stream
.Seek(m_lPosition, SeekOrigin.Begin);
445
m_stream
.WriteByte(value);
453
m_stream
.SetLength(value);
459
if (
m_stream
!= null)
460
m_stream
.Flush();
474
if (!
m_stream
.CanSeek)
479
if (!
m_stream
.CanRead)
484
if (!
m_stream
.CanWrite)
496
if (m_isClosed ||
m_stream
== null || (!
m_stream
.CanRead && !
m_stream
.CanWrite && !
m_stream
.CanSeek))