Header menu logo F# Compiler Guide

SynStaticOptimizationConstraint Type

Represents a syntax tree for a static optimization constraint in the F# core library

Union cases

Union case Description

WhenTyparIsStruct(typar, range)

Full Usage: WhenTyparIsStruct(typar, range)

Parameters:

A static optimization conditional that activates for a struct

typar : SynTypar
range : range

WhenTyparTyconEqualsTycon(typar, rhsType, range)

Full Usage: WhenTyparTyconEqualsTycon(typar, rhsType, range)

Parameters:

A static optimization conditional that activates for a particular type instantiation

typar : SynTypar
rhsType : SynType
range : range

Instance members

Instance member Description

this.IsWhenTyparIsStruct

Full Usage: this.IsWhenTyparIsStruct

Returns: bool
Returns: bool

this.IsWhenTyparTyconEqualsTycon

Full Usage: this.IsWhenTyparTyconEqualsTycon

Returns: bool
Returns: bool

Type something to start searching.