internal static string InvalidOpStreamNonReadable(string method) { return SR.Format(SR.SqlMisc_InvalidOpStreamNonReadable, method); }
private void ThrowIfStreamCannotRead(string method) { if (!this.m_stream.CanRead) { throw new NotSupportedException(SQLResource.InvalidOpStreamNonReadable(method)); } }