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