Share via


Microsoft.FSharp.Core.CompilerServices Namespace (F#)

This namespace contains some internal functions for use by the F# compiler, and also types for implementing type providers.

Namespace/Module Path: Microsoft.FSharp.Core.CompilerServices

Assembly: FSharp.Core (in FSharp.Core.dll)

namespace Microsoft.FSharp.Core.CompilerServices

Modules

Module

Description

module RuntimeHelpers

A group of functions used as part of the compiled representation of F# sequence expressions.

Type Definitions

Type

Description

type GeneratedSequenceBase<'T>

The F# compiler emits implementations of this type for compiled sequence expressions.

type IProvidedNamespace

Represents a namespace generated by a type provider.

type ITypeProvider

Type providers implement this interface in order to be recognized by the compiler as an F# type provider. The implementation of this interface determines the public interface and behavior of the type provider.

type MeasureInverse<'Measure>

Represents the inverse of a measure expressions when returned as a generic argument of a provided type.

type MeasureOne

Represents the '1' measure expression when returned as a generic argument of a provided type.

type MeasureProduct<'Measure1,'Measure2>

Represents the product of two measure expressions when returned as a generic argument of a provided type.

type TypeProviderAssemblyAttribute

Place attribute on runtime assembly to indicate that there is a corresponding design-time assembly that contains a type provider. Runtime and designer assembly may be the same.

type TypeProviderAttribute

Place on a class that implements ITypeProvider to extend the compiler

type TypeProviderConfig

If the class that implements ITypeProvider has a constructor that accepts TypeProviderConfig then it will be constructed with an instance of TypeProviderConfig.

type TypeProviderDefinitionLocationAttribute

type TypeProviderEditorHideMethodsAttribute

Indicates that a code editor should hide all System.Object methods from the intellisense menus for instances of a provided type

type TypeProviderXmlDocAttribute

The TypeProviderXmlDocAttribute attribute can be added to types and members. The language service will display the CommentText property from the attribute in the appropriate place when the user hovers over a type or member.

See Also

Other Resources

F# Core Library Reference