mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-23 00:18:47 +00:00
Fix CA1307 violations
This commit is contained in:
parent
e38c384f4d
commit
c27334bdc8
@ -227,7 +227,7 @@ public static class DictionaryExtensions
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
return value.Contains(' ') ? $"\"{value}\"" : value;
|
||||
return value.Contains(' ', StringComparison.Ordinal) ? $"\"{value}\"" : value;
|
||||
}
|
||||
|
||||
static string GetQueryParameter(KeyValuePair<TKey, TValue> pair)
|
||||
@ -282,7 +282,7 @@ public static class DictionaryExtensions
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
return value.Contains(' ') ? $"\"{value}\"" : value;
|
||||
return value.Contains(' ', StringComparison.Ordinal) ? $"\"{value}\"" : value;
|
||||
}
|
||||
|
||||
string GetQueryParameter(KeyValuePair<TKey, TValue> pair)
|
||||
@ -351,7 +351,7 @@ public static class DictionaryExtensions
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
return value.Contains(' ') ? $"\"{value}\"" : value;
|
||||
return value.Contains(' ', StringComparison.Ordinal) ? $"\"{value}\"" : value;
|
||||
}
|
||||
|
||||
string GetQueryParameter(KeyValuePair<TKey, TValue> pair)
|
||||
|
Loading…
Reference in New Issue
Block a user