CompilationMappingAttribute Type
This attribute is inserted automatically by the F# compiler to tag types and methods in the generated CLI code with flags indicating the correspondence with original source constructs.
This attribute is used by the functions in the FSharp.Reflection namespace to reverse-map compiled constructs to their original forms. It is not intended for use from user code.
Constructors
Constructor |
Description
|
Full Usage:
CompilationMappingAttribute(resourceName, typeDefinitions)
Parameters:
string
-
The name of the resource needed to resolve the source construct.
typeDefinitions : Type array
-
Indicates the type definitions needed to resolve the source construct.
Returns: CompilationMappingAttribute
CompilationMappingAttribute
|
Creates an instance of the attribute
|
Full Usage:
CompilationMappingAttribute(sourceConstructFlags, variantNumber, sequenceNumber)
Parameters:
SourceConstructFlags
-
Indicates the type of source construct.
variantNumber : int
-
Indicates the index in the sequence of variants.
sequenceNumber : int
-
Indicates the index in the sequence of constructs.
Returns: CompilationMappingAttribute
CompilationMappingAttribute
|
Creates an instance of the attribute
|
Full Usage:
CompilationMappingAttribute(sourceConstructFlags, sequenceNumber)
Parameters:
SourceConstructFlags
-
Indicates the type of source construct.
sequenceNumber : int
-
Indicates the index in the sequence of constructs.
Returns: CompilationMappingAttribute
CompilationMappingAttribute
|
Creates an instance of the attribute
|
Full Usage:
CompilationMappingAttribute(sourceConstructFlags)
Parameters:
SourceConstructFlags
-
Indicates the type of source construct.
Returns: CompilationMappingAttribute
CompilationMappingAttribute
|
Creates an instance of the attribute
|
Instance members
Instance member |
Description
|
|
Indicates the resource the source construct relates to
|
|
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
|