зеркало из https://github.com/github/VisualStudio.git
Updating 'var' preferences to always prefer var and offer a suggestion if the type is apparent
This commit is contained in:
Родитель
dad3db1197
Коммит
e409c00d7b
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче