Method | Description | |
---|---|---|
Rewrite ( IThisReference thisReference ) : IExpression | ||
Rewrite ( ILocalDeclarationStatement localDeclarationStatement ) : IStatement | ||
Rewrite ( IGenericMethodParameterReference genericMethodParameterReference ) : ITypeReference | ||
RewriteChildren ( Microsoft.Cci.MutableCodeModel.AddressableExpression addressableExpression ) : void | ||
RewriteChildren ( |
||
RewriteChildren ( Microsoft.Cci.MutableCodeModel.BoundExpression boundExpression ) : void | ||
RewriteChildren ( Microsoft.Cci.MutableCodeModel.TargetExpression targetExpression ) : void |
Method | Description | |
---|---|---|
RewriteAsMoveNext ( BoundField>.Dictionary |
A rewriter that takes a copy of the body of an iterator method and turns it into the body of a MoveNext method by replacing parameters and locals with iterator state fields and replacing occurrences of the generic method parameters of the iterator with generic type parameter of the iterator state class.
|
public Rewrite ( IThisReference thisReference ) : IExpression | ||
thisReference | IThisReference | |
return | IExpression |
public Rewrite ( ILocalDeclarationStatement localDeclarationStatement ) : IStatement | ||
localDeclarationStatement | ILocalDeclarationStatement | |
return | IStatement |
public Rewrite ( IGenericMethodParameterReference genericMethodParameterReference ) : ITypeReference | ||
genericMethodParameterReference | IGenericMethodParameterReference | |
return | ITypeReference |
public RewriteChildren ( Microsoft.Cci.MutableCodeModel.AddressableExpression addressableExpression ) : void | ||
addressableExpression | Microsoft.Cci.MutableCodeModel.AddressableExpression | |
return | void |
public RewriteChildren ( |
||
blockStatement | ||
return | void |
public RewriteChildren ( Microsoft.Cci.MutableCodeModel.BoundExpression boundExpression ) : void | ||
boundExpression | Microsoft.Cci.MutableCodeModel.BoundExpression | |
return | void |
public RewriteChildren ( Microsoft.Cci.MutableCodeModel.TargetExpression targetExpression ) : void | ||
targetExpression | Microsoft.Cci.MutableCodeModel.TargetExpression | |
return | void |