Show / Hide Table of Contents

Class SimpleMethodInfoSlimBase

Lightweight representation of a simple method.

Inheritance
System.Object
MemberInfoSlim
MethodInfoSlim
SimpleMethodInfoSlimBase
GenericDefinitionMethodInfoSlim
SimpleMethodInfoSlim
Implements
System.IEquatable<MemberInfoSlim>
Inherited Members
MethodInfoSlim.MemberType
MethodInfoSlim.Kind
MethodInfoSlim.IsGenericMethod
MemberInfoSlim.Equals(MemberInfoSlim)
MemberInfoSlim.ToString()
MemberInfoSlim.GetHashCode()
MemberInfoSlim.Equals(Object)
MemberInfoSlim.DeclaringType
Namespace: System.Reflection
Assembly: Nuqleon.Linq.Expressions.Bonsai.dll
Syntax
public abstract class SimpleMethodInfoSlimBase : MethodInfoSlim, IEquatable<MemberInfoSlim>

Constructors

SimpleMethodInfoSlimBase(TypeSlim, String, ReadOnlyCollection<TypeSlim>, TypeSlim)

Creates a new simple method representation object.

Declaration
protected SimpleMethodInfoSlimBase(TypeSlim declaringType, string name, ReadOnlyCollection<TypeSlim> parameterTypes, TypeSlim returnType)
Parameters
Type Name Description
TypeSlim declaringType

Type declaring the method.

System.String name

Name of the method.

System.Collections.ObjectModel.ReadOnlyCollection<TypeSlim> parameterTypes

Type of the method parameters.

TypeSlim returnType

Return type of the method

Properties

Name

Gets the name of the method.

Declaration
public string Name { get; }
Property Value
Type Description
System.String

ParameterTypes

Gets the types of the method parameters.

Declaration
public override ReadOnlyCollection<TypeSlim> ParameterTypes { get; }
Property Value
Type Description
System.Collections.ObjectModel.ReadOnlyCollection<TypeSlim>
Overrides
MethodInfoSlim.ParameterTypes

ReturnType

Gets the return type of the method.

Declaration
public override TypeSlim ReturnType { get; }
Property Value
Type Description
TypeSlim
Overrides
MethodInfoSlim.ReturnType

Implements

System.IEquatable<>
In This Article
Back to top Generated by DocFX