root = true ; EditorConfig to support per-solution formatting. Use the EditorConfig VS add-in to make this work. http://editorconfig.org/ [*.cs] dotnet_style_qualification_for_field = false:warning dotnet_style_qualification_for_property = false:warning dotnet_style_qualification_for_method = false:warning dotnet_style_qualification_for_event = false:warning dotnet_style_predefined_type_for_locals_parameters_members = true:warning dotnet_style_predefined_type_for_member_access = true:warning dotnet_style_object_initializer = true:error dotnet_style_collection_initializer = true:error dotnet_style_explicit_tuple_names = true:suggestion dotnet_style_coalesce_expression = true:error dotnet_style_null_propagation = true:error csharp_style_var_for_built_in_types = true:warning csharp_style_var_when_type_is_apparent = true:warning csharp_style_var_elsewhere = true:warning csharp_style_expression_bodied_methods = true:warning csharp_style_expression_bodied_constructors = true:warning csharp_style_expression_bodied_operators = true:error csharp_style_expression_bodied_properties = true:warning csharp_style_expression_bodied_indexers = true:error csharp_style_expression_bodied_accessors = true:warning csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion csharp_style_pattern_matching_over_as_with_null_check = true:suggestion csharp_style_inlined_variable_declaration = true:suggestion csharp_style_throw_expression = false:suggestion csharp_style_conditional_delegate_call = true:error csharp_indent_switch_labels = false csharp_indent_labels = one_less_than_current csharp_prefer_simple_using_statement = true:warning deltaengine_max_method_lines = 15 deltaengine_max_parameters = 4 deltaengine_max_fields = 12 deltaengine_max_methods = 30 deltaengine_max_public_methods = 10 deltaengine_max_class_lines = 400 deltaengine_max_nesting_depth = 4 # Microsoft .NET properties csharp_preferred_modifier_order = public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:warning csharp_space_after_cast = false dotnet_naming_rule.constants_rule.import_to_resharper = as_predefined dotnet_naming_rule.constants_rule.severity = warning dotnet_naming_rule.constants_rule.style = upper_camel_case_style dotnet_naming_rule.constants_rule.symbols = constants_symbols dotnet_naming_rule.interfaces_rule.import_to_resharper = as_predefined dotnet_naming_rule.interfaces_rule.severity = warning dotnet_naming_rule.interfaces_rule.style = upper_camel_case_style dotnet_naming_rule.interfaces_rule.symbols = interfaces_symbols dotnet_naming_rule.local_constants_rule.import_to_resharper = as_predefined dotnet_naming_rule.local_constants_rule.severity = warning dotnet_naming_rule.local_constants_rule.style = upper_camel_case_style dotnet_naming_rule.local_constants_rule.symbols = local_constants_symbols dotnet_naming_rule.private_constants_rule.import_to_resharper = as_predefined dotnet_naming_rule.private_constants_rule.severity = warning dotnet_naming_rule.private_constants_rule.style = upper_camel_case_style dotnet_naming_rule.private_constants_rule.symbols = private_constants_symbols dotnet_naming_rule.private_instance_fields_rule.import_to_resharper = as_predefined dotnet_naming_rule.private_instance_fields_rule.severity = warning dotnet_naming_rule.private_instance_fields_rule.style = lower_camel_case_style dotnet_naming_rule.private_instance_fields_rule.symbols = private_instance_fields_symbols dotnet_naming_rule.private_static_fields_rule.import_to_resharper = as_predefined dotnet_naming_rule.private_static_fields_rule.severity = warning dotnet_naming_rule.private_static_fields_rule.style = lower_camel_case_style dotnet_naming_rule.private_static_fields_rule.symbols = private_static_fields_symbols dotnet_naming_rule.private_static_readonly_rule.import_to_resharper = as_predefined dotnet_naming_rule.private_static_readonly_rule.severity = warning dotnet_naming_rule.private_static_readonly_rule.style = upper_camel_case_style dotnet_naming_rule.private_static_readonly_rule.symbols = private_static_readonly_symbols dotnet_naming_rule.public_fields_rule.import_to_resharper = as_predefined dotnet_naming_rule.public_fields_rule.severity = none dotnet_naming_rule.public_fields_rule.style = lower_camel_case_style dotnet_naming_rule.public_fields_rule.symbols = public_fields_symbols dotnet_naming_rule.static_readonly_rule.import_to_resharper = as_predefined dotnet_naming_rule.static_readonly_rule.severity = warning dotnet_naming_rule.static_readonly_rule.style = upper_camel_case_style dotnet_naming_rule.static_readonly_rule.symbols = static_readonly_symbols dotnet_naming_rule.type_parameters_rule.import_to_resharper = as_predefined dotnet_naming_rule.type_parameters_rule.severity = warning dotnet_naming_rule.type_parameters_rule.style = upper_camel_case_style dotnet_naming_rule.type_parameters_rule.symbols = type_parameters_symbols dotnet_naming_rule.unity_serialized_field_rule.import_to_resharper = True dotnet_naming_rule.unity_serialized_field_rule.resharper_description = Unity serialized field dotnet_naming_rule.unity_serialized_field_rule.resharper_guid = 5f0fdb63-c892-4d2c-9324-15c80b22a7ef dotnet_naming_rule.unity_serialized_field_rule.severity = warning dotnet_naming_rule.unity_serialized_field_rule.style = lower_camel_case_style dotnet_naming_rule.unity_serialized_field_rule.symbols = unity_serialized_field_symbols dotnet_naming_style.lower_camel_case_style.capitalization = camel_case dotnet_naming_style.upper_camel_case_style.capitalization = pascal_case dotnet_naming_symbols.constants_symbols.applicable_accessibilities = public,internal,protected,protected_internal,private_protected dotnet_naming_symbols.constants_symbols.applicable_kinds = field dotnet_naming_symbols.constants_symbols.required_modifiers = const dotnet_naming_symbols.interfaces_symbols.applicable_accessibilities = * dotnet_naming_symbols.interfaces_symbols.applicable_kinds = interface dotnet_naming_symbols.local_constants_symbols.applicable_accessibilities = * dotnet_naming_symbols.local_constants_symbols.applicable_kinds = local dotnet_naming_symbols.local_constants_symbols.required_modifiers = const dotnet_naming_symbols.private_constants_symbols.applicable_accessibilities = private dotnet_naming_symbols.private_constants_symbols.applicable_kinds = field dotnet_naming_symbols.private_constants_symbols.required_modifiers = const dotnet_naming_symbols.private_instance_fields_symbols.applicable_accessibilities = private dotnet_naming_symbols.private_instance_fields_symbols.applicable_kinds = field dotnet_naming_symbols.private_static_fields_symbols.applicable_accessibilities = private dotnet_naming_symbols.private_static_fields_symbols.applicable_kinds = field dotnet_naming_symbols.private_static_fields_symbols.required_modifiers = static dotnet_naming_symbols.private_static_readonly_symbols.applicable_accessibilities = private dotnet_naming_symbols.private_static_readonly_symbols.applicable_kinds = field dotnet_naming_symbols.private_static_readonly_symbols.required_modifiers = static,readonly dotnet_naming_symbols.public_fields_symbols.applicable_accessibilities = public,internal,protected,protected_internal,private_protected dotnet_naming_symbols.public_fields_symbols.applicable_kinds = field dotnet_naming_symbols.static_readonly_symbols.applicable_accessibilities = public,internal,protected,protected_internal,private_protected dotnet_naming_symbols.static_readonly_symbols.applicable_kinds = field dotnet_naming_symbols.static_readonly_symbols.required_modifiers = static,readonly dotnet_naming_symbols.type_parameters_symbols.applicable_accessibilities = * dotnet_naming_symbols.type_parameters_symbols.applicable_kinds = type_parameter dotnet_naming_symbols.unity_serialized_field_symbols.applicable_accessibilities = * dotnet_naming_symbols.unity_serialized_field_symbols.applicable_kinds = unity_serialised_field dotnet_naming_symbols.unity_serialized_field_symbols.resharper_applicable_kinds = unity_serialised_field dotnet_naming_symbols.unity_serialized_field_symbols.resharper_required_modifiers = instance dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none dotnet_style_parentheses_in_other_binary_operators = never_if_unnecessary:none dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:none dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion [*] end_of_line = crlf indent_style = spc indent_size = 2 max_line_length = 100 trim_trailing_whitespace = true charset = utf8 [*.{proto,shader}] indent_style = spc indent_size = 2 [*.{appxmanifest,asax,ascx,aspx,axaml,axml,build,config,cs,cshtml,csproj,css,dbml,discomap,dtd,htm,html,jsproj,lsproj,master,njsproj,nuspec,paml,proj,props,razor,resw,resx,skin,StyleCop,targets,tasks,vb,vbproj,xaml,xamlx,xml,xoml,xsd}] indent_style = spc indent_size = 2