[Modify] Throw exception

This commit is contained in:
sta 2018-09-26 20:34:32 +09:00
parent 4b2e166481
commit 8aedfa8cc8

View File

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