Skip to content

Commit 2bfae33

Browse files
authored
Merge pull request #52 from sunnamed434/dev
Bump new version 0.4.4-alpha.13
2 parents 626709e + 9eb7c0b commit 2bfae33

File tree

182 files changed

+3225
-3728
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

182 files changed

+3225
-3728
lines changed

.editorconfig

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
2+
# All files
3+
[*]
4+
indent_style = space
5+
csharp_indent_labels = one_less_than_current
6+
csharp_using_directive_placement = outside_namespace:silent
7+
csharp_prefer_simple_using_statement = true:suggestion
8+
csharp_prefer_braces = true:silent
9+
csharp_style_namespace_declarations = file_scoped:silent
10+
csharp_style_prefer_method_group_conversion = true:silent
11+
csharp_style_prefer_top_level_statements = true:silent
12+
csharp_style_expression_bodied_methods = false:silent
13+
csharp_style_expression_bodied_constructors = false:silent
14+
csharp_style_expression_bodied_operators = false:silent
15+
csharp_style_expression_bodied_properties = true:silent
16+
csharp_style_expression_bodied_indexers = true:silent
17+
csharp_style_expression_bodied_accessors = true:silent
18+
csharp_style_expression_bodied_lambdas = true:silent
19+
csharp_style_expression_bodied_local_functions = false:silent
20+
csharp_style_prefer_null_check_over_type_check = true:suggestion
21+
csharp_style_throw_expression = true:suggestion
22+
csharp_prefer_simple_default_expression = true:suggestion
23+
csharp_style_prefer_local_over_anonymous_function = true:suggestion
24+
csharp_style_prefer_index_operator = true:suggestion
25+
csharp_style_prefer_range_operator = true:suggestion
26+
csharp_style_implicit_object_creation_when_type_is_apparent = true:suggestion
27+
csharp_style_prefer_tuple_swap = true:suggestion
28+
csharp_style_prefer_utf8_string_literals = true:suggestion
29+
csharp_style_inlined_variable_declaration = true:suggestion
30+
csharp_style_deconstructed_variable_declaration = true:suggestion
31+
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
32+
csharp_style_unused_value_expression_statement_preference = discard_variable:silent
33+
csharp_prefer_static_local_function = true:suggestion
34+
csharp_style_prefer_readonly_struct = true:suggestion
35+
csharp_style_allow_embedded_statements_on_same_line_experimental = true:silent
36+
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true:silent
37+
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true:silent
38+
csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = true:silent
39+
csharp_style_allow_blank_line_after_token_in_arrow_expression_clause_experimental = true:silent
40+
csharp_style_conditional_delegate_call = true:suggestion
41+
csharp_style_prefer_switch_expression = true:suggestion
42+
csharp_style_prefer_pattern_matching = true:silent
43+
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
44+
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
45+
csharp_style_prefer_not_pattern = true:suggestion
46+
csharp_style_prefer_extended_property_pattern = true:suggestion
47+
csharp_style_var_for_built_in_types = false:silent
48+
csharp_style_var_when_type_is_apparent = false:silent
49+
csharp_style_var_elsewhere = false:silent
50+
csharp_space_around_binary_operators = before_and_after
51+
52+
# Xml files
53+
[*.xml]
54+
indent_size = 2
55+
56+
[*.{cs,vb}]
57+
#### Naming styles ####
58+
59+
# Naming rules
60+
61+
dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
62+
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
63+
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
64+
65+
dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
66+
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
67+
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
68+
69+
dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
70+
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
71+
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
72+
73+
# Symbol specifications
74+
75+
dotnet_naming_symbols.interface.applicable_kinds = interface
76+
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
77+
dotnet_naming_symbols.interface.required_modifiers =
78+
79+
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
80+
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
81+
dotnet_naming_symbols.types.required_modifiers =
82+
83+
dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
84+
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
85+
dotnet_naming_symbols.non_field_members.required_modifiers =
86+
87+
# Naming styles
88+
89+
dotnet_naming_style.begins_with_i.required_prefix = I
90+
dotnet_naming_style.begins_with_i.required_suffix =
91+
dotnet_naming_style.begins_with_i.word_separator =
92+
dotnet_naming_style.begins_with_i.capitalization = pascal_case
93+
94+
dotnet_naming_style.pascal_case.required_prefix =
95+
dotnet_naming_style.pascal_case.required_suffix =
96+
dotnet_naming_style.pascal_case.word_separator =
97+
dotnet_naming_style.pascal_case.capitalization = pascal_case
98+
99+
dotnet_naming_style.pascal_case.required_prefix =
100+
dotnet_naming_style.pascal_case.required_suffix =
101+
dotnet_naming_style.pascal_case.word_separator =
102+
dotnet_naming_style.pascal_case.capitalization = pascal_case
103+
dotnet_style_operator_placement_when_wrapping = beginning_of_line
104+
tab_width = 4
105+
indent_size = 4
106+
end_of_line = crlf
107+
dotnet_style_coalesce_expression = true:suggestion
108+
dotnet_style_null_propagation = true:suggestion
109+
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
110+
dotnet_style_prefer_auto_properties = true:silent
111+
dotnet_style_object_initializer = true:suggestion
112+
dotnet_style_collection_initializer = true:suggestion
113+
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
114+
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
115+
dotnet_style_explicit_tuple_names = true:suggestion
116+
dotnet_style_prefer_conditional_expression_over_return = true:silent
117+
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
118+
dotnet_style_prefer_inferred_tuple_names = true:suggestion
119+
dotnet_style_prefer_compound_assignment = true:suggestion
120+
dotnet_style_prefer_simplified_interpolation = true:suggestion
121+
dotnet_style_namespace_match_folder = true:suggestion
122+
dotnet_style_readonly_field = true:suggestion
123+
dotnet_style_predefined_type_for_locals_parameters_members = true:silent
124+
dotnet_style_predefined_type_for_member_access = true:silent
125+
dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent
126+
dotnet_style_allow_multiple_blank_lines_experimental = true:silent
127+
dotnet_style_allow_statement_immediately_after_block_experimental = true:silent
128+
dotnet_code_quality_unused_parameters = all:suggestion
129+
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:silent
130+
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent
131+
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent
132+
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
133+
dotnet_style_qualification_for_field = false:silent
134+
dotnet_style_qualification_for_property = false:silent
135+
dotnet_style_qualification_for_method = false:silent
136+
dotnet_style_qualification_for_event = false:silent

BitMono.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ VisualStudioVersion = 17.3.32825.248
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{A2890DD6-805E-4952-9E84-3F001E1829C4}"
77
ProjectSection(SolutionItems) = preProject
8-
.formatconfig = .formatconfig
8+
.editorconfig = .editorconfig
99
.gitignore = .gitignore
1010
CHANGELOG.md = CHANGELOG.md
1111
LICENSE = LICENSE

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
| Versions: |
22
| - |
3+
| [v0.4.4-alpha](#v044-alpha13) |
34
| [v0.4.3-alpha](#v043-alpha12) |
45
| [v0.4.2-alpha](#v042-alpha11) |
56
| [v0.4.1-alpha](#v041-alpha10) |
@@ -15,6 +16,14 @@
1516
| [v0.1.0](#v010) |
1617

1718
---
19+
### v0.4.4-alpha.13:
20+
#### Fixed:
21+
* DotNetHook Protection
22+
* StringsEncryption Protection
23+
* CallToCalli Protection
24+
* Obfuscation doesn't saves assembly information such as assembly attributes [#36](https://github.com/sunnamed434/BitMono/issues/36)
25+
* No more module reloading (Module now loads once and writes once)
26+
1827
### v0.4.3-alpha.12:
1928
#### Changed:
2029
* Protections are looks more cleaner than before, no code duplication

src/.formatconfig

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/BitMono.API/BitMono.API.csproj

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net472</TargetFramework>
5-
<LangVersion>9.0</LangVersion>
6-
<ImplicitUsings>disable</ImplicitUsings>
7-
<Nullable>disable</Nullable>
4+
<TargetFrameworks>netstandard2.0;net461</TargetFrameworks>
5+
<LangVersion>10.0</LangVersion>
86
</PropertyGroup>
97

10-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
8+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'">
119
<DebugType>none</DebugType>
1210
</PropertyGroup>
1311

14-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
12+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'">
13+
<DebugType>none</DebugType>
14+
</PropertyGroup>
15+
16+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net461|AnyCPU'">
17+
<DebugType>none</DebugType>
18+
</PropertyGroup>
19+
20+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net461|AnyCPU'">
1521
<DebugType>none</DebugType>
1622
</PropertyGroup>
1723

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
namespace BitMono.API.Configuration
1+
namespace BitMono.API.Configuration;
2+
3+
public interface IBitMonoAppSettingsConfiguration : IConfigurationAccessor
24
{
3-
public interface IBitMonoAppSettingsConfiguration : IConfigurationAccessor
4-
{
5-
}
65
}
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
namespace BitMono.API.Configuration
1+
namespace BitMono.API.Configuration;
2+
3+
public interface IBitMonoCriticalsConfiguration : IConfigurationAccessor
24
{
3-
public interface IBitMonoCriticalsConfiguration : IConfigurationAccessor
4-
{
5-
}
65
}
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
namespace BitMono.API.Configuration
1+
namespace BitMono.API.Configuration;
2+
3+
public interface IBitMonoObfuscationConfiguration : IConfigurationAccessor
24
{
3-
public interface IBitMonoObfuscationConfiguration : IConfigurationAccessor
4-
{
5-
}
65
}
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
namespace BitMono.API.Configuration
1+
namespace BitMono.API.Configuration;
2+
3+
public interface IBitMonoProtectionsConfiguration : IConfigurationAccessor
24
{
3-
public interface IBitMonoProtectionsConfiguration : IConfigurationAccessor
4-
{
5-
}
65
}
Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
using Microsoft.Extensions.Configuration;
1+
namespace BitMono.API.Configuration;
22

3-
namespace BitMono.API.Configuration
3+
public interface IConfigurationAccessor
44
{
5-
public interface IConfigurationAccessor
6-
{
7-
IConfiguration Configuration { get; }
8-
}
5+
IConfiguration Configuration { get; }
96
}

0 commit comments

Comments
 (0)