diff --git a/.editorconfig b/.editorconfig index 4e504303688..4b875986920 100644 --- a/.editorconfig +++ b/.editorconfig @@ -137,3 +137,13 @@ resharper_csharp_braces_for_while = required resharper_csharp_braces_for_using = required resharper_csharp_braces_for_lock = required resharper_csharp_braces_for_fixed = required + +# Static fields should have s_ prefix +dotnet_naming_rule.static_fields_should_have_prefix.severity = suggestion +dotnet_naming_rule.static_fields_should_have_prefix.symbols = static_fields +dotnet_naming_rule.static_fields_should_have_prefix.style = static_prefix_style +dotnet_naming_symbols.static_fields.applicable_kinds = field +dotnet_naming_symbols.static_fields.required_modifiers = static +dotnet_naming_symbols.static_fields.applicable_accessibilities = private, internal, private_protected +dotnet_naming_style.static_prefix_style.required_prefix = s_ +dotnet_naming_style.static_prefix_style.capitalization = camel_case diff --git a/dictionary.txt b/dictionary.txt index 4427a17decc..b19b0796423 100644 --- a/dictionary.txt +++ b/dictionary.txt @@ -1,6 +1,7 @@ -Lsfo ABCEGHJKLMNPRSTVWXYZ ABCEGHJKLMNPRSTVXY +accessibilities agrc Alderaan Andi @@ -128,6 +129,7 @@ reencode refetched relayjs reprojected +resharper resheader resmimetype resx