1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-20 12:53:02 +00:00

Some resharper fixes

This commit is contained in:
JKorf
2018-12-06 10:53:01 +01:00
parent e5f712633e
commit 181be6c17e
16 changed files with 51 additions and 76 deletions
@@ -33,7 +33,7 @@ namespace CryptoExchange.Net.Converters
if (Mapping.ContainsValue(value))
return Mapping.Single(m => m.Value == value).Key;
var lowerResult = Mapping.SingleOrDefault(m => m.Value.ToLower() == value.ToLower());
var lowerResult = Mapping.SingleOrDefault(m => string.Equals(m.Value, value, StringComparison.CurrentCultureIgnoreCase));
if (!lowerResult.Equals(default(KeyValuePair<T, string>)))
return lowerResult.Key;