Weaver.ProcessInstructionField renamed to ProcessInstructionSetterField

This commit is contained in:
vis2k 2019-01-13 21:19:19 +01:00
parent 524c183294
commit 4fa584e72a

View File

@ -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);
}
}
}