Creating code contract postconditions