[Modify] Throw exception

This commit is contained in:
sta 2018-12-18 20:59:00 +09:00
parent b9f591512c
commit 0c8d458521

View File

@ -901,6 +901,9 @@ namespace WebSocketSharp.Net
/// </param>
public static void HtmlDecode (string s, TextWriter output)
{
if (s == null)
throw new ArgumentNullException ("s");
if (output == null)
throw new ArgumentNullException ("output");