internal static string InvalidOpStreamClosed(string method) { return SR.Format(SR.SqlMisc_InvalidOpStreamClosed, method); }
private void ThrowIfStreamClosed(string method) { if (this.IsStreamClosed()) { throw new ObjectDisposedException(SQLResource.InvalidOpStreamClosed(method)); } }