Table of Contents

Interface IMemberDefinition

Namespace
AsmResolver.DotNet
Assembly
AsmResolver.DotNet.dll

Represents an accessible member defined in a metadata image.

public interface IMemberDefinition : IMemberDescriptor, IFullNameProvider, INameProvider, IModuleProvider, IImportable, IMetadataMember
Inherited Members

Properties

DeclaringType

Gets the type that declares the member (if available).

TypeDefinition? DeclaringType { get; }

Property Value

TypeDefinition

Methods

IsAccessibleFromType(TypeDefinition)

Determines whether the member can be accessed from the scope that is determined by the provided type.

bool IsAccessibleFromType(TypeDefinition type)

Parameters

type TypeDefinition

The type defining the scope.

Returns

bool

True if the scope of the provided type can access the member, false otherwise.