[Mono-dev] Fix contract description for contracts with deep inheritance hierarchy

Peter Gerbrandt pg at viadux.de
Fri Mar 25 05:46:17 EDT 2011


Hello everyone,

ContractDescriptionGeneratior currently adds operations multiple times to the ContractDescription if the contract inheritance hierarchy is deeper than one level.

My pragmatic solution is to check if the operation has already been added to the ContractDescription.

Attached a patch containing unit test and code. 

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: deep_contract_hierarchy.patch
Type: application/octet-stream
Size: 2599 bytes
Desc: deep_contract_hierarchy.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110325/45164fa2/attachment-0001.obj 


More information about the Mono-devel-list mailing list