ReSharper format: conform inline 'out' parameters.

This commit is contained in:
Erwin de Haan
2019-01-13 21:46:33 +01:00
parent 65bd052f3e
commit e867446437
124 changed files with 354 additions and 820 deletions

View File

@@ -11,9 +11,7 @@ namespace NLangDetect.Core
{
get
{
double value;
return _dict.TryGetValue(key, out value) ? value : 0.0;
return _dict.TryGetValue(key, out var value) ? value : 0.0;
}
set

View File

@@ -18,10 +18,8 @@ namespace NLangDetect.Core.Utils
public static string getString(string key)
{
string value;
return
_messages.TryGetValue(key, out value)
_messages.TryGetValue(key, out var value)
? value
: string.Format("!{0}!", key);
}