Méthode | Description | |
---|---|---|
Replacer ( IMetadataHost host, IExpression>.Dictionary |
||
Rewrite ( IBoundExpression boundExpression ) : IExpression |
If the boundExpression represents a parameter of the target method, it is replaced with the equivalent parameter of the source method.
|
|
Rewrite ( ILocalDefinition localDefinition ) : ILocalDefinition | ||
RewriteChildren ( Microsoft.Cci.MutableCodeModel.AddressableExpression addressableExpression ) : void | ||
RewriteChildren ( |
||
RewriteReference ( ILocalDefinition localDefinition ) : object |
TODO: 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.
|
public Replacer ( IMetadataHost host, IExpression>.Dictionary |
||
host | IMetadataHost | |
capturedThings | IExpression>.Dictionary | |
iteratorMethod | IMethodDefinition | |
moveNext | IMethodDefinition | |
Résultat | System |
public Rewrite ( IBoundExpression boundExpression ) : IExpression | ||
boundExpression | IBoundExpression | The bound expression. |
Résultat | IExpression |
public Rewrite ( ILocalDefinition localDefinition ) : ILocalDefinition | ||
localDefinition | ILocalDefinition | |
Résultat | ILocalDefinition |
public RewriteChildren ( Microsoft.Cci.MutableCodeModel.AddressableExpression addressableExpression ) : void | ||
addressableExpression | Microsoft.Cci.MutableCodeModel.AddressableExpression | |
Résultat | void |
public RewriteChildren ( |
||
contractElement | ||
Résultat | void |
public RewriteReference ( ILocalDefinition localDefinition ) : object | ||
localDefinition | ILocalDefinition | |
Résultat | object |