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:
d3agle 2015-05-19 18:06:10 -05:00
parent dbe79831c4
commit 4e390742a5
1 changed files with 1 additions and 1 deletions

View File

@ -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);