Class VirtualMethodSetExtensions
Defines an extension for finding the virtual method set of a type: the set of all virtual methods defined in the type itself or any of its (recursive) base types that are not (yet) implemented in the type.
Inheritance
System.Object
VirtualMethodSetExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Flame.TypeSystem
Assembly: Flame.dll
Syntax
public static class VirtualMethodSetExtensions
Methods
| Improve this Doc View SourceGetMethodsAndAccessors(IType)
Gets all methods and accessors defined by a particular type.
Declaration
public static IEnumerable<IMethod> GetMethodsAndAccessors(this IType type)
Parameters
Type | Name | Description |
---|---|---|
IType | type | The type to query for methods and accessors. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IMethod> | A list of methods and accessors. |
GetVirtualMethodSet(IType)
Gets the virtual method set of a particular type: the set of all virtual methods defined in the type itself or any of its (recursive) base types that are not (yet) implemented in the type.
Declaration
public static IEnumerable<IMethod> GetVirtualMethodSet(this IType type)
Parameters
Type | Name | Description |
---|---|---|
IType | type | The type to query. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IMethod> | A set of virtual methods. |