diff --git a/.editorconfig b/.editorconfig index 1fbf4e5d8..33b2aeac7 100644 --- a/.editorconfig +++ b/.editorconfig @@ -48,18 +48,15 @@ dotnet_style_null_propagation = true:suggestion dotnet_style_explicit_tuple_names = true:suggestion # Prefix private members with underscore -dotnet_naming_rule.private_members_with_underscore.symbols = private_members -dotnet_naming_rule.private_members_with_underscore.style = underscore_prefix +dotnet_naming_rule.private_members_with_underscore.symbols = private_fields +dotnet_naming_rule.private_members_with_underscore.style = prefix_underscore dotnet_naming_rule.private_members_with_underscore.severity = suggestion -dotnet_naming_symbols.private_members.applicable_kinds = field -dotnet_naming_symbols.private_members.applicable_accessibilities = private -dotnet_naming_symbols.private_members.required_modifiers = readonly +dotnet_naming_symbols.private_fields.applicable_kinds = field +dotnet_naming_symbols.private_fields.applicable_accessibilities = private -dotnet_naming_style.underscore_prefix.capitalization = camel_case -dotnet_naming_style.underscore_prefix.required_prefix = _ -dotnet_naming_style.underscore_prefix.required_suffix = -dotnet_naming_style.underscore_prefix.word_separator = +dotnet_naming_style.prefix_underscore.capitalization = camel_case +dotnet_naming_style.prefix_underscore.required_prefix = _ # Async methods should have "Async" suffix dotnet_naming_rule.async_methods_end_in_async.symbols = any_async_methods