C# Class Microsoft.Cci.TypeReferenceIndexer

Visitor to force translation of all symbols that will be referred to in metadata. Allows us to build the set of types that must be embedded as local types (for NoPia) and the set of injected types that must be embedded (NonNullTypes, Embedded).
Inheritance: Microsoft.Cci.ReferenceIndexerBase
显示文件 Open project: stark-lang/stark-roslyn Class Usage Examples

Public Methods

Method Description
Visit ( CommonPEModuleBuilder module ) : void
Visit ( IPlatformInvokeInformation platformInvokeInformation ) : void

Protected Methods

Method Description
ProcessMethodBody ( IMethodDefinition method ) : void
RecordAssemblyReference ( IAssemblyReference assemblyReference ) : void
RecordFileReference ( IFileReference fileReference ) : void
RecordModuleReference ( IModuleReference moduleReference ) : void
RecordTypeMemberReference ( ITypeMemberReference typeMemberReference ) : void
RecordTypeReference ( ITypeReference typeReference ) : void
ReserveFieldToken ( IFieldReference fieldReference ) : void
ReserveMethodToken ( IMethodReference methodReference ) : void

Private Methods

Method Description
TypeReferenceIndexer ( Microsoft.CodeAnalysis.Emit.EmitContext context ) : Microsoft.CodeAnalysis.Emit

Method Details

ProcessMethodBody() protected method

protected ProcessMethodBody ( IMethodDefinition method ) : void
method IMethodDefinition
return void

RecordAssemblyReference() protected method

protected RecordAssemblyReference ( IAssemblyReference assemblyReference ) : void
assemblyReference IAssemblyReference
return void

RecordFileReference() protected method

protected RecordFileReference ( IFileReference fileReference ) : void
fileReference IFileReference
return void

RecordModuleReference() protected method

protected RecordModuleReference ( IModuleReference moduleReference ) : void
moduleReference IModuleReference
return void

RecordTypeMemberReference() protected method

protected RecordTypeMemberReference ( ITypeMemberReference typeMemberReference ) : void
typeMemberReference ITypeMemberReference
return void

RecordTypeReference() protected method

protected RecordTypeReference ( ITypeReference typeReference ) : void
typeReference ITypeReference
return void

ReserveFieldToken() protected method

protected ReserveFieldToken ( IFieldReference fieldReference ) : void
fieldReference IFieldReference
return void

ReserveMethodToken() protected method

protected ReserveMethodToken ( IMethodReference methodReference ) : void
methodReference IMethodReference
return void

Visit() public method

public Visit ( CommonPEModuleBuilder module ) : void
module CommonPEModuleBuilder
return void

Visit() public method

public Visit ( IPlatformInvokeInformation platformInvokeInformation ) : void
platformInvokeInformation IPlatformInvokeInformation
return void