MethodRefGetTypeParameterConstraints Method (MethodInfo, Type) |
Get any constraints for the specified type parameter on the specified method, or on the base virtual method if the method is an override.
Namespace:
Nova.CodeDOM
Assembly:
Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax public static List<TypeParameterConstraint> GetTypeParameterConstraints(
MethodInfo methodInfo,
Type typeParameter
)
Parameters
- methodInfo
- Type: System.ReflectionMethodInfo
- typeParameter
- Type: SystemType
Return Value
Type:
ListTypeParameterConstraintSee Also