Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcod7alex <cod7alex@gmail.com>2017-03-13 23:53:22 +0300
committercod7alex <cod7alex@gmail.com>2017-03-13 23:53:22 +0300
commitfac27954f98cc41fcedef2847ae8e6428ef19ea2 (patch)
tree119e567048b8b774408c13df59add7dda5bf8e51 /.editorconfig
parent6dcfee2fa6b08c903244cfe51301b028d901a4d7 (diff)
Change .editorconfig code styloe settings to match VS defaults.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig12
1 files changed, 6 insertions, 6 deletions
diff --git a/.editorconfig b/.editorconfig
index bc1ee0733b..061e34aa37 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -29,8 +29,8 @@ dotnet_style_qualification_for_method = false:suggestion
dotnet_style_qualification_for_event = false:suggestion
# only use var when it's obvious what the variable type is
-csharp_style_var_for_built_in_types = true:suggestion
-csharp_style_var_when_type_is_apparent = true:suggestion
+csharp_style_var_for_built_in_types = false:none
+csharp_style_var_when_type_is_apparent = false:none
csharp_style_var_elsewhere = false:suggestion
# use language keywords instead of BCL types
@@ -82,9 +82,9 @@ dotnet_style_null_propagation = true:suggestion
csharp_style_expression_bodied_methods = false:none
csharp_style_expression_bodied_constructors = false:none
csharp_style_expression_bodied_operators = false:none
-csharp_style_expression_bodied_properties = false:none
-csharp_style_expression_bodied_indexers = false:none
-csharp_style_expression_bodied_accessors = false:none
+csharp_style_expression_bodied_properties = true:none
+csharp_style_expression_bodied_indexers = true:none
+csharp_style_expression_bodied_accessors = true:none
# Pattern matching
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
@@ -93,7 +93,7 @@ csharp_style_inlined_variable_declaration = true:suggestion
# Null Checking Preferences
csharp_style_throw_expression = true:suggestion
-csharp_style_conditional_delegate_call = false:suggestion
+csharp_style_conditional_delegate_call = true:suggestion
# C++ Files
[*.{cpp,h,in}]