Closed SergeyTeplyakov closed 10 years ago
public class MalformedContractErrors { public void RequiresOrEnsuresAfterEndContractBlock() { Contract.EndContractBlock(); // error CC1012: Contract call found after prior EndContractBlock. Contract.Ensures(true); Contract.Requires(false); } }