Advertisement
kirilstanoev

Untitled

Aug 16th, 2021
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.31 KB | None | 0 0
  1. Modify 'Start' to catch a more specific allowed exception type, or rethrow the exception (TaskManagementSystem\Core\Engine.cs, line 55)
  2. Do not declare visible instance fields (TaskManagementSystem\Models\Board\Task.cs, line 19)
  3. Type 'CommandConstants' is a static holder type but is neither static nor NotInheritable (TaskManagementSystem\Commands\Common\CommandConstants.cs, line 3)
  4. Type 'Constants' is a static holder type but is neither static nor NotInheritable (TaskManagementSystem\Models\Common\Constants.cs, line 3)
  5. Type 'Validator' is a static holder type but is neither static nor NotInheritable (TaskManagementSystem\Models\Common\Validator.cs, line 6)
  6. In externally visible method 'void Helper.ChangeEnumValueOfCorrespondingPropertyOfTask<TEnum>(ITask task, TEnum newEnumValue)', validate parameter 'task' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (TaskManagementSystem\Commands\Common\Helper.cs, line 23)
  7. In externally visible method 'ICommand CommandFactory.Create(string commandLine, IRepository repository)', validate parameter 'commandLine' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (TaskManagementSystem\Core\CommandFactory.cs, line 18)
  8. In externally visible method 'IBug Repository.CreateBug(string title, string description, Priority priority, Severity severity, ITeamMember assignee, string stepsToReproduce, IBoard board)', validate parameter 'assignee' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (TaskManagementSystem\Core\Repository.cs, line 63)
  9. In externally visible method 'IBug Repository.CreateBug(string title, string description, Priority priority, Severity severity, ITeamMember assignee, string stepsToReproduce, IBoard board)', validate parameter 'board' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (TaskManagementSystem\Core\Repository.cs, line 64)
  10. In externally visible method 'IStory Repository.CreateStory(string title, string description, Priority priority, Size size, Status status, ITeamMember assignee, IBoard board)', validate parameter 'assignee' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (TaskManagementSystem\Core\Repository.cs, line 73)
  11. In externally visible method 'IStory Repository.CreateStory(string title, string description, Priority priority, Size size, Status status, ITeamMember assignee, IBoard board)', validate parameter 'board' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (TaskManagementSystem\Core\Repository.cs, line 74)
  12. In externally visible method 'IFeedback Repository.CreateFeedback(string title, string description, int rating, Status status, IBoard board)', validate parameter 'board' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (TaskManagementSystem\Core\Repository.cs, line 82)
  13. In externally visible method 'void Repository.AddComment(ITeamMember teamMember, ITask task, IComment comment)', validate parameter 'teamMember' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (TaskManagementSystem\Core\Repository.cs, line 96)
  14. In externally visible method 'void Repository.AddMemberToTeam(ITeamMember teamMember, ITeam team)', validate parameter 'team' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (TaskManagementSystem\Core\Repository.cs, line 101)
  15. In externally visible method 'void Repository.RemoveMemberFromTeam(ITeamMember teamMember, ITeam team)', validate parameter 'team' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (TaskManagementSystem\Core\Repository.cs, line 106)
  16. In externally visible method 'void Repository.AssignTask(ITask task, ITeamMember newAssignee)', validate parameter 'newAssignee' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (TaskManagementSystem\Core\Repository.cs, line 134)
  17. In externally visible method 'IBoard Repository.GetBoardByName(string boardName, ITeam team)', validate parameter 'team' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (TaskManagementSystem\Core\Repository.cs, line 162)
  18. In externally visible method 'Board.Board(string name)', validate parameter 'name' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (TaskManagementSystem\Models\Board\Board.cs, line 18)
  19. In externally visible method 'Bug.Bug(int id, string title, string description, Priority priority, Severity severity, ITeamMember assignee, string stepsToReproduce)', validate parameter 'stepsToReproduce' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (TaskManagementSystem\Models\Board\Bug.cs, line 28)
  20. In externally visible method 'void Validator.ValidateCollectionContainsObject<T>(T obj, ICollection<T> collection, string message)', validate parameter 'collection' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (TaskManagementSystem\Models\Common\Validator.cs, line 26)
  21. In externally visible method 'Team.Team(string name)', validate parameter 'name' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (TaskManagementSystem\Models\Team\Team.cs, line 18)
  22. In externally visible method 'TeamMember.TeamMember(string name)', validate parameter 'name' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (TaskManagementSystem\Models\Team\TeamMember.cs, line 19)
  23. In externally visible method 'void TeamMember.AddComment(ITask taskToAddComment, IComment commentToAdd)', validate parameter 'taskToAddComment' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (TaskManagementSystem\Models\Team\TeamMember.cs, line 34)
  24. 'bugs' is never 'null'. Remove or refactor the condition(s) to avoid dead code. (TaskManagementSystem\Commands\ListCommands\ListAllTasksOfTypeCommand.cs, line 112)
  25. 'stories' is never 'null'. Remove or refactor the condition(s) to avoid dead code. (TaskManagementSystem\Commands\ListCommands\ListAllTasksOfTypeCommand.cs, line 158)
  26. 'feedback' is never 'null'. Remove or refactor the condition(s) to avoid dead code. (TaskManagementSystem\Commands\ListCommands\ListAllTasksOfTypeCommand.cs, line 205)
  27. The type name Team conflicts in whole or in part with the namespace name 'TaskManagementSystem.Models.Team'. Change either name to eliminate the conflict. (TaskManagementSystem\Models\Team\Team.cs, line 11)
  28. The type name Board conflicts in whole or in part with the namespace name 'TaskManagementSystem.Models.Board'. Change either name to eliminate the conflict. (TaskManagementSystem\Models\Board\Board.cs, line 11)
  29. In member IBoard Repository.CreateBoard(string boardName, string teamName), change parameter name boardName to name in order to match the identifier as it has been declared in IBoard IRepository.CreateBoard(string name, string teamName) (TaskManagementSystem\Core\Repository.cs, line 48)
  30. In member ITeamMember Repository.GetMemberByName(string name), change parameter name name to memberName in order to match the identifier as it has been declared in ITeamMember IRepository.GetMemberByName(string memberName) (TaskManagementSystem\Core\Repository.cs, line 148)
  31. Member 'FilterByStatus' does not access instance data and can be marked as static (TaskManagementSystem\Commands\ListCommands\ListAllTasksOfTypeCommand.cs, line 210)
  32. Member 'FilterByAssigneeName' does not access instance data and can be marked as static (TaskManagementSystem\Commands\ListCommands\ListAllTasksOfTypeCommand.cs, line 215)
  33. Member 'SortByTitle' does not access instance data and can be marked as static (TaskManagementSystem\Commands\ListCommands\ListAllTasksOfTypeCommand.cs, line 241)
  34. Member 'SortBugsByPriority' does not access instance data and can be marked as static (TaskManagementSystem\Commands\ListCommands\ListAllTasksOfTypeCommand.cs, line 247)
  35. Member 'SortBugsBySeverity' does not access instance data and can be marked as static (TaskManagementSystem\Commands\ListCommands\ListAllTasksOfTypeCommand.cs, line 252)
  36. Member 'SortStoriesByPriority' does not access instance data and can be marked as static (TaskManagementSystem\Commands\ListCommands\ListAllTasksOfTypeCommand.cs, line 258)
  37. Member 'SortStoriesBySize' does not access instance data and can be marked as static (TaskManagementSystem\Commands\ListCommands\ListAllTasksOfTypeCommand.cs, line 263)
  38. Member 'SortFeedbackByRating' does not access instance data and can be marked as static (TaskManagementSystem\Commands\ListCommands\ListAllTasksOfTypeCommand.cs, line 269)
  39. Member 'FilterByStatus' does not access instance data and can be marked as static (TaskManagementSystem\Commands\ListCommands\ListTasksWithAssigneeCommand.cs, line 84)
  40. Member 'GetCommandName' does not access instance data and can be marked as static (TaskManagementSystem\Core\CommandFactory.cs, line 108)
  41. Member 'GetCommandParameters' does not access instance data and can be marked as static (TaskManagementSystem\Core\CommandFactory.cs, line 114)
  42. Member 'ValidateBoardDoesNotExist' does not access instance data and can be marked as static (TaskManagementSystem\Core\Repository.cs, line 203)
  43. Member 'ValidateName' does not access instance data and can be marked as static (TaskManagementSystem\Models\Board\Board.cs, line 50)
  44. Member 'ValidateEnumIsNotTheSame' does not access instance data and can be marked as static (TaskManagementSystem\Models\Board\Task.cs, line 154)
  45. Member 'ValidateName' does not access instance data and can be marked as static (TaskManagementSystem\Models\Team\Team.cs, line 64)
  46. Member 'ValidateName' does not access instance data and can be marked as static (TaskManagementSystem\Models\Team\TeamMember.cs, line 56)
  47. Non-constant fields should not be visible (TaskManagementSystem\Models\Common\Constants.cs, line 13)
  48. Non-constant fields should not be visible (TaskManagementSystem\Models\Common\Constants.cs, line 19)
  49. Non-constant fields should not be visible (TaskManagementSystem\Models\Common\Constants.cs, line 51)
  50. Non-constant fields should not be visible (TaskManagementSystem\Models\Common\Constants.cs, line 55)
  51. Non-constant fields should not be visible (TaskManagementSystem\Models\Common\Constants.cs, line 59)
  52. Non-constant fields should not be visible (TaskManagementSystem\Models\Common\Constants.cs, line 92)
  53. Non-constant fields should not be visible (TaskManagementSystem\Models\Common\Constants.cs, line 109)
  54. 'IBug.ToString()' hides inherited member 'ITask.ToString()'. Use the new keyword if hiding was intended. (TaskManagementSystem\Models\Contracts\IBug.cs, line 14)
  55. 'IFeedback.ToString()' hides inherited member 'ITask.ToString()'. Use the new keyword if hiding was intended. (TaskManagementSystem\Models\Contracts\IFeedback.cs, line 7)
  56. 'IStory.ToString()' hides inherited member 'ITask.ToString()'. Use the new keyword if hiding was intended. (TaskManagementSystem\Models\Contracts\IStory.cs, line 11)
  57.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement