File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -508,7 +508,28 @@ public override void SetLength(long value)
508508 /// <param name="buffer">The buffer containing data to write to the stream.</param>
509509 /// <param name="offset">The zero-based byte offset in array from which to begin copying bytes to the stream.</param>
510510 /// <param name="count">The maximum number of bytes to write.</param>
511- public override void Write ( byte [ ] buffer , int offset , int count )
511+ /// <exception cref="ArgumentNullException"><paramref name="buffer"/> is <see langword="null"/>.</exception>
512+ /// <exception cref="ArgumentException"><paramref name="offset"/> and <paramref name="count"/> describe an invalid range in buffer.</exception>
513+ /// <exception cref="ArgumentOutOfRangeException"><paramref name="offset"/> or <paramref name="count"/> is negative.</exception>
514+ /// <exception cref="IOException">
515+ /// <para>
516+ /// An I/O error occurred.
517+ /// -or-
518+ /// </para>
519+ /// <para>
520+ /// Another thread may have caused an unexpected change in the position of the operating system's file handle.
521+ /// -or-
522+ /// </para>
523+ /// <para>
524+ /// The underlying pipe is closed or disconnected.
525+ /// </para>
526+ /// </exception>
527+ /// <exception cref="ObjectDisposedException">The stream is closed.</exception>
528+ /// <exception cref="NotSupportedException">The current stream instance does not support writing.</exception>"
529+ public override void Write (
530+ byte [ ] buffer ,
531+ int offset ,
532+ int count )
512533 {
513534 if ( _disposed )
514535 {
You can’t perform that action at this time.
0 commit comments