[Modify] Polish it
This commit is contained in:
parent
95aa75edf3
commit
3dd2a29965
@ -327,8 +327,10 @@ namespace WebSocketSharp.Net
|
|||||||
|
|
||||||
public override void Write (byte[] buffer, int offset, int count)
|
public override void Write (byte[] buffer, int offset, int count)
|
||||||
{
|
{
|
||||||
if (_disposed)
|
if (_disposed) {
|
||||||
throw new ObjectDisposedException (GetType ().ToString ());
|
var name = GetType ().ToString ();
|
||||||
|
throw new ObjectDisposedException (name);
|
||||||
|
}
|
||||||
|
|
||||||
_body.Write (buffer, offset, count);
|
_body.Write (buffer, offset, count);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user