<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj : warning NU1902: Package 'SixLabors.ImageSharp' 3.1.12 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-gwg2-r3hj-4w44
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj : warning NU1903: Package 'SixLabors.ImageSharp' 3.1.12 has a known high severity vulnerability, https://github.com/advisories/GHSA-j3p4-wp97-rph4
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj : warning NU1903: Package 'SixLabors.ImageSharp' 3.1.12 has a known high severity vulnerability, https://github.com/advisories/GHSA-j9gm-c75j-xc9q
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj : warning NU1903: Package 'SixLabors.ImageSharp' 3.1.12 has a known high severity vulnerability, https://github.com/advisories/GHSA-jjfr-hcj7-qf5w
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj : warning NU1903: Package 'SixLabors.ImageSharp' 3.1.12 has a known high severity vulnerability, https://github.com/advisories/GHSA-v76p-62qx-wwq2
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj : warning NU1902: Package 'SixLabors.ImageSharp' 3.1.12 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-wmxv-xphr-5c9g
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\FakeClock.cs(3,21): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\StaffSession.cs(5,21): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordingMailSender.cs(6,22): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\FormHelper.cs(6,29): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordingMailSender.cs(8,21): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PortalFactory.cs(15,21): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\TestClient.cs(6,21): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(92,26): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(83,26): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(83,26): warning CA1034: Do not nest type ProfileDto. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\TestClient.cs(36,26): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(94,26): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(92,26): warning CA1034: Do not nest type RecordDto. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\StubPngHandler.cs(8,21): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(85,26): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\TestClient.cs(36,26): warning CA1034: Do not nest type LoginBody. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(94,26): warning CA1034: Do not nest type DoctorDto. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(85,26): warning CA1034: Do not nest type PatientSummaryDto. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(96,26): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(87,26): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(96,26): warning CA1034: Do not nest type AppointmentDto. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\CapturingLoggerProvider.cs(6,21): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(87,26): warning CA1034: Do not nest type PatientMatchDto. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(68,26): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(70,26): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(70,149): warning CA1002: Change 'List<DocumentAndAdminTests.ApptRow>' in 'DocumentAndAdminTests.ExportDto.Appointments' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(70,126): warning CA1002: Change 'List<DocumentAndAdminTests.RecordRow>' in 'DocumentAndAdminTests.ExportDto.Records' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(72,26): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(70,26): warning CA1034: Do not nest type ExportDto. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(72,26): warning CA1034: Do not nest type RecordRow. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(68,26): warning CA1034: Do not nest type DocumentDto. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(74,26): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(74,26): warning CA1034: Do not nest type ApptRow. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(13,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PageTests.Staff_login_page_renders_a_form_with_antiforgery() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AvatarTests.cs(10,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AvatarTests.Patient_can_set_avatar_from_a_public_url() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(15,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AuthTests.Login_with_correct_password_returns_token_and_role() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(14,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.DocumentAndAdminTests.Patient_lists_own_documents() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(70,100): warning CA1002: Change 'List<PatientTests.PatientSummaryDto>' in 'DocumentAndAdminTests.ExportDto.Patients' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(16,26): warning CA2234: Modify 'PageTests.Staff_login_page_renders_a_form_with_antiforgery()' to call 'HttpClient.GetStringAsync(Uri)' instead of 'HttpClient.GetStringAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(28,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AuthTests.Login_with_wrong_password_is_unauthorized() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(22,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PageTests.Staff_notes_page_requires_sign_in() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(36,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AuthTests.Login_with_unknown_account_is_unauthorized() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(14,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PatientTests.Patient_can_read_own_profile() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(14,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.RecordAndAppointmentTests.Patient_can_read_own_records() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(31,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PageTests.Staff_can_sign_in_and_see_the_notes_page() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(25,30): warning CA2234: Modify 'PageTests.Staff_notes_page_requires_sign_in()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(17,9): warning CA1307: 'Xunit.Assert.Contains(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'PatientPortal.Tests.PageTests.Staff_login_page_renders_a_form_with_antiforgery()' with a call to 'Xunit.Assert.Contains(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\TestClient.cs(31,27): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(18,9): warning CA1307: 'Xunit.Assert.Contains(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'PatientPortal.Tests.PageTests.Staff_login_page_renders_a_form_with_antiforgery()' with a call to 'Xunit.Assert.Contains(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AvatarTests.cs(19,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AvatarTests.Patient_can_fetch_own_avatar_after_setting_it() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\FormHelper.cs(33,9): warning CA1062: In externally visible method 'HttpClient FormHelper.NonRedirecting(PortalFactory factory)', validate parameter 'factory' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\TestClient.cs(22,30): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\TestClient.cs(24,26): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(23,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.DocumentAndAdminTests.Patient_downloads_own_document_by_name() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AvatarTests.cs(25,25): warning CA2234: Modify 'AvatarTests.Patient_can_fetch_own_avatar_after_setting_it()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(26,30): warning CA2234: Modify 'DocumentAndAdminTests.Patient_downloads_own_document_by_name()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(44,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AuthTests.Admin_and_doctor_can_log_in() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(23,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.RecordAndAppointmentTests.Doctor_can_read_records_of_own_patient() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(41,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PageTests.Staff_can_read_notes_for_a_patient() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(29,9): warning CA1307: 'Xunit.Assert.Contains(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'PatientPortal.Tests.DocumentAndAdminTests.Patient_downloads_own_document_by_name()' with a call to 'Xunit.Assert.Contains(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(26,30): warning CA2234: Modify 'RecordAndAppointmentTests.Doctor_can_read_records_of_own_patient()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\TestClient.cs(30,22): warning CA1062: In externally visible method 'Task<HttpClient> TestClient.AuthenticatedAsync(PortalFactory factory, string email)', validate parameter 'factory' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(45,26): warning CA2234: Modify 'PageTests.Staff_can_read_notes_for_a_patient()' to call 'HttpClient.GetStringAsync(Uri)' instead of 'HttpClient.GetStringAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(46,9): warning CA1307: 'Xunit.Assert.Contains(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'PatientPortal.Tests.PageTests.Staff_can_read_notes_for_a_patient()' with a call to 'Xunit.Assert.Contains(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(55,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AuthTests.Protected_route_without_token_is_unauthorized() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(35,26): warning CA2234: Modify 'PageTests.Staff_can_sign_in_and_see_the_notes_page()' to call 'HttpClient.GetStringAsync(Uri)' instead of 'HttpClient.GetStringAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(31,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.RecordAndAppointmentTests.Admin_can_read_any_records() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(58,30): warning CA2234: Modify 'AuthTests.Protected_route_without_token_is_unauthorized()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(27,9): warning CA1307: 'Xunit.Assert.Contains(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'PatientPortal.Tests.PageTests.Staff_notes_page_requires_sign_in()' with a call to 'Xunit.Assert.Contains(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(33,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.DocumentAndAdminTests.Download_of_unknown_name_is_not_found() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(63,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AuthTests.Issued_token_is_accepted_on_a_protected_route() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(36,9): warning CA1307: 'Xunit.Assert.Contains(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'PatientPortal.Tests.PageTests.Staff_can_sign_in_and_see_the_notes_page()' with a call to 'Xunit.Assert.Contains(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AvatarTests.cs(31,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AvatarTests.Avatar_without_one_set_is_not_found() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(39,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.RecordAndAppointmentTests.Doctors_are_listed_for_booking() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(37,9): warning CA1307: 'Xunit.Assert.Contains(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'PatientPortal.Tests.PageTests.Staff_can_sign_in_and_see_the_notes_page()' with a call to 'Xunit.Assert.Contains(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(36,30): warning CA2234: Modify 'DocumentAndAdminTests.Download_of_unknown_name_is_not_found()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AvatarTests.cs(35,25): warning CA2234: Modify 'AvatarTests.Avatar_without_one_set_is_not_found()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(66,30): warning CA2234: Modify 'AuthTests.Issued_token_is_accepted_on_a_protected_route()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(50,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PageTests.Staff_can_add_a_note() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(23,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PatientTests.Patient_can_update_own_name_and_phone() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\StaffSession.cs(11,31): warning CA2234: Modify 'StaffSession.SignInAsync(PortalFactory, string)' to call 'HttpClient.GetStringAsync(Uri)' instead of 'HttpClient.GetStringAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(71,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AuthTests.Reset_request_for_known_user_sends_mail_and_is_accepted() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(41,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.DocumentAndAdminTests.Staff_fetch_a_blank_form_by_kind() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\StaffSession.cs(21,30): warning CA2234: Modify 'StaffSession.SignInAsync(PortalFactory, string)' to call 'HttpClient.PostAsync(Uri, HttpContent)' instead of 'HttpClient.PostAsync(string, HttpContent)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(70,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PageTests.Wrong_staff_password_redirects_back_with_error() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(47,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.RecordAndAppointmentTests.Patient_sees_only_own_upcoming_appointments() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(35,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PatientTests.Profile_update_with_empty_name_is_rejected() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(55,26): warning CA2234: Modify 'PageTests.Staff_can_add_a_note()' to call 'HttpClient.GetStringAsync(Uri)' instead of 'HttpClient.GetStringAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AvatarTests.cs(40,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AvatarTests.Staff_can_view_a_patient_avatar() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(62,26): warning CA2234: Modify 'PageTests.Staff_can_add_a_note()' to call 'HttpClient.PostAsync(Uri, HttpContent)' instead of 'HttpClient.PostAsync(string, HttpContent)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(34,30): warning CA2234: Modify 'RecordAndAppointmentTests.Admin_can_read_any_records()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(65,26): warning CA2234: Modify 'PageTests.Staff_can_add_a_note()' to call 'HttpClient.GetStringAsync(Uri)' instead of 'HttpClient.GetStringAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(80,30): warning CA2234: Modify 'PageTests.Wrong_staff_password_redirects_back_with_error()' to call 'HttpClient.PostAsync(Uri, HttpContent)' instead of 'HttpClient.PostAsync(string, HttpContent)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(83,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AuthTests.Reset_request_for_unknown_user_is_accepted_without_mail() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AvatarTests.cs(47,25): warning CA2234: Modify 'AvatarTests.Staff_can_view_a_patient_avatar()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(55,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.RecordAndAppointmentTests.Patient_can_book_and_cancel_own_appointment() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(49,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.DocumentAndAdminTests.Admin_export_returns_patients_records_and_appointments() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(44,30): warning CA2234: Modify 'DocumentAndAdminTests.Staff_fetch_a_blank_form_by_kind()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(86,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PageTests.Patient_cannot_reach_the_staff_notes_page() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(61,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.DocumentAndAdminTests.Health_endpoint_is_anonymous() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(82,9): warning CA1307: 'Xunit.Assert.Contains(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'PatientPortal.Tests.PageTests.Wrong_staff_password_redirects_back_with_error()' with a call to 'Xunit.Assert.Contains(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(52,30): warning CA2234: Modify 'DocumentAndAdminTests.Admin_export_returns_patients_records_and_appointments()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(66,9): warning CA1307: 'Xunit.Assert.Contains(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'PatientPortal.Tests.PageTests.Staff_can_add_a_note()' with a call to 'Xunit.Assert.Contains(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(90,31): warning CA2234: Modify 'PageTests.Patient_cannot_reach_the_staff_notes_page()' to call 'HttpClient.GetStringAsync(Uri)' instead of 'HttpClient.GetStringAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(64,30): warning CA2234: Modify 'DocumentAndAdminTests.Health_endpoint_is_anonymous()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(66,28): warning CA2234: Modify 'RecordAndAppointmentTests.Patient_can_book_and_cancel_own_appointment()' to call 'HttpClient.DeleteAsync(Uri)' instead of 'HttpClient.DeleteAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(98,30): warning CA2234: Modify 'PageTests.Patient_cannot_reach_the_staff_notes_page()' to call 'HttpClient.PostAsync(Uri, HttpContent)' instead of 'HttpClient.PostAsync(string, HttpContent)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(43,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PatientTests.Staff_can_list_patients() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(100,9): warning CA1307: 'Xunit.Assert.Contains(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'PatientPortal.Tests.PageTests.Patient_cannot_reach_the_staff_notes_page()' with a call to 'Xunit.Assert.Contains(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(70,100): warning CA1002: Change 'List<PatientTests.PatientSummaryDto>' in 'DocumentAndAdminTests.ExportDto.ExportDto(DateTimeOffset, List<PatientTests.PatientSummaryDto>, List<DocumentAndAdminTests.RecordRow>, List<DocumentAndAdminTests.ApptRow>)' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(70,126): warning CA1002: Change 'List<DocumentAndAdminTests.RecordRow>' in 'DocumentAndAdminTests.ExportDto.ExportDto(DateTimeOffset, List<PatientTests.PatientSummaryDto>, List<DocumentAndAdminTests.RecordRow>, List<DocumentAndAdminTests.ApptRow>)' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(70,149): warning CA1002: Change 'List<DocumentAndAdminTests.ApptRow>' in 'DocumentAndAdminTests.ExportDto.ExportDto(DateTimeOffset, List<PatientTests.PatientSummaryDto>, List<DocumentAndAdminTests.RecordRow>, List<DocumentAndAdminTests.ApptRow>)' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(51,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PatientTests.Patient_cannot_list_patients() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(94,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AuthTests.Full_reset_flow_lets_the_user_log_in_with_the_new_password() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(111,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AuthTests.Reset_with_short_password_is_rejected() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\FormHelper.cs(24,14): warning CA1062: In externally visible method 'string? FormHelper.Cookie(HttpResponseMessage response, string name)', validate parameter 'response' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(71,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.RecordAndAppointmentTests.Receptionist_books_for_a_named_patient() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(59,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PatientTests.Staff_search_finds_by_name_fragment() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(54,30): warning CA2234: Modify 'PatientTests.Patient_cannot_list_patients()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PortalFactory.cs(35,9): warning CA1062: In externally visible method 'void PortalFactory.ConfigureWebHost(IWebHostBuilder builder)', validate parameter 'builder' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(84,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.RecordAndAppointmentTests.Booking_in_the_past_is_rejected() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\StaffSession.cs(11,31): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\StaffSession.cs(21,30): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(68,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PatientTests.Staff_search_with_no_match_returns_empty() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(76,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PatientTests.Search_without_query_is_bad_request() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(79,30): warning CA2234: Modify 'PatientTests.Search_without_query_is_bad_request()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\StaffSession.cs(33,31): warning CA2234: Modify 'StaffSession.BeginAsync(PortalFactory)' to call 'HttpClient.GetStringAsync(Uri)' instead of 'HttpClient.GetStringAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\StaffSession.cs(33,31): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
  PatientPortal.Tests -> <scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\bin\Debug\net10.0\PatientPortal.Tests.dll

Build succeeded.

<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj : warning NU1902: Package 'SixLabors.ImageSharp' 3.1.12 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-gwg2-r3hj-4w44
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj : warning NU1903: Package 'SixLabors.ImageSharp' 3.1.12 has a known high severity vulnerability, https://github.com/advisories/GHSA-j3p4-wp97-rph4
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj : warning NU1903: Package 'SixLabors.ImageSharp' 3.1.12 has a known high severity vulnerability, https://github.com/advisories/GHSA-j9gm-c75j-xc9q
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj : warning NU1903: Package 'SixLabors.ImageSharp' 3.1.12 has a known high severity vulnerability, https://github.com/advisories/GHSA-jjfr-hcj7-qf5w
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj : warning NU1903: Package 'SixLabors.ImageSharp' 3.1.12 has a known high severity vulnerability, https://github.com/advisories/GHSA-v76p-62qx-wwq2
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj : warning NU1902: Package 'SixLabors.ImageSharp' 3.1.12 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-wmxv-xphr-5c9g
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\FakeClock.cs(3,21): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\StaffSession.cs(5,21): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordingMailSender.cs(6,22): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\FormHelper.cs(6,29): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordingMailSender.cs(8,21): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PortalFactory.cs(15,21): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\TestClient.cs(6,21): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(92,26): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(83,26): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(83,26): warning CA1034: Do not nest type ProfileDto. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\TestClient.cs(36,26): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(94,26): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(92,26): warning CA1034: Do not nest type RecordDto. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\StubPngHandler.cs(8,21): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(85,26): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\TestClient.cs(36,26): warning CA1034: Do not nest type LoginBody. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(94,26): warning CA1034: Do not nest type DoctorDto. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(85,26): warning CA1034: Do not nest type PatientSummaryDto. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(96,26): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(87,26): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(96,26): warning CA1034: Do not nest type AppointmentDto. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\CapturingLoggerProvider.cs(6,21): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(87,26): warning CA1034: Do not nest type PatientMatchDto. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(68,26): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(70,26): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(70,149): warning CA1002: Change 'List<DocumentAndAdminTests.ApptRow>' in 'DocumentAndAdminTests.ExportDto.Appointments' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(70,126): warning CA1002: Change 'List<DocumentAndAdminTests.RecordRow>' in 'DocumentAndAdminTests.ExportDto.Records' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(72,26): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(70,26): warning CA1034: Do not nest type ExportDto. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(72,26): warning CA1034: Do not nest type RecordRow. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(68,26): warning CA1034: Do not nest type DocumentDto. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(74,26): warning CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(74,26): warning CA1034: Do not nest type ApptRow. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(13,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PageTests.Staff_login_page_renders_a_form_with_antiforgery() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AvatarTests.cs(10,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AvatarTests.Patient_can_set_avatar_from_a_public_url() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(15,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AuthTests.Login_with_correct_password_returns_token_and_role() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(14,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.DocumentAndAdminTests.Patient_lists_own_documents() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(70,100): warning CA1002: Change 'List<PatientTests.PatientSummaryDto>' in 'DocumentAndAdminTests.ExportDto.Patients' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(16,26): warning CA2234: Modify 'PageTests.Staff_login_page_renders_a_form_with_antiforgery()' to call 'HttpClient.GetStringAsync(Uri)' instead of 'HttpClient.GetStringAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(28,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AuthTests.Login_with_wrong_password_is_unauthorized() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(22,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PageTests.Staff_notes_page_requires_sign_in() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(36,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AuthTests.Login_with_unknown_account_is_unauthorized() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(14,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PatientTests.Patient_can_read_own_profile() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(14,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.RecordAndAppointmentTests.Patient_can_read_own_records() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(31,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PageTests.Staff_can_sign_in_and_see_the_notes_page() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(25,30): warning CA2234: Modify 'PageTests.Staff_notes_page_requires_sign_in()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(17,9): warning CA1307: 'Xunit.Assert.Contains(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'PatientPortal.Tests.PageTests.Staff_login_page_renders_a_form_with_antiforgery()' with a call to 'Xunit.Assert.Contains(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\TestClient.cs(31,27): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(18,9): warning CA1307: 'Xunit.Assert.Contains(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'PatientPortal.Tests.PageTests.Staff_login_page_renders_a_form_with_antiforgery()' with a call to 'Xunit.Assert.Contains(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AvatarTests.cs(19,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AvatarTests.Patient_can_fetch_own_avatar_after_setting_it() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\FormHelper.cs(33,9): warning CA1062: In externally visible method 'HttpClient FormHelper.NonRedirecting(PortalFactory factory)', validate parameter 'factory' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\TestClient.cs(22,30): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\TestClient.cs(24,26): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(23,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.DocumentAndAdminTests.Patient_downloads_own_document_by_name() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AvatarTests.cs(25,25): warning CA2234: Modify 'AvatarTests.Patient_can_fetch_own_avatar_after_setting_it()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(26,30): warning CA2234: Modify 'DocumentAndAdminTests.Patient_downloads_own_document_by_name()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(44,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AuthTests.Admin_and_doctor_can_log_in() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(23,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.RecordAndAppointmentTests.Doctor_can_read_records_of_own_patient() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(41,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PageTests.Staff_can_read_notes_for_a_patient() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(29,9): warning CA1307: 'Xunit.Assert.Contains(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'PatientPortal.Tests.DocumentAndAdminTests.Patient_downloads_own_document_by_name()' with a call to 'Xunit.Assert.Contains(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(26,30): warning CA2234: Modify 'RecordAndAppointmentTests.Doctor_can_read_records_of_own_patient()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\TestClient.cs(30,22): warning CA1062: In externally visible method 'Task<HttpClient> TestClient.AuthenticatedAsync(PortalFactory factory, string email)', validate parameter 'factory' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(45,26): warning CA2234: Modify 'PageTests.Staff_can_read_notes_for_a_patient()' to call 'HttpClient.GetStringAsync(Uri)' instead of 'HttpClient.GetStringAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(46,9): warning CA1307: 'Xunit.Assert.Contains(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'PatientPortal.Tests.PageTests.Staff_can_read_notes_for_a_patient()' with a call to 'Xunit.Assert.Contains(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(55,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AuthTests.Protected_route_without_token_is_unauthorized() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(35,26): warning CA2234: Modify 'PageTests.Staff_can_sign_in_and_see_the_notes_page()' to call 'HttpClient.GetStringAsync(Uri)' instead of 'HttpClient.GetStringAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(31,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.RecordAndAppointmentTests.Admin_can_read_any_records() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(58,30): warning CA2234: Modify 'AuthTests.Protected_route_without_token_is_unauthorized()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(27,9): warning CA1307: 'Xunit.Assert.Contains(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'PatientPortal.Tests.PageTests.Staff_notes_page_requires_sign_in()' with a call to 'Xunit.Assert.Contains(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(33,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.DocumentAndAdminTests.Download_of_unknown_name_is_not_found() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(63,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AuthTests.Issued_token_is_accepted_on_a_protected_route() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(36,9): warning CA1307: 'Xunit.Assert.Contains(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'PatientPortal.Tests.PageTests.Staff_can_sign_in_and_see_the_notes_page()' with a call to 'Xunit.Assert.Contains(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AvatarTests.cs(31,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AvatarTests.Avatar_without_one_set_is_not_found() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(39,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.RecordAndAppointmentTests.Doctors_are_listed_for_booking() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(37,9): warning CA1307: 'Xunit.Assert.Contains(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'PatientPortal.Tests.PageTests.Staff_can_sign_in_and_see_the_notes_page()' with a call to 'Xunit.Assert.Contains(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(36,30): warning CA2234: Modify 'DocumentAndAdminTests.Download_of_unknown_name_is_not_found()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AvatarTests.cs(35,25): warning CA2234: Modify 'AvatarTests.Avatar_without_one_set_is_not_found()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(66,30): warning CA2234: Modify 'AuthTests.Issued_token_is_accepted_on_a_protected_route()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(50,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PageTests.Staff_can_add_a_note() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(23,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PatientTests.Patient_can_update_own_name_and_phone() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\StaffSession.cs(11,31): warning CA2234: Modify 'StaffSession.SignInAsync(PortalFactory, string)' to call 'HttpClient.GetStringAsync(Uri)' instead of 'HttpClient.GetStringAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(71,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AuthTests.Reset_request_for_known_user_sends_mail_and_is_accepted() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(41,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.DocumentAndAdminTests.Staff_fetch_a_blank_form_by_kind() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\StaffSession.cs(21,30): warning CA2234: Modify 'StaffSession.SignInAsync(PortalFactory, string)' to call 'HttpClient.PostAsync(Uri, HttpContent)' instead of 'HttpClient.PostAsync(string, HttpContent)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(70,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PageTests.Wrong_staff_password_redirects_back_with_error() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(47,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.RecordAndAppointmentTests.Patient_sees_only_own_upcoming_appointments() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(35,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PatientTests.Profile_update_with_empty_name_is_rejected() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(55,26): warning CA2234: Modify 'PageTests.Staff_can_add_a_note()' to call 'HttpClient.GetStringAsync(Uri)' instead of 'HttpClient.GetStringAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AvatarTests.cs(40,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AvatarTests.Staff_can_view_a_patient_avatar() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(62,26): warning CA2234: Modify 'PageTests.Staff_can_add_a_note()' to call 'HttpClient.PostAsync(Uri, HttpContent)' instead of 'HttpClient.PostAsync(string, HttpContent)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(34,30): warning CA2234: Modify 'RecordAndAppointmentTests.Admin_can_read_any_records()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(65,26): warning CA2234: Modify 'PageTests.Staff_can_add_a_note()' to call 'HttpClient.GetStringAsync(Uri)' instead of 'HttpClient.GetStringAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(80,30): warning CA2234: Modify 'PageTests.Wrong_staff_password_redirects_back_with_error()' to call 'HttpClient.PostAsync(Uri, HttpContent)' instead of 'HttpClient.PostAsync(string, HttpContent)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(83,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AuthTests.Reset_request_for_unknown_user_is_accepted_without_mail() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AvatarTests.cs(47,25): warning CA2234: Modify 'AvatarTests.Staff_can_view_a_patient_avatar()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(55,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.RecordAndAppointmentTests.Patient_can_book_and_cancel_own_appointment() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(49,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.DocumentAndAdminTests.Admin_export_returns_patients_records_and_appointments() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(44,30): warning CA2234: Modify 'DocumentAndAdminTests.Staff_fetch_a_blank_form_by_kind()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(86,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PageTests.Patient_cannot_reach_the_staff_notes_page() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(61,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.DocumentAndAdminTests.Health_endpoint_is_anonymous() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(82,9): warning CA1307: 'Xunit.Assert.Contains(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'PatientPortal.Tests.PageTests.Wrong_staff_password_redirects_back_with_error()' with a call to 'Xunit.Assert.Contains(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(52,30): warning CA2234: Modify 'DocumentAndAdminTests.Admin_export_returns_patients_records_and_appointments()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(66,9): warning CA1307: 'Xunit.Assert.Contains(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'PatientPortal.Tests.PageTests.Staff_can_add_a_note()' with a call to 'Xunit.Assert.Contains(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(90,31): warning CA2234: Modify 'PageTests.Patient_cannot_reach_the_staff_notes_page()' to call 'HttpClient.GetStringAsync(Uri)' instead of 'HttpClient.GetStringAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(64,30): warning CA2234: Modify 'DocumentAndAdminTests.Health_endpoint_is_anonymous()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(66,28): warning CA2234: Modify 'RecordAndAppointmentTests.Patient_can_book_and_cancel_own_appointment()' to call 'HttpClient.DeleteAsync(Uri)' instead of 'HttpClient.DeleteAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(98,30): warning CA2234: Modify 'PageTests.Patient_cannot_reach_the_staff_notes_page()' to call 'HttpClient.PostAsync(Uri, HttpContent)' instead of 'HttpClient.PostAsync(string, HttpContent)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(43,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PatientTests.Staff_can_list_patients() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PageTests.cs(100,9): warning CA1307: 'Xunit.Assert.Contains(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'PatientPortal.Tests.PageTests.Patient_cannot_reach_the_staff_notes_page()' with a call to 'Xunit.Assert.Contains(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(70,100): warning CA1002: Change 'List<PatientTests.PatientSummaryDto>' in 'DocumentAndAdminTests.ExportDto.ExportDto(DateTimeOffset, List<PatientTests.PatientSummaryDto>, List<DocumentAndAdminTests.RecordRow>, List<DocumentAndAdminTests.ApptRow>)' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(70,126): warning CA1002: Change 'List<DocumentAndAdminTests.RecordRow>' in 'DocumentAndAdminTests.ExportDto.ExportDto(DateTimeOffset, List<PatientTests.PatientSummaryDto>, List<DocumentAndAdminTests.RecordRow>, List<DocumentAndAdminTests.ApptRow>)' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\DocumentAndAdminTests.cs(70,149): warning CA1002: Change 'List<DocumentAndAdminTests.ApptRow>' in 'DocumentAndAdminTests.ExportDto.ExportDto(DateTimeOffset, List<PatientTests.PatientSummaryDto>, List<DocumentAndAdminTests.RecordRow>, List<DocumentAndAdminTests.ApptRow>)' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(51,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PatientTests.Patient_cannot_list_patients() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(94,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AuthTests.Full_reset_flow_lets_the_user_log_in_with_the_new_password() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\AuthTests.cs(111,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.AuthTests.Reset_with_short_password_is_rejected() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\FormHelper.cs(24,14): warning CA1062: In externally visible method 'string? FormHelper.Cookie(HttpResponseMessage response, string name)', validate parameter 'response' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(71,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.RecordAndAppointmentTests.Receptionist_books_for_a_named_patient() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(59,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PatientTests.Staff_search_finds_by_name_fragment() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(54,30): warning CA2234: Modify 'PatientTests.Patient_cannot_list_patients()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PortalFactory.cs(35,9): warning CA1062: In externally visible method 'void PortalFactory.ConfigureWebHost(IWebHostBuilder builder)', validate parameter 'builder' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\RecordAndAppointmentTests.cs(84,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.RecordAndAppointmentTests.Booking_in_the_past_is_rejected() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\StaffSession.cs(11,31): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\StaffSession.cs(21,30): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(68,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PatientTests.Staff_search_with_no_match_returns_empty() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(76,23): warning CA1707: Remove the underscores from member name PatientPortal.Tests.PatientTests.Search_without_query_is_bad_request() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientTests.cs(79,30): warning CA2234: Modify 'PatientTests.Search_without_query_is_bad_request()' to call 'HttpClient.GetAsync(Uri)' instead of 'HttpClient.GetAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\StaffSession.cs(33,31): warning CA2234: Modify 'StaffSession.BeginAsync(PortalFactory)' to call 'HttpClient.GetStringAsync(Uri)' instead of 'HttpClient.GetStringAsync(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\StaffSession.cs(33,31): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\baseline\PatientPortal\tests\PatientPortal.Tests\PatientPortal.Tests.csproj]
    134 Warning(s)
    0 Error(s)

Time Elapsed 00:00:00.93
exit=0 ms=1237
