refactor: remove unnecesary function

This commit is contained in:
Paul Pacheco 2019-04-07 11:10:28 -05:00
parent b3b2673e09
commit b3ee67ee28

View File

@ -213,12 +213,6 @@ static internal void ConfirmGeneratedCodeClass()
} }
} }
static void ProcessPropertySites()
{
PropertySiteProcessor.ProcessSitesModule(CurrentAssembly.MainModule);
}
static bool ProcessNetworkBehaviourType(TypeDefinition td) static bool ProcessNetworkBehaviourType(TypeDefinition td)
{ {
if (!NetworkBehaviourProcessor.WasProcessed(td)) if (!NetworkBehaviourProcessor.WasProcessed(td))
@ -688,7 +682,7 @@ static bool Weave(string assName, IEnumerable<string> dependencies, IAssemblyRes
// this must be done for ALL code, not just NetworkBehaviours // this must be done for ALL code, not just NetworkBehaviours
try try
{ {
ProcessPropertySites(); PropertySiteProcessor.ProcessSitesModule(CurrentAssembly.MainModule);
} }
catch (Exception e) catch (Exception e)
{ {