diff --git a/websocket-sharp/Ext.cs b/websocket-sharp/Ext.cs index 481f06c0..16d7805c 100644 --- a/websocket-sharp/Ext.cs +++ b/websocket-sharp/Ext.cs @@ -844,7 +844,6 @@ namespace WebSocketSharp ) { var len = value.Length; - var separator = new string (separators); var buff = new StringBuilder (32); var end = len - 1; @@ -875,7 +874,7 @@ namespace WebSocketSharp continue; } - if (separator.IndexOf (c) > -1) { + if (Array.IndexOf (separators, c) > -1) { if (quoted) continue;