Skip to content

code refactoring

code refactoring #22

Triggered via push March 20, 2024 17:38
Status Success
Total duration 34s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: quiz-console-app/Services/QuestionBuilderService.cs#L9
Cannot convert null literal to non-nullable reference type.
build: quiz-console-app/Services/QuestionBuilderService.cs#L9
Cannot convert null literal to non-nullable reference type.
build: quiz-console-app/Configurations/QuizOptions.cs#L10
Non-nullable property 'ScoringRules' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: quiz-console-app/Configurations/QuizOptions.cs#L11
Non-nullable property 'Questions' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: quiz-console-app/Views/QuizModeView.cs#L38
Nullability of reference types in type of parameter 'state' of 'void QuizModeView.EndQuiz(object state)' doesn't match the target delegate 'TimerCallback' (possibly because of nullability attributes).
build: quiz-console-app/Views/QuizModeView.cs#L24
Non-nullable field '_user' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: quiz-console-app/Views/QuizModeView.cs#L24
Non-nullable field '_userQuiz' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: quiz-console-app/Models/UserQuiz.cs#L7
Non-nullable property 'User' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: quiz-console-app/Models/UserQuiz.cs#L9
Non-nullable property 'Quiz' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: quiz-console-app/Views/QuizModeView.cs#L49
Converting null literal or possible null value to non-nullable type.