메소드 | 설명 | |
---|---|---|
MethodBodyMappingMutator ( IMetadataHost host ) : Microsoft.Cci.MutableCodeModel |
Use this as a base class when you try to mutate the method body of method M1 in class C1 to be used as method body of method M2 in class C2. Anticipating the substitution of parameters as well as type parameters, this mutator copies references but not definitions. If a reference is itself a definition, a new reference will be created.
|
|
Visit ( IGenericMethodParameterReference genericMethodParameterReference ) : IGenericMethodParameterReference |
Visit a genericMethodParameterReference. Do not copy if it is a genericMethodParameter.
|
|
Visit ( IGenericTypeParameterReference genericTypeParameterReference ) : IGenericTypeParameterReference |
Visit a genericTypeParameterReference. Do not copy if it is a generic type parameter.
|
|
Visit ( INamespaceTypeReference namespaceTypeReference ) : INamespaceTypeReference |
Leaves namespace type references alone since they cannot involve type parameters of the target class or method.
|
|
Visit ( INestedTypeReference nestedTypeReference ) : INestedTypeReference |
Copies specialized nested type references since their containing types may involve type parameters, but leaves other kinds of nested type references alone.
|
public MethodBodyMappingMutator ( IMetadataHost host ) : Microsoft.Cci.MutableCodeModel | ||
host | IMetadataHost | An object representing the application that is hosting this mutator. It is used to obtain access to some global /// objects and services such as the shared name table and the table for interning references. |
리턴 | Microsoft.Cci.MutableCodeModel |
public Visit ( IGenericMethodParameterReference genericMethodParameterReference ) : IGenericMethodParameterReference | ||
genericMethodParameterReference | IGenericMethodParameterReference | |
리턴 | IGenericMethodParameterReference |
public Visit ( IGenericTypeParameterReference genericTypeParameterReference ) : IGenericTypeParameterReference | ||
genericTypeParameterReference | IGenericTypeParameterReference | |
리턴 | IGenericTypeParameterReference |
public Visit ( INamespaceTypeReference namespaceTypeReference ) : INamespaceTypeReference | ||
namespaceTypeReference | INamespaceTypeReference | The namespace type reference. |
리턴 | INamespaceTypeReference |
public Visit ( INestedTypeReference nestedTypeReference ) : INestedTypeReference | ||
nestedTypeReference | INestedTypeReference | The nested type reference. |
리턴 | INestedTypeReference |