Header menu logo F# Compiler Guide

ILTypeSpec Type

Type specs and types.

Instance members

Instance member Description

this.Enclosing

Full Usage: this.Enclosing

Returns: string list

The list of enclosing type names for a nested type. If non-nil then the first of these also contains the namespace.

Returns: string list

this.FullName

Full Usage: this.FullName

Returns: string

The name of the type in the assembly using the '.' notation for nested types.

Returns: string

this.GenericArgs

Full Usage: this.GenericArgs

Returns: ILGenericArgs

The type instantiation if the type is generic, otherwise empty

Returns: ILGenericArgs

this.Name

Full Usage: this.Name

Returns: string

The name of the type. This also contains the namespace if Enclosing is empty.

Returns: string

this.Scope

Full Usage: this.Scope

Returns: ILScopeRef

Where is the type, i.e. is it in this module, in another module in this assembly or in another assembly?

Returns: ILScopeRef

this.TypeRef

Full Usage: this.TypeRef

Returns: ILTypeRef

Which type is being referred to?

Returns: ILTypeRef

Static members

Static member Description

ILTypeSpec.Create(typeRef, instantiation)

Full Usage: ILTypeSpec.Create(typeRef, instantiation)

Parameters:
Returns: ILTypeSpec

Create an ILTypeSpec.

typeRef : ILTypeRef
instantiation : ILGenericArgs
Returns: ILTypeSpec

Type something to start searching.