Click or drag to resize

MethodRefGetTypeParameterConstraints Method (MethodDefinition, GenericParameter)

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
C#
public static List<TypeParameterConstraint> GetTypeParameterConstraints(
	MethodDefinition methodDefinition,
	GenericParameter typeParameter
)

Parameters

methodDefinition
Type: Mono.CecilMethodDefinition
typeParameter
Type: Mono.CecilGenericParameter

Return Value

Type: ListTypeParameterConstraint
See Also