From af4319b66cc5cef0f19ae4b4d8c93cdfd4cafb99 Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 12 Jun 2018 19:14:29 +0900 Subject: [PATCH] [Fix] It must be the name of the parameter --- websocket-sharp/WebSocket.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/websocket-sharp/WebSocket.cs b/websocket-sharp/WebSocket.cs index f6585243..10c3d795 100644 --- a/websocket-sharp/WebSocket.cs +++ b/websocket-sharp/WebSocket.cs @@ -615,12 +615,12 @@ namespace WebSocketSharp Uri uri; if (!Uri.TryCreate (value, UriKind.Absolute, out uri)) { msg = "Not an absolute URI string."; - throw new ArgumentException (msg, value); + throw new ArgumentException (msg, "value"); } if (uri.Segments.Length > 1) { msg = "It includes the path segments."; - throw new ArgumentException (msg, value); + throw new ArgumentException (msg, "value"); } }