Пример #1
0
 public void Undo()
 {
     origOptions.CopyTo(methodNode.MethodDefinition);
     MethodAnnotations.Instance.SetBodyModified(methodNode.MethodDefinition, isBodyModified);
 }
Пример #2
0
 public void Execute()
 {
     isBodyModified = MethodAnnotations.Instance.IsBodyModified(methodNode.MethodDefinition);
     MethodAnnotations.Instance.SetBodyModified(methodNode.MethodDefinition, true);
     newOptions.CopyTo(methodNode.MethodDefinition);
 }