Header menu logo F# Compiler Guide

FSharpGenericParameterMemberConstraint Type

Represents further information about a member constraint on a generic type parameter

Instance members

Instance member Description

this.MemberArgumentTypes

Full Usage: this.MemberArgumentTypes

Returns: IList<FSharpType>

Get the argument types of the method required by the constraint

Returns: IList<FSharpType>

this.MemberIsStatic

Full Usage: this.MemberIsStatic

Returns: bool

Indicates if the method required by the constraint must be static

Returns: bool

this.MemberName

Full Usage: this.MemberName

Returns: string

Get the name of the method required by the constraint

Returns: string

this.MemberReturnType

Full Usage: this.MemberReturnType

Returns: FSharpType

Get the return type of the method required by the constraint

Returns: FSharpType

this.MemberSources

Full Usage: this.MemberSources

Returns: IList<FSharpType>

Get the types that may be used to satisfy the constraint

Returns: IList<FSharpType>

Type something to start searching.