Add UnityEditor and JetBrains.Annotations to default ignored namespaces
This commit is contained in:
@@ -31,12 +31,14 @@ namespace Il2CppInspector
|
||||
[Option('e', "exclude-namespaces", Required = false, Separator = ',', HelpText = "Comma-separated list of namespaces to suppress in C# output, or 'none' to include all namespaces",
|
||||
Default = new [] {
|
||||
"System",
|
||||
"Unity",
|
||||
"UnityEngine",
|
||||
"UnityEngineInternal",
|
||||
"Mono",
|
||||
"Microsoft.Win32",
|
||||
"AOT"
|
||||
"Unity",
|
||||
"UnityEditor",
|
||||
"UnityEngine",
|
||||
"UnityEngineInternal",
|
||||
"AOT",
|
||||
"JetBrains.Annotations"
|
||||
})]
|
||||
public IEnumerable<string> ExcludedNamespaces { get; set; }
|
||||
|
||||
|
||||
@@ -44,12 +44,14 @@ namespace Il2CppInspector
|
||||
|
||||
var excludedNamespaces = new List<string> {
|
||||
"System",
|
||||
"Unity",
|
||||
"UnityEngine",
|
||||
"UnityEngineInternal",
|
||||
"Mono",
|
||||
"Microsoft.Win32",
|
||||
"AOT"
|
||||
"Unity",
|
||||
"UnityEditor",
|
||||
"UnityEngine",
|
||||
"UnityEngineInternal",
|
||||
"AOT",
|
||||
"JetBrains.Annotations"
|
||||
};
|
||||
|
||||
// Dump each image in the binary separately
|
||||
|
||||
@@ -60,11 +60,13 @@ To exclude types from certain namespaces from being generated in the C# source f
|
||||
```
|
||||
System
|
||||
Mono
|
||||
Microsoft.Win32
|
||||
Unity
|
||||
UnityEditor
|
||||
UnityEngine
|
||||
UnityEngineInternal
|
||||
Microsoft.Win32
|
||||
AOT
|
||||
JetBrains.Annotations
|
||||
```
|
||||
|
||||
Providing an argument to `--exclude-namespaces` will override the default list. To output all namespaces, use `--exclude-namespaces=none`.
|
||||
|
||||
Reference in New Issue
Block a user