diff --git a/.editorconfig b/.editorconfig
index 8b506da..9181fe5 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,252 +1,252 @@
root = true
[*]
-charset=utf-8
-next_line=crlf
-insert_final_newline=false
-indent_style=space
-indent_size=4
+charset = utf-8
+next_line = crlf
+insert_final_newline = false
+indent_style = space
+indent_size = 4
# Generic non-language specific ones for Resharper and friends
-brace_style=next_line
-int_align=true
-keep_existing_arrangement=false
-place_simple_blocks_on_single_line=true
-place_simple_declaration_blocks_on_single_line=true
-place_attribute_on_same_line=false
-space_after_unary_operator=false
-space_after_comma=true
-space_around_ternary_operator=true
-space_around_binary_operator=true
-space_around_member_access_operator=false
-space_before_open_square_brackets=false
-space_after_keywords_in_control_flow_statements=true
-space_before_comma=false
-space_between_method_call_name_and_opening_parenthesis=false
-space_between_method_declaration_name_and_open_parenthesis=false
-space_between_square_brackets=false
-space_between_parentheses_of_control_flow_statements=false
-accessor_owner_declaration_braces=next_line
-accessor_declaration_braces=next_line
-case_block_braces=next_line
-initializer_braces=next_line
-other_braces=next_line
-allow_comment_after_lbrace=false
-empty_block_style=together_same_line
-braces_for_ifelse=not_required
-braces_for_for=not_required
-braces_for_foreach=not_required
-braces_for_while=not_required
-braces_for_dowhile=not_required
-braces_for_using=not_required
-braces_for_lock=not_required
-braces_for_fixed=not_required
-method_or_operator_body=expression_body
-local_function_body=expression_body
-constructor_or_destructor_body=expression_body
-accessor_owner_body=expression_body
-force_attribute_style=join
-function_braces=next_line
-force_control_statements_braces=always_remove
-space_in_singleline_accessorholder=true
-type_declaration_braces=next_line
-invocable_declaration_braces=next_line
-anonymous_method_declaration_braces=next_line
-space_between_accessors_in_singleline_property=true
-indent_nested_usings_stmt=true
-space_within_empty_braces=false
-indent_nested_fixed_stmt=true
-indent_nested_lock_stmt=true
-indent_nested_for_stmt=true
-indent_nested_foreach_stmt=true
-indent_nested_while_stmt=true
-use_continuous_indent_inside_parens=true
-indent_method_decl_pars=inside
-indent_invocation_pars=inside
-indent_statement_pars=inside
-indent_typeparam_angles=inside
-indent_typearg_angles=inside
-indent_pars=inside
-indent_preprocessor_if=outdent
-indent_preprocessor_region=usual_indent
-indent_preprocessor_other=usual_indent
-indent_switch_labels=true
-indent_type_constraints=true
-stick_comment=false
-alignment_tab_fill_style=use_spaces
-align_multiline_parameter=true
-align_multiline_extends_list=true
-align_linq_query=true
-align_multiline_binary_expressions_chain=true
-outdent_binary_ops=true
-align_multiline_calls_chain=true
-outdent_dots=true
-align_multiline_array_and_object_initializer=false
-indent_anonymous_method_block=false
-align_first_arg_by_paren=true
-align_multiline_argument=true
-align_tuple_components=true
-align_multiline_expression=true
-align_multiline_for_stmt=true
-align_multiple_declaration=true
-align_multline_type_parameter_list=true
-align_multline_type_parameter_constrains=true
-int_align_fields=true
-int_align_properties=true
-int_align_methods=true
-int_align_parameters=false
-int_align_variables=true
-int_align_assignments=true
-int_align_nested_ternary=true
-int_align_invocations=false
-int_align_binary_expressions=true
-int_align_comments=true
-int_align_switch_sections=true
-keep_user_linebreaks=false
-keep_existing_arrangement=false
-keep_existing_linebreaks=false
-max_line_length=120
-wrap_before_comma=false
-special_else_if_treatment=true
-place_type_attribute_on_same_line=never
-place_method_attribute_on_same_line=never
-place_accessorholder_attribute_on_same_line=never
-place_attribute_on_same_line=never
-place_accessor_attribute_on_same_line=never
-place_attribute_on_same_line=never
-place_field_attribute_on_same_line=never
-place_attribute_on_same_line=never
-wrap_parameters_style=wrap_if_long
-keep_existing_declaration_parens_arrangement=false
-wrap_before_declaration_lpar=false
-wrap_after_declaration_lpar=false
-wrap_before_declaration_rpar=false
-place_constructor_initializer_on_same_line=true
-keep_existing_expr_member_arrangement=false
-place_expr_method_on_single_line=true
-place_expr_property_on_single_line=true
-place_expr_accessor_on_single_line=true
-wrap_before_arrow_with_expressions=false
-place_type_constraints_on_same_line=true
-wrap_before_first_type_parameter_constraint=true
-wrap_multiple_type_parameter_constraints_style=wrap_if_long
-wrap_before_type_parameter_langle=true
-wrap_before_extends_colon=false
-wrap_extends_list_style=wrap_if_long
-keep_existing_declaration_block_arrangement=false
-place_abstract_accessorholder_on_single_line=true
-place_simple_accessorholder_on_single_line=false
-place_accessor_with_attrs_holder_on_single_line=false
-place_simple_accessor_on_single_line=true
-place_simple_method_on_single_line=false
-keep_existing_enum_arrangement=false
-place_simple_enum_on_single_line=false
-wrap_enum_declaration=wrap_if_long
-new_line_before_else=true
-new_line_before_while=false
-wrap_for_stmt_header_style=wrap_if_long
-wrap_multiple_declaration_style=wrap_if_long
-keep_existing_embedded_arrangement=false
-place_simple_embedded_statement_on_same_line=false
-place_simple_case_statement_on_same_line=true
-keep_existing_embedded_block_arrangement=false
-place_simple_embedded_block_on_same_line=false
-place_simple_anonymousmethod_on_single_line=false
-keep_existing_initializer_arrangement=false
-place_simple_initializer_on_single_line=false
-wrap_object_and_collection_initializer_style=chop_always
-wrap_array_initializer_style=wrap_if_long
-wrap_arguments_style=wrap_if_long
-keep_existing_invocation_parens_arrangement=false
-wrap_after_invocation_lpar=false
-wrap_before_invocation_rpar=false
-wrap_after_dot_in_method_calls=true
-wrap_chained_method_calls=wrap_if_long
-wrap_before_binary_opsign=false
-wrap_chained_binary_expressions=wrap_if_long
-force_chop_compound_if_expression=true
-force_chop_compound_while_expression=true
-force_chop_compound_do_expression=true
-wrap_before_ternary_opsigns=true
-wrap_ternary_expr_style=wrap_if_long
-nested_ternary_style=expanded
-wrap_linq_expressions=wrap_if_long
-wrap_before_linq_expression=false
-place_linq_into_on_new_line=false
-wrap_verbatim_interpolated_strings=wrap_if_long
-extra_spaces=remove_all
-space_after_keywords_in_control_flow_statements=false
-space_between_method_call_name_and_opening_parenthesis=false
-space_between_method_declaration_name_and_open_parenthesis=false
-space_before_typeof_parentheses=false
-space_before_checked_parentheses=false
-space_before_sizeof_parentheses=false
-space_before_nameof_parentheses=false
-space_between_keyword_and_expression=true
-space_between_keyword_and_type=true
-space_around_assignment_op=true
-space_around_logical_op=true
-space_around_binary_operator=true
-space_around_equality_op=true
-space_around_relational_op=true
-space_around_bitwise_op=true
-space_around_additive_op=true
-space_around_multiplicative_op=true
-space_around_shift_op=true
-space_around_nullcoalescing_op=true
-space_around_arrow_op=false
-space_after_logical_not_op=false
-space_after_unary_operator=false
-space_after_cast=false
-space_around_dot=false
-space_around_lambda_arrow=true
-space_before_pointer_asterik_declaration=false
-space_before_nullable_mark=false
-blank_lines_around_class_definition=1
-namespace_indentation=all
-space_within_template_argument=false
-align_union_type_usage=true
-space_in_singleline_method=true
-space_in_singleline_anonymous_method=true
-space_within_single_line_array_initializer_braces=true
-space_around_arrow_op=false
+brace_style = next_line
+int_align = true
+keep_existing_arrangement = false
+place_simple_blocks_on_single_line = true
+place_simple_declaration_blocks_on_single_line = true
+place_attribute_on_same_line = false
+space_after_unary_operator = false
+space_after_comma = true
+space_around_ternary_operator = true
+space_around_binary_operator = true
+space_around_member_access_operator = false
+space_before_open_square_brackets = false
+space_after_keywords_in_control_flow_statements = true
+space_before_comma = false
+space_between_method_call_name_and_opening_parenthesis = false
+space_between_method_declaration_name_and_open_parenthesis = false
+space_between_square_brackets = false
+space_between_parentheses_of_control_flow_statements = false
+accessor_owner_declaration_braces = next_line
+accessor_declaration_braces = next_line
+case_block_braces = next_line
+initializer_braces = next_line
+other_braces = next_line
+allow_comment_after_lbrace = false
+empty_block_style = together_same_line
+braces_for_ifelse = not_required
+braces_for_for = not_required
+braces_for_foreach = not_required
+braces_for_while = not_required
+braces_for_dowhile = not_required
+braces_for_using = not_required
+braces_for_lock = not_required
+braces_for_fixed = not_required
+method_or_operator_body = expression_body
+local_function_body = expression_body
+constructor_or_destructor_body = expression_body
+accessor_owner_body = expression_body
+force_attribute_style = join
+function_braces = next_line
+force_control_statements_braces = always_remove
+space_in_singleline_accessorholder = true
+type_declaration_braces = next_line
+invocable_declaration_braces = next_line
+anonymous_method_declaration_braces = next_line
+space_between_accessors_in_singleline_property = true
+indent_nested_usings_stmt = true
+space_within_empty_braces = false
+indent_nested_fixed_stmt = true
+indent_nested_lock_stmt = true
+indent_nested_for_stmt = true
+indent_nested_foreach_stmt = true
+indent_nested_while_stmt = true
+use_continuous_indent_inside_parens = true
+indent_method_decl_pars = inside
+indent_invocation_pars = inside
+indent_statement_pars = inside
+indent_typeparam_angles = inside
+indent_typearg_angles = inside
+indent_pars = inside
+indent_preprocessor_if = outdent
+indent_preprocessor_region = usual_indent
+indent_preprocessor_other = usual_indent
+indent_switch_labels = true
+indent_type_constraints = true
+stick_comment = false
+alignment_tab_fill_style = use_spaces
+align_multiline_parameter = true
+align_multiline_extends_list = true
+align_linq_query = true
+align_multiline_binary_expressions_chain = true
+outdent_binary_ops = true
+align_multiline_calls_chain = true
+outdent_dots = true
+align_multiline_array_and_object_initializer = false
+indent_anonymous_method_block = false
+align_first_arg_by_paren = true
+align_multiline_argument = true
+align_tuple_components = true
+align_multiline_expression = true
+align_multiline_for_stmt = true
+align_multiple_declaration = true
+align_multline_type_parameter_list = true
+align_multline_type_parameter_constrains = true
+int_align_fields = true
+int_align_properties = true
+int_align_methods = true
+int_align_parameters = false
+int_align_variables = true
+int_align_assignments = true
+int_align_nested_ternary = true
+int_align_invocations = false
+int_align_binary_expressions = true
+int_align_comments = true
+int_align_switch_sections = true
+keep_user_linebreaks = false
+keep_existing_arrangement = false
+keep_existing_linebreaks = false
+max_line_length = 120
+wrap_before_comma = false
+special_else_if_treatment = true
+place_type_attribute_on_same_line = never
+place_method_attribute_on_same_line = never
+place_accessorholder_attribute_on_same_line = never
+place_attribute_on_same_line = never
+place_accessor_attribute_on_same_line = never
+place_attribute_on_same_line = never
+place_field_attribute_on_same_line = never
+place_attribute_on_same_line = never
+wrap_parameters_style = wrap_if_long
+keep_existing_declaration_parens_arrangement = false
+wrap_before_declaration_lpar = false
+wrap_after_declaration_lpar = false
+wrap_before_declaration_rpar = false
+place_constructor_initializer_on_same_line = true
+keep_existing_expr_member_arrangement = false
+place_expr_method_on_single_line = true
+place_expr_property_on_single_line = true
+place_expr_accessor_on_single_line = true
+wrap_before_arrow_with_expressions = false
+place_type_constraints_on_same_line = true
+wrap_before_first_type_parameter_constraint = true
+wrap_multiple_type_parameter_constraints_style = wrap_if_long
+wrap_before_type_parameter_langle = true
+wrap_before_extends_colon = false
+wrap_extends_list_style = wrap_if_long
+keep_existing_declaration_block_arrangement = false
+place_abstract_accessorholder_on_single_line = true
+place_simple_accessorholder_on_single_line = false
+place_accessor_with_attrs_holder_on_single_line = false
+place_simple_accessor_on_single_line = true
+place_simple_method_on_single_line = false
+keep_existing_enum_arrangement = false
+place_simple_enum_on_single_line = false
+wrap_enum_declaration = wrap_if_long
+new_line_before_else = true
+new_line_before_while = false
+wrap_for_stmt_header_style = wrap_if_long
+wrap_multiple_declaration_style = wrap_if_long
+keep_existing_embedded_arrangement = false
+place_simple_embedded_statement_on_same_line = false
+place_simple_case_statement_on_same_line = true
+keep_existing_embedded_block_arrangement = false
+place_simple_embedded_block_on_same_line = false
+place_simple_anonymousmethod_on_single_line = false
+keep_existing_initializer_arrangement = false
+place_simple_initializer_on_single_line = false
+wrap_object_and_collection_initializer_style = chop_always
+wrap_array_initializer_style = wrap_if_long
+wrap_arguments_style = wrap_if_long
+keep_existing_invocation_parens_arrangement = false
+wrap_after_invocation_lpar = false
+wrap_before_invocation_rpar = false
+wrap_after_dot_in_method_calls = true
+wrap_chained_method_calls = wrap_if_long
+wrap_before_binary_opsign = false
+wrap_chained_binary_expressions = wrap_if_long
+force_chop_compound_if_expression = true
+force_chop_compound_while_expression = true
+force_chop_compound_do_expression = true
+wrap_before_ternary_opsigns = true
+wrap_ternary_expr_style = wrap_if_long
+nested_ternary_style = expanded
+wrap_linq_expressions = wrap_if_long
+wrap_before_linq_expression = false
+place_linq_into_on_new_line = false
+wrap_verbatim_interpolated_strings = wrap_if_long
+extra_spaces = remove_all
+space_after_keywords_in_control_flow_statements = false
+space_between_method_call_name_and_opening_parenthesis = false
+space_between_method_declaration_name_and_open_parenthesis = false
+space_before_typeof_parentheses = false
+space_before_checked_parentheses = false
+space_before_sizeof_parentheses = false
+space_before_nameof_parentheses = false
+space_between_keyword_and_expression = true
+space_between_keyword_and_type = true
+space_around_assignment_op = true
+space_around_logical_op = true
+space_around_binary_operator = true
+space_around_equality_op = true
+space_around_relational_op = true
+space_around_bitwise_op = true
+space_around_additive_op = true
+space_around_multiplicative_op = true
+space_around_shift_op = true
+space_around_nullcoalescing_op = true
+space_around_arrow_op = false
+space_after_logical_not_op = false
+space_after_unary_operator = false
+space_after_cast = false
+space_around_dot = false
+space_around_lambda_arrow = true
+space_before_pointer_asterik_declaration = false
+space_before_nullable_mark = false
+blank_lines_around_class_definition = 1
+namespace_indentation = all
+space_within_template_argument = false
+align_union_type_usage = true
+space_in_singleline_method = true
+space_in_singleline_anonymous_method = true
+space_within_single_line_array_initializer_braces = true
+space_around_arrow_op = false
# These are for markup languages (HTML, XML, etc)
-spaces_around_eq_in_pi_attribute=false
-space_after_last_pi_attribute=true
-pi_attributes_indent=align_by_first_attribute
-blank_line_after_pi=true
-spaces_around_eq_in_attribute=false
-space_after_last_attribute=false
-space_before_self_closing=true
-attribute_style=on_single_line
-attribute_indent=align_by_first_attribute
-sort_attributes=true
-sort_class_selectors=true
-max_blank_lines_between_tags=0
-linebreak_before_all_elements=true
-linebreak_before_multiline_elements=true
-quote_style=doublequoted
-delete_quotes_from_solid_values=false
-normalize_tag_names=true
+spaces_around_eq_in_pi_attribute = false
+space_after_last_pi_attribute = true
+pi_attributes_indent = align_by_first_attribute
+blank_line_after_pi = true
+spaces_around_eq_in_attribute = false
+space_after_last_attribute = false
+space_before_self_closing = true
+attribute_style = on_single_line
+attribute_indent = align_by_first_attribute
+sort_attributes = true
+sort_class_selectors = true
+max_blank_lines_between_tags = 0
+linebreak_before_all_elements = true
+linebreak_before_multiline_elements = true
+quote_style = doublequoted
+delete_quotes_from_solid_values = false
+normalize_tag_names = true
[{.babelrc,.stylelintrc,jest.config,.eslintrc,.prettierrc,*.json,*.jsb3,*.jsb2,*.bowerrc}]
-indent_size=2
+indent_size = 2
[*.js.map]
-indent_size=2
+indent_size = 2
[*.{css,scss}]
-indent_size=2
-declarations_style=separate_lines_for_nonsingle
-media_query_style=separate_lines
-selector_style=same_line
-properties_style=separate_lines_for_nonsingle
-brace_style=next_line
+indent_size = 2
+declarations_style = separate_lines_for_nonsingle
+media_query_style = separate_lines
+selector_style = same_line
+properties_style = separate_lines_for_nonsingle
+brace_style = next_line
[{.analysis_options,*.yml,*.yaml}]
-indent_size=2
+indent_size = 2
# Xml project files
[*.{csproj,vcxproj,vcxproj.filters,proj,nativeproj,locproj}]
@@ -263,38 +263,38 @@ indent_size = 2
# .net files
[*.{cs,vb}]
# These set the this. / Me.
-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_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
# These make it suggest Int32 instead of int, etc.
-dotnet_style_predefined_type_for_locals_parameters_members=true:suggestion
-dotnet_style_predefined_type_for_member_access=true:suggestion
+dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
+dotnet_style_predefined_type_for_member_access = true:suggestion
# This controls implicit access modifiers
-dotnet_style_require_accessibility_modifiers=never:suggestion
+dotnet_style_require_accessibility_modifiers = never:suggestion
# Prefer non modified fields to be marked readonly
-dotnet_style_readonly_field=true:warning
+dotnet_style_readonly_field = true:warning
# Parenthesis settings
-dotnet_style_parentheses_in_arithmetic_binary_operators=always_for_clarity:warning
-dotnet_style_parentheses_in_relational_binary_operators=always_for_clarity:warning
-dotnet_style_parentheses_in_other_binary_operators=always_for_clarity:warning
-dotnet_style_parentheses_in_other_operators=always_for_clarity:warning
+dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:warning
+dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:warning
+dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:warning
+dotnet_style_parentheses_in_other_operators = always_for_clarity:warning
-dotnet_style_object_initializer=true:suggestion
-dotnet_style_collection_initializer=true:suggestion
-dotnet_style_explicit_tuple_names=true:error
-dotnet_style_prefer_inferred_tuple_names=true:warning
-dotnet_style_prefer_inferred_anonymous_type_member_names=true:warning
-dotnet_style_prefer_is_null_check_over_reference_equality_method=true:warning
-dotnet_style_prefer_conditional_expression_over_return=true:warning
-dotnet_style_coalesce_expression=true:warning
-dotnet_style_null_propagation=true:error
+dotnet_style_object_initializer = true:suggestion
+dotnet_style_collection_initializer = true:suggestion
+dotnet_style_explicit_tuple_names = true:error
+dotnet_style_prefer_inferred_tuple_names = true:warning
+dotnet_style_prefer_inferred_anonymous_type_member_names = true:warning
+dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning
+dotnet_style_prefer_conditional_expression_over_return = true:warning
+dotnet_style_coalesce_expression = true:warning
+dotnet_style_null_propagation = true:error
-dotnet_sort_system_directives_first=true
+dotnet_sort_system_directives_first = true
# Constants in C style, all-caps
dotnet_naming_rule.constant_fields_caps.symbols = constant_fields
@@ -306,16 +306,16 @@ dotnet_naming_style.caps_style.capitalization = all_upper
# interfaces should be prefixed with I
dotnet_naming_rule.pascal_case_for_interface.severity = error
-dotnet_naming_rule.pascal_case_for_interface.symbols = interfaces_fields
-dotnet_naming_rule.pascal_case_for_interface.style = pascal_case_interface_style
+dotnet_naming_rule.pascal_case_for_interface.symbols = interfaces_fields
+dotnet_naming_rule.pascal_case_for_interface.style = pascal_case_interface_style
dotnet_naming_symbols.interfaces_fields.applicable_kinds = interface
dotnet_naming_style.pascal_case_interface_style.required_prefix = I
dotnet_naming_style.pascal_case_interface_style.capitalization = pascal_case
## internal and private fields should be _camelCase
dotnet_naming_rule.camel_case_for_private_internal_fields.severity = warning
-dotnet_naming_rule.camel_case_for_private_internal_fields.symbols = private_internal_fields
-dotnet_naming_rule.camel_case_for_private_internal_fields.style = camel_case_underscore_style
+dotnet_naming_rule.camel_case_for_private_internal_fields.symbols = private_internal_fields
+dotnet_naming_rule.camel_case_for_private_internal_fields.style = camel_case_underscore_style
dotnet_naming_symbols.private_internal_fields.applicable_kinds = field
dotnet_naming_symbols.private_internal_fields.applicable_accessibilities = private, internal
dotnet_naming_style.camel_case_underscore_style.required_prefix = _
@@ -331,302 +331,302 @@ dotnet_naming_style.camel_case_underscore_style.capitalization = camel_case
[*.cs]
# var var var
-csharp_style_var_for_built_in_types=false:warning
-csharp_style_var_when_type_is_apparent=true:suggestion
-csharp_style_var_elsewhere=false:warning
+csharp_style_var_for_built_in_types = false:warning
+csharp_style_var_when_type_is_apparent = true:suggestion
+csharp_style_var_elsewhere = false:warning
-csharp_style_expression_bodied_methods=when_on_single_line:suggestion
-csharp_style_expression_bodied_constructors=when_on_single_line:suggestion
-csharp_style_expression_bodied_operators=when_on_single_line:suggestion
-csharp_style_expression_bodied_properties=when_on_single_line:suggestion
-csharp_style_expression_bodied_indexers=when_on_single_line:suggestion
-csharp_style_expression_bodied_accessors=when_on_single_line:suggestion
+csharp_style_expression_bodied_methods = when_on_single_line:suggestion
+csharp_style_expression_bodied_constructors = when_on_single_line:suggestion
+csharp_style_expression_bodied_operators = when_on_single_line:suggestion
+csharp_style_expression_bodied_properties = when_on_single_line:suggestion
+csharp_style_expression_bodied_indexers = when_on_single_line:suggestion
+csharp_style_expression_bodied_accessors = when_on_single_line:suggestion
-csharp_style_pattern_matching_over_is_with_cast_check=true:warning
-csharp_style_pattern_matching_over_as_with_null_check=when_on_single_line:warning
+csharp_style_pattern_matching_over_is_with_cast_check = true:warning
+csharp_style_pattern_matching_over_as_with_null_check = when_on_single_line:warning
-csharp_style_inlined_variable_declaration=true:warning
+csharp_style_inlined_variable_declaration = true:warning
-csharp_prefer_simple_default_expression=true:warning
-csharp_style_deconstructed_variable_declaration=false:warning
+csharp_prefer_simple_default_expression = true:warning
+csharp_style_deconstructed_variable_declaration = false:warning
-csharp_style_throw_expression=true:warning
-csharp_style_conditional_delegate_call=true:warning
+csharp_style_throw_expression = true:warning
+csharp_style_conditional_delegate_call = true:warning
-csharp_prefer_braces=false
+csharp_prefer_braces = false
-csharp_new_line_before_open_brace=all
-csharp_new_line_before_else=true
-csharp_new_line_before_catch=true
-csharp_new_line_before_finally=true
-csharp_new_line_before_members_in_object_initializers=true
-csharp_new_line_before_members_in_anonymous_types=true
-csharp_new_line_between_query_expression_clauses=true
+csharp_new_line_before_open_brace = all
+csharp_new_line_before_else = true
+csharp_new_line_before_catch = true
+csharp_new_line_before_finally = true
+csharp_new_line_before_members_in_object_initializers = true
+csharp_new_line_before_members_in_anonymous_types = true
+csharp_new_line_between_query_expression_clauses = true
-csharp_indent_case_contents=true
-csharp_indent_switch_labels=true
-csharp_indent_labels=flush_left
+csharp_indent_case_contents = true
+csharp_indent_switch_labels = true
+csharp_indent_labels = flush_left
-csharp_space_after_cast=false
-csharp_space_after_keywords_in_control_flow_statements=false
-csharp_space_between_method_declaration_parameter_list_parentheses=false
-csharp_space_between_parentheses=none
-csharp_space_before_colon_in_inheritance_clause=true
-csharp_space_after_colon_in_inheritance_clause=true
-csharp_space_around_binary_operators=before_and_after
-csharp_space_between_method_declaration_empty_parameter_list_parentheses=false
-csharp_space_between_method_call_name_and_opening_parenthesis=false
-csharp_space_between_method_call_empty_parameter_list_parentheses=false
+csharp_space_after_cast = false
+csharp_space_after_keywords_in_control_flow_statements = false
+csharp_space_between_method_declaration_parameter_list_parentheses = false
+csharp_space_between_parentheses = none
+csharp_space_before_colon_in_inheritance_clause = true
+csharp_space_after_colon_in_inheritance_clause = true
+csharp_space_around_binary_operators = before_and_after
+csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
+csharp_space_between_method_call_name_and_opening_parenthesis = false
+csharp_space_between_method_call_empty_parameter_list_parentheses = false
-csharp_preserve_single_line_statements=false
-csharp_preserve_single_line_blocks=true
+csharp_preserve_single_line_statements = false
+csharp_preserve_single_line_blocks = true
-csharp_blank_lines_around_region=0
-csharp_blank_lines_inside_region=0
-csharp_blank_lines_before_single_line_comment=1
-csharp_keep_blank_lines_in_declarations=1
-csharp_remove_blank_lines_near_braces_in_declarations=true
-csharp_blank_lines_after_start_comment=false
-csharp_blank_lines_between_using_groups=0
-csharp_blank_lines_after_using_list=1
-csharp_blank_lines_around_namespace=1
-csharp_blank_lines_inside_namespace=0
-csharp_blank_lines_around_type=1
-csharp_blank_lines_inside_type=0
-csharp_blank_lines_around_field=0
-csharp_blank_lines_around_single_line_field=0
-csharp_blank_lines_around_property=1
-csharp_blank_lines_around_single_line_property=0
-csharp_blank_lines_around_auto_property=0
-csharp_blank_lines_around_single_line_auto_property=0
-csharp_blank_lines_around_invocable=1
-csharp_blank_lines_around_single_line_invocable=1
-csharp_keep_blank_lines_in_code=1
-csharp_remove_blank_lines_near_braces_in_code=true
-csharp_blank_lines_around_local_method=1
-csharp_blank_lines_around_single_line_local_method=1
-csharp_blank_lines_before_control_transfer_statements=1
-csharp_blank_lines_after_control_transfer_statements=1
-csharp_blank_lines_before_block_statements=1
-csharp_blank_lines_after_block_statements=1
-csharp_blank_lines_before_multiline_statements=1
-csharp_blank_lines_after_multiline_statements=1
+csharp_blank_lines_around_region = 0
+csharp_blank_lines_inside_region = 0
+csharp_blank_lines_before_single_line_comment = 1
+csharp_keep_blank_lines_in_declarations = 1
+csharp_remove_blank_lines_near_braces_in_declarations = true
+csharp_blank_lines_after_start_comment = false
+csharp_blank_lines_between_using_groups = 0
+csharp_blank_lines_after_using_list = 1
+csharp_blank_lines_around_namespace = 1
+csharp_blank_lines_inside_namespace = 0
+csharp_blank_lines_around_type = 1
+csharp_blank_lines_inside_type = 0
+csharp_blank_lines_around_field = 0
+csharp_blank_lines_around_single_line_field = 0
+csharp_blank_lines_around_property = 1
+csharp_blank_lines_around_single_line_property = 0
+csharp_blank_lines_around_auto_property = 0
+csharp_blank_lines_around_single_line_auto_property = 0
+csharp_blank_lines_around_invocable = 1
+csharp_blank_lines_around_single_line_invocable = 1
+csharp_keep_blank_lines_in_code = 1
+csharp_remove_blank_lines_near_braces_in_code = true
+csharp_blank_lines_around_local_method = 1
+csharp_blank_lines_around_single_line_local_method = 1
+csharp_blank_lines_before_control_transfer_statements = 1
+csharp_blank_lines_after_control_transfer_statements = 1
+csharp_blank_lines_before_block_statements = 1
+csharp_blank_lines_after_block_statements = 1
+csharp_blank_lines_before_multiline_statements = 1
+csharp_blank_lines_after_multiline_statements = 1
-csharp_type_declaration_braces=next_line
-csharp_brace_style=next_line
-csharp_indent_inside_namespace=true
-csharp_invocable_declaration_braces=next_line
-csharp_anonymous_method_declaration_braces=next_line
-csharp_accessor_owner_declaration_braces=next_line
-csharp_accessor_declaration_braces=next_line
-csharp_case_block_braces=next_line
-csharp_initializer_braces=next_line
-csharp_other_braces=next_line
-csharp_allow_comment_after_lbrace=false
-csharp_empty_block_style=together_same_line
+csharp_type_declaration_braces = next_line
+csharp_brace_style = next_line
+csharp_indent_inside_namespace = true
+csharp_invocable_declaration_braces = next_line
+csharp_anonymous_method_declaration_braces = next_line
+csharp_accessor_owner_declaration_braces = next_line
+csharp_accessor_declaration_braces = next_line
+csharp_case_block_braces = next_line
+csharp_initializer_braces = next_line
+csharp_other_braces = next_line
+csharp_allow_comment_after_lbrace = false
+csharp_empty_block_style = together_same_line
-csharp_for_built_in_types=use_explicit_type
-csharp_for_simple_types=use_var_when_evident
-csharp_for_other_types=use_explicit_type
-csharp_prefer_separate_deconstructed_variables_declaration=true
-csharp_prefer_explicit_discard_declaration=false
+csharp_for_built_in_types = use_explicit_type
+csharp_for_simple_types = use_var_when_evident
+csharp_for_other_types = use_explicit_type
+csharp_prefer_separate_deconstructed_variables_declaration = true
+csharp_prefer_explicit_discard_declaration = false
-csharp_instance_members_qualify_members=none
-csharp_builtin_type_reference_style=use_keyword
-csharp_prefer_qualified_reference=false
-csharp_add_imports_to_deepest_scope=false
-csharp_allow_alias=true
-csharp_default_private_modifier=implicit
-csharp_default_internal_modifier=explicit
-csharp_arguments_literal=positional
-csharp_arguments_string_literal=positional
-csharp_arguments_named=positional
-csharp_arguments_anonymous_function=positional
-csharp_arguments_other=positional
-csharp_braces_for_ifelse=not_required
-csharp_braces_for_for=not_required
-csharp_braces_for_foreach=not_required
-csharp_braces_for_while=not_required
-csharp_braces_for_dowhile=not_required
-csharp_braces_for_using=not_required
-csharp_braces_for_lock=not_required
-csharp_braces_for_fixed=not_required
-csharp_method_or_operator_body=expression_body
-csharp_local_function_body=expression_body
-csharp_constructor_or_destructor_body=expression_body
-csharp_accessor_owner_body=expression_body
-csharp_force_attribute_style=join
-csharp_indent_nested_usings_stmt=true
+csharp_instance_members_qualify_members = none
+csharp_builtin_type_reference_style = use_keyword
+csharp_prefer_qualified_reference = false
+csharp_add_imports_to_deepest_scope = false
+csharp_allow_alias = true
+csharp_default_private_modifier = implicit
+csharp_default_internal_modifier = explicit
+csharp_arguments_literal = positional
+csharp_arguments_string_literal = positional
+csharp_arguments_named = positional
+csharp_arguments_anonymous_function = positional
+csharp_arguments_other = positional
+csharp_braces_for_ifelse = not_required
+csharp_braces_for_for = not_required
+csharp_braces_for_foreach = not_required
+csharp_braces_for_while = not_required
+csharp_braces_for_dowhile = not_required
+csharp_braces_for_using = not_required
+csharp_braces_for_lock = not_required
+csharp_braces_for_fixed = not_required
+csharp_method_or_operator_body = expression_body
+csharp_local_function_body = expression_body
+csharp_constructor_or_destructor_body = expression_body
+csharp_accessor_owner_body = expression_body
+csharp_force_attribute_style = join
+csharp_indent_nested_usings_stmt = true
-csharp_builtin_type_reference_for_member_access_style=use_keyword
-csharp_indent_nested_fixed_stmt=true
-csharp_indent_nested_lock_stmt=true
-csharp_indent_nested_for_stmt=true
-csharp_indent_nested_foreach_stmt=true
-csharp_indent_nested_while_stmt=true
-csharp_use_continuous_indent_inside_parens=true
-csharp_indent_method_decl_pars=inside
-csharp_indent_invocation_pars=inside
-csharp_indent_statement_pars=inside
-csharp_indent_typeparam_angles=inside
-csharp_indent_typearg_angles=inside
-csharp_indent_pars=inside
-csharp_indent_preprocessor_if=outdent
-csharp_indent_preprocessor_region=usual_indent
-csharp_indent_preprocessor_other=usual_indent
-csharp_indent_switch_labels=true
-csharp_indent_type_constraints=true
-csharp_stick_comment=false
-csharp_alignment_tab_fill_style=use_spaces
-csharp_align_multiline_parameter=true
-csharp_align_multiline_extends_list=true
-csharp_align_linq_query=true
-csharp_align_multiline_binary_expressions_chain=true
-csharp_outdent_binary_ops=true
-csharp_align_multiline_calls_chain=true
-csharp_outdent_dots=true
-csharp_align_multiline_array_and_object_initializer=false
-csharp_indent_anonymous_method_block=false
-csharp_align_first_arg_by_paren=true
-csharp_align_multiline_argument=true
-csharp_align_tuple_components=true
-csharp_align_multiline_expression=true
-csharp_align_multiline_for_stmt=true
-csharp_align_multiple_declaration=true
-csharp_align_multline_type_parameter_list=true
-csharp_align_multline_type_parameter_constrains=true
-csharp_int_align_fields=true
-csharp_int_align_properties=true
-csharp_int_align_methods=true
-csharp_int_align_parameters=false
-csharp_int_align_variables=true
-csharp_int_align_assignments=true
-csharp_int_align_nested_ternary=true
-csharp_int_align_invocations=false
-csharp_int_align_binary_expressions=true
-csharp_int_align_comments=true
-csharp_int_align_switch_sections=true
-csharp_int_align=true
-csharp_keep_user_linebreaks=false
-csharp_keep_existing_arrangement=false
-csharp_keep_existing_linebreaks=false
-csharp_max_line_length=120
-csharp_wrap_before_comma=false
-csharp_special_else_if_treatment=true
-csharp_insert_final_newline=false
-csharp_place_type_attribute_on_same_line=never
-csharp_place_method_attribute_on_same_line=never
-csharp_place_accessorholder_attribute_on_same_line=never
-csharp_place_attribute_on_same_line=never
-csharp_place_accessor_attribute_on_same_line=never
-csharp_place_attribute_on_same_line=never
-csharp_place_field_attribute_on_same_line=never
-csharp_place_attribute_on_same_line=never
-csharp_wrap_parameters_style=wrap_if_long
-csharp_keep_existing_declaration_parens_arrangement=false
-csharp_wrap_before_declaration_lpar=false
-csharp_wrap_after_declaration_lpar=false
-csharp_wrap_before_declaration_rpar=false
-csharp_place_constructor_initializer_on_same_line=true
-csharp_keep_existing_expr_member_arrangement=false
-csharp_place_expr_method_on_single_line=true
-csharp_place_expr_property_on_single_line=true
-csharp_place_expr_accessor_on_single_line=true
-csharp_wrap_before_arrow_with_expressions=false
-csharp_place_type_constraints_on_same_line=true
-csharp_wrap_before_first_type_parameter_constraint=true
-csharp_wrap_multiple_type_parameter_constraints_style=wrap_if_long
-csharp_wrap_before_type_parameter_langle=true
-csharp_wrap_before_extends_colon=false
-csharp_wrap_extends_list_style=wrap_if_long
-csharp_keep_existing_declaration_block_arrangement=false
-csharp_place_abstract_accessorholder_on_single_line=true
-csharp_place_simple_accessorholder_on_single_line=false
-csharp_place_accessor_with_attrs_holder_on_single_line=false
-csharp_place_simple_accessor_on_single_line=true
-csharp_place_simple_method_on_single_line=false
-csharp_keep_existing_enum_arrangement=false
-csharp_place_simple_enum_on_single_line=false
-csharp_wrap_enum_declaration=wrap_if_long
-csharp_new_line_before_else=true
-csharp_new_line_before_while=false
-csharp_wrap_for_stmt_header_style=wrap_if_long
-csharp_wrap_multiple_declaration_style=wrap_if_long
-csharp_keep_existing_embedded_arrangement=false
-csharp_place_simple_embedded_statement_on_same_line=false
-csharp_place_simple_case_statement_on_same_line=true
-csharp_keep_existing_embedded_block_arrangement=false
-csharp_place_simple_embedded_block_on_same_line=false
-csharp_place_simple_anonymousmethod_on_single_line=false
-csharp_keep_existing_initializer_arrangement=false
-csharp_place_simple_initializer_on_single_line=false
-csharp_wrap_object_and_collection_initializer_style=chop_always
-csharp_wrap_array_initializer_style=wrap_if_long
-csharp_wrap_arguments_style=wrap_if_long
-csharp_keep_existing_invocation_parens_arrangement=false
-csharp_wrap_after_invocation_lpar=false
-csharp_wrap_before_invocation_rpar=false
-csharp_wrap_after_dot_in_method_calls=true
-csharp_wrap_chained_method_calls=wrap_if_long
-csharp_wrap_before_binary_opsign=false
-csharp_wrap_chained_binary_expressions=wrap_if_long
-csharp_force_chop_compound_if_expression=true
-csharp_force_chop_compound_while_expression=true
-csharp_force_chop_compound_do_expression=true
-csharp_wrap_before_ternary_opsigns=true
-csharp_wrap_ternary_expr_style=wrap_if_long
-csharp_nested_ternary_style=expanded
-csharp_wrap_linq_expressions=wrap_if_long
-csharp_wrap_before_linq_expression=false
-csharp_place_linq_into_on_new_line=false
-csharp_wrap_verbatim_interpolated_strings=wrap_if_long
-csharp_extra_spaces=remove_all
-csharp_space_after_keywords_in_control_flow_statements=false
-csharp_space_between_method_call_name_and_opening_parenthesis=false
-csharp_space_between_method_declaration_name_and_open_parenthesis=false
-csharp_space_before_typeof_parentheses=false
-csharp_space_before_checked_parentheses=false
-csharp_space_before_sizeof_parentheses=false
-csharp_space_before_nameof_parentheses=false
-csharp_space_between_keyword_and_expression=true
-csharp_space_between_keyword_and_type=true
-csharp_space_around_assignment_op=true
-csharp_space_around_logical_op=true
-csharp_space_around_binary_operator=true
-csharp_space_around_equality_op=true
-csharp_space_around_relational_op=true
-csharp_space_around_bitwise_op=true
-csharp_space_around_additive_op=true
-csharp_space_around_multiplicative_op=true
-csharp_space_around_shift_op=true
-csharp_space_around_nullcoalescing_op=true
-csharp_space_around_arrow_op=false
-csharp_space_after_logical_not_op=false
-csharp_space_after_unary_operator=false
-csharp_space_after_cast=false
-csharp_space_around_dot=false
-csharp_space_around_lambda_arrow=true
-csharp_space_before_pointer_asterik_declaration=false
-csharp_space_before_nullable_mark=false
+csharp_builtin_type_reference_for_member_access_style = use_keyword
+csharp_indent_nested_fixed_stmt = true
+csharp_indent_nested_lock_stmt = true
+csharp_indent_nested_for_stmt = true
+csharp_indent_nested_foreach_stmt = true
+csharp_indent_nested_while_stmt = true
+csharp_use_continuous_indent_inside_parens = true
+csharp_indent_method_decl_pars = inside
+csharp_indent_invocation_pars = inside
+csharp_indent_statement_pars = inside
+csharp_indent_typeparam_angles = inside
+csharp_indent_typearg_angles = inside
+csharp_indent_pars = inside
+csharp_indent_preprocessor_if = outdent
+csharp_indent_preprocessor_region = usual_indent
+csharp_indent_preprocessor_other = usual_indent
+csharp_indent_switch_labels = true
+csharp_indent_type_constraints = true
+csharp_stick_comment = false
+csharp_alignment_tab_fill_style = use_spaces
+csharp_align_multiline_parameter = true
+csharp_align_multiline_extends_list = true
+csharp_align_linq_query = true
+csharp_align_multiline_binary_expressions_chain = true
+csharp_outdent_binary_ops = true
+csharp_align_multiline_calls_chain = true
+csharp_outdent_dots = true
+csharp_align_multiline_array_and_object_initializer = false
+csharp_indent_anonymous_method_block = false
+csharp_align_first_arg_by_paren = true
+csharp_align_multiline_argument = true
+csharp_align_tuple_components = true
+csharp_align_multiline_expression = true
+csharp_align_multiline_for_stmt = true
+csharp_align_multiple_declaration = true
+csharp_align_multline_type_parameter_list = true
+csharp_align_multline_type_parameter_constrains = true
+csharp_int_align_fields = true
+csharp_int_align_properties = true
+csharp_int_align_methods = true
+csharp_int_align_parameters = false
+csharp_int_align_variables = true
+csharp_int_align_assignments = true
+csharp_int_align_nested_ternary = true
+csharp_int_align_invocations = false
+csharp_int_align_binary_expressions = true
+csharp_int_align_comments = true
+csharp_int_align_switch_sections = true
+csharp_int_align = true
+csharp_keep_user_linebreaks = false
+csharp_keep_existing_arrangement = false
+csharp_keep_existing_linebreaks = false
+csharp_max_line_length = 120
+csharp_wrap_before_comma = false
+csharp_special_else_if_treatment = true
+csharp_insert_final_newline = false
+csharp_place_type_attribute_on_same_line = never
+csharp_place_method_attribute_on_same_line = never
+csharp_place_accessorholder_attribute_on_same_line = never
+csharp_place_attribute_on_same_line = never
+csharp_place_accessor_attribute_on_same_line = never
+csharp_place_attribute_on_same_line = never
+csharp_place_field_attribute_on_same_line = never
+csharp_place_attribute_on_same_line = never
+csharp_wrap_parameters_style = wrap_if_long
+csharp_keep_existing_declaration_parens_arrangement = false
+csharp_wrap_before_declaration_lpar = false
+csharp_wrap_after_declaration_lpar = false
+csharp_wrap_before_declaration_rpar = false
+csharp_place_constructor_initializer_on_same_line = true
+csharp_keep_existing_expr_member_arrangement = false
+csharp_place_expr_method_on_single_line = true
+csharp_place_expr_property_on_single_line = true
+csharp_place_expr_accessor_on_single_line = true
+csharp_wrap_before_arrow_with_expressions = false
+csharp_place_type_constraints_on_same_line = true
+csharp_wrap_before_first_type_parameter_constraint = true
+csharp_wrap_multiple_type_parameter_constraints_style = wrap_if_long
+csharp_wrap_before_type_parameter_langle = true
+csharp_wrap_before_extends_colon = false
+csharp_wrap_extends_list_style = wrap_if_long
+csharp_keep_existing_declaration_block_arrangement = false
+csharp_place_abstract_accessorholder_on_single_line = true
+csharp_place_simple_accessorholder_on_single_line = false
+csharp_place_accessor_with_attrs_holder_on_single_line = false
+csharp_place_simple_accessor_on_single_line = true
+csharp_place_simple_method_on_single_line = false
+csharp_keep_existing_enum_arrangement = false
+csharp_place_simple_enum_on_single_line = false
+csharp_wrap_enum_declaration = wrap_if_long
+csharp_new_line_before_else = true
+csharp_new_line_before_while = false
+csharp_wrap_for_stmt_header_style = wrap_if_long
+csharp_wrap_multiple_declaration_style = wrap_if_long
+csharp_keep_existing_embedded_arrangement = false
+csharp_place_simple_embedded_statement_on_same_line = false
+csharp_place_simple_case_statement_on_same_line = true
+csharp_keep_existing_embedded_block_arrangement = false
+csharp_place_simple_embedded_block_on_same_line = false
+csharp_place_simple_anonymousmethod_on_single_line = false
+csharp_keep_existing_initializer_arrangement = false
+csharp_place_simple_initializer_on_single_line = false
+csharp_wrap_object_and_collection_initializer_style = chop_always
+csharp_wrap_array_initializer_style = wrap_if_long
+csharp_wrap_arguments_style = wrap_if_long
+csharp_keep_existing_invocation_parens_arrangement = false
+csharp_wrap_after_invocation_lpar = false
+csharp_wrap_before_invocation_rpar = false
+csharp_wrap_after_dot_in_method_calls = true
+csharp_wrap_chained_method_calls = wrap_if_long
+csharp_wrap_before_binary_opsign = false
+csharp_wrap_chained_binary_expressions = wrap_if_long
+csharp_force_chop_compound_if_expression = true
+csharp_force_chop_compound_while_expression = true
+csharp_force_chop_compound_do_expression = true
+csharp_wrap_before_ternary_opsigns = true
+csharp_wrap_ternary_expr_style = wrap_if_long
+csharp_nested_ternary_style = expanded
+csharp_wrap_linq_expressions = wrap_if_long
+csharp_wrap_before_linq_expression = false
+csharp_place_linq_into_on_new_line = false
+csharp_wrap_verbatim_interpolated_strings = wrap_if_long
+csharp_extra_spaces = remove_all
+csharp_space_after_keywords_in_control_flow_statements = false
+csharp_space_between_method_call_name_and_opening_parenthesis = false
+csharp_space_between_method_declaration_name_and_open_parenthesis = false
+csharp_space_before_typeof_parentheses = false
+csharp_space_before_checked_parentheses = false
+csharp_space_before_sizeof_parentheses = false
+csharp_space_before_nameof_parentheses = false
+csharp_space_between_keyword_and_expression = true
+csharp_space_between_keyword_and_type = true
+csharp_space_around_assignment_op = true
+csharp_space_around_logical_op = true
+csharp_space_around_binary_operator = true
+csharp_space_around_equality_op = true
+csharp_space_around_relational_op = true
+csharp_space_around_bitwise_op = true
+csharp_space_around_additive_op = true
+csharp_space_around_multiplicative_op = true
+csharp_space_around_shift_op = true
+csharp_space_around_nullcoalescing_op = true
+csharp_space_around_arrow_op = false
+csharp_space_after_logical_not_op = false
+csharp_space_after_unary_operator = false
+csharp_space_after_cast = false
+csharp_space_around_dot = false
+csharp_space_around_lambda_arrow = true
+csharp_space_before_pointer_asterik_declaration = false
+csharp_space_before_nullable_mark = false
[*.cshtml]
-linebreaks_around_razor_statements=true
-blank_lines_around_razor_functions=true
-blank_lines_around_razor_helpers=true
-blank_lines_around_razor_sections=true
+linebreaks_around_razor_statements = true
+blank_lines_around_razor_functions = true
+blank_lines_around_razor_helpers = true
+blank_lines_around_razor_sections = true
# C++
[*.{cc,cpp,cxx,h,hpp,hxx}]
-cpp_indent_access_specifiers_from_class=true
-cpp_indent_wrapped_function_names=false
-cpp_align_multiline_type_argument=true
+cpp_indent_access_specifiers_from_class = true
+cpp_indent_wrapped_function_names = false
+cpp_align_multiline_type_argument = true
# C, C++ and ObjectiveC
[*.{c,h,cc,cpp,cxx,m,hpp,hxx}]
-indent_preprocessor_directives=normal
-indent_type_constraints=true
+indent_preprocessor_directives = normal
+indent_type_constraints = true
# Javascript and Typescript
[*.{js,js.map,ts}]
-quote_style=doublequoted
-termination_style=ensure_semicolon
\ No newline at end of file
+quote_style = doublequoted
+termination_style = ensure_semicolon
\ No newline at end of file
diff --git a/Aaru.CommonTypes.csproj b/Aaru.CommonTypes.csproj
index 3e1c92d..55e51fd 100644
--- a/Aaru.CommonTypes.csproj
+++ b/Aaru.CommonTypes.csproj
@@ -54,81 +54,81 @@
false
-
+
Metadata/cicm.cs
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
@@ -136,39 +136,39 @@
-
-
+
+
-
-
-
+
+
+
-
-
-
-
- /Library/Frameworks/Mono.framework/Versions/Current/lib/mono
- /usr/lib/mono
- /usr/local/lib/mono
-
- $(BaseFrameworkPathOverrideForMono)/4.0-api
- $(BaseFrameworkPathOverrideForMono)/4.5-api
- $(BaseFrameworkPathOverrideForMono)/4.5.1-api
- $(BaseFrameworkPathOverrideForMono)/4.5.2-api
- $(BaseFrameworkPathOverrideForMono)/4.6-api
- $(BaseFrameworkPathOverrideForMono)/4.6.1-api
- $(BaseFrameworkPathOverrideForMono)/4.6.2-api
- $(BaseFrameworkPathOverrideForMono)/4.7-api
- $(BaseFrameworkPathOverrideForMono)/4.7.1-api
- true
-
- $(FrameworkPathOverride)/Facades;$(AssemblySearchPaths)
-
+
+
+
+
+ /Library/Frameworks/Mono.framework/Versions/Current/lib/mono
+ /usr/lib/mono
+ /usr/local/lib/mono
+
+ $(BaseFrameworkPathOverrideForMono)/4.0-api
+ $(BaseFrameworkPathOverrideForMono)/4.5-api
+ $(BaseFrameworkPathOverrideForMono)/4.5.1-api
+ $(BaseFrameworkPathOverrideForMono)/4.5.2-api
+ $(BaseFrameworkPathOverrideForMono)/4.6-api
+ $(BaseFrameworkPathOverrideForMono)/4.6.1-api
+ $(BaseFrameworkPathOverrideForMono)/4.6.2-api
+ $(BaseFrameworkPathOverrideForMono)/4.7-api
+ $(BaseFrameworkPathOverrideForMono)/4.7.1-api
+ true
+
+ $(FrameworkPathOverride)/Facades;$(AssemblySearchPaths)
+
diff --git a/Enums/DeviceType.cs b/Enums/DeviceType.cs
index cdc224d..a724755 100644
--- a/Enums/DeviceType.cs
+++ b/Enums/DeviceType.cs
@@ -38,38 +38,22 @@
namespace Aaru.CommonTypes.Enums
{
- ///
- /// Device types
- ///
+ /// Device types
public enum DeviceType
{
- ///
- /// Unknown device type
- ///
+ /// Unknown device type
Unknown = -1,
- ///
- /// ATA device
- ///
- ATA = 1,
- ///
- /// ATA Packet device (aka SCSI over ATA)
- ///
+ /// ATA device
+ ATA = 1,
+ /// ATA Packet device (aka SCSI over ATA)
ATAPI = 2,
- ///
- /// SCSI device (or USB-MSC, SBP2, FC, UAS, etc)
- ///
- SCSI = 3,
- ///
- /// SecureDigital memory card
- ///
+ /// SCSI device (or USB-MSC, SBP2, FC, UAS, etc)
+ SCSI = 3,
+ /// SecureDigital memory card
SecureDigital = 4,
- ///
- /// MultiMediaCard memory card
- ///
- MMC = 5,
- ///
- /// NVMe device
- ///
- NVMe = 6
+ /// MultiMediaCard memory card
+ MMC = 5,
+ /// NVMe device
+ NVMe = 6
}
}
\ No newline at end of file
diff --git a/Enums/Images.cs b/Enums/Images.cs
index 270de2c..ae1dea3 100644
--- a/Enums/Images.cs
+++ b/Enums/Images.cs
@@ -321,9 +321,7 @@ namespace Aaru.CommonTypes.Enums
NotFound = 0x40
}
- ///
- /// Types of floppy disks
- ///
+ /// Types of floppy disks
public enum FloppyTypes : byte
{
/// 8" floppy
@@ -340,9 +338,7 @@ namespace Aaru.CommonTypes.Enums
QuickDisk
}
- ///
- /// Enumeration of floppy densities
- ///
+ /// Enumeration of floppy densities
public enum FloppyDensities : byte
{
/// Standard coercivity (about 300Oe as found in 8" and 5.25"-double-density disks).
@@ -355,76 +351,43 @@ namespace Aaru.CommonTypes.Enums
Extended
}
- ///
- /// Capabilities for optical media image formats
- ///
+ /// Capabilities for optical media image formats
[Flags]
public enum OpticalImageCapabilities : ulong
{
- ///
- /// Can store Red Book audio tracks?
- ///
+ /// Can store Red Book audio tracks?
CanStoreAudioTracks = 0x01,
- ///
- /// Can store CD-V analogue video tracks?
- ///
+ /// Can store CD-V analogue video tracks?
CanStoreVideoTracks = 0x02,
- ///
- /// Can store Yellow Book data tracks?
- ///
- CanStoreDataTracks = 0x03,
- ///
- /// Can store pregaps without needing to interpret the subchannel?
- ///
- CanStorePregaps = 0x04,
- ///
- /// Can store indexes without needing to interpret the subchannel?
- ///
- CanStoreIndexes = 0x08,
- ///
- /// Can store raw P to W subchannel data?
- ///
- CanStoreSubchannelRw = 0x10,
- ///
- /// Can store more than one session?
- ///
- CanStoreSessions = 0x20,
- ///
- /// Can store track ISRCs without needing to interpret the subchannel?
- ///
- CanStoreIsrc = 0x40,
- ///
- /// Can store Lead-In's CD-TEXT?
- ///
- CanStoreCdText = 0x80,
- ///
- /// Can store the MCN without needing to interpret the subchannel?
- ///
- CanStoreMcn = 0x100,
- ///
- /// Can store the whole 2352 bytes of a sector?
- ///
- CanStoreRawData = 0x200,
- ///
- /// Can store more than 1 session in media that is not CD based (DVD et al)?
- ///
+ /// Can store Yellow Book data tracks?
+ CanStoreDataTracks = 0x03,
+ /// Can store pregaps without needing to interpret the subchannel?
+ CanStorePregaps = 0x04,
+ /// Can store indexes without needing to interpret the subchannel?
+ CanStoreIndexes = 0x08,
+ /// Can store raw P to W subchannel data?
+ CanStoreSubchannelRw = 0x10,
+ /// Can store more than one session?
+ CanStoreSessions = 0x20,
+ /// Can store track ISRCs without needing to interpret the subchannel?
+ CanStoreIsrc = 0x40,
+ /// Can store Lead-In's CD-TEXT?
+ CanStoreCdText = 0x80,
+ /// Can store the MCN without needing to interpret the subchannel?
+ CanStoreMcn = 0x100,
+ /// Can store the whole 2352 bytes of a sector?
+ CanStoreRawData = 0x200,
+ /// Can store more than 1 session in media that is not CD based (DVD et al)?
CanStoreNotCdSessions = 0x2000,
- ///
- /// Can store more than 1 track in media that is not CD based (DVD et al)?
- ///
+ /// Can store more than 1 track in media that is not CD based (DVD et al)?
CanStoreNotCdTracks = 0x4000,
+
// TODO: Implement
- ///
- /// Can store scrambled data?
- ///
+ /// Can store scrambled data?
CanStoreScrambledData = 0x400,
- ///
- /// Can store only the user area of a sector (2048, 2324, etc)?
- ///
+ /// Can store only the user area of a sector (2048, 2324, etc)?
CanStoreCookedData = 0x800,
- ///
- /// Can store more than 1 track?
- ///
+ /// Can store more than 1 track?
CanStoreMultipleTracks = 0x1000
}
}
\ No newline at end of file
diff --git a/Extents/ExtentsByte.cs b/Extents/ExtentsByte.cs
index 4ecdc3d..c637b61 100644
--- a/Extents/ExtentsByte.cs
+++ b/Extents/ExtentsByte.cs
@@ -149,7 +149,7 @@ namespace Aaru.CommonTypes.Extents
}
/// Checks if the specified item is contained by an extent on this instance
- /// Item to seach for
+ /// Item to search for
/// true if any of the extents on this instance contains the item
public bool Contains(byte item) => _backend.Any(extent => item >= extent.Item1 && item <= extent.Item2);
diff --git a/Extents/ExtentsConverter.cs b/Extents/ExtentsConverter.cs
index 9ab42d0..d8b879b 100644
--- a/Extents/ExtentsConverter.cs
+++ b/Extents/ExtentsConverter.cs
@@ -43,14 +43,10 @@ using Schemas;
namespace Aaru.CommonTypes.Extents
{
- ///
- /// Converts extents
- ///
+ /// Converts extents
public static class ExtentsConverter
{
- ///
- /// Converts unsigned long integer extents into XML based extents
- ///
+ /// Converts unsigned long integer extents into XML based extents
/// Extents
/// XML based extents
public static ExtentType[] ToMetadata(ExtentsULong extents)
@@ -71,9 +67,7 @@ namespace Aaru.CommonTypes.Extents
return array;
}
- ///
- /// Converts XML based extents into unsigned long integer extents
- ///
+ /// Converts XML based extents into unsigned long integer extents
/// XML based extents
/// Extents
public static ExtentsULong FromMetadata(ExtentType[] extents)
diff --git a/Extents/ExtentsInt.cs b/Extents/ExtentsInt.cs
index 66c12b0..e2dd4b2 100644
--- a/Extents/ExtentsInt.cs
+++ b/Extents/ExtentsInt.cs
@@ -149,7 +149,7 @@ namespace Aaru.CommonTypes.Extents
}
/// Checks if the specified item is contained by an extent on this instance
- /// Item to seach for
+ /// Item to search for
/// true if any of the extents on this instance contains the item
public bool Contains(int item) => _backend.Any(extent => item >= extent.Item1 && item <= extent.Item2);
diff --git a/Extents/ExtentsLong.cs b/Extents/ExtentsLong.cs
index eb1e351..5ef9d4f 100644
--- a/Extents/ExtentsLong.cs
+++ b/Extents/ExtentsLong.cs
@@ -149,7 +149,7 @@ namespace Aaru.CommonTypes.Extents
}
/// Checks if the specified item is contained by an extent on this instance
- /// Item to seach for
+ /// Item to search for
/// true if any of the extents on this instance contains the item
public bool Contains(long item) => _backend.Any(extent => item >= extent.Item1 && item <= extent.Item2);
diff --git a/Extents/ExtentsSByte.cs b/Extents/ExtentsSByte.cs
index c7a6d0b..8ed44c5 100644
--- a/Extents/ExtentsSByte.cs
+++ b/Extents/ExtentsSByte.cs
@@ -149,7 +149,7 @@ namespace Aaru.CommonTypes.Extents
}
/// Checks if the specified item is contained by an extent on this instance
- /// Item to seach for
+ /// Item to search for
/// true if any of the extents on this instance contains the item
public bool Contains(sbyte item) => _backend.Any(extent => item >= extent.Item1 && item <= extent.Item2);
diff --git a/Extents/ExtentsShort.cs b/Extents/ExtentsShort.cs
index 360ca96..869f9dd 100644
--- a/Extents/ExtentsShort.cs
+++ b/Extents/ExtentsShort.cs
@@ -149,7 +149,7 @@ namespace Aaru.CommonTypes.Extents
}
/// Checks if the specified item is contained by an extent on this instance
- /// Item to seach for
+ /// Item to search for
/// true if any of the extents on this instance contains the item
public bool Contains(short item) => _backend.Any(extent => item >= extent.Item1 && item <= extent.Item2);
diff --git a/Extents/ExtentsUInt.cs b/Extents/ExtentsUInt.cs
index c70167f..4afaec5 100644
--- a/Extents/ExtentsUInt.cs
+++ b/Extents/ExtentsUInt.cs
@@ -149,7 +149,7 @@ namespace Aaru.CommonTypes.Extents
}
/// Checks if the specified item is contained by an extent on this instance
- /// Item to seach for
+ /// Item to search for
/// true if any of the extents on this instance contains the item
public bool Contains(uint item) => _backend.Any(extent => item >= extent.Item1 && item <= extent.Item2);
diff --git a/Extents/ExtentsULong.cs b/Extents/ExtentsULong.cs
index cf38227..07af92b 100644
--- a/Extents/ExtentsULong.cs
+++ b/Extents/ExtentsULong.cs
@@ -149,7 +149,7 @@ namespace Aaru.CommonTypes.Extents
}
/// Checks if the specified item is contained by an extent on this instance
- /// Item to seach for
+ /// Item to search for
/// true if any of the extents on this instance contains the item
public bool Contains(ulong item) => _backend.Any(extent => item >= extent.Item1 && item <= extent.Item2);
diff --git a/Extents/ExtentsUShort.cs b/Extents/ExtentsUShort.cs
index 89e1281..103c8bd 100644
--- a/Extents/ExtentsUShort.cs
+++ b/Extents/ExtentsUShort.cs
@@ -149,7 +149,7 @@ namespace Aaru.CommonTypes.Extents
}
/// Checks if the specified item is contained by an extent on this instance
- /// Item to seach for
+ /// Item to search for
/// true if any of the extents on this instance contains the item
public bool Contains(ushort item) => _backend.Any(extent => item >= extent.Item1 && item <= extent.Item2);
diff --git a/Filters.cs b/Filters.cs
index def5367..1de6ad0 100644
--- a/Filters.cs
+++ b/Filters.cs
@@ -46,14 +46,10 @@ using Aaru.Console;
namespace Aaru.CommonTypes
{
- ///
- /// Manages the known filters
- ///
+ /// Manages the known filters
public sealed class FiltersList
{
- ///
- /// List of known filters
- ///
+ /// List of known filters
public readonly SortedDictionary Filters;
/// Fills the list of all known filters
diff --git a/Geometry.cs b/Geometry.cs
index 37cf673..bfc8bf8 100644
--- a/Geometry.cs
+++ b/Geometry.cs
@@ -40,14 +40,10 @@ using System.Linq;
namespace Aaru.CommonTypes
{
- ///
- /// Handles CHS geometries
- ///
+ /// Handles CHS geometries
public static class Geometry
{
- ///
- /// List of known disk geometries
- ///
+ /// List of known disk geometries
public static readonly (ushort cylinders, byte heads, ushort sectorsPerTrack, uint bytesPerSector, MediaEncoding
encoding, bool variableSectorsPerTrack, MediaType type)[] KnownGeometries =
{
@@ -122,9 +118,7 @@ namespace Aaru.CommonTypes
(1024, 2, 32, 512, MediaEncoding.MFM, false, MediaType.FD32MB)
};
- ///
- /// Gets the media type for a given geometry
- ///
+ /// Gets the media type for a given geometry
/// Geometry
/// Media type
public static MediaType GetMediaType(
@@ -139,9 +133,7 @@ namespace Aaru.CommonTypes
geometry.variableSectorsPerTrack select geom.type).
FirstOrDefault();
- ///
- /// Gets the geometry for a given media type
- ///
+ /// Gets the geometry for a given media type
/// Media type
/// Geometry
public static (ushort cylinders, byte heads, ushort sectorsPerTrack, uint bytesPerSector, MediaEncoding encoding
diff --git a/Interfaces/IArchive.cs b/Interfaces/IArchive.cs
index 7247bc7..9bfb61b 100644
--- a/Interfaces/IArchive.cs
+++ b/Interfaces/IArchive.cs
@@ -39,9 +39,7 @@ using System.IO;
namespace Aaru.CommonTypes.Interfaces
{
- ///
- /// Supported archive features
- ///
+ /// Supported archive features
[Flags]
public enum ArchiveSupportedFeature : uint
{
@@ -71,9 +69,7 @@ namespace Aaru.CommonTypes.Interfaces
SupportsXAttrs = 1 << 6
}
- ///
- /// Defines the interface to handle an archive (e.g. ZIP, WAD, etc)
- ///
+ /// Defines the interface to handle an archive (e.g. ZIP, WAD, etc)
public interface IArchive
{
/// Descriptive name of the plugin
diff --git a/Interfaces/IChecksum.cs b/Interfaces/IChecksum.cs
index 6b691e9..2dcf130 100644
--- a/Interfaces/IChecksum.cs
+++ b/Interfaces/IChecksum.cs
@@ -38,9 +38,7 @@
namespace Aaru.CommonTypes.Interfaces
{
- ///
- /// Defines the interface to implement a checksum or hashing algorithm
- ///
+ /// Defines the interface to implement a checksum or hashing algorithm
public interface IChecksum
{
/// Updates the hash with data.
diff --git a/Interfaces/IFilesystem.cs b/Interfaces/IFilesystem.cs
index af1f0d5..aebe540 100644
--- a/Interfaces/IFilesystem.cs
+++ b/Interfaces/IFilesystem.cs
@@ -45,9 +45,7 @@ namespace Aaru.CommonTypes.Interfaces
/// Interface to implement filesystem plugins.
public interface IFilesystem
{
- ///
- /// Defines the encoding used to interpret strings in the filesystem
- ///
+ /// Defines the encoding used to interpret strings in the filesystem
Encoding Encoding { get; }
/// Plugin name.
string Name { get; }
diff --git a/Interfaces/IFilter.cs b/Interfaces/IFilter.cs
index 20ea2b9..7aecd82 100644
--- a/Interfaces/IFilter.cs
+++ b/Interfaces/IFilter.cs
@@ -42,8 +42,8 @@ using System.IO;
namespace Aaru.CommonTypes.Interfaces
{
///
- /// Defines a filter, that is, a transformation of the data from a file, like, for example, a compressor (e.g. GZIP),
- /// or a container (e.g. AppleDouble)
+ /// Defines a filter, that is, a transformation of the data from a file, like, for example, a compressor (e.g.
+ /// GZIP), or a container (e.g. AppleDouble)
///
public interface IFilter
{
diff --git a/Interfaces/IPartitionableMediaImage.cs b/Interfaces/IPartitionableMediaImage.cs
index ec58175..d4bd9be 100644
--- a/Interfaces/IPartitionableMediaImage.cs
+++ b/Interfaces/IPartitionableMediaImage.cs
@@ -41,9 +41,7 @@ using System.Collections.Generic;
namespace Aaru.CommonTypes.Interfaces
{
- ///
- /// Defines an image that can contain partitions
- ///
+ /// Defines an image that can contain partitions
public interface IPartitionableMediaImage
{
///
diff --git a/Interfaces/IPluginRegister.cs b/Interfaces/IPluginRegister.cs
index 60e3d8d..f82f9d0 100644
--- a/Interfaces/IPluginRegister.cs
+++ b/Interfaces/IPluginRegister.cs
@@ -41,9 +41,7 @@ using System.Collections.Generic;
namespace Aaru.CommonTypes.Interfaces
{
- ///
- /// Defines a register of all known plugins
- ///
+ /// Defines a register of all known plugins
public interface IPluginRegister
{
/// Gets all checksum plugins
@@ -86,4 +84,4 @@ namespace Aaru.CommonTypes.Interfaces
/// List of archive plugins
List GetAllArchivePlugins();
}
-}
+}
\ No newline at end of file
diff --git a/Interfaces/IReadOnlyFilesystem.cs b/Interfaces/IReadOnlyFilesystem.cs
index ad7178a..c6d188b 100644
--- a/Interfaces/IReadOnlyFilesystem.cs
+++ b/Interfaces/IReadOnlyFilesystem.cs
@@ -45,17 +45,13 @@ using Aaru.CommonTypes.Structs;
namespace Aaru.CommonTypes.Interfaces
{
///
- ///
- /// Defines the interface to implement reading the contents of a filesystem
- ///
+ /// Defines the interface to implement reading the contents of a filesystem
public interface IReadOnlyFilesystem : IFilesystem
{
/// Retrieves a list of options supported by the filesystem, with name, type and description
IEnumerable<(string name, Type type, string description)> SupportedOptions { get; }
- ///
- /// Supported namespaces
- ///
+ /// Supported namespaces
Dictionary Namespaces { get; }
///
diff --git a/Interfaces/ITapeImage.cs b/Interfaces/ITapeImage.cs
index 932542e..055fb54 100644
--- a/Interfaces/ITapeImage.cs
+++ b/Interfaces/ITapeImage.cs
@@ -43,9 +43,7 @@ using Aaru.CommonTypes.Structs;
namespace Aaru.CommonTypes.Interfaces
{
///
- ///
- /// Defines an image that can store the information from streaming, digital, tapes
- ///
+ /// Defines an image that can store the information from streaming, digital, tapes
public interface ITapeImage : IMediaImage
{
/// Gets a list of all the files registered in the image
diff --git a/Interfaces/IVerifiableImage.cs b/Interfaces/IVerifiableImage.cs
index ff45128..028f8db 100644
--- a/Interfaces/IVerifiableImage.cs
+++ b/Interfaces/IVerifiableImage.cs
@@ -39,9 +39,7 @@
namespace Aaru.CommonTypes.Interfaces
{
- ///
- /// Defines an image that can verify the integrity of the image itself, but not its contents
- ///
+ /// Defines an image that can verify the integrity of the image itself, but not its contents
public interface IVerifiableImage
{
/// Verifies media image internal checksum.
diff --git a/Interfaces/IVerifiableSectorsImage.cs b/Interfaces/IVerifiableSectorsImage.cs
index ae35084..049137f 100644
--- a/Interfaces/IVerifiableSectorsImage.cs
+++ b/Interfaces/IVerifiableSectorsImage.cs
@@ -41,9 +41,7 @@ using System.Collections.Generic;
namespace Aaru.CommonTypes.Interfaces
{
- ///
- /// Defines an image that can verify the integrity of the sectors it contains
- ///
+ /// Defines an image that can verify the integrity of the sectors it contains
public interface IVerifiableSectorsImage
{
/// Verifies a sector.
diff --git a/Interfaces/IWritableImage.cs b/Interfaces/IWritableImage.cs
index 704f3b3..f4be123 100644
--- a/Interfaces/IWritableImage.cs
+++ b/Interfaces/IWritableImage.cs
@@ -62,13 +62,9 @@ namespace Aaru.CommonTypes.Interfaces
/// Gets a list of known extensions for format auto-choosing
IEnumerable KnownExtensions { get; }
- ///
- /// If set to true means the image is opened for writing
- ///
- bool IsWriting { get; }
- ///
- /// Contains a description of the last error
- ///
+ /// If set to true means the image is opened for writing
+ bool IsWriting { get; }
+ /// Contains a description of the last error
string ErrorMessage { get; }
///
diff --git a/Interfaces/IWritableOpticalImage.cs b/Interfaces/IWritableOpticalImage.cs
index dec70fd..6318534 100644
--- a/Interfaces/IWritableOpticalImage.cs
+++ b/Interfaces/IWritableOpticalImage.cs
@@ -42,14 +42,10 @@ using Aaru.CommonTypes.Structs;
namespace Aaru.CommonTypes.Interfaces
{
- ///
- /// Defines an image that is writable and can store an optical disc (CD, DVD, etc)
- ///
+ /// Defines an image that is writable and can store an optical disc (CD, DVD, etc)
public interface IWritableOpticalImage : IWritableImage, IOpticalMediaImage
{
- ///
- /// Image format capabilities
- ///
+ /// Image format capabilities
OpticalImageCapabilities OpticalCapabilities { get; }
/// Sets tracks for optical media
diff --git a/Interfaces/IWritableTapeImage.cs b/Interfaces/IWritableTapeImage.cs
index 4141886..ee9f300 100644
--- a/Interfaces/IWritableTapeImage.cs
+++ b/Interfaces/IWritableTapeImage.cs
@@ -41,9 +41,7 @@ using Aaru.CommonTypes.Structs;
namespace Aaru.CommonTypes.Interfaces
{
- ///
- /// Defines an image that is writable and can store information about a streaming, digital, tape
- ///
+ /// Defines an image that is writable and can store information about a streaming, digital, tape
public interface IWritableTapeImage : ITapeImage, IWritableImage
{
/// Registers a new file in the image
diff --git a/Interop/DetectOS.cs b/Interop/DetectOS.cs
index 21d46c9..27e933f 100644
--- a/Interop/DetectOS.cs
+++ b/Interop/DetectOS.cs
@@ -44,29 +44,19 @@ using System.Security.Principal;
namespace Aaru.CommonTypes.Interop
{
- ///
- /// Detects the underlying execution framework and operating system
- ///
+ /// Detects the underlying execution framework and operating system
public static class DetectOS
{
- ///
- /// Are we running under Mono?
- ///
+ /// Are we running under Mono?
public static readonly bool IsMono =
RuntimeInformation.FrameworkDescription.StartsWith("Mono", StringComparison.Ordinal);
- ///
- /// Are we running under .NET Framework?
- ///
+ /// Are we running under .NET Framework?
public static readonly bool IsNetFramework =
RuntimeInformation.FrameworkDescription.StartsWith(".NET Framework", StringComparison.Ordinal);
- ///
- /// Are we running under .NET Core?
- ///
+ /// Are we running under .NET Core?
public static readonly bool IsNetCore =
RuntimeInformation.FrameworkDescription.StartsWith(".NET Core", StringComparison.Ordinal);
- ///
- /// Are we running under .NET Native?
- ///
+ /// Are we running under .NET Native?
public static readonly bool IsNetNative =
RuntimeInformation.FrameworkDescription.StartsWith(".NET Native", StringComparison.Ordinal);
@@ -76,9 +66,7 @@ namespace Aaru.CommonTypes.Interop
/// Checks if the underlying runtime runs in 32-bit mode
public static readonly bool Is32Bit = IntPtr.Size == 4;
- ///
- /// Are we running under Windows?
- ///
+ /// Are we running under Windows?
public static bool IsWindows => GetRealPlatformID() == PlatformID.Win32NT ||
GetRealPlatformID() == PlatformID.Win32S ||
GetRealPlatformID() == PlatformID.Win32Windows ||
@@ -86,9 +74,7 @@ namespace Aaru.CommonTypes.Interop
GetRealPlatformID() == PlatformID.WindowsPhone ||
GetRealPlatformID() == PlatformID.Xbox;
- ///
- /// Are we running with administrative (root) privileges?
- ///
+ /// Are we running with administrative (root) privileges?
public static bool IsAdmin
{
get
diff --git a/Interop/Version.cs b/Interop/Version.cs
index 96c9d43..5182028 100644
--- a/Interop/Version.cs
+++ b/Interop/Version.cs
@@ -42,18 +42,14 @@ using System.Runtime;
namespace Aaru.CommonTypes.Interop
{
- ///
- /// Gets our own, or the runtime's version
- ///
+ /// Gets our own, or the runtime's version
public static class Version
{
/// Gets version string
/// Version
public static string GetVersion() => typeof(Version).Assembly.GetName().Version?.ToString();
- ///
- /// Gets .NET Core version
- ///
+ /// Gets .NET Core version
/// Version
public static string GetNetCoreVersion()
{
@@ -76,9 +72,7 @@ namespace Aaru.CommonTypes.Interop
return null;
}
- ///
- /// Gets Mono version
- ///
+ /// Gets Mono version
/// Version
public static string GetMonoVersion()
{
diff --git a/MediaType.cs b/MediaType.cs
index 039b047..2510db0 100644
--- a/MediaType.cs
+++ b/MediaType.cs
@@ -40,6 +40,7 @@
// TODO: Rename contents
using System;
+
#pragma warning disable 1591
// ReSharper disable UnusedMember.Global
diff --git a/MediaTypeFromDevice/FromAta.cs b/MediaTypeFromDevice/FromAta.cs
index 664ebae..0716e43 100644
--- a/MediaTypeFromDevice/FromAta.cs
+++ b/MediaTypeFromDevice/FromAta.cs
@@ -38,9 +38,7 @@ namespace Aaru.CommonTypes
{
public static partial class MediaTypeFromDevice
{
- ///
- /// Gets the media type from an ATA (not ATAPI) device
- ///
+ /// Gets the media type from an ATA (not ATAPI) device
/// Manufacturer string
/// Model string
/// Is the device removable?
diff --git a/MediaTypeFromDevice/FromMmc.cs b/MediaTypeFromDevice/FromMmc.cs
index db3f0d0..acc7c1b 100644
--- a/MediaTypeFromDevice/FromMmc.cs
+++ b/MediaTypeFromDevice/FromMmc.cs
@@ -37,14 +37,10 @@ using Aaru.Console;
namespace Aaru.CommonTypes
{
- ///
- /// Gets the media type from a real device
- ///
+ /// Gets the media type from a real device
public static partial class MediaTypeFromDevice
{
- ///
- /// Gets the media type from an SCSI MultiMedia Commands compliant device
- ///
+ /// Gets the media type from an SCSI MultiMedia Commands compliant device
/// Model string
/// Medium type from MODE SENSE
/// Density code from MODE SENSE
diff --git a/MediaTypeFromDevice/FromOdc.cs b/MediaTypeFromDevice/FromOdc.cs
index f01fbc2..757a878 100644
--- a/MediaTypeFromDevice/FromOdc.cs
+++ b/MediaTypeFromDevice/FromOdc.cs
@@ -38,9 +38,7 @@ namespace Aaru.CommonTypes
{
public static partial class MediaTypeFromDevice
{
- ///
- /// Gets the device type from a SCSI Optical Device
- ///
+ /// Gets the device type from a SCSI Optical Device
/// Medium type from MODE SENSE
/// Number of blocks in device
/// Size in bytes of a block
diff --git a/MediaTypeFromDevice/FromSbc.cs b/MediaTypeFromDevice/FromSbc.cs
index 7747dc6..2e6ba70 100644
--- a/MediaTypeFromDevice/FromSbc.cs
+++ b/MediaTypeFromDevice/FromSbc.cs
@@ -39,9 +39,7 @@ namespace Aaru.CommonTypes
{
public static partial class MediaTypeFromDevice
{
- ///
- /// Gets the media type from a SCSI Block Commands compliant device
- ///
+ /// Gets the media type from a SCSI Block Commands compliant device
/// Vendor string
/// Model string
/// Medium type from MODE SENSE
diff --git a/MediaTypeFromDevice/FromSsc.cs b/MediaTypeFromDevice/FromSsc.cs
index c99a2e8..ef4b08c 100644
--- a/MediaTypeFromDevice/FromSsc.cs
+++ b/MediaTypeFromDevice/FromSsc.cs
@@ -39,9 +39,7 @@ namespace Aaru.CommonTypes
{
public static partial class MediaTypeFromDevice
{
- ///
- /// Gets the media type from an SCSI Streaming Commands compliant device
- ///
+ /// Gets the media type from an SCSI Streaming Commands compliant device
/// Peripheral type
/// Vendor string
/// Model string
diff --git a/Metadata/CdOffset.cs b/Metadata/CdOffset.cs
index 4e39137..3598e5b 100644
--- a/Metadata/CdOffset.cs
+++ b/Metadata/CdOffset.cs
@@ -40,30 +40,18 @@ using System.ComponentModel.DataAnnotations;
namespace Aaru.CommonTypes.Metadata
{
- ///
- /// Describes CD reading offset
- ///
+ /// Describes CD reading offset
public class CdOffset
{
- ///
- /// Drive manufacturer
- ///
+ /// Drive manufacturer
public string Manufacturer { get; set; }
- ///
- /// Drive model
- ///
- public string Model { get; set; }
- ///
- /// Reading offset
- ///
- public short Offset { get; set; }
- ///
- /// Number of times this offset has been submitted
- ///
- public int Submissions { get; set; }
- ///
- /// Percentage of submissions in agreement with this offset
- ///
+ /// Drive model
+ public string Model { get; set; }
+ /// Reading offset
+ public short Offset { get; set; }
+ /// Number of times this offset has been submitted
+ public int Submissions { get; set; }
+ /// Percentage of submissions in agreement with this offset
[DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:P0}")]
public float Agreement { get; set; }
}
diff --git a/Metadata/DeviceReport.cs b/Metadata/DeviceReport.cs
index f5e59b4..d4abfe5 100644
--- a/Metadata/DeviceReport.cs
+++ b/Metadata/DeviceReport.cs
@@ -43,6 +43,7 @@ using Aaru.CommonTypes.Structs.Devices.ATA;
using Aaru.CommonTypes.Structs.Devices.SCSI;
using Aaru.CommonTypes.Structs.Devices.SCSI.Modes;
using Newtonsoft.Json;
+
// This is obsolete
#pragma warning disable 1591
diff --git a/Metadata/DeviceReportV2.cs b/Metadata/DeviceReportV2.cs
index 5247a2e..11711cf 100644
--- a/Metadata/DeviceReportV2.cs
+++ b/Metadata/DeviceReportV2.cs
@@ -47,6 +47,7 @@ using Aaru.CommonTypes.Structs.Devices.ATA;
using Aaru.CommonTypes.Structs.Devices.SCSI;
using Aaru.CommonTypes.Structs.Devices.SCSI.Modes;
using Newtonsoft.Json;
+
// TODO: Re-enable CS1591 in this file
#pragma warning disable 1591
diff --git a/Metadata/Dimensions.cs b/Metadata/Dimensions.cs
index b9ae57c..8215c12 100644
--- a/Metadata/Dimensions.cs
+++ b/Metadata/Dimensions.cs
@@ -42,14 +42,10 @@ using Schemas;
namespace Aaru.CommonTypes.Metadata
{
- ///
- /// Physical dimensions for media types
- ///
+ /// Physical dimensions for media types
public static class Dimensions
{
- ///
- /// Gets the physical dimensions, in metadata expected format, for a given media type
- ///
+ /// Gets the physical dimensions, in metadata expected format, for a given media type
/// Media type
/// Dimensions metadata
public static DimensionsType DimensionsFromMediaType(CommonTypes.MediaType dskType)
diff --git a/Metadata/MediaType.cs b/Metadata/MediaType.cs
index b5579b8..95c1746 100644
--- a/Metadata/MediaType.cs
+++ b/Metadata/MediaType.cs
@@ -39,14 +39,10 @@
#pragma warning disable 612
namespace Aaru.CommonTypes.Metadata
{
- ///
- /// Handles media type for metadata
- ///
+ /// Handles media type for metadata
public static class MediaType
{
- ///
- /// Converts a media type of a pair of type and subtype strings to use in metadata
- ///
+ /// Converts a media type of a pair of type and subtype strings to use in metadata
/// Media type
/// Media type and subtype for metadata
public static (string type, string subType) MediaTypeToString(CommonTypes.MediaType dskType)
diff --git a/Metadata/Resume.cs b/Metadata/Resume.cs
index 3c15ef8..6daab87 100644
--- a/Metadata/Resume.cs
+++ b/Metadata/Resume.cs
@@ -43,61 +43,37 @@ using Schemas;
namespace Aaru.CommonTypes.Metadata
{
- ///
- /// Information that allows to resume a dump
- ///
+ /// Information that allows to resume a dump
[Serializable, XmlRoot("DicResume", Namespace = "", IsNullable = false)]
public class Resume
{
- ///
- /// List of blocks that returned an error on reading
- ///
+ /// List of blocks that returned an error on reading
[XmlArrayItem("Block")]
public List BadBlocks;
- ///
- /// Date/time this resume file was created
- ///
+ /// Date/time this resume file was created
[XmlElement(DataType = "dateTime")]
public DateTime CreationDate;
- ///
- /// Last block on media
- ///
+ /// Last block on media
public ulong LastBlock;
- ///
- /// Date/time this resume file was last written to
- ///
+ /// Date/time this resume file was last written to
[XmlElement(DataType = "dateTime")]
public DateTime LastWriteDate;
- ///
- /// Next block to read
- ///
+ /// Next block to read
public ulong NextBlock;
- ///
- /// Is media removable?
- ///
- public bool Removable;
- ///
- /// Is media a tape?
- ///
- public bool Tape;
- ///
- /// List of CD subchannels that did not read correctly
- ///
+ /// Is media removable?
+ public bool Removable;
+ /// Is media a tape?
+ public bool Tape;
+ /// List of CD subchannels that did not read correctly
[XmlArrayItem("Block")]
public List BadSubchannels;
- ///
- /// Extents of BLANK sectors for magneto-opticals
- ///
+ /// Extents of BLANK sectors for magneto-opticals
[XmlArrayItem("Extent")]
public ExtentType[] BlankExtents;
- ///
- /// Title keys that has not been read
- ///
+ /// Title keys that has not been read
[XmlArrayItem("Block")]
public List MissingTitleKeys;
- ///
- /// List of dump tries
- ///
+ /// List of dump tries
[XmlArrayItem("DumpTry")]
public List Tries;
}
diff --git a/Metadata/Statistics.cs b/Metadata/Statistics.cs
index b47f042..cb49920 100644
--- a/Metadata/Statistics.cs
+++ b/Metadata/Statistics.cs
@@ -39,14 +39,13 @@
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Xml.Serialization;
+
// ReSharper disable ClassNeverInstantiated.Global
// ReSharper disable UnusedMember.Global
namespace Aaru.CommonTypes.Metadata
{
- ///
- /// Statistics
- ///
+ /// Statistics
[XmlRoot("DicStats", Namespace = "", IsNullable = false)]
public class Stats
{
@@ -75,50 +74,46 @@ namespace Aaru.CommonTypes.Metadata
public List Devices { get; set; }
/// Found media types, real, and in image
[XmlArrayItem("Media")]
- public List Medias { get; set; }
+ public List Medias { get; set; }
/// Benchmark statistics
public BenchmarkStats Benchmark { get; set; }
/// Media scanning statistics
public MediaScanStats MediaScan { get; set; }
/// Image verification statistics
- public VerifyStats Verify { get; set; }
+ public VerifyStats Verify { get; set; }
}
- ///
- /// DTO for statistics
- ///
+ /// DTO for statistics
[SuppressMessage("ReSharper", "CollectionNeverQueried.Global")]
public class StatsDto
{
/// Executed commands
- public List Commands { get; set; }
+ public List Commands { get; set; }
/// Operating systems Aaru has run from
- public List OperatingSystems { get; set; }
+ public List OperatingSystems { get; set; }
/// Aaru versions
- public List Versions { get; set; }
+ public List Versions { get; set; }
/// Detected filesystems
- public List Filesystems { get; set; }
+ public List Filesystems { get; set; }
/// Detected partitioning schemes
- public List Partitions { get; set; }
+ public List Partitions { get; set; }
/// Media image formats
- public List MediaFormats { get; set; }
+ public List MediaFormats { get; set; }
/// Used filters
- public List Filters { get; set; }
+ public List Filters { get; set; }
/// Found devices
- public List Devices { get; set; }
+ public List Devices { get; set; }
/// Found media types, real, and in image
- public List Medias { get; set; }
+ public List Medias { get; set; }
/// Remote applications
- public List RemoteApplications { get; set; }
+ public List RemoteApplications { get; set; }
/// Remote application architectures
- public List RemoteArchitectures { get; set; }
+ public List RemoteArchitectures { get; set; }
/// Operating systems where a remote application has been running
- public List RemoteOperatingSystems { get; set; }
+ public List RemoteOperatingSystems { get; set; }
}
- ///
- /// Command execution statistics
- ///
+ /// Command execution statistics
[SuppressMessage("ReSharper", "UnassignedField.Global")]
public class CommandsStats
{
@@ -175,47 +170,29 @@ namespace Aaru.CommonTypes.Metadata
public long Failed;
}
- ///
- /// Verification statistics
- ///
+ /// Verification statistics
public class VerifyStats
{
- ///
- /// Image verification statistics
- ///
- public VerifiedItems MediaImages;
- ///
- /// Image contents verification statistics
- ///
+ /// Image verification statistics
+ public VerifiedItems MediaImages;
+ /// Image contents verification statistics
public ScannedSectors Sectors;
}
- ///
- /// Image contents verification statistics
- ///
+ /// Image contents verification statistics
public class ScannedSectors
{
- ///
- /// Sectors found to be correct
- ///
+ /// Sectors found to be correct
public long Correct;
- ///
- /// Sectors found to be incorrect
- ///
+ /// Sectors found to be incorrect
public long Error;
- ///
- /// Total number of verified sectors
- ///
+ /// Total number of verified sectors
public long Total;
- ///
- /// Total number of sectors that could not be verified
- ///
+ /// Total number of sectors that could not be verified
public long Unverifiable;
}
- ///
- /// Media scanning time statistics
- ///
+ /// Media scanning time statistics
[SuppressMessage("ReSharper", "InconsistentNaming")]
public class TimeStats
{
@@ -233,159 +210,99 @@ namespace Aaru.CommonTypes.Metadata
public long MoreThan500ms;
}
- ///
- /// Media scanning statistics
- ///
+ /// Media scanning statistics
public class MediaScanStats
{
- ///
- /// Statistics of scanned sectors
- ///
+ /// Statistics of scanned sectors
public ScannedSectors Sectors;
- ///
- /// Scan time statistics
- ///
- public TimeStats Times;
+ /// Scan time statistics
+ public TimeStats Times;
}
- ///
- /// Checksum type statistics
- ///
+ /// Checksum type statistics
[SuppressMessage("ReSharper", "InconsistentNaming")]
public class ChecksumStats
{
- ///
- /// Checksum algorithm
- ///
+ /// Checksum algorithm
[XmlAttribute]
public string algorithm;
- ///
- /// Time taken to execute algorithm
- ///
+ /// Time taken to execute algorithm
[XmlText]
public double Value;
}
- ///
- /// Benchmark statistics
- ///
+ /// Benchmark statistics
public class BenchmarkStats
{
- ///
- /// Total time taken to run the checksum algorithms in parallel
- ///
+ /// Total time taken to run the checksum algorithms in parallel
public double All;
- ///
- /// List of time taken by each checksum algorithm
- ///
+ /// List of time taken by each checksum algorithm
[XmlElement("Checksum")]
public List Checksum;
- ///
- /// Time taken to benchmark entropy calculation
- ///
+ /// Time taken to benchmark entropy calculation
public double Entropy;
- ///
- /// Maximum amount of memory used while running the benchmark
- ///
- public long MaxMemory;
- ///
- /// Minimum amount of memory used while running the benchmark
- ///
- public long MinMemory;
- ///
- /// Total time taken to run the checksum algorithms sequentially
- ///
+ /// Maximum amount of memory used while running the benchmark
+ public long MaxMemory;
+ /// Minimum amount of memory used while running the benchmark
+ public long MinMemory;
+ /// Total time taken to run the checksum algorithms sequentially
public double Sequential;
}
- ///
- /// Media statistics
- ///
+ /// Media statistics
[SuppressMessage("ReSharper", "InconsistentNaming")]
public class MediaStats
{
- ///
- /// Found in a real device?
- ///
+ /// Found in a real device?
[XmlAttribute]
public bool real;
- ///
- /// Media type
- ///
+ /// Media type
[XmlAttribute]
public string type;
- ///
- /// Number of times it has been found
- ///
+ /// Number of times it has been found
[XmlText]
public long Value;
}
- ///
- /// Device statistics
- ///
+ /// Device statistics
public class DeviceStats
{
- ///
- /// Is manufacturer null?
- ///
+ /// Is manufacturer null?
[XmlIgnore]
public bool ManufacturerSpecified;
- ///
- /// Manufacturer string
- ///
+ /// Manufacturer string
public string Manufacturer { get; set; }
- ///
- /// Model string
- ///
- public string Model { get; set; }
- ///
- /// Revision or firmware version
- ///
- public string Revision { get; set; }
- ///
- /// Bus the device was attached to
- ///
- public string Bus { get; set; }
+ /// Model string
+ public string Model { get; set; }
+ /// Revision or firmware version
+ public string Revision { get; set; }
+ /// Bus the device was attached to
+ public string Bus { get; set; }
}
- ///
- /// Name=value pair statistics
- ///
+ /// Name=value pair statistics
[SuppressMessage("ReSharper", "InconsistentNaming")]
public class NameValueStats
{
- ///
- /// Name
- ///
+ /// Name
[XmlAttribute]
public string name { get; set; }
- ///
- /// Number of times it has been used/found
- ///
+ /// Number of times it has been used/found
[XmlText]
public long Value { get; set; }
}
- ///
- /// Operating system statistics
- ///
+ /// Operating system statistics
[SuppressMessage("ReSharper", "InconsistentNaming")]
public class OsStats
{
- ///
- /// Operating system name
- ///
+ /// Operating system name
[XmlAttribute]
public string name { get; set; }
- ///
- /// Operating system version
- ///
+ /// Operating system version
[XmlAttribute]
public string version { get; set; }
- ///
- /// Number of times Aaru run on it
- ///
+ /// Number of times Aaru run on it
[XmlText]
public long Value { get; set; }
}
diff --git a/Metadata/Version.cs b/Metadata/Version.cs
index e762b58..0175d4b 100644
--- a/Metadata/Version.cs
+++ b/Metadata/Version.cs
@@ -41,9 +41,7 @@ using Schemas;
namespace Aaru.CommonTypes.Metadata
{
- ///
- /// Manages Aaru's version for metadata
- ///
+ /// Manages Aaru's version for metadata
public static class Version
{
/// Gets XML software type for the running version
diff --git a/Partition.cs b/Partition.cs
index a14a9b3..d626b5d 100644
--- a/Partition.cs
+++ b/Partition.cs
@@ -74,6 +74,7 @@ namespace Aaru.CommonTypes
public override bool Equals(object obj) => obj is Partition partition && Equals(partition);
///
+
// ReSharper disable once NonReadonlyMemberInGetHashCode
public override int GetHashCode() => Start.GetHashCode() + End.GetHashCode();
diff --git a/PluginBase.cs b/PluginBase.cs
index ff9a396..2929db5 100644
--- a/PluginBase.cs
+++ b/PluginBase.cs
@@ -46,6 +46,8 @@ namespace Aaru.CommonTypes
/// Contain all plugins (filesystem, partition and image)
public class PluginBase
{
+ /// List of all archive formats
+ public readonly SortedDictionary Archives;
/// List of checksum plugins
public readonly List Checksums;
/// List of filter plugins
@@ -64,8 +66,6 @@ namespace Aaru.CommonTypes
public readonly SortedDictionary WritableFloppyImages;
/// List of writable media image plugins
public readonly SortedDictionary WritableImages;
- /// List of all archive formats
- public readonly SortedDictionary Archives;
/// Initializes the plugins lists
public PluginBase()
@@ -82,9 +82,7 @@ namespace Aaru.CommonTypes
Archives = new SortedDictionary();
}
- ///
- /// Adds plugins to the central plugin register
- ///
+ /// Adds plugins to the central plugin register
/// Plugin register
public void AddPlugins(IPluginRegister pluginRegister)
{
@@ -148,4 +146,4 @@ namespace Aaru.CommonTypes
Archives.Add(plugin.Name.ToLower(), plugin);
}
}
-}
+}
\ No newline at end of file
diff --git a/Structs/Devices/ATA/Identify.cs b/Structs/Devices/ATA/Identify.cs
index 26579dd..1422212 100644
--- a/Structs/Devices/ATA/Identify.cs
+++ b/Structs/Devices/ATA/Identify.cs
@@ -109,10 +109,10 @@ namespace Aaru.CommonTypes.Structs.Devices.ATA
MustBeSet = 0x4000,
#pragma warning disable 1591
Reserved13 = 0x2000, Reserved12 = 0x1000, Reserved11 = 0x0800,
- Reserved10 = 0x0400, Reserved09 = 0x0200, Reserved08 = 0x0100,
- Reserved07 = 0x0080, Reserved06 = 0x0040, Reserved05 = 0x0020,
- Reserved04 = 0x0010, Reserved03 = 0x0008, Reserved02 = 0x0004,
- Reserved01 = 0x0002,
+ Reserved10 = 0x0400, Reserved09 = 0x0200, Reserved08 = 0x0100,
+ Reserved07 = 0x0080, Reserved06 = 0x0040, Reserved05 = 0x0020,
+ Reserved04 = 0x0010, Reserved03 = 0x0008, Reserved02 = 0x0004,
+ Reserved01 = 0x0002,
#pragma warning restore 1591
/// Indicates a device specific minimum standby timer value
SpecificStandbyTimer = 0x0001
@@ -265,7 +265,7 @@ namespace Aaru.CommonTypes.Structs.Devices.ATA
MustBeSet = 0x4000,
#pragma warning disable 1591
Reserved13 = 0x2000, Reserved12 = 0x1000, Reserved11 = 0x0800,
- Reserved10 = 0x0400,
+ Reserved10 = 0x0400,
#pragma warning restore 1591
/// DSN feature set is supported
DSN = 0x0200,
@@ -327,9 +327,7 @@ namespace Aaru.CommonTypes.Structs.Devices.ATA
ZonedBit0 = 0x0001
}
- ///
- /// Data set management flag bits.
- ///
+ /// Data set management flag bits.
[Flags]
public enum DataSetMgmtBit : ushort
{
@@ -344,9 +342,7 @@ namespace Aaru.CommonTypes.Structs.Devices.ATA
Trim = 0x0001
}
- ///
- /// Device form factor
- ///
+ /// Device form factor
public enum DeviceFormFactorEnum : ushort
{
/// Size not reported
@@ -460,9 +456,7 @@ namespace Aaru.CommonTypes.Structs.Devices.ATA
#pragma warning restore 1591
}
- ///
- /// SATA capabilities flags
- ///
+ /// SATA capabilities flags
[Flags]
public enum SATACapabilitiesBit : ushort
{
@@ -484,7 +478,7 @@ namespace Aaru.CommonTypes.Structs.Devices.ATA
NCQ = 0x0100,
#pragma warning disable 1591
Reserved07 = 0x0080, Reserved06 = 0x0040, Reserved05 = 0x0020,
- Reserved04 = 0x0010,
+ Reserved04 = 0x0010,
#pragma warning restore 1591
/// Supports SATA Gen. 3 Signaling Speed (6.0Gb/s)
Gen3Speed = 0x0008,
@@ -496,9 +490,7 @@ namespace Aaru.CommonTypes.Structs.Devices.ATA
Clear = 0x0001
}
- ///
- /// More SATA capabilities flags
- ///
+ /// More SATA capabilities flags
[Flags]
public enum SATACapabilitiesBit2 : ushort
{
@@ -527,9 +519,7 @@ namespace Aaru.CommonTypes.Structs.Devices.ATA
Clear = 0x0001
}
- ///
- /// SATA features flags
- ///
+ /// SATA features flags
[Flags]
public enum SATAFeaturesBit : ushort
{
@@ -560,9 +550,7 @@ namespace Aaru.CommonTypes.Structs.Devices.ATA
Clear = 0x0001
}
- ///
- /// SCT Command Transport flags
- ///
+ /// SCT Command Transport flags
[Flags]
public enum SCTCommandTransportBit : ushort
{
@@ -614,9 +602,7 @@ namespace Aaru.CommonTypes.Structs.Devices.ATA
Supported = 0x0001
}
- ///
- /// Specific configuration flags
- ///
+ /// Specific configuration flags
public enum SpecificConfigurationEnum : ushort
{
/// Device requires SET FEATURES to spin up and IDENTIFY DEVICE response is incomplete
@@ -629,9 +615,7 @@ namespace Aaru.CommonTypes.Structs.Devices.ATA
NotRequiresSetCompleteResponse = 0xC837
}
- ///
- /// Transfer mode flags
- ///
+ /// Transfer mode flags
[Flags]
public enum TransferMode : byte
{
@@ -642,9 +626,7 @@ namespace Aaru.CommonTypes.Structs.Devices.ATA
#pragma warning restore 1591
}
- ///
- /// Trusted Computing flags
- ///
+ /// Trusted Computing flags
[Flags]
public enum TrustedComputingBit : ushort
{
@@ -654,18 +636,16 @@ namespace Aaru.CommonTypes.Structs.Devices.ATA
Set = 0x4000,
#pragma warning disable 1591
Reserved13 = 0x2000, Reserved12 = 0x1000, Reserved11 = 0x0800,
- Reserved10 = 0x0400, Reserved09 = 0x0200, Reserved08 = 0x0100,
- Reserved07 = 0x0080, Reserved06 = 0x0040, Reserved05 = 0x0020,
- Reserved04 = 0x0010, Reserved03 = 0x0008, Reserved02 = 0x0004,
- Reserved01 = 0x0002,
+ Reserved10 = 0x0400, Reserved09 = 0x0200, Reserved08 = 0x0100,
+ Reserved07 = 0x0080, Reserved06 = 0x0040, Reserved05 = 0x0020,
+ Reserved04 = 0x0010, Reserved03 = 0x0008, Reserved02 = 0x0004,
+ Reserved01 = 0x0002,
#pragma warning restore 1591
/// Trusted Computing feature set is supported
TrustedComputing = 0x0001
}
- ///
- /// IDENTIFY DEVICE decoded response
- ///
+ /// IDENTIFY DEVICE decoded response
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 2)]
public struct IdentifyDevice
{
@@ -1017,9 +997,7 @@ namespace Aaru.CommonTypes.Structs.Devices.ATA
public byte Checksum;
}
- ///
- /// Decodes a raw IDENTIFY DEVICE response
- ///
+ /// Decodes a raw IDENTIFY DEVICE response
/// Raw IDENTIFY DEVICE response
/// Decoded IDENTIFY DEVICE
public static IdentifyDevice? Decode(byte[] IdentifyDeviceResponse)
@@ -1050,9 +1028,7 @@ namespace Aaru.CommonTypes.Structs.Devices.ATA
return ATAID;
}
- ///
- /// Encodes a raw IDENTIFY DEVICE response
- ///
+ /// Encodes a raw IDENTIFY DEVICE response
/// Decoded IDENTIFY DEVICE
/// Raw IDENTIFY DEVICE response
public static byte[] Encode(IdentifyDevice? identify)
diff --git a/Structs/Devices/SCSI/Enums.cs b/Structs/Devices/SCSI/Enums.cs
index 8ac0205..b589267 100644
--- a/Structs/Devices/SCSI/Enums.cs
+++ b/Structs/Devices/SCSI/Enums.cs
@@ -34,9 +34,7 @@ using System.Diagnostics.CodeAnalysis;
namespace Aaru.CommonTypes.Structs.Devices.SCSI
{
- ///
- /// List of known SCSI peripheral qualifiers
- ///
+ /// List of known SCSI peripheral qualifiers
public enum PeripheralQualifiers : byte
{
/// Peripheral qualifier: Device is connected and supported
@@ -51,9 +49,7 @@ namespace Aaru.CommonTypes.Structs.Devices.SCSI
VendorMask = 0x04
}
- ///
- /// List of known peripheral device types
- ///
+ /// List of known peripheral device types
[SuppressMessage("ReSharper", "InconsistentNaming")]
public enum PeripheralDeviceTypes : byte
{
@@ -105,9 +101,7 @@ namespace Aaru.CommonTypes.Structs.Devices.SCSI
UnknownDevice = 0x1F
}
- ///
- /// List of known ANSI SCSI standards
- ///
+ /// List of known ANSI SCSI standards
[SuppressMessage("ReSharper", "InconsistentNaming")]
public enum ANSIVersions : byte
{
@@ -127,9 +121,7 @@ namespace Aaru.CommonTypes.Structs.Devices.SCSI
ANSI2008Version = 0x06
}
- ///
- /// List of known ECMA SCSI standards
- ///
+ /// List of known ECMA SCSI standards
[SuppressMessage("ReSharper", "InconsistentNaming")]
public enum ECMAVersions : byte
{
@@ -139,9 +131,7 @@ namespace Aaru.CommonTypes.Structs.Devices.SCSI
ECMA111 = 0x01
}
- ///
- /// List of known ISO SCSI standards
- ///
+ /// List of known ISO SCSI standards
[SuppressMessage("ReSharper", "InconsistentNaming")]
public enum ISOVersions : byte
{
@@ -151,9 +141,7 @@ namespace Aaru.CommonTypes.Structs.Devices.SCSI
ISO1995Version = 0x02
}
- ///
- /// List of known SCSI Parallel Interface clocking types
- ///
+ /// List of known SCSI Parallel Interface clocking types
[SuppressMessage("ReSharper", "InconsistentNaming")]
public enum SPIClocking : byte
{
@@ -167,9 +155,7 @@ namespace Aaru.CommonTypes.Structs.Devices.SCSI
STandDT = 0x03
}
- ///
- /// List of known TGPS values
- ///
+ /// List of known TGPS values
[SuppressMessage("ReSharper", "InconsistentNaming")]
public enum TGPSValues : byte
{
@@ -183,9 +169,7 @@ namespace Aaru.CommonTypes.Structs.Devices.SCSI
Both = 0x03
}
- ///
- /// List of known SCSI protocols
- ///
+ /// List of known SCSI protocols
[SuppressMessage("ReSharper", "InconsistentNaming")]
public enum ProtocolIdentifiers : byte
{
@@ -217,37 +201,23 @@ namespace Aaru.CommonTypes.Structs.Devices.SCSI
NoProtocol = 15
}
- ///
- /// List of known SCSI definitions
- ///
+ /// List of known SCSI definitions
[SuppressMessage("ReSharper", "InconsistentNaming")]
public enum ScsiDefinitions : byte
{
- ///
- /// Unknown
- ///
+ /// Unknown
Current = 0,
- ///
- /// SCSI-1
- ///
+ /// SCSI-1
SCSI1 = 1,
- ///
- /// Unknown
- ///
+ /// Unknown
CCS = 2,
- ///
- /// SCSI-2
- ///
- SCSI2 = 3,
- ///
- /// SCSI-3
- ///
+ /// SCSI-2
+ SCSI2 = 3,
+ /// SCSI-3
SCSI3 = 4
}
- ///
- /// List of known SCSI physical interfaces
- ///
+ /// List of known SCSI physical interfaces
[SuppressMessage("ReSharper", "InconsistentNaming")]
public enum PhysicalInterfaces : uint
{
diff --git a/Structs/Devices/SCSI/Inquiry.cs b/Structs/Devices/SCSI/Inquiry.cs
index e9ed2ad..a6322f1 100644
--- a/Structs/Devices/SCSI/Inquiry.cs
+++ b/Structs/Devices/SCSI/Inquiry.cs
@@ -251,9 +251,7 @@ namespace Aaru.CommonTypes.Structs.Devices.SCSI
0x48, 0x69, 0x2D, 0x4D, 0x44, 0x20, 0x20, 0x20
};
- ///
- /// Decodes a SCSI INQUIRY response
- ///
+ /// Decodes a SCSI INQUIRY response
/// INQUIRY raw response data
/// Decoded SCSI INQUIRY
#region Public methods
@@ -513,9 +511,7 @@ namespace Aaru.CommonTypes.Structs.Devices.SCSI
return decoded;
}
- ///
- /// Encodes a SCSI INQUIRY response
- ///
+ /// Encodes a SCSI INQUIRY response
/// Decoded SCSI INQUIRY
/// Raw SCSI INQUIRY response
public static byte[] Encode(Inquiry? inq)
diff --git a/Structs/Devices/SCSI/Modes/2A.cs b/Structs/Devices/SCSI/Modes/2A.cs
index 95884b0..6541cf3 100644
--- a/Structs/Devices/SCSI/Modes/2A.cs
+++ b/Structs/Devices/SCSI/Modes/2A.cs
@@ -46,9 +46,7 @@ namespace Aaru.CommonTypes.Structs.Devices.SCSI.Modes
SuppressMessage("ReSharper", "MemberCanBePrivate.Global"), SuppressMessage("ReSharper", "NotAccessedField.Global")]
public class ModePage_2A
{
- ///
- /// Write speed performance descriptors
- ///
+ /// Write speed performance descriptors
public ModePage_2A_WriteDescriptor[] WriteSpeedPerformanceDescriptors;
/// Parameters can be saved
public bool PS { get; set; }
@@ -97,133 +95,74 @@ namespace Aaru.CommonTypes.Structs.Devices.SCSI.Modes
/// Current drive speed in Kbytes/second
public ushort CurrentSpeed { get; set; }
- ///
- /// Can read packet media
- ///
- public bool Method2 { get; set; }
- ///
- /// Can read CD-RW
- ///
- public bool ReadCDRW { get; set; }
- ///
- /// Can read CD-R
- ///
- public bool ReadCDR { get; set; }
- ///
- /// Can write CD-RW
- ///
- public bool WriteCDRW { get; set; }
- ///
- /// Can write CD-R
- ///
- public bool WriteCDR { get; set; }
- ///
- /// Supports IEC-958 digital output on port 2
- ///
+ /// Can read packet media
+ public bool Method2 { get; set; }
+ /// Can read CD-RW
+ public bool ReadCDRW { get; set; }
+ /// Can read CD-R
+ public bool ReadCDR { get; set; }
+ /// Can write CD-RW
+ public bool WriteCDRW { get; set; }
+ /// Can write CD-R
+ public bool WriteCDR { get; set; }
+ /// Supports IEC-958 digital output on port 2
public bool DigitalPort2 { get; set; }
- ///
- /// Supports IEC-958 digital output on port 1
- ///
+ /// Supports IEC-958 digital output on port 1
public bool DigitalPort1 { get; set; }
+ /// Can deliver a composite audio and video data stream
+ public bool Composite { get; set; }
+ /// This bit controls the behavior of the LOAD/UNLOAD command when trying to load a Slot with no Disc present
+ public bool SSS { get; set; }
+ /// Contains a changer that can report the exact contents of the slots
+ public bool SDP { get; set; }
+ /// Page length
+ public byte Length { get; set; }
+ /// Set if LSB comes first
+ public bool LSBF { get; set; }
+ /// Set if HIGH on LRCK indicates left channel. Clear if HIGH on LRCK indicates right channel.
+ public bool RCK { get; set; }
///
- /// Can deliver a composite audio and video data stream
+ /// Set if data valid on the falling edge of the BCK signal. Clear if data valid on the rising edge of the BCK
+ /// signal
///
- public bool Composite { get; set; }
- ///
- /// This bit controls the behavior of the LOAD/UNLOAD command when trying to load a Slot with no Disc present
- ///
- public bool SSS { get; set; }
- ///
- /// Contains a changer that can report the exact contents of the slots
- ///
- public bool SDP { get; set; }
- ///
- /// Page length
- ///
- public byte Length { get; set; }
- ///
- /// Set if LSB comes first
- ///
- public bool LSBF { get; set; }
- ///
- /// Set if HIGH on LRCK indicates left channel. Clear if HIGH on LRCK indicates right channel.
- ///
- public bool RCK { get; set; }
- ///
- /// Set if data valid on the falling edge of the BCK signal. Clear if data valid on the rising edge of the BCK signal
- ///
- public bool BCK { get; set; }
+ public bool BCK { get; set; }
- ///
- /// Can do a test write
- ///
- public bool TestWrite { get; set; }
- ///
- /// Maximum write speed
- ///
- public ushort MaxWriteSpeed { get; set; }
- ///
- /// Current write speed
- ///
+ /// Can do a test write
+ public bool TestWrite { get; set; }
+ /// Maximum write speed
+ public ushort MaxWriteSpeed { get; set; }
+ /// Current write speed
public ushort CurrentWriteSpeed { get; set; }
- ///
- /// Can read disc's barcode
- ///
+ /// Can read disc's barcode
public bool ReadBarcode { get; set; }
- ///
- /// Can read DVD-RAM
- ///
- public bool ReadDVDRAM { get; set; }
- ///
- /// Can read DVD-R
- ///
- public bool ReadDVDR { get; set; }
- ///
- /// Can read DVD-ROM
- ///
- public bool ReadDVDROM { get; set; }
- ///
- /// Can write DVD-RAM
- ///
- public bool WriteDVDRAM { get; set; }
- ///
- /// Can write DVD-R
- ///
- public bool WriteDVDR { get; set; }
- ///
- /// Can read raw R-W subchannel from the Lead-In
- ///
- public bool LeadInPW { get; set; }
- ///
- /// Can read both sides of a disc
- ///
- public bool SCC { get; set; }
- ///
- /// Support copyright management
- ///
+ /// Can read DVD-RAM
+ public bool ReadDVDRAM { get; set; }
+ /// Can read DVD-R
+ public bool ReadDVDR { get; set; }
+ /// Can read DVD-ROM
+ public bool ReadDVDROM { get; set; }
+ /// Can write DVD-RAM
+ public bool WriteDVDRAM { get; set; }
+ /// Can write DVD-R
+ public bool WriteDVDR { get; set; }
+ /// Can read raw R-W subchannel from the Lead-In
+ public bool LeadInPW { get; set; }
+ /// Can read both sides of a disc
+ public bool SCC { get; set; }
+ /// Support copyright management
public ushort CMRSupported { get; set; }
- ///
- /// Supports buffer under-run free recording
- ///
- public bool BUF { get; set; }
- ///
- /// Selected rotational control
- ///
- public byte RotationControlSelected { get; set; }
- ///
- /// Current write speed selected
- ///
+ /// Supports buffer under-run free recording
+ public bool BUF { get; set; }
+ /// Selected rotational control
+ public byte RotationControlSelected { get; set; }
+ /// Current write speed selected
public ushort CurrentWriteSpeedSelected { get; set; }
- ///
- /// Database ID
- ///
+ /// Database ID
[JsonIgnore, Key]
public int Id { get; set; }
- ///
- /// Decodes the page 2Ah of a MODE SENSE response
- ///
+ /// Decodes the page 2Ah of a MODE SENSE response
/// Raw page 2Ah
/// Decoded page 2Ah
public static ModePage_2A Decode(byte[] pageResponse)
@@ -337,9 +276,7 @@ namespace Aaru.CommonTypes.Structs.Devices.SCSI.Modes
return decoded;
}
- ///
- /// Encodes a page 2Ah of a MODE SENSE response
- ///
+ /// Encodes a page 2Ah of a MODE SENSE response
/// Decoded page 2Ah
/// Raw page 2Ah
public static byte[] Encode(ModePage_2A decoded)
@@ -564,19 +501,13 @@ namespace Aaru.CommonTypes.Structs.Devices.SCSI.Modes
}
}
- ///
- /// Page 2Ah write descriptor
- ///
+ /// Page 2Ah write descriptor
[SuppressMessage("ReSharper", "InconsistentNaming")]
public struct ModePage_2A_WriteDescriptor
{
- ///
- /// Rotational control
- ///
- public byte RotationControl;
- ///
- /// Write speed
- ///
+ /// Rotational control
+ public byte RotationControl;
+ /// Write speed
public ushort WriteSpeed;
}
#endregion Mode Page 0x2A: CD-ROM capabilities page
diff --git a/Structs/Filesystems.cs b/Structs/Filesystems.cs
index b66f08f..fb2a796 100644
--- a/Structs/Filesystems.cs
+++ b/Structs/Filesystems.cs
@@ -227,9 +227,7 @@ namespace Aaru.CommonTypes.Structs
}
}
- ///
- /// Information about a volume
- ///
+ /// Information about a volume
public class FileSystemInfo
{
/// Blocks for this filesystem
@@ -249,53 +247,35 @@ namespace Aaru.CommonTypes.Structs
/// Filesystem type
public string Type;
- ///
- /// Initializes an empty instance of this structure
- ///
+ /// Initializes an empty instance of this structure
public FileSystemInfo() => Id = new FileSystemId();
- ///
- /// Gets a clone of this structure
- ///
+ /// Gets a clone of this structure
/// Clone of this structure
public FileSystemInfo ShallowCopy() => (FileSystemInfo)MemberwiseClone();
}
- ///
- /// Stores a filesystem volume unique identifier or serial number
- ///
+ /// Stores a filesystem volume unique identifier or serial number
[StructLayout(LayoutKind.Explicit)]
public struct FileSystemId
{
- ///
- /// Set to true if the identifier is a 32-bit integer
- ///
+ /// Set to true if the identifier is a 32-bit integer
[FieldOffset(0)]
public bool IsInt;
- ///
- /// Set to true if the identifier is a 64-bit integer
- ///
+ /// Set to true if the identifier is a 64-bit integer
[FieldOffset(1)]
public bool IsLong;
- ///
- /// Set to true if the identifier is a GUID
- ///
+ /// Set to true if the identifier is a GUID
[FieldOffset(2)]
public bool IsGuid;
- ///
- /// Identifier as a 32-bit integer
- ///
+ /// Identifier as a 32-bit integer
[FieldOffset(3)]
public uint Serial32;
- ///
- /// Identifier as a 64-bit integer
- ///
+ /// Identifier as a 64-bit integer
[FieldOffset(3)]
public ulong Serial64;
- ///
- /// Identifier as a GUID
- ///
+ /// Identifier as a GUID
[FieldOffset(3)]
public Guid uuid;
}
diff --git a/Structs/Images.cs b/Structs/Images.cs
index adc5c8b..b1db034 100644
--- a/Structs/Images.cs
+++ b/Structs/Images.cs
@@ -167,9 +167,7 @@ namespace Aaru.CommonTypes.Structs
/// Partition type
public TrackType TrackType;
- ///
- /// Initializes an empty instance of this structure
- ///
+ /// Initializes an empty instance of this structure
public Track() => Indexes = new Dictionary();
}
diff --git a/Structs/TapeFile.cs b/Structs/TapeFile.cs
index f9c9ba7..59630a5 100644
--- a/Structs/TapeFile.cs
+++ b/Structs/TapeFile.cs
@@ -38,9 +38,7 @@
namespace Aaru.CommonTypes.Structs
{
- ///
- /// Describes a tape file
- ///
+ /// Describes a tape file
public struct TapeFile
{
/// File number
diff --git a/Structs/TapePartition.cs b/Structs/TapePartition.cs
index feaeca1..06bf96a 100644
--- a/Structs/TapePartition.cs
+++ b/Structs/TapePartition.cs
@@ -38,9 +38,7 @@
namespace Aaru.CommonTypes.Structs
{
- ///
- /// Describes a tape partition
- ///
+ /// Describes a tape partition
public struct TapePartition
{
/// Partition number