C# Class Microsoft.Cci.MutableCodeModel.CopyTypeFromIteratorToClosure

Copy a type reference used by an iterator method to a type reference used by the iterator closure. That is, replace occurences of the generic method parameters with corresponding generic type parameters.
Inheritance: MethodBodyMappingMutator
Show file Open project: visualmutator/visualmutator Class Usage Examples

Protected Properties

Property Type Description
mapping IGenericTypeParameter>.Dictionary

Public Methods

Method Description
Visit ( ITypeReference typeReference ) : ITypeReference

Visit a type reference.

Private Methods

Method Description
CopyTypeFromIteratorToClosure ( IMetadataHost host, IGenericTypeParameter>.Dictionary mapping ) : Microsoft.Cci.MutableCodeModel

Method Details

Visit() public method

Visit a type reference.
public Visit ( ITypeReference typeReference ) : ITypeReference
typeReference ITypeReference
return ITypeReference

Property Details

mapping protected property

protected Dictionary mapping
return IGenericTypeParameter>.Dictionary