C# Class Microsoft.Cci.ReflectionEmitter.DynamicLoader.TypeCreator

If given a type definition that has an uncreated type builder associated with it, this traverser first attempts to create all types referenced by the type in its base class and interfaces, then it creates the type. This does not work when there are cyclic dependencies.
Inheritance: MetadataTraverser
Datei anzeigen Open project: visualmutator/visualmutator

Public Methods

Method Description
TraverseChildren ( INamespaceTypeDefinition namespaceTypeDefinition ) : void

Traverses the children of the namespace type definition.

TraverseChildren ( INamespaceTypeReference namespaceTypeReference ) : void

Traverses the children of the namespace type reference.

TraverseChildren ( INestedTypeDefinition nestedTypeDefinition ) : void

Traverses the children of the nested type definition.

TraverseChildren ( INestedTypeReference nestedTypeReference ) : void

Traverses the children of the nested type reference.

Private Methods

Method Description
CreateTypesThatNeedToBeLoadedBeforeLoading ( ITypeDefinition typeDefinition ) : void
TypeCreator ( DynamicLoader loader ) : System

Method Details

TraverseChildren() public method

Traverses the children of the namespace type definition.
public TraverseChildren ( INamespaceTypeDefinition namespaceTypeDefinition ) : void
namespaceTypeDefinition INamespaceTypeDefinition
return void

TraverseChildren() public method

Traverses the children of the namespace type reference.
public TraverseChildren ( INamespaceTypeReference namespaceTypeReference ) : void
namespaceTypeReference INamespaceTypeReference
return void

TraverseChildren() public method

Traverses the children of the nested type definition.
public TraverseChildren ( INestedTypeDefinition nestedTypeDefinition ) : void
nestedTypeDefinition INestedTypeDefinition
return void

TraverseChildren() public method

Traverses the children of the nested type reference.
public TraverseChildren ( INestedTypeReference nestedTypeReference ) : void
nestedTypeReference INestedTypeReference
return void