public CreateRemoveMethod ( MethodAttributes atts ) : |
||
atts | MethodAttributes | |
return |
public MethodEmitter CreateRemoveMethod(MethodAttributes atts)
{
if (removeMethod != null)
{
throw new InvalidOperationException("A remove method exists");
}
removeMethod = typeEmitter.CreateMethod("remove_" + name, atts);
return removeMethod;
}