FSharpEntity Type
A subtype of FSharpSymbol that represents a type definition or module as seen by the F# language
Instance members
Instance member |
Description
|
|
Get the type abbreviated by an F# type abbreviation
|
Full Usage:
this.AccessPath
Returns: string
|
Get the path used to address the entity (e.g. "Namespace.Module1.NestedModule2"). Gives "global" for items not in a namespace.
|
|
Get all active pattern cases defined in all active patterns in the module.
|
Full Usage:
this.AllCompilationPaths
Returns: string list
|
Get all compilation paths, taking `Module` suffixes into account.
|
|
Get all the interface implementations, by walking the type hierarchy
|
Full Usage:
this.ArrayRank
Returns: int
|
Get the rank of an array type
|
|
Instantiates FSharpType
|
|
Get the base type, if any
|
Full Usage:
this.BasicQualifiedName
Returns: string
|
The fully qualified name of the type or module without strong assembly name.
|
Full Usage:
this.CompiledName
Returns: string
|
Get the compiled name of the type or module, possibly with `n mangling. This is identical to LogicalName unless the CompiledName attribute is used.
|
|
Get the declaration location for the type constructor
|
|
Get the declared interface implementations
|
|
Get the enclosing entity for the definition
|
Full Usage:
this.DisplayName
Returns: string
|
Get the name of the type or module as displayed in F# code
|
|
Indicates if the type is a delegate with the given Invoke signature
|
|
Get the fields of a record, class, struct or enum from the perspective of the F# language. This includes static fields, the 'val' bindings in classes and structs, and the value definitions in enums. For classes, the list may include compiler generated fields implied by the use of primary constructors.
|
Full Usage:
this.FullName
Returns: string
|
Get the full name of the type or module
|
|
Get the generic parameters, possibly including unit-of-measure parameters
|
|
Get the generic parameters, possibly including unit-of-measure parameters
|
|
Public nested entities (methods, functions, values, nested modules).
|
Full Usage:
this.HasAssemblyCodeRepresentation
Returns: bool
|
Indicates if the type is implemented through a mapping to IL assembly code. This is only true for types in FSharp.Core.dll
|
Full Usage:
this.HasFSharpModuleSuffix
Returns: bool
|
Indicates that a module is compiled to a class with the given mangled name. The mangling is reversed during lookup
|
Full Usage:
this.IsAbstractClass
Returns: bool
|
Indicates if the entity is an abstract class
|
Full Usage:
this.IsArrayType
Returns: bool
|
Indicates if the entity is an array type
|
Full Usage:
this.IsAttributeType
Returns: bool
|
Check if the entity inherits from System.Attribute in its type hierarchy
|
Full Usage:
this.IsByRef
Returns: bool
|
Indicates if is the 'byref<_>' type definition used for byref types in F#-compiled assemblies
|
Full Usage:
this.IsClass
Returns: bool
|
Indicates if the entity is a class type definition
|
Full Usage:
this.IsDelegate
Returns: bool
|
Indicates if the entity is a delegate type definition
|
Full Usage:
this.IsEnum
Returns: bool
|
Indicates if the entity is an enum type definition
|
Full Usage:
this.IsFSharp
Returns: bool
|
Indicates if this is a reference to something in an F#-compiled assembly
|
Full Usage:
this.IsFSharpAbbreviation
Returns: bool
|
Indicates if the entity is a measure, type or exception abbreviation
|
Full Usage:
this.IsFSharpExceptionDeclaration
Returns: bool
|
Indicates an F# exception declaration
|
Full Usage:
this.IsFSharpModule
Returns: bool
|
Indicates if the entity is an F# module definition
|
Full Usage:
this.IsFSharpRecord
Returns: bool
|
Indicates if the entity is record type
|
Full Usage:
this.IsFSharpUnion
Returns: bool
|
Indicates if the entity is union type
|
Full Usage:
this.IsInterface
Returns: bool
|
Indicates if the entity is an interface type definition
|
Full Usage:
this.IsMeasure
Returns: bool
|
Indicates if the entity is a measure definition
|
Full Usage:
this.IsNamespace
Returns: bool
|
Indicates if the entity is a part of a namespace path
|
Full Usage:
this.IsOpaque
Returns: bool
|
Indicates if the entity is a type definition for a reference type where the implementation details are hidden by a signature
|
Full Usage:
this.IsProvided
Returns: bool
|
Indicates if the entity is a provided type
|
Full Usage:
this.IsProvidedAndErased
Returns: bool
|
Indicates if the entity is an erased provided type
|
Full Usage:
this.IsProvidedAndGenerated
Returns: bool
|
Indicates if the entity is a generated provided type
|
Full Usage:
this.IsStaticInstantiation
Returns: bool
|
Indicates if the entity is a 'fake' symbol related to a static instantiation of a type provider
|
Full Usage:
this.IsUnresolved
Returns: bool
|
Indicates if the entity is in an unresolved assembly
|
Full Usage:
this.IsValueType
Returns: bool
|
Indicates if the entity is a struct or enum
|
Full Usage:
this.LogicalName
Returns: string
|
Get the name of the type or module, possibly with `n mangling
|
|
Get the properties, events and methods of a type definitions, or the functions and values of a module
|
Full Usage:
this.Namespace
Returns: string option
|
Get the namespace containing the type or module, if any. Use 'None' for item not in a namespace.
|
|
Get the modules and types defined in a module, or the nested types of a type
|
Full Usage:
this.QualifiedName
Returns: string
|
Get the fully qualified name of the type or module
|
|
Get the declared accessibility of the representation, not taking signatures into account
|
|
Get the static parameters for a provided type
|
Full Usage:
this.TryFullName
Returns: string option
|
Get the full name of the type or module if it is available
|
Full Usage:
this.TryGetFullCompiledName
Returns: string option
|
Safe version of `CompiledName`.
|
Full Usage:
this.TryGetFullDisplayName
Returns: string option
|
Safe version of `DisplayName`.
|
Full Usage:
this.TryGetFullName
Returns: string option
|
Safe version of `FullName`.
|
|
Safe version of `GetMembersFunctionsAndValues`.
|
|
Get the source text of the entity's signature to be used as metadata.
|
|
Get the cases of a union type
|
Full Usage:
this.UsesPrefixDisplay
Returns: bool
|
Indicates if the type prefers the "tycon" syntax for display etc.
|
|
Get the XML documentation for the entity
|
Full Usage:
this.XmlDocSig
Returns: string
|
Get the XML documentation signature for the entity, used for .xml file lookup for compiled code
|