Updating 'var' preferences to always prefer var and offer a suggestion if the type is apparent

This commit is contained in:
Šimon Koníček 2018-10-24 21:56:34 +02:00
Родитель dad3db1197
Коммит e409c00d7b
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -42,8 +42,8 @@ dotnet_style_prefer_conditional_expression_over_return = true:silent
[*.cs]
# var preferences
csharp_style_var_for_built_in_types = true:none
csharp_style_var_when_type_is_apparent = true:silent
csharp_style_var_for_built_in_types = true:silent
csharp_style_var_when_type_is_apparent = true:suggestion
csharp_style_var_elsewhere = true:silent
# Expression-bodied members