EditMethodBodyILCommand(IMethodAnnotations methodAnnotations, MethodNode methodNode, MethodBodyOptions options) { this.methodAnnotations = methodAnnotations; this.methodNode = methodNode; newOptions = options; origMethodBody = methodNode.MethodDef.MethodBody; }
MethodBodySettingsCommand(IMethodAnnotations methodAnnotations, IMethodNode methodNode, MethodBodyOptions options) { this.methodAnnotations = methodAnnotations; this.methodNode = methodNode; this.newOptions = options; this.origMethodBody = methodNode.MethodDef.MethodBody; }
MethodBodySettingsCommand(MethodTreeNode methodNode, MethodBodyOptions options) { this.methodNode = methodNode; this.newOptions = options; this.origMethodBody = methodNode.MethodDefinition.MethodBody; }