[Modify] Polish it

master
sta 6 years ago
parent 9871c90659
commit 98f7f00b59

@ -792,7 +792,7 @@ namespace WebSocketSharp.Net
if (headerType == HttpHeaderType.Unspecified) if (headerType == HttpHeaderType.Unspecified)
return; return;
if (_state != headerType) { if (headerType != _state) {
var msg = "This collection does not allow the header."; var msg = "This collection does not allow the header.";
throw new InvalidOperationException (msg); throw new InvalidOperationException (msg);

Loading…
Cancel
Save