Interface IMethod
Defines a common interface for methods.
Inherited Members
Namespace: Flame
Assembly: Flame.dll
Syntax
public interface IMethod : ITypeMember, IGenericMember, IMember
Properties
| Improve this Doc View SourceBaseMethods
Gets the method's base methods.
Declaration
IReadOnlyList<IMethod> BaseMethods { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<IMethod> |
IsConstructor
Indicates if this method is a constructor.
Declaration
bool IsConstructor { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsStatic
Tells if this is a static method. Non-static methods take a non-null pointer to their parent type as an implicit first arguments. Static methods do not.
Declaration
bool IsStatic { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Parameters
Gets the method's parameters.
Declaration
IReadOnlyList<Parameter> Parameters { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<Parameter> |
ReturnParameter
Gets the method's return parameter.
Declaration
Parameter ReturnParameter { get; }
Property Value
Type | Description |
---|---|
Parameter |