[Modify] Do not throw
This commit is contained in:
parent
157cb4a3bc
commit
7e7ae7b0a4
@ -720,10 +720,8 @@ namespace WebSocketSharp.Net
|
|||||||
}
|
}
|
||||||
|
|
||||||
internal set {
|
internal set {
|
||||||
if (value < 0 || value > 1) {
|
if (value < 0 || value > 1)
|
||||||
var msg = "It is not allowed.";
|
return;
|
||||||
throw new ArgumentOutOfRangeException ("value", msg);
|
|
||||||
}
|
|
||||||
|
|
||||||
_version = value;
|
_version = value;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user