Skip to content

Commit

Permalink
Use BCL types for member access expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
cocowalla committed May 7, 2019
1 parent 4abae1b commit df8a18a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ 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
# use language keywords instead of BCL types for local variables, method parameters, and class members
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
dotnet_style_predefined_type_for_member_access = true:suggestion

# use BCL types for member access expressions
dotnet_style_predefined_type_for_member_access = false:suggestion

# name all constant fields using PascalCase
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
Expand Down

0 comments on commit df8a18a

Please sign in to comment.