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",
|
[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 [] {
|
Default = new [] {
|
||||||
"System",
|
"System",
|
||||||
"Unity",
|
|
||||||
"UnityEngine",
|
|
||||||
"UnityEngineInternal",
|
|
||||||
"Mono",
|
"Mono",
|
||||||
"Microsoft.Win32",
|
"Microsoft.Win32",
|
||||||
"AOT"
|
"Unity",
|
||||||
|
"UnityEditor",
|
||||||
|
"UnityEngine",
|
||||||
|
"UnityEngineInternal",
|
||||||
|
"AOT",
|
||||||
|
"JetBrains.Annotations"
|
||||||
})]
|
})]
|
||||||
public IEnumerable<string> ExcludedNamespaces { get; set; }
|
public IEnumerable<string> ExcludedNamespaces { get; set; }
|
||||||
|
|
||||||
|
|||||||
@@ -44,12 +44,14 @@ namespace Il2CppInspector
|
|||||||
|
|
||||||
var excludedNamespaces = new List<string> {
|
var excludedNamespaces = new List<string> {
|
||||||
"System",
|
"System",
|
||||||
"Unity",
|
|
||||||
"UnityEngine",
|
|
||||||
"UnityEngineInternal",
|
|
||||||
"Mono",
|
"Mono",
|
||||||
"Microsoft.Win32",
|
"Microsoft.Win32",
|
||||||
"AOT"
|
"Unity",
|
||||||
|
"UnityEditor",
|
||||||
|
"UnityEngine",
|
||||||
|
"UnityEngineInternal",
|
||||||
|
"AOT",
|
||||||
|
"JetBrains.Annotations"
|
||||||
};
|
};
|
||||||
|
|
||||||
// Dump each image in the binary separately
|
// 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
|
System
|
||||||
Mono
|
Mono
|
||||||
|
Microsoft.Win32
|
||||||
Unity
|
Unity
|
||||||
|
UnityEditor
|
||||||
UnityEngine
|
UnityEngine
|
||||||
UnityEngineInternal
|
UnityEngineInternal
|
||||||
Microsoft.Win32
|
|
||||||
AOT
|
AOT
|
||||||
|
JetBrains.Annotations
|
||||||
```
|
```
|
||||||
|
|
||||||
Providing an argument to `--exclude-namespaces` will override the default list. To output all namespaces, use `--exclude-namespaces=none`.
|
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