Example #1
0
 public void OnConfigurationChanged(object sender, EventArgs e)
 {
     Instructions.Rehash();
     ExceptionHandlers.Rehash();
     Variables.Rehash();
     Parameters.Rehash();
     CustomAttributes.Rehash();
 }
 private void Instructions_GridUpdated(object sender, EventArgs e)
 {
     if (m_mdef.Body != null)
     {
         CecilHelper.UpdateInstructionsOffsets(m_mdef.Body);
     }
     Instructions.Rehash();
     ExceptionHandlers.Rehash();
 }
Example #3
0
 private void Instructions_GridUpdated(object sender, EventArgs e)
 {
     if (_mdef.Body != null)
     {
         if (Settings.Default.OptimizeAndFixIL)
         {
             // this will also call ComputeOffsets
             _mdef.Body.SimplifyMacros();
             _mdef.Body.OptimizeMacros();
         }
         else
         {
             _mdef.Body.ComputeOffsets();
         }
     }
     Instructions.Rehash();
     ExceptionHandlers.Rehash();
 }
Example #4
0
 private void ExceptionHandlers_GridUpdated(object sender, EventArgs e)
 {
     ExceptionHandlers.Rehash();
 }