Header menu logo F# Compiler Guide

FSharpGenericParameterDefaultsToConstraint Type

Represents further information about a 'defaults to' constraint on a generic type parameter

Instance members

Instance member Description


Full Usage: this.DefaultsToPriority

Returns: int

Get the priority off the 'defaults to' constraint

Returns: int


Full Usage: this.DefaultsToTarget

Returns: FSharpType

Get the default type associated with the 'defaults to' constraint

Returns: FSharpType

Type something to start searching.