Skip to content

Method too long because of using Contract.Requires / Contract.Ensures #43

Description

@kostgr

I'm getting the warning, that the method is too long, after adding contract specifications.

 Contract.Requires(taskProject != null);
 Contract.Requires(assignmentTime != null);
 Contract.Ensures(Contract.Result<Assignment>() != null);

Is it possible to ignore lines like this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions