[Modify] Polish it
This commit is contained in:
parent
dd3147ae2d
commit
95c13ace79
@ -190,6 +190,7 @@ namespace WebSocketSharp.Net
|
|||||||
throw new ArgumentNullException ("asyncResult");
|
throw new ArgumentNullException ("asyncResult");
|
||||||
|
|
||||||
var ares = asyncResult as HttpStreamAsyncResult;
|
var ares = asyncResult as HttpStreamAsyncResult;
|
||||||
|
|
||||||
if (ares == null)
|
if (ares == null)
|
||||||
throw new ArgumentException ("A wrong IAsyncResult.", "asyncResult");
|
throw new ArgumentException ("A wrong IAsyncResult.", "asyncResult");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user