public override void Write(byte[] buffer, int offset, int count) {
if (m_Position + count > m_Offset+m_Size) {
throw new NotSupportedException(SR.GetString(SR.net_cache_unsupported_partial_stream));
}
m_ParentStream.Write(buffer, offset, count);
m_Position += count;
}