[Modify] Throw exception

This commit is contained in:
sta 2018-09-27 19:39:44 +09:00
parent 904bbdaa36
commit 6a3ff4964b

View File

@ -1042,6 +1042,9 @@ namespace WebSocketSharp.Net
public static void HtmlEncode (string s, TextWriter output)
{
if (s == null)
throw new ArgumentNullException ("s");
if (output == null)
throw new ArgumentNullException ("output");