[Modify] Throw exception
This commit is contained in:
parent
b9f591512c
commit
0c8d458521
@ -901,6 +901,9 @@ namespace WebSocketSharp.Net
|
|||||||
/// </param>
|
/// </param>
|
||||||
public static void HtmlDecode (string s, TextWriter output)
|
public static void HtmlDecode (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