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

GetGetMethod() public method

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