Table of Contents

Class CorMetadataImport

Namespace
Microsoft.Samples.Debugging.CorMetadata
Assembly
corapi.dll
public sealed class CorMetadataImport
Inheritance
CorMetadataImport

Constructors

CorMetadataImport(CorModule)
CorMetadataImport(object)

Fields

TokenGlobalNamespace
TokenNotFound

Properties

DefinedTypes

Enumerate all the types in the module

RawCOMObject

Methods

CountGenericParams(int)
EnumerateAllMethodTokens()

Enumerate all methodDef tokens in the importer.

EnumerateAllMethods()

Convenience method to enumerate all of the methods in the module.

GetCustomAttributeProps(int, string)
GetMemberRefName(int)
GetMethodInfo(MetadataToken)
GetMethodInfo(int)
GetScopeFilename()
GetType(int)
GetTypeNameFromDef(int, out int)
GetTypeNameFromRef(int)

Given a type ref token, get the name.

GetTypeTokenFromName(string)
GetUserString(int)

Get a user string for the mdString token