diff --git a/websocket-sharp/Ext.cs b/websocket-sharp/Ext.cs index 26c458ed..fd320122 100644 --- a/websocket-sharp/Ext.cs +++ b/websocket-sharp/Ext.cs @@ -1913,19 +1913,17 @@ namespace WebSocketSharp /// Converts the specified to a . /// /// - /// A converted from or + /// A converted from or /// if the convert has failed. /// - /// + /// /// A to convert. /// - public static Uri ToUri (this string uriString) + public static Uri ToUri (this string value) { Uri ret; Uri.TryCreate ( - uriString, - uriString.MaybeUri () ? UriKind.Absolute : UriKind.Relative, - out ret + value, value.MaybeUri () ? UriKind.Absolute : UriKind.Relative, out ret ); return ret;