Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
private List<TodoItem> _todoList;

public TodoRepository()

Check warning on line 10 in 9.0/WebServices/TodoREST/TodoAPI/Services/TodoRepository.cs

View workflow job for this annotation

GitHub Actions / build (windows-latest)

Non-nullable field '_todoList' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.

Check warning on line 10 in 9.0/WebServices/TodoREST/TodoAPI/Services/TodoRepository.cs

View workflow job for this annotation

GitHub Actions / build (windows-latest)

Non-nullable field '_todoList' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.

Check warning on line 10 in 9.0/WebServices/TodoREST/TodoAPI/Services/TodoRepository.cs

View workflow job for this annotation

GitHub Actions / build (macos-15)

Non-nullable field '_todoList' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.

Check warning on line 10 in 9.0/WebServices/TodoREST/TodoAPI/Services/TodoRepository.cs

View workflow job for this annotation

GitHub Actions / build (macos-15)

Non-nullable field '_todoList' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
{
InitializeData();
}
Expand All @@ -24,7 +24,7 @@

public TodoItem Find(string id)
{
return _todoList.FirstOrDefault(item => item.ID == id);

Check warning on line 27 in 9.0/WebServices/TodoREST/TodoAPI/Services/TodoRepository.cs

View workflow job for this annotation

GitHub Actions / build (windows-latest)

Possible null reference return.

Check warning on line 27 in 9.0/WebServices/TodoREST/TodoAPI/Services/TodoRepository.cs

View workflow job for this annotation

GitHub Actions / build (windows-latest)

Possible null reference return.

Check warning on line 27 in 9.0/WebServices/TodoREST/TodoAPI/Services/TodoRepository.cs

View workflow job for this annotation

GitHub Actions / build (macos-15)

Possible null reference return.

Check warning on line 27 in 9.0/WebServices/TodoREST/TodoAPI/Services/TodoRepository.cs

View workflow job for this annotation

GitHub Actions / build (macos-15)

Possible null reference return.
}

public void Insert(TodoItem item)
Expand Down Expand Up @@ -61,7 +61,7 @@
{
ID = "b94afb54-a1cb-4313-8af3-b7511551b33b",
Name = "Develop apps",
Notes = "Use Visual Studio and Visual Studio for Mac",
Notes = "Use Visual Studio and Visual Studio Code",
Done = false
};

Expand Down
Loading