mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Weaver.ProcessInstructionField renamed to ProcessInstructionSetterField
This commit is contained in:
parent
524c183294
commit
4fa584e72a
@ -744,7 +744,7 @@ static void ConfirmGeneratedCodeClass(ModuleDefinition moduleDef)
|
||||
}
|
||||
}
|
||||
|
||||
static void ProcessInstructionField(TypeDefinition td, MethodDefinition md, Instruction i, FieldDefinition opField)
|
||||
static void ProcessInstructionSetterField(TypeDefinition td, MethodDefinition md, Instruction i, FieldDefinition opField)
|
||||
{
|
||||
// dont replace property call sites in constructors or deserialize
|
||||
if (md.Name == ".ctor" || md.Name == "OnDeserialize")
|
||||
@ -783,7 +783,7 @@ static void ProcessInstruction(ModuleDefinition moduleDef, TypeDefinition td, Me
|
||||
FieldDefinition opField = i.Operand as FieldDefinition;
|
||||
if (opField != null)
|
||||
{
|
||||
ProcessInstructionField(td, md, i, opField);
|
||||
ProcessInstructionSetterField(td, md, i, opField);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user