mirror of https://github.com/quasar/Quasar.git
IDisposable TypeloadException fix
Ignore renaming types that implement interfaces. I hope this is the correct way to do this, I couldn't find a way to find a specific interface to exclude from obfuscation
This commit is contained in:
parent
dbe79831c4
commit
4e390742a5
|
@ -61,7 +61,7 @@ private void RenameInType(TypeDefinition typeDef)
|
|||
if (typeDef.Namespace.StartsWith("My") || typeDef.Namespace.StartsWith("xClient.Core.Packets") ||
|
||||
typeDef.Namespace == "xClient.Core" || typeDef.Namespace == "xClient.Core.Elevation" ||
|
||||
typeDef.Namespace == "xClient.Core.Compression" || typeDef.Namespace.StartsWith("ProtoBuf") ||
|
||||
typeDef.Namespace.Contains("xClient.Core.ReverseProxy"))
|
||||
typeDef.Namespace.Contains("xClient.Core.ReverseProxy") || typeDef.HasInterfaces)
|
||||
return;
|
||||
|
||||
TypeOverloader.GiveName(typeDef);
|
||||
|
|
Loading…
Reference in New Issue