C# 私有字段前缀 _ 的设置(VS2019, .editorconfig)

 

#### Naming styles ####
# Naming rules
dotnet_naming_rule.private_or_internal_field_should_be_private_field.severity = suggestion
dotnet_naming_rule.private_or_internal_field_should_be_private_field.symbols = private_or_internal_field
dotnet_naming_rule.private_or_internal_field_should_be_private_field.style = private_field
# Symbol specifications
dotnet_naming_symbols.private_or_internal_field.applicable_kinds = field
dotnet_naming_symbols.private_or_internal_field.applicable_accessibilities = internal, private, private_protected
dotnet_naming_symbols.private_or_internal_field.required_modifiers = 
# Naming styles
dotnet_naming_style.private_field.required_prefix = _
dotnet_naming_style.private_field.required_suffix = 
dotnet_naming_style.private_field.word_separator = 
dotnet_naming_style.private_field.capitalization = camel_case

 

C# 私有字段前缀 _ 的设置(VS2019, .editorconfig)

上一篇:fatal: refusing to merge unrelated histories


下一篇:Jenkins 错误java.lang.NoClassDefFoundError: hudson.model.Computer