# Shared layout for touched code; no whole-tree formatting requirement.
root = true

[*.cs]
indent_style = space
indent_size = 4
insert_final_newline = true
csharp_new_line_before_open_brace = all
csharp_indent_case_contents = true
csharp_indent_switch_labels = true
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_around_binary_operators = before_and_after
csharp_preserve_single_line_statements = false
csharp_preserve_single_line_blocks = true
# Opt-in build loads NetAnalyzers. Enable only this reviewed correctness set.
dotnet_analyzer_diagnostic.severity = none
dotnet_diagnostic.CA2011.severity = warning
dotnet_diagnostic.CA2012.severity = warning
dotnet_diagnostic.CA2200.severity = warning
dotnet_diagnostic.CA2245.severity = warning
dotnet_diagnostic.CA2246.severity = warning

[*.Designer.cs]
generated_code = true

[*.designer.cs]
generated_code = true
