Advertisement
kirilstanoev

Untitled

Aug 16th, 2021
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.61 KB | None | 0 0
  1. Type 'Constants' is a static holder type but is neither static nor NotInheritable (Models\Common\Constants.cs, line 9)
  2. Change 'List<string>' in 'IRepository.CreateBug(IBoard, string, string, Priority, Severity, BugStatus, IMember, List<string>)' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (Core\Contracts\IRepository.cs, line 28)
  3. Change 'List<string>' in 'Bug.Bug(int, string, string, Priority, Severity, BugStatus, IMember, List<string>)' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (Models\Bug.cs, line 21)
  4. Change 'List<ITask>' in 'IBoard.Tasks' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (Models\Contracts\IBoard.cs, line 13)
  5. Change 'List<string>' in 'IBoard.ActivityHistory' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (Models\Contracts\IBoard.cs, line 15)
  6. Change 'List<string>' in 'IBug.StepsToReproduce' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (Models\Contracts\IBug.cs, line 12)
  7. Change 'List<ITask>' in 'IMember.Tasks' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (Models\Contracts\IMember.cs, line 13)
  8. Change 'List<string>' in 'IMember.ActivityHistory' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (Models\Contracts\IMember.cs, line 15)
  9. Change 'List<IComment>' in 'ITask.Comments' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (Models\Contracts\ITask.cs, line 13)
  10. Change 'List<string>' in 'ITask.History' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (Models\Contracts\ITask.cs, line 14)
  11. Change 'List<IMember>' in 'ITeam.Members' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (Models\Contracts\ITeam.cs, line 13)
  12. Change 'List<IBoard>' in 'ITeam.Boards' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (Models\Contracts\ITeam.cs, line 15)
  13. Modify 'Start' to catch a more specific allowed exception type, or rethrow the exception (Core\Engine.cs, line 53)
  14. Add the following constructor to InvalidUserInputException: public InvalidUserInputException() (Exceptions\InvalidUserInputException.cs, line 9)
  15. Add the following constructor to InvalidUserInputException: public InvalidUserInputException(string message, Exception innerException) (Exceptions\InvalidUserInputException.cs, line 9)
  16. Change the base type of dotnetcore.Exceptions.InvalidUserInputException so that it no longer extends System.ApplicationException. This base exception type does not provide any additional value for framework classes. Extend 'System.Exception' or an existing unsealed exception type instead. Do not create a new exception base type unless there is specific value in enabling the creation of a catch handler for an entire class of exceptions. (Exceptions\InvalidUserInputException.cs, line 9)
  17. In externally visible method 'void CommandValidator.ValidateParametersCount(IList<string> commandParameters, int parametersExpectedCount, string exceptionMessage = null)', validate parameter 'commandParameters' 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. (Commands\Validators\CommandValidator.cs, line 14)
  18. In externally visible method 'IBug Repository.CreateBug(IBoard board, string title, string description, Priority priority, Severity severity, BugStatus status, IMember assignee, List<string> steps)', 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. (Core\Repository.cs, line 127)
  19. In externally visible method 'IStory Repository.CreateStory(IBoard board, string title, string description, Priority priority, Size size, StoryStatus status, IMember assignee)', 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. (Core\Repository.cs, line 135)
  20. In externally visible method 'IFeedback Repository.CreateFeedback(IBoard board, string title, string description, int rating, FeedbackStatus status)', 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. (Core\Repository.cs, line 143)
  21. In externally visible method 'void Board.AddTask(ITask task)', 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. (Models\Board.cs, line 48)
  22. In externally visible method 'void Bug.AppendIndividualInformation(StringBuilder sb)', validate parameter 'sb' 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. (Models\Bug.cs, line 79)
  23. In externally visible method 'void ModelValidator.CheckTaskAlreadyInBoard(IList<ITask> tasks, ITask task, string message)', validate parameter 'tasks' 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. (Models\Common\ModelValidator.cs, line 31)
  24. In externally visible method 'void Feedback.AppendIndividualInformation(StringBuilder sb)', validate parameter 'sb' 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. (Models\Feedback.cs, line 53)
  25. In externally visible method 'void Member.AddTask(ITask task)', 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. (Models\Member.cs, line 47)
  26. In externally visible method 'void Member.RemoveTask(ITask task)', 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. (Models\Member.cs, line 56)
  27. In externally visible method 'void Story.AppendIndividualInformation(StringBuilder sb)', validate parameter 'sb' 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. (Models\Story.cs, line 88)
  28. In externally visible method 'void Task.AddComment(IComment comment)', validate parameter 'comment' 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. (Models\Task.cs, line 65)
  29. In externally visible method 'void Team.AddBoard(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. (Models\Team.cs, line 46)
  30. In externally visible method 'void Team.AddMember(IMember member)', validate parameter 'member' 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. (Models\Team.cs, line 52)
  31. The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'ListBugsCommand.Execute()' with a call to 'string.ToLower(CultureInfo)'. (Commands\ListingCommands\ListBugsCommand.cs, line 78)
  32. The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'ListFeedbacksCommand.Execute()' with a call to 'string.ToLower(CultureInfo)'. (Commands\ListingCommands\ListFeedbacksCommand.cs, line 51)
  33. The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'ListFeedbacksCommand.Execute()' with a call to 'string.ToLower(CultureInfo)'. (Commands\ListingCommands\ListFeedbacksCommand.cs, line 54)
  34. The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'ListFeedbacksCommand.Execute()' with a call to 'string.ToLower(CultureInfo)'. (Commands\ListingCommands\ListFeedbacksCommand.cs, line 62)
  35. The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'ListFeedbacksCommand.Execute()' with a call to 'string.ToLower(CultureInfo)'. (Commands\ListingCommands\ListFeedbacksCommand.cs, line 83)
  36. The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'ListStoriesCommand.Execute()' with a call to 'string.ToLower(CultureInfo)'. (Commands\ListingCommands\ListStoriesCommand.cs, line 56)
  37. The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'ListStoriesCommand.Execute()' with a call to 'string.ToLower(CultureInfo)'. (Commands\ListingCommands\ListStoriesCommand.cs, line 59)
  38. The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'ListStoriesCommand.Execute()' with a call to 'string.ToLower(CultureInfo)'. (Commands\ListingCommands\ListStoriesCommand.cs, line 67)
  39. The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'ListStoriesCommand.Execute()' with a call to 'string.ToLower(CultureInfo)'. (Commands\ListingCommands\ListStoriesCommand.cs, line 75)
  40. The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'ListStoriesCommand.Execute()' with a call to 'string.ToLower(CultureInfo)'. (Commands\ListingCommands\ListStoriesCommand.cs, line 96)
  41. The behavior of 'string.ToUpper()' could vary based on the current user's locale settings. Replace this call in 'ShowAllPeopleCommand.Execute()' with a call to 'string.ToUpper(CultureInfo)'. (Commands\ShowCommands\ShowAllPeopleCommand.cs, line 30)
  42. The behavior of 'string.ToUpper()' could vary based on the current user's locale settings. Replace this call in 'ShowAllTeamBoardsCommand.Execute()' with a call to 'string.ToUpper(CultureInfo)'. (Commands\ShowCommands\ShowAllTeamBoardsCommand.cs, line 28)
  43. The behavior of 'string.ToUpper()' could vary based on the current user's locale settings. Replace this call in 'ShowAllTeamMembersCommand.Execute()' with a call to 'string.ToUpper(CultureInfo)'. (Commands\ShowCommands\ShowAllTeamMembersCommand.cs, line 28)
  44. The behavior of 'string.ToUpper()' could vary based on the current user's locale settings. Replace this call in 'ShowBoardActivityCommand.Execute()' with a call to 'string.ToUpper(CultureInfo)'. (Commands\ShowCommands\ShowBoardActivityCommand.cs, line 26)
  45. The behavior of 'string.ToUpper()' could vary based on the current user's locale settings. Replace this call in 'ShowTeamActivityCommand.Execute()' with a call to 'string.ToUpper(CultureInfo)'. (Commands\ShowCommands\ShowTeamActivityCommand.cs, line 34)
  46. The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'CommandFactory.Create(string)' with a call to 'string.ToLower(CultureInfo)'. (Core\CommandFactory.cs, line 32)
  47. The behavior of 'string.ToUpper()' could vary based on the current user's locale settings. Replace this call in 'Team.ToString()' with a call to 'string.ToUpper(CultureInfo)'. (Models\Team.cs, line 59)
  48. Use ordinal string comparison (Core\Engine.cs, line 43)
  49. Remove the underscores from member name dotnetcore.Models.Common.Constants.Name_Null_Error (Models\Common\Constants.cs, line 11)
  50. Remove the underscores from member name dotnetcore.Models.Common.Constants.Board_TaskAlreadyExists_Error (Models\Common\Constants.cs, line 12)
  51. Remove the underscores from member name dotnetcore.Models.Common.Constants.Board_Name_MinLength (Models\Common\Constants.cs, line 14)
  52. Remove the underscores from member name dotnetcore.Models.Common.Constants.Board_Name_MaxLength (Models\Common\Constants.cs, line 15)
  53. Remove the underscores from member name dotnetcore.Models.Common.Constants.Task_TiTle_Null_Error (Models\Common\Constants.cs, line 17)
  54. Remove the underscores from member name dotnetcore.Models.Common.Constants.Task_Title_MinLength (Models\Common\Constants.cs, line 19)
  55. Remove the underscores from member name dotnetcore.Models.Common.Constants.Task_Title_MaxLength (Models\Common\Constants.cs, line 20)
  56. Remove the underscores from member name dotnetcore.Models.Common.Constants.Task_Description_Null_Error (Models\Common\Constants.cs, line 21)
  57. Remove the underscores from member name dotnetcore.Models.Common.Constants.Task_Description_MinLength (Models\Common\Constants.cs, line 23)
  58. Remove the underscores from member name dotnetcore.Models.Common.Constants.Task_Description_MaxLength (Models\Common\Constants.cs, line 24)
  59. Remove the underscores from member name dotnetcore.Models.Common.Constants.No_Comments_Message (Models\Common\Constants.cs, line 25)
  60. Remove the underscores from member name dotnetcore.Models.Common.Constants.Member_Name_MinLength (Models\Common\Constants.cs, line 29)
  61. Remove the underscores from member name dotnetcore.Models.Common.Constants.Member_Name_MaxLength (Models\Common\Constants.cs, line 30)
  62. Remove the underscores from member name dotnetcore.Models.Common.Constants.Member_No_Tasks_Message (Models\Common\Constants.cs, line 31)
  63. Remove the underscores from member name dotnetcore.Models.Common.Constants.Team_No_Members_Message (Models\Common\Constants.cs, line 33)
  64. Remove the underscores from member name dotnetcore.Models.Common.Constants.Team_No_Boards_Message (Models\Common\Constants.cs, line 34)
  65. Remove the underscores from member name dotnetcore.Models.Common.Constants.Team_Name_MinLength (Models\Common\Constants.cs, line 36)
  66. Remove the underscores from member name dotnetcore.Models.Common.Constants.Team_Name_MaxLength (Models\Common\Constants.cs, line 37)
  67. Remove the underscores from member name dotnetcore.Models.Common.Constants.Bug_No_SteptsToReproduce_Message (Models\Common\Constants.cs, line 39)
  68. In member IStory Repository.CreateStory(IBoard board, string title, string description, Priority priority, Size size, StoryStatus status, IMember assignee), change parameter name size to storySize in order to match the identifier as it has been declared in IStory IRepository.CreateStory(IBoard board, string title, string description, Priority priority, Size storySize, StoryStatus status, IMember assignee) (Core\Repository.cs, line 132)
  69. Parameter args of method Main is never used. Remove the parameter or use it in the method body. (Program.cs, line 10)
  70. Member 'ParseIntParameter' does not access instance data and can be marked as static (Commands\BaseCommand.cs, line 33)
  71. Member 'ExtractCommandName' does not access instance data and can be marked as static (Core\CommandFactory.cs, line 132)
  72. Member 'ExtractCommandParameters' does not access instance data and can be marked as static (Core\CommandFactory.cs, line 141)
  73. Member 'ExtractArguments' does not access instance data and can be marked as static (Core\CommandFactory.cs, line 153)
  74. Unused field 'SortingParamerets_Error' (Commands\ListingCommands\ListBugsCommand.cs, line 22)
  75. Non-constant fields should not be visible (Models\Common\Constants.cs, line 13)
  76. Non-constant fields should not be visible (Models\Common\Constants.cs, line 18)
  77. Non-constant fields should not be visible (Models\Common\Constants.cs, line 22)
  78. Non-constant fields should not be visible (Models\Common\Constants.cs, line 28)
  79. Non-constant fields should not be visible (Models\Common\Constants.cs, line 35)
  80.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement