FSharpMemberOrFunctionOrValue Type
A subtype of F# symbol that represents an F# method, property, event, function or value, including extension members.
Instance members
Instance member |
Description
|
|
Get the logical enclosing entity, which for an extension member is type being extended
|
Full Usage:
this.CompiledName
Returns: string
|
Get the member name in compiled code
|
|
List of list of parameters, where each nested item represents a defined parameter Typically, there is only one nested list. However, code such as 'f (a, b) (c, d)' contains two groups, each with two parameters. In that example, there is a list made up of two lists, each with a parameter.
|
|
Get the declaration location of the member, function or value
|
|
Get the enclosing entity for the definition
|
Full Usage:
this.DisplayName
Returns: string
|
Get the name as presented in F# error messages and documentation
|
|
Get an associated add method of an event
|
|
Get an associated delegate type of an event
|
|
Gets the event symbol implied by the use of a property, for the case where the property is actually an F#-declared CLIEvent. Uses of F#-declared events are considered to be properties as far as the language specification and this API are concerned.
|
Full Usage:
this.EventIsStandard
Returns: bool
|
Indicate if an event can be considered to be a property for the F# type system of type IEvent or IDelegateEvent. In this case ReturnParameter will have a type corresponding to the property type. For non-standard events, ReturnParameter will have a type corresponding to the delegate type.
|
|
Get an associated remove method of an event
|
Full Usage:
this.FormatLayout
Parameters:
FSharpDisplayContext
Returns: TaggedText[]
|
Format the type using the rules of the given display context
|
|
Get the full type of the member, function or value when used as a first class value
|
|
Safe version of `FullType`.
|
|
Get the typars of the member, function or value
|
Full Usage:
this.GetOverloads
Parameters:
bool
Returns: IList<FSharpMemberOrFunctionOrValue> option
|
Gets the overloads for the current method.
|
Full Usage:
this.GetReturnTypeLayout
Parameters:
FSharpDisplayContext
Returns: TaggedText[] option
|
Format the type using the rules of the given display context
|
Full Usage:
this.GetValSignatureText
Parameters:
FSharpDisplayContext
m : range
Returns: string option
|
Get the signature text to include this Symbol into an existing signature file.
|
|
Check if this method has an entrypoint that accepts witness arguments and if so return the name of that entrypoint and information about the additional witness arguments
|
|
Get an associated getter method of the property
|
Full Usage:
this.HasGetterMethod
Returns: bool
|
Indicates if this is a property and there exists an associated getter method
|
Full Usage:
this.HasSetterMethod
Returns: bool
|
Indicates if this is a property and there exists an associated setter method
|
Full Usage:
this.HasSignatureFile
Returns: bool
|
Indicates if the value has a signature file counterpart
|
|
Gets the list of the abstract slot signatures implemented by the member
|
|
Get a result indicating if this is a must-inline value
|
Full Usage:
this.IsActivePattern
Returns: bool
|
Indicates if this value or member is an F# active pattern
|
Full Usage:
this.IsBaseValue
Returns: bool
|
Indicates if this is "base" in "base.M(...)"
|
Full Usage:
this.IsCompilerGenerated
Returns: bool
|
Indicates if this is a compiler generated value
|
Full Usage:
this.IsConstructor
Returns: bool
|
Indicates if this is a constructor.
|
Full Usage:
this.IsConstructorThisValue
Returns: bool
|
Indicates if this is the "x" in "type C() as x = ..."
|
Full Usage:
this.IsDispatchSlot
Returns: bool
|
Indicates if this is an abstract member?
|
Full Usage:
this.IsEvent
Returns: bool
|
Indicates if this is an event member
|
Full Usage:
this.IsEventAddMethod
Returns: bool
|
Indicates if this is an add method for an event
|
Full Usage:
this.IsEventRemoveMethod
Returns: bool
|
Indicates if this is a remove method for an event
|
Full Usage:
this.IsExplicitInterfaceImplementation
Returns: bool
|
Indicates if this is an explicit implementation of an interface member
|
Full Usage:
this.IsExtensionMember
Returns: bool
|
Indicates if this is an extension member?
|
Full Usage:
this.IsFunction
Returns: bool
|
Indicated if this is a function
|
Full Usage:
this.IsImplicitConstructor
Returns: bool
|
Indicates if this is an implicit constructor?
|
Full Usage:
this.IsInstanceMember
Returns: bool
|
Indicates if this is an instance member, when seen from F#?
|
Full Usage:
this.IsInstanceMemberInCompiledCode
Returns: bool
|
Indicates if this is an instance member in compiled code. Explanatory note: some members such as IsNone and IsSome on types with UseNullAsTrueValue appear as instance members in F# code but are compiled as static members.
|
Full Usage:
this.IsMember
Returns: bool
|
Indicates if this is a member, including extension members?
|
Full Usage:
this.IsMemberThisValue
Returns: bool
|
Indicates if this is the "x" in "member x.M = ..."
|
Full Usage:
this.IsMethod
Returns: bool
|
Indicates if this is a method member
|
Full Usage:
this.IsModuleValueOrMember
Returns: bool
|
Indicates if this is a module or member value
|
Full Usage:
this.IsMutable
Returns: bool
|
Indicates if this is a mutable value
|
Full Usage:
this.IsOverrideOrExplicitInterfaceImplementation
Returns: bool
|
Indicates if this is an 'override', 'default' or an explicit implementation of an interface member
|
Full Usage:
this.IsProperty
Returns: bool
|
Indicates if this is a property member
|
Full Usage:
this.IsPropertyGetterMethod
Returns: bool
|
Indicates if this is a getter method for a property, or a use of a property in getter mode
|
Full Usage:
this.IsPropertySetterMethod
Returns: bool
|
Indicates if this is a setter method for a property, or a use of a property in setter mode
|
Full Usage:
this.IsRefCell
Returns: bool
|
Indicates if this is a ref cell
|
Full Usage:
this.IsReferencedValue
Returns: bool
|
Indicates if this is a value that has been referenced
|
Full Usage:
this.IsTypeFunction
Returns: bool
|
Indicates if this is an F# type function
|
Full Usage:
this.IsUnionCaseTester
Returns: bool
|
Indicates if the property or getter method is part of a IsABC union case tester implied by a union case definition
|
Full Usage:
this.IsUnresolved
Returns: bool
|
Indicates if the member, function or value is in an unresolved assembly
|
Full Usage:
this.IsValCompiledAsMethod
Returns: bool
|
Indicated if this is a value compiled to a method
|
Full Usage:
this.IsValue
Returns: bool
|
Indicated if this is a value
|
Full Usage:
this.LiteralValue
Returns: obj option
|
Indicates if this is a [
|
Full Usage:
this.LogicalName
Returns: string
|
Get the logical name of the member
|
|
|
|
Get an associated setter method of the property
|
Full Usage:
this.TryGetFullCompiledOperatorNameIdents
Returns: string[] option
|
Full operator compiled name.
|
Full Usage:
this.TryGetFullDisplayName
Returns: string option
|
Full name with last part replaced with display name.
|
|
Get the XML documentation for the entity
|
Full Usage:
this.XmlDocSig
Returns: string
|
XML documentation signature for the value, used for .xml file lookup for compiled code
|