Output: Add Mocrosoft.Reflection and Internal.Runtime to default exclusions

This commit is contained in:
Katy Coe
2020-02-15 06:38:03 +01:00
parent 538810f441
commit 55148e0271
3 changed files with 7 additions and 1 deletions

View File

@@ -33,7 +33,9 @@ namespace Il2CppInspector.CLI
Default = new [] { Default = new [] {
"System", "System",
"Mono", "Mono",
"Microsoft.Reflection",
"Microsoft.Win32", "Microsoft.Win32",
"Internal.Runtime",
"Unity", "Unity",
"UnityEditor", "UnityEditor",
"UnityEngine", "UnityEngine",

View File

@@ -41,7 +41,9 @@ namespace Il2CppInspector.Reflection
public static readonly List<string> DefaultExcludedNamespaces = new List<string> { public static readonly List<string> DefaultExcludedNamespaces = new List<string> {
"System", "System",
"Mono", "Mono",
"Microsoft.Reflection",
"Microsoft.Win32", "Microsoft.Win32",
"Internal.Runtime",
"Unity", "Unity",
"UnityEditor", "UnityEditor",
"UnityEngine", "UnityEngine",

View File

@@ -71,7 +71,7 @@ File format and architecture are automatically detected.
-m, --metadata (Default: global-metadata.dat) IL2CPP metadata file input -m, --metadata (Default: global-metadata.dat) IL2CPP metadata file input
-c, --cs-out (Default: types.cs) C# output file (when using single-file layout) or path (when using per namespace, assembly or class layout) -c, --cs-out (Default: types.cs) C# output file (when using single-file layout) or path (when using per namespace, assembly or class layout)
-p, --py-out (Default: ida.py) IDA Python script output file -p, --py-out (Default: ida.py) IDA Python script output file
-e, --exclude-namespaces (Default: System Unity UnityEngine UnityEngineInternal Mono Microsoft.Win32 AOT JetBrains.Annotations) Comma-separated list of namespaces to suppress in C# output, or 'none' to include all namespaces -e, --exclude-namespaces (Default: System Unity UnityEngine UnityEngineInternal Mono Microsoft.Reflection Microsoft.Win32 Internal.Runtime AOT JetBrains.Annotations) Comma-separated list of namespaces to suppress in C# output, or 'none' to include all namespaces
-l, --layout (Default: single) Partitioning of C# output ('single' = single file, 'namespace' = one file per namespace in folders, 'assembly' = one file per assembly, 'class' = one file per class in namespace folders, 'tree' = one file per class in assembly and namespace folders) -l, --layout (Default: single) Partitioning of C# output ('single' = single file, 'namespace' = one file per namespace in folders, 'assembly' = one file per assembly, 'class' = one file per class in namespace folders, 'tree' = one file per class in assembly and namespace folders)
-s, --sort (Default: index) Sort order of type definitions in C# output ('index' = by type definition index, 'name' = by type name). No effect when using file-per-class or tree layout -s, --sort (Default: index) Sort order of type definitions in C# output ('index' = by type definition index, 'name' = by type name). No effect when using file-per-class or tree layout
-f, --flatten Flatten the namespace hierarchy into a single folder rather than using per-namespace subfolders. Only used when layout is per-namespace or per-class. Ignored for tree layout -f, --flatten Flatten the namespace hierarchy into a single folder rather than using per-namespace subfolders. Only used when layout is per-namespace or per-class. Ignored for tree layout
@@ -95,7 +95,9 @@ To exclude types from certain namespaces from being generated in the C# source f
``` ```
System System
Mono Mono
Microsoft.Reflection
Microsoft.Win32 Microsoft.Win32
Internal.Runtime
Unity Unity
UnityEditor UnityEditor
UnityEngine UnityEngine