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

this.DefaultsToPriority

Full Usage: this.DefaultsToPriority

Returns: int

Get the priority off the 'defaults to' constraint

Returns: int

this.DefaultsToTarget

Full Usage: this.DefaultsToTarget

Returns: FSharpType

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

Returns: FSharpType

Type something to start searching.