Core.CompilationMappingAttribute Class (F#)
This attribute is inserted automatically by the F# compiler to tag types and methods in the generated Common Language Infrastructure (CLI) code with flags indicating the correspondence with original source constructs. It is used by the functions in the Microsoft.FSharp.Reflection namespace to reverse-map compiled constructs to their original forms. It is not intended for use from user code.
Namespace/Module Path: Microsoft.FSharp.Core
Assembly: FSharp.Core (in FSharp.Core.dll)
[<AttributeUsage(32767, AllowMultiple = false)>]
[<Sealed>]
type CompilationMappingAttribute =
class
new CompilationMappingAttribute : SourceConstructFlags * int * int -> CompilationMappingAttribute
new CompilationMappingAttribute : SourceConstructFlags * int -> CompilationMappingAttribute
new CompilationMappingAttribute : SourceConstructFlags -> CompilationMappingAttribute
member this.SequenceNumber : int
member this.SourceConstructFlags : SourceConstructFlags
member this.VariantNumber : int
end
Remarks
You can also use the short form of the name, CompilationMapping.
Constructors
Member |
Description |
---|---|
Creates an instance of the attribute. |
Instance Members
Member |
Description |
---|---|
Indicates the sequence number of the entity, if any, in a linear sequence of elements with F# source code. |
|
Indicates the relationship between the compiled entity and F# source code. |
|
Indicates the variant number of the entity, if any, in a linear sequence of elements with F# source code. |
Platforms
Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2
Version Information
F# Runtime
Supported in: 2.0, 4.0
Silverlight
Supported in: 3