Example #1
0
 private void ProcessPropertySetCallUpdateColumn(IlBuilder processor)
 {
     processor.LoadArg(0);
     processor.LoadString(_pi.ColumnName);
     processor.Call(_handler.ColumnUpdated);
     processor.InsertBefore(_pi.PropertyDefinition.SetMethod.Body.Instructions.LastItem());
 }
Example #2
0
 private void ProcessPropertySetNormal(IlBuilder processor)
 {
     processor.Return();
     processor.Append();
     if (ProcessorSettings.AddCompareToSetProperty)
     {
         ProcessPropertySetNormalCompare(processor);
     }
     processor.LoadArg(0);
     processor.LoadArg(1);
     processor.SetField(_pi.FieldDefinition);
     processor.InsertBefore(_pi.PropertyDefinition.SetMethod.Body.Instructions.LastItem());
 }