Méthode | Description | |
---|---|---|
GenericMethodParameterMapper ( IMetadataHost host, IMethodDefinition targetMethod, IMethodDefinition sourceMethod ) : System |
Use this constructor when the anonymous delegate did not capture any locals or parameters and so was implemented as a static, generic closure method.
|
|
GenericMethodParameterMapper ( IMetadataHost host, IMethodDefinition targetMethod, INestedTypeReference sourceType ) : System |
Use this constructor when the anonymous delegate did capture a local or parameter and so was implemented as an instance, non-generic closure method within a generic class.
|
|
Rewrite ( IGenericMethodParameterReference genericMethodParameterReference ) : ITypeReference | ||
Rewrite ( IGenericTypeParameterReference genericTypeParameterReference ) : ITypeReference | ||
RewriteReference ( ILocalDefinition localDefinition ) : object |
This is necessary only because the base rewriter for things like TargetExpression call this method and its definition in the base rewriter is to not visit it, but to just return it.
|
Méthode | Description | |
---|---|---|
GenericMethodParameterMapper ( IMetadataHost host, IMethodDefinition targetMethod ) : System |
public GenericMethodParameterMapper ( IMetadataHost host, IMethodDefinition targetMethod, IMethodDefinition sourceMethod ) : System | ||
host | IMetadataHost | |
targetMethod | IMethodDefinition | |
sourceMethod | IMethodDefinition | |
Résultat | System |
public GenericMethodParameterMapper ( IMetadataHost host, IMethodDefinition targetMethod, INestedTypeReference sourceType ) : System | ||
host | IMetadataHost | |
targetMethod | IMethodDefinition | |
sourceType | INestedTypeReference | |
Résultat | System |
public Rewrite ( IGenericMethodParameterReference genericMethodParameterReference ) : ITypeReference | ||
genericMethodParameterReference | IGenericMethodParameterReference | |
Résultat | ITypeReference |
public Rewrite ( IGenericTypeParameterReference genericTypeParameterReference ) : ITypeReference | ||
genericTypeParameterReference | IGenericTypeParameterReference | |
Résultat | ITypeReference |
public RewriteReference ( ILocalDefinition localDefinition ) : object | ||
localDefinition | ILocalDefinition | |
Résultat | object |