Method | Description | |
---|---|---|
FindClosureGetEnumerator ( IMetadataHost host, INestedTypeDefinition closureClass ) : ISourceMethodBody |
|
|
FindClosureMoveNext ( IMetadataHost host, ISourceMethodBody possibleIterator ) : IMethodBody |
For an iterator method, find the closure class' MoveNext method and return its body.
|
|
GetMethodContractFromMoveNext ( IContractAwareHost host, ContractExtractor extractor, ISourceMethodBody iteratorMethodBody, ISourceMethodBody moveNextBody, PdbReader pdbReader ) : |
|
Method | Description | |
---|---|---|
FirstStatementIsIteratorCreation ( IMetadataHost host, ISourceMethodBody possibleIterator, INameTable nameTable, IStatement statement ) : IMethodBody | ||
GetICreateObjectInstance ( IStatement statement ) : ICreateObjectInstance |
public static FindClosureGetEnumerator ( IMetadataHost host, INestedTypeDefinition closureClass ) : ISourceMethodBody | ||
host | IMetadataHost | |
closureClass | INestedTypeDefinition | |
return | ISourceMethodBody |
public static FindClosureMoveNext ( IMetadataHost host, ISourceMethodBody possibleIterator ) : IMethodBody | ||
host | IMetadataHost | |
possibleIterator | ISourceMethodBody | The (potential) iterator method. |
return | IMethodBody |
public static GetMethodContractFromMoveNext ( IContractAwareHost host, ContractExtractor extractor, ISourceMethodBody iteratorMethodBody, ISourceMethodBody moveNextBody, PdbReader pdbReader ) : |
||
host | IContractAwareHost | |
extractor | ContractExtractor | |
iteratorMethodBody | ISourceMethodBody | |
moveNextBody | ISourceMethodBody | |
pdbReader | PdbReader | |
return |