Метод | Описание | |
---|---|---|
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 | |
Результат | System |
public Rewrite ( IBoundExpression boundExpression ) : IExpression | ||
boundExpression | IBoundExpression | The bound expression. |
Результат | IExpression |
public Rewrite ( ILocalDefinition localDefinition ) : ILocalDefinition | ||
localDefinition | ILocalDefinition | |
Результат | ILocalDefinition |
public RewriteChildren ( Microsoft.Cci.MutableCodeModel.AddressableExpression addressableExpression ) : void | ||
addressableExpression | Microsoft.Cci.MutableCodeModel.AddressableExpression | |
Результат | void |
public RewriteChildren ( |
||
contractElement | ||
Результат | void |
public RewriteReference ( ILocalDefinition localDefinition ) : object | ||
localDefinition | ILocalDefinition | |
Результат | object |