Class MethodInfoSlim
Lightweight representation of a method.
Inheritance
System.Object
MethodInfoSlim
Implements
System.IEquatable<MemberInfoSlim>
Inherited Members
Namespace: System.Reflection
Assembly: Nuqleon.Linq.Expressions.Bonsai.dll
Syntax
public abstract class MethodInfoSlim : MemberInfoSlim, IEquatable<MemberInfoSlim>
Constructors
MethodInfoSlim(TypeSlim)
Creates a new method representation object.
Declaration
protected MethodInfoSlim(TypeSlim declaringType)
Parameters
Type | Name | Description |
---|---|---|
TypeSlim | declaringType | Type declaring the method. |
Properties
IsGenericMethod
Checks if the method is generic.
Declaration
public abstract bool IsGenericMethod { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Kind
Gets the kind of the method.
Declaration
public abstract MethodInfoSlimKind Kind { get; }
Property Value
Type | Description |
---|---|
MethodInfoSlimKind |
MemberType
Gets the member type of the member.
Declaration
public override MemberTypes MemberType { get; }
Property Value
Type | Description |
---|---|
System.Reflection.MemberTypes |
Overrides
ParameterTypes
Gets the parameters types of the method.
Declaration
public abstract ReadOnlyCollection<TypeSlim> ParameterTypes { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<TypeSlim> |
ReturnType
Gets the return type of the method.
Declaration
public abstract TypeSlim ReturnType { get; }
Property Value
Type | Description |
---|---|
TypeSlim |
Implements
System.IEquatable<>