From 0d540e0040fc3a81ce87c1ab069818d2753e1c81 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 15 Jan 2020 09:19:15 -0500 Subject: [PATCH] fix prefix fields with _ --- .editorconfig | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) 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