Method | 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 | |
return | System |
public Rewrite ( IBoundExpression boundExpression ) : IExpression | ||
boundExpression | IBoundExpression | The bound expression. |
return | IExpression |
public Rewrite ( ILocalDefinition localDefinition ) : ILocalDefinition | ||
localDefinition | ILocalDefinition | |
return | ILocalDefinition |
public RewriteChildren ( Microsoft.Cci.MutableCodeModel.AddressableExpression addressableExpression ) : void | ||
addressableExpression | Microsoft.Cci.MutableCodeModel.AddressableExpression | |
return | void |
public RewriteChildren ( |
||
contractElement | ||
return | void |
public RewriteReference ( ILocalDefinition localDefinition ) : object | ||
localDefinition | ILocalDefinition | |
return | object |