Table of Contents

Class MethodExtensions

Namespace
AsmResolver.DotNet
Assembly
AsmResolver.DotNet.dll

Provides extensions for objects that represent methods in metadata.

public static class MethodExtensions
Inheritance
MethodExtensions
Inherited Members

Methods

MakeGenericInstanceMethod(IMethodDefOrRef, params TypeSignature[])

Instantiates a generic method with the provided type arguments.

public static MethodSpecification MakeGenericInstanceMethod(this IMethodDefOrRef self, params TypeSignature[] arguments)

Parameters

self IMethodDefOrRef

The method to instantiate.

arguments TypeSignature[]

The type arguments to use.

Returns

MethodSpecification

The instantiated method.

Exceptions

ArgumentException

Occurs when arguments has an incorrect number of elements.