See Also: MethodInfo Members
Instances of System.Reflection.MethodInfo are obtained by calling the erload:System.Type.GetMethods or erload:System.Type.GetMethod method of a Type object or of an object that derives from Type, or by calling the MethodInfo.MakeGenericMethod(Type[]) method of a System.Reflection.MethodInfo that represents a generic method definition.
For a list of the invariant conditions for terms specific to generic methods, see the MethodInfo.IsGenericMethod property. For a list of the invariant conditions for other terms used in generic reflection, see the Type.IsGenericType property.
Type | Reason |
---|---|
!:ReflectionPermission | Requires permission to reflect non-public members of a type in loaded assemblies. See System.Security.Permissions.ReflectionPermissionFlag.TypeInformation. |