diff --git a/.editorconfig b/.editorconfig index 5010257cf9eef46227db98fa9229e11f5d39ef65..1e59d8a621105bac9d3ebb8e341e2e96876a5500 100644 --- a/.editorconfig +++ b/.editorconfig @@ -27,13 +27,13 @@ indent_size = 2 # Dotnet code style settings: [*.{cs, vb}] -# Avoid "this." unless absolutely necessary +# Avoid "this." and "Me." if not necessary dotnet_style_qualification_for_field = false:suggestion dotnet_style_qualification_for_property = false:suggestion dotnet_style_qualification_for_method = false:suggestion dotnet_style_qualification_for_event = false:suggestion -# Use language keywords instead of BCL types for type references +# Use language keywords instead of framework type names for type references dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion dotnet_style_predefined_type_for_member_access = true:suggestion @@ -42,6 +42,7 @@ dotnet_style_object_initializer = true:suggestion dotnet_style_collection_initializer = true:suggestion dotnet_style_coalesce_expression = true:suggestion dotnet_style_null_propagation = true:suggestion +dotnet_style_explicit_tuple_names = true:suggestion # CSharp code style settings: [*.cs] diff --git a/src/Compilers/.editorconfig b/src/Compilers/.editorconfig index e04103e671922a37ce73a208ae1f6fbcadc40bb5..0673bf0e1fc6fea5534c92938789a09f808ab611 100644 --- a/src/Compilers/.editorconfig +++ b/src/Compilers/.editorconfig @@ -2,5 +2,5 @@ # CSharp code style settings: [*.cs] csharp_style_var_for_built_in_types = false:none -csharp_style_var_when_type_is_apparent = false:none +csharp_style_var_when_type_is_apparent = true:none csharp_style_var_elsewhere = false:none \ No newline at end of file