Method | Description | |
---|---|---|
ExtractContracts ( IContractAwareHost contractAwareHost, PdbReader pdbReader, ContractExtractor extractor, ISourceMethodBody methodBody ) : |
||
Rewrite ( List |
There might be more than one block in the iterator's MoveNext method. So let the base rewriter navigate down into the list of statements unless this is the one containing the contracts. This method assumes that a single contract does *not* span multiple blocks, but is fully contained within a single list of statements.
|
Method | Description | |
---|---|---|
FindNextContractStatement ( List |
||
HermansAlwaysRight ( IContractAwareHost contractAwareHost, ContractExtractor extractor, ISourceMethodBody sourceMethodBody, bool methodIsInReferenceAssembly, OldAndResultExtractor oldAndResultExtractor, PdbReader pdbReader ) : System |
public static ExtractContracts ( IContractAwareHost contractAwareHost, PdbReader pdbReader, ContractExtractor extractor, ISourceMethodBody methodBody ) : |
||
contractAwareHost | IContractAwareHost | |
pdbReader | PdbReader | |
extractor | ContractExtractor | |
methodBody | ISourceMethodBody | |
return |