1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-14 18:02:58 +00:00

Cleanup/Fixed Resharper comments

This commit is contained in:
Jan Korf
2019-09-05 11:00:57 +02:00
parent de0916920f
commit 8cb3420520
22 changed files with 315 additions and 136 deletions
@@ -21,8 +21,8 @@ namespace CryptoExchange.Net.Objects
// If one is null and the other isn't, then the
// one that is null is "lesser".
if (x == null && y != null) return -1;
if (x != null && y == null) return 1;
if (x == null) return -1;
if (y == null) return 1;
// Both arrays are non-null. Find the shorter
// of the two lengths.
+2 -2
View File
@@ -71,7 +71,7 @@ namespace CryptoExchange.Net.Objects
/// <returns></returns>
public static WebCallResult<T> CreateErrorResult(Error error)
{
return new WebCallResult<T>(null, null, default(T), error);
return new WebCallResult<T>(null, null, default, error);
}
/// <summary>
@@ -83,7 +83,7 @@ namespace CryptoExchange.Net.Objects
/// <returns></returns>
public static WebCallResult<T> CreateErrorResult(HttpStatusCode? code, IEnumerable<Tuple<string, string>> responseHeaders, Error error)
{
return new WebCallResult<T>(code, responseHeaders, default(T), error);
return new WebCallResult<T>(code, responseHeaders, default, error);
}
}
}
+1 -1
View File
@@ -65,7 +65,7 @@
/// <summary>
/// Data synced, order book is up to date
/// </summary>
Synced,
Synced
}
/// <summary>