System.Reflection.Emit.PropertyOnTypeBuilderInst.GetSetMethod C# (CSharp) Method

GetSetMethod() public method

public GetSetMethod ( bool nonPublic ) : MethodInfo
nonPublic bool
return System.Reflection.MethodInfo
		public override MethodInfo GetSetMethod (bool nonPublic)
		{
			MethodInfo mi = prop.GetSetMethod (nonPublic);
			if (mi != null && prop.DeclaringType == instantiation.generic_type) {
				mi = TypeBuilder.GetMethod (instantiation, mi);
			}
			return mi; 
		}