Weaver.ProcessSiteMethod: fixed OnDeserialize check

This commit is contained in:
vis2k 2019-01-02 17:14:26 +01:00
parent 7d73e6ad5d
commit 0710c720ef

View File

@ -897,7 +897,7 @@ static void ProcessSiteMethod(ModuleDefinition moduleDef, TypeDefinition td, Met
//Weaver.DLog(td, " ProcessSiteMethod " + md);
if (md.Name == ".cctor" ||
md.Name == "OnUnserializeVars" ||
md.Name == "OnDeserialize" ||
md.Name.StartsWith("UNet") ||
md.Name.StartsWith("CallCmd") ||
md.Name.StartsWith("InvokeCmd") ||