SyncEventProcessor.ProcessEvents syntax simplified

This commit is contained in:
vis2k 2019-01-02 20:04:53 +01:00
parent d0fa4505d8
commit 7c03bc1eb2

View File

@ -127,7 +127,7 @@ public static void ProcessEvents(TypeDefinition td, List<EventDefinition> events
}
events.Add(ed);
MethodDefinition eventFunc = SyncEventProcessor.ProcessEventInvoke(td, ed);
MethodDefinition eventFunc = ProcessEventInvoke(td, ed);
if (eventFunc == null)
{
return;
@ -138,7 +138,7 @@ public static void ProcessEvents(TypeDefinition td, List<EventDefinition> events
Weaver.DLog(td, "ProcessEvent " + ed);
MethodDefinition eventCallFunc = SyncEventProcessor.ProcessEventCall(td, ed, ca);
MethodDefinition eventCallFunc = ProcessEventCall(td, ed, ca);
td.Methods.Add(eventCallFunc);
Weaver.lists.replacedEvents.Add(ed);