System.Reflection.Emit.EventOnTypeBuilderInst.GetRemoveMethod C# (CSharp) Method

GetRemoveMethod() public method

public GetRemoveMethod ( bool nonPublic ) : MethodInfo
nonPublic bool
return System.Reflection.MethodInfo
		public override MethodInfo GetRemoveMethod (bool nonPublic)
		{
			if (evt.remove_method == null || (!nonPublic && !evt.remove_method.IsPublic))
				return null;
			return TypeBuilder.GetMethod (instantiation, evt.remove_method);
		}