[Modify] Throw exception
This commit is contained in:
parent
4b2e166481
commit
8aedfa8cc8
@ -846,6 +846,9 @@ namespace WebSocketSharp.Net
|
|||||||
|
|
||||||
public static void HtmlAttributeEncode (string s, TextWriter output)
|
public static void HtmlAttributeEncode (string s, TextWriter output)
|
||||||
{
|
{
|
||||||
|
if (s == null)
|
||||||
|
throw new ArgumentNullException ("s");
|
||||||
|
|
||||||
if (output == null)
|
if (output == null)
|
||||||
throw new ArgumentNullException ("output");
|
throw new ArgumentNullException ("output");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user