-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbabel.rules
More file actions
104 lines (89 loc) · 2.69 KB
/
Copy pathbabel.rules
File metadata and controls
104 lines (89 loc) · 2.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<Rules xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="2.0">
<Rule name="runAgent"
feature="agent"
exclude="false"
applyToMembers="true">
<Pattern>*</Pattern>
<Properties>
<TaskNameList>
Base types,
Dynamic language,
Exposed attributes,
Reflected strings,
Reflected types,
WinRT types,
XAML symbols
</TaskNameList>
</Properties>
</Rule>
<Rule name="DontRenameThemes"
feature="renaming"
exclude="true"
applyToMembers="true">
<Pattern>Avalonia.Themes.*</Pattern>
</Rule>
<Rule name="DontOptimizeThemes"
feature="optimizations"
exclude="true"
applyToMembers="true">
<Pattern>Avalonia.Themes.*</Pattern>
</Rule>
<Rule name="DontInternalizeThemes"
feature="merge"
exclude="false"
applyToMembers="true">
<Pattern>Avalonia.Themes.*</Pattern>
<Properties>
<Internalize>false</Internalize>
</Properties>
<Description>Disable Internalize Themes</Description>
</Rule>
<Rule name="InlineLoadAndValidateLibrary"
feature="optimizations"
exclude="false">
<Pattern isRegEx="true">
<![CDATA[
^AvaloniaUI\.Licensing\.AvaloniaLicenseInformation::(LoadAndValidateLibrary|ValidateLibrary).*
]]>
</Pattern>
<Properties>
<Inline>True</Inline>
</Properties>
</Rule>
<Rule name="InternalizeLicensing"
feature="merge"
exclude="false"
applyToMembers="true">
<Pattern>AvaloniaUI.Licensing.*</Pattern>
<Properties>
<Internalize>true</Internalize>
</Properties>
</Rule>
<Rule name="NoCompilerGenerated"
feature="control flow, value encryption, string encryption"
exclude="true" applyToMembers="false">
<Target>Classes</Target>
<Pattern>*</Pattern>
<HasAttribute onEnclosingType="false">
System.Runtime.CompilerServices.CompilerGeneratedAttribute,
System.Diagnostics.DebuggerHiddenAttribute
</HasAttribute>
<Description>Do not obfuscate compiler-generated methods.</Description>
</Rule>
<Rule name="DontRenameAnonymous"
feature="renaming, dead code"
exclude="true"
applyToMembers="true">
<Pattern>*</Pattern>
<HasAttribute>System.Runtime.CompilerServices.CompilerGeneratedAttribute</HasAttribute>
<Description>Do not renaming Anonymous Types.</Description>
</Rule>
<Rule name="DontRenameCompiledAvaloniaXaml"
feature="renaming, dead code"
exclude="true"
applyToMembers="true">
<Pattern>CompiledAvaloniaXaml*</Pattern>
<Description>Do not renaming Anonymous Types.</Description>
</Rule>
</Rules>