Weaver.ProcessSiteMethod: simplify syntax

This commit is contained in:
vis2k 2019-01-02 17:14:04 +01:00
parent 8a31f15d64
commit 7d73e6ad5d

View File

@ -896,10 +896,9 @@ static void ProcessSiteMethod(ModuleDefinition moduleDef, TypeDefinition td, Met
// process all references to replaced members with properties // process all references to replaced members with properties
//Weaver.DLog(td, " ProcessSiteMethod " + md); //Weaver.DLog(td, " ProcessSiteMethod " + md);
if (md.Name == ".cctor" || md.Name == "OnUnserializeVars") if (md.Name == ".cctor" ||
return; md.Name == "OnUnserializeVars" ||
md.Name.StartsWith("UNet") ||
if (md.Name.StartsWith("UNet") ||
md.Name.StartsWith("CallCmd") || md.Name.StartsWith("CallCmd") ||
md.Name.StartsWith("InvokeCmd") || md.Name.StartsWith("InvokeCmd") ||
md.Name.StartsWith("InvokeRpc") || md.Name.StartsWith("InvokeRpc") ||