Castle.DynamicProxy.Generators.Emitters.EventEmitter.CreateRemoveMethod C# (CSharp) Method

CreateRemoveMethod() public method

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