[Modify] Throw exception
This commit is contained in:
parent
904bbdaa36
commit
6a3ff4964b
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user