Imported Upstream version 1.34.0
[platform/upstream/grpc.git] / src / csharp / .editorconfig
1 root = true
2 [**]
3 charset = utf-8  ; Implies no BOM.
4 end_of_line = LF
5 indent_style = space
6 indent_size = 4
7 insert_final_newline = true
8 tab_width = 4
9
10 ; https://docs.microsoft.com/visualstudio/ide/editorconfig-code-style-settings-reference
11 [*.cs]
12 dotnet_sort_system_directives_first = true
13 csharp_new_line_before_open_brace = accessors, anonymous_methods, control_blocks, events, indexers, local_functions, methods, properties, types
14 csharp_new_line_before_else = true
15 csharp_new_line_before_catch = true
16 csharp_new_line_before_finally = true
17 csharp_indent_case_contents = true
18 csharp_indent_switch_labels = true
19 csharp_space_after_cast = false
20 csharp_space_after_keywords_in_control_flow_statements = true
21 csharp_space_between_method_declaration_parameter_list_parentheses = false
22 csharp_space_between_method_call_parameter_list_parentheses = false
23 csharp_space_between_parentheses = false
24 csharp_space_before_colon_in_inheritance_clause = true
25 csharp_space_after_colon_in_inheritance_clause = true
26 csharp_space_around_binary_operators = before_and_after
27 csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
28 csharp_space_between_method_call_name_and_opening_parenthesis = false
29 csharp_space_between_method_call_empty_parameter_list_parentheses = false
30 csharp_preserve_single_line_statements = true
31 csharp_preserve_single_line_blocks = true