Skip to content

refactor:: exams timetable algorithm #18

refactor:: exams timetable algorithm

refactor:: exams timetable algorithm #18

Triggered via push July 22, 2023 03:10
Status Success
Total duration 45s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
build: UMaTTS.Core/Helpers/ExamsTimetableGenerator.cs#L73
Dereference of a possibly null reference.
build: UMaTTS.Core/Helpers/ExamsTimetableGenerator.cs#L188
Argument of type 'HashSet<(string Name, int Id, string Course)>' cannot be used for parameter 'invigilators' of type 'HashSet<(string, int, string? Course)>' in 'void ExamsTimetableGenerator.GetExaminersForEachCourseAndMakeInvigilators(List<IncomingCourse> coursesForExams, List<Lecturer> lecturers, HashSet<(string, int, string? Course)> invigilators)' due to differences in the nullability of reference types.
build: UMaTTS.Core/Helpers/ExamsTimetableGenerator.cs#L192
Argument of type 'HashSet<(string Name, int Id, string Course)>' cannot be used for parameter 'invigilators' of type 'HashSet<(string Name, int Id, string? Course)>' in 'void ExamsTimetableGenerator.GetMakeUpInvigilators(HashSet<(string Name, int Id, string? Course)> invigilators, List<Lecturer> lecturers, int? numberOfInvigilatorsForExam, int count)' due to differences in the nullability of reference types.
build: UMaTTS.Core/Helpers/ExamsTimetableGenerator.cs#L73
Dereference of a possibly null reference.
build: UMaTTS.Core/Helpers/ExamsTimetableGenerator.cs#L188
Argument of type 'HashSet<(string Name, int Id, string Course)>' cannot be used for parameter 'invigilators' of type 'HashSet<(string, int, string? Course)>' in 'void ExamsTimetableGenerator.GetExaminersForEachCourseAndMakeInvigilators(List<IncomingCourse> coursesForExams, List<Lecturer> lecturers, HashSet<(string, int, string? Course)> invigilators)' due to differences in the nullability of reference types.
build: UMaTTS.Core/Helpers/ExamsTimetableGenerator.cs#L192
Argument of type 'HashSet<(string Name, int Id, string Course)>' cannot be used for parameter 'invigilators' of type 'HashSet<(string Name, int Id, string? Course)>' in 'void ExamsTimetableGenerator.GetMakeUpInvigilators(HashSet<(string Name, int Id, string? Course)> invigilators, List<Lecturer> lecturers, int? numberOfInvigilatorsForExam, int count)' due to differences in the nullability of reference types.