Table of contents
TOC
Collapse the table of content
Expand the table of content

Core.SourceConstructFlags Enumeration (F#)

Den Delimarsky|Last Updated: 8/18/2017
|
1 Contributor

Indicates the relationship between a compiled entity in a .NET Framework binary and an element in F# source code.

Namespace/Module Path: Microsoft.FSharp.Core

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

Syntax

type SourceConstructFlags =
| None = 0
| SumType = 1
| RecordType = 2
| ObjectType = 3
| Field = 4
| Exception = 5
| Closure = 6
| Module = 7
| UnionCase = 8
| Value = 9
| KindMask = 31
| NonPublicRepresentation = 32

Remarks

The following table shows the possible values and their meaning.

ValueDescription
NoneIndicates that the compiled entity has no relationship to an element in F# source code.
SumTypeIndicates that the compiled entity is part of the representation of an F# union type declaration.
RecordTypeIndicates that the compiled entity is part of the representation of an F# record type declaration.
ObjectTypeIndicates that the compiled entity is part of the representation of an F# class or other object type declaration.
FieldIndicates that the compiled entity is part of the representation of an F# record or union case declaration.
ExceptionIndicates that the compiled entity is part of the representation of an F# exception declaration.
ClosureIndicates that the compiled entity is part of the representation of an F# closure.
ModuleIndicates that the compiled entity is part of the representation of an F# module declaration.
UnionCaseIndicates that the compiled entity is part of the representation of an F# union case declaration.
ValueIndicates that the compiled entity is part of an F# value declaration.
KindMaskThe mask of values related to the kind of the compiled entity.
NonPublicRepresentationIndicates that the compiled entity had private or internal representation in F# source code.

Platforms

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Version Information

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

See Also

Microsoft.FSharp.Core Namespace (F#)

© 2017 Microsoft