Follow naming convention

This commit is contained in:
Paul Pacheco 2020-09-22 08:16:04 -05:00
parent 85d26ebce6
commit 0fbcefe8df

View File

@ -362,7 +362,7 @@ public static (List<FieldDefinition> syncVars, Dictionary<FieldDefinition, Field
public static void WriteCallHookMethodUsingArgument(ILProcessor worker, MethodDefinition hookMethod, VariableDefinition oldValue)
{
_WriteCallHookMethod(worker, hookMethod, oldValue, null);
WriteCallHookMethod(worker, hookMethod, oldValue, null);
}
public static void WriteCallHookMethodUsingField(ILProcessor worker, MethodDefinition hookMethod, VariableDefinition oldValue, FieldDefinition newValue)
@ -372,10 +372,10 @@ public static void WriteCallHookMethodUsingField(ILProcessor worker, MethodDefin
Weaver.Error("NewValue field was null when writing SyncVar hook");
}
_WriteCallHookMethod(worker, hookMethod, oldValue, newValue);
WriteCallHookMethod(worker, hookMethod, oldValue, newValue);
}
static void _WriteCallHookMethod(ILProcessor worker, MethodDefinition hookMethod, VariableDefinition oldValue, FieldDefinition newValue)
static void WriteCallHookMethod(ILProcessor worker, MethodDefinition hookMethod, VariableDefinition oldValue, FieldDefinition newValue)
{
WriteStartFunctionCall();