C:\Nuget\sixlabors.imagesharp\3.2.0\build\SixLabors.ImageSharp.targets(35,5): warning : No Six Labors license found. This Debug build can continue, but Release builds require a valid license. [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
C:\Nuget\sixlabors.imagesharp\3.2.0\build\SixLabors.ImageSharp.targets(35,5): warning : Set SixLaborsLicenseKey, set SixLaborsLicenseFile, or add 'sixlabors.lic' to your project. [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
C:\Nuget\sixlabors.imagesharp\3.2.0\build\SixLabors.ImageSharp.targets(35,5): warning : If you use an assembly-scoped community key, ensure it covers this project's exact AssemblyName. [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
C:\Nuget\sixlabors.imagesharp\3.2.0\build\SixLabors.ImageSharp.targets(35,5): warning : Please obtain a license from https://sixlabors.com/pricing/ [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\DatabaseSetup.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthSetup.cs(9,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Program.cs(78,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\ClaimsExtensions.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Domain\Appointment.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Admin\AdminEndpoints.cs(9,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Domain\AvatarImage.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Domain\AvatarImage.cs(9,19): warning CA1819: Properties should not return arrays (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Domain\AvatarImage.cs(11,19): warning CA1056: Change the type of property 'AvatarImage.SourceUrl' from 'string' to 'System.Uri' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1056) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\LocalUrl.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Domain\FormKind.cs(3,13): 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Domain\PasswordReset.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AccessRules.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Domain\PatientDocument.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Infrastructure\IMailSender.cs(3,18): 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\LoginThrottle.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Domain\Roles.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Appointments\AppointmentEndpoints.cs(9,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Domain\StaffNote.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\Migrations\20261114012541_InitialSchema.cs(9,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(7,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(11,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\PasswordHashing.cs(5,18): 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Domain\VisitRecord.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Appointments\AppointmentEndpoints.cs(13,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\PasswordHashing.cs(12,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(11,26): warning CA1034: Do not nest type LoginRequest. 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(7,13): 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Appointments\AppointmentEndpoints.cs(11,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(13,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(13,26): warning CA1034: Do not nest type LoginResponse. 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\PortalDbContext.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Domain\User.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Appointments\AppointmentEndpoints.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(15,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(14,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Infrastructure\SmtpMailSender.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(16,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(17,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(15,26): warning CA1034: Do not nest type ResetCodeRequest. 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(17,26): warning CA1034: Do not nest type ResetPasswordRequest. 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\StaffSignInEndpoints.cs(9,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Notes\NoteEndpoints.cs(9,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarEndpoints.cs(8,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientEndpoints.cs(9,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarEndpoints.cs(8,44): warning CA1056: Change the type of property 'AvatarRequest.Url' from 'string' to 'System.Uri' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1056) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Notes\NoteEndpoints.cs(11,25): 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Notes\NoteEndpoints.cs(11,25): warning CA1034: Do not nest type AddNoteForm. 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarEndpoints.cs(10,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\StaffSignInEndpoints.cs(13,25): 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\ResetTokens.cs(9,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\StaffSignInEndpoints.cs(13,25): warning CA1034: Do not nest type StaffSignInForm. 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\TokenService.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientModels.cs(11,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Records\RecordEndpoints.cs(8,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Documents\DocumentEndpoints.cs(9,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\StaffSignInEndpoints.cs(19,24): warning CA1056: Change the type of property 'StaffSignInEndpoints.StaffSignInForm.ReturnUrl' from 'string' to 'System.Uri' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1056) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientModels.cs(13,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientModels.cs(15,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Documents\DocumentEndpoints.cs(11,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Records\RecordEndpoints.cs(10,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\OutboundAddressPolicy.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientModels.cs(5,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\SeedData.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Documents\DocumentStore.cs(7,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarFetcher.cs(7,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientSearch.cs(7,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\OutboundAddressPolicy.cs(8,41): warning CA1054: Change the type of parameter 'url' of method 'OutboundAddressPolicy.TryParse(string, out Uri)' from 'string' to 'System.Uri', or provide an overload to 'OutboundAddressPolicy.TryParse(string, out Uri)' that allows 'url' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarEndpoints.cs(8,44): warning CA1054: Change the type of parameter 'Url' of method 'AvatarRequest.AvatarRequest(string)' from 'string' to 'System.Uri', or provide an overload to 'AvatarRequest.AvatarRequest(string)' that allows 'Url' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Documents\DocumentStore.cs(17,74): warning CA1308: In method 'FormPath', replace the call to 'ToLowerInvariant' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Documents\DocumentStore.cs(22,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Infrastructure\IMailSender.cs(5,27): warning CA1716: In virtual/interface member IMailSender.SendAsync(string, string, string, CancellationToken), rename parameter to so that it no longer conflicts with the reserved language keyword 'To'. Using a reserved keyword as the name of a parameter on a virtual/interface member makes it harder for consumers in other languages to override/implement the member. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Documents\DocumentStore.cs(29,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\DatabaseSetup.cs(22,33): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\DatabaseSetup.cs(24,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\DatabaseSetup.cs(28,19): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Infrastructure\SmtpMailSender.cs(18,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AccessRules.cs(20,30): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(18,59): warning CA1308: In method 'NormalizeEmail', replace the call to 'ToLowerInvariant' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarFetcher.cs(13,51): warning CA1054: Change the type of parameter 'url' of method 'AvatarFetcher.FetchAsync(string, CancellationToken)' from 'string' to 'System.Uri', or provide an overload to 'AvatarFetcher.FetchAsync(string, CancellationToken)' that allows 'url' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\TokenService.cs(26,34): warning CA1062: In externally visible method '(string Token, DateTimeOffset ExpiresAt) TokenService.Issue(User user)', validate parameter 'user' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Documents\DocumentStore.cs(34,34): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Documents\DocumentStore.cs(35,26): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarFetcher.cs(42,13): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (array creation) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarFetcher.cs(42,13): warning CA1848: For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Appointments\AppointmentEndpoints.cs(29,26): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\StaffSignInEndpoints.cs(30,29): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\StaffSignInEndpoints.cs(51,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientModels.cs(8,13): warning CA1062: In externally visible method 'ProfileResponse ProfileResponse.From(User user)', validate parameter 'user' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarEndpoints.cs(35,25): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarEndpoints.cs(42,28): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarEndpoints.cs(53,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Notes\NoteEndpoints.cs(32,35): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Notes\NoteEndpoints.cs(42,23): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\LocalUrl.cs(5,40): warning CA1054: Change the type of parameter 'url' of method 'LocalUrl.IsLocal(string)' from 'string' to 'System.Uri', or provide an overload to 'LocalUrl.IsLocal(string)' that allows 'url' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(39,13): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (array creation) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(45,9): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (array creation) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(27,13): warning CA1848: For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogWarning(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(39,13): warning CA1848: For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(45,9): warning CA1848: For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\LocalUrl.cs(20,44): warning CA1054: Change the type of parameter 'url' of method 'LocalUrl.OrDefault(string, string)' from 'string' to 'System.Uri', or provide an overload to 'LocalUrl.OrDefault(string, string)' that allows 'url' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarFetcher.cs(65,13): warning CA1849: 'MemoryStream.Write(byte[], int, int)' synchronously blocks. Await 'Stream.WriteAsync(byte[], int, int)' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\OutboundAddressPolicy.cs(59,31): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\OutboundAddressPolicy.cs(68,19): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarFetcher.cs(54,34): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarFetcher.cs(54,40): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarFetcher.cs(58,30): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Admin\AdminEndpoints.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Admin\AdminEndpoints.cs(28,29): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Admin\AdminEndpoints.cs(33,34): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\OutboundAddressPolicy.cs(59,57): warning CA1062: In externally visible method 'ValueTask<Stream> OutboundAddressPolicy.ConnectAsync(SocketsHttpConnectionContext context, CancellationToken cancellationToken)', validate parameter 'context' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\OutboundAddressPolicy.cs(34,13): warning CA1062: In externally visible method 'bool OutboundAddressPolicy.IsPublic(IPAddress address)', validate parameter 'address' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(42,9): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (array creation) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\LoginThrottle.cs(12,9): warning CA1062: In externally visible method 'bool LoginThrottle.IsLockedOut(User user)', validate parameter 'user' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarFetcher.cs(22,40): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarFetcher.cs(28,31): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarFetcher.cs(37,19): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(42,9): warning CA1848: For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Documents\DocumentEndpoints.cs(37,26): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Documents\DocumentEndpoints.cs(45,111): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\OutboundAddressPolicy.cs(65,22): warning CA2000: Call System.IDisposable.Dispose on object created by 'new Socket(addresses[0].AddressFamily, SocketType.Stream, ProtocolType.Tcp) { NoDelay = true }' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\ResetTokens.cs(22,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\LoginThrottle.cs(23,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\LoginThrottle.cs(35,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientSearch.cs(16,19): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientSearch.cs(19,35): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientSearch.cs(27,34): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientSearch.cs(27,40): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientSearch.cs(28,22): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\LoginThrottle.cs(28,13): warning CA1062: In externally visible method 'Task LoginThrottle.RecordSuccessAsync(User user)', validate parameter 'user' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\LoginThrottle.cs(16,9): warning CA1062: In externally visible method 'Task LoginThrottle.RecordFailureAsync(User user)', validate parameter 'user' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\ResetTokens.cs(18,22): warning CA1062: In externally visible method 'Task<string> ResetTokens.CreateAsync(User user)', validate parameter 'user' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(30,29): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarEndpoints.cs(64,28): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\Migrations\20261114012541_InitialSchema.cs(169,13): warning CA1062: In externally visible method 'void InitialSchema.Down(MigrationBuilder migrationBuilder)', validate parameter 'migrationBuilder' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Documents\DocumentEndpoints.cs(55,30): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\ResetTokens.cs(30,27): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(49,26): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(52,31): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(53,19): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientEndpoints.cs(26,24): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(23,26): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(35,23): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(43,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\SeedData.cs(24,19): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\SeedData.cs(92,19): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\SeedData.cs(97,19): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\SeedData.cs(100,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Appointments\AppointmentEndpoints.cs(47,26): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthSetup.cs(77,19): warning CA1062: In externally visible method 'SymmetricSecurityKey AuthSetup.SigningKey(IConfiguration config)', validate parameter 'config' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Records\RecordEndpoints.cs(20,20): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Records\RecordEndpoints.cs(25,29): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Program.cs(76,1): warning CA1849: 'WebApplication.Run(string?)' synchronously blocks. Await 'WebApplication.RunAsync(string?)' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Appointments\AppointmentEndpoints.cs(108,33): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Appointments\AppointmentEndpoints.cs(115,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(67,26): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(68,75): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(76,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientEndpoints.cs(69,33): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientEndpoints.cs(32,24): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientEndpoints.cs(47,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientEndpoints.cs(53,30): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\PortalDbContext.cs(24,9): warning CA1062: In externally visible method 'void PortalDbContext.OnModelCreating(ModelBuilder modelBuilder)', validate parameter 'modelBuilder' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\Migrations\20261114012541_InitialSchema.cs(136,26): warning CA1861: Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\Migrations\20261114012541_InitialSchema.cs(141,26): warning CA1861: Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Program.cs(46,7): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Appointments\AppointmentEndpoints.cs(78,28): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Appointments\AppointmentEndpoints.cs(79,35): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Appointments\AppointmentEndpoints.cs(93,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\DatabaseSetup.cs(22,33): warning CA1062: In externally visible method 'Task DatabaseSetup.InitializeDatabaseAsync(WebApplication app)', validate parameter 'app' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\Migrations\20261114012541_InitialSchema.cs(14,13): warning CA1062: In externally visible method 'void InitialSchema.Up(MigrationBuilder migrationBuilder)', validate parameter 'migrationBuilder' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
  PatientPortal.Api -> <scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\bin\Debug\net10.0\PatientPortal.Api.dll

Build succeeded.

C:\Nuget\sixlabors.imagesharp\3.2.0\build\SixLabors.ImageSharp.targets(35,5): warning : No Six Labors license found. This Debug build can continue, but Release builds require a valid license. [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
C:\Nuget\sixlabors.imagesharp\3.2.0\build\SixLabors.ImageSharp.targets(35,5): warning : Set SixLaborsLicenseKey, set SixLaborsLicenseFile, or add 'sixlabors.lic' to your project. [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
C:\Nuget\sixlabors.imagesharp\3.2.0\build\SixLabors.ImageSharp.targets(35,5): warning : If you use an assembly-scoped community key, ensure it covers this project's exact AssemblyName. [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
C:\Nuget\sixlabors.imagesharp\3.2.0\build\SixLabors.ImageSharp.targets(35,5): warning : Please obtain a license from https://sixlabors.com/pricing/ [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\DatabaseSetup.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthSetup.cs(9,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Program.cs(78,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\ClaimsExtensions.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Domain\Appointment.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Admin\AdminEndpoints.cs(9,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Domain\AvatarImage.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Domain\AvatarImage.cs(9,19): warning CA1819: Properties should not return arrays (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Domain\AvatarImage.cs(11,19): warning CA1056: Change the type of property 'AvatarImage.SourceUrl' from 'string' to 'System.Uri' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1056) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\LocalUrl.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Domain\FormKind.cs(3,13): 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Domain\PasswordReset.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AccessRules.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Domain\PatientDocument.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Infrastructure\IMailSender.cs(3,18): 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\LoginThrottle.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Domain\Roles.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Appointments\AppointmentEndpoints.cs(9,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Domain\StaffNote.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\Migrations\20261114012541_InitialSchema.cs(9,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(7,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(11,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\PasswordHashing.cs(5,18): 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Domain\VisitRecord.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Appointments\AppointmentEndpoints.cs(13,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\PasswordHashing.cs(12,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(11,26): warning CA1034: Do not nest type LoginRequest. 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(7,13): 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Appointments\AppointmentEndpoints.cs(11,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(13,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(13,26): warning CA1034: Do not nest type LoginResponse. 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\PortalDbContext.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Domain\User.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Appointments\AppointmentEndpoints.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(15,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(14,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Infrastructure\SmtpMailSender.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(16,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(17,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(15,26): warning CA1034: Do not nest type ResetCodeRequest. 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(17,26): warning CA1034: Do not nest type ResetPasswordRequest. 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\StaffSignInEndpoints.cs(9,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Notes\NoteEndpoints.cs(9,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarEndpoints.cs(8,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientEndpoints.cs(9,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarEndpoints.cs(8,44): warning CA1056: Change the type of property 'AvatarRequest.Url' from 'string' to 'System.Uri' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1056) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Notes\NoteEndpoints.cs(11,25): 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Notes\NoteEndpoints.cs(11,25): warning CA1034: Do not nest type AddNoteForm. 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarEndpoints.cs(10,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\StaffSignInEndpoints.cs(13,25): 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\ResetTokens.cs(9,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\StaffSignInEndpoints.cs(13,25): warning CA1034: Do not nest type StaffSignInForm. 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\TokenService.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientModels.cs(11,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Records\RecordEndpoints.cs(8,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Documents\DocumentEndpoints.cs(9,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\StaffSignInEndpoints.cs(19,24): warning CA1056: Change the type of property 'StaffSignInEndpoints.StaffSignInForm.ReturnUrl' from 'string' to 'System.Uri' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1056) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientModels.cs(13,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientModels.cs(15,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Documents\DocumentEndpoints.cs(11,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Records\RecordEndpoints.cs(10,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\OutboundAddressPolicy.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientModels.cs(5,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\SeedData.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Documents\DocumentStore.cs(7,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarFetcher.cs(7,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientSearch.cs(7,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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\OutboundAddressPolicy.cs(8,41): warning CA1054: Change the type of parameter 'url' of method 'OutboundAddressPolicy.TryParse(string, out Uri)' from 'string' to 'System.Uri', or provide an overload to 'OutboundAddressPolicy.TryParse(string, out Uri)' that allows 'url' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarEndpoints.cs(8,44): warning CA1054: Change the type of parameter 'Url' of method 'AvatarRequest.AvatarRequest(string)' from 'string' to 'System.Uri', or provide an overload to 'AvatarRequest.AvatarRequest(string)' that allows 'Url' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Documents\DocumentStore.cs(17,74): warning CA1308: In method 'FormPath', replace the call to 'ToLowerInvariant' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Documents\DocumentStore.cs(22,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Infrastructure\IMailSender.cs(5,27): warning CA1716: In virtual/interface member IMailSender.SendAsync(string, string, string, CancellationToken), rename parameter to so that it no longer conflicts with the reserved language keyword 'To'. Using a reserved keyword as the name of a parameter on a virtual/interface member makes it harder for consumers in other languages to override/implement the member. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Documents\DocumentStore.cs(29,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\DatabaseSetup.cs(22,33): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\DatabaseSetup.cs(24,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\DatabaseSetup.cs(28,19): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Infrastructure\SmtpMailSender.cs(18,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AccessRules.cs(20,30): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(18,59): warning CA1308: In method 'NormalizeEmail', replace the call to 'ToLowerInvariant' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarFetcher.cs(13,51): warning CA1054: Change the type of parameter 'url' of method 'AvatarFetcher.FetchAsync(string, CancellationToken)' from 'string' to 'System.Uri', or provide an overload to 'AvatarFetcher.FetchAsync(string, CancellationToken)' that allows 'url' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\TokenService.cs(26,34): warning CA1062: In externally visible method '(string Token, DateTimeOffset ExpiresAt) TokenService.Issue(User user)', validate parameter 'user' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Documents\DocumentStore.cs(34,34): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Documents\DocumentStore.cs(35,26): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarFetcher.cs(42,13): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (array creation) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarFetcher.cs(42,13): warning CA1848: For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Appointments\AppointmentEndpoints.cs(29,26): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\StaffSignInEndpoints.cs(30,29): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\StaffSignInEndpoints.cs(51,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientModels.cs(8,13): warning CA1062: In externally visible method 'ProfileResponse ProfileResponse.From(User user)', validate parameter 'user' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarEndpoints.cs(35,25): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarEndpoints.cs(42,28): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarEndpoints.cs(53,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Notes\NoteEndpoints.cs(32,35): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Notes\NoteEndpoints.cs(42,23): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\LocalUrl.cs(5,40): warning CA1054: Change the type of parameter 'url' of method 'LocalUrl.IsLocal(string)' from 'string' to 'System.Uri', or provide an overload to 'LocalUrl.IsLocal(string)' that allows 'url' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(39,13): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (array creation) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(45,9): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (array creation) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(27,13): warning CA1848: For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogWarning(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(39,13): warning CA1848: For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(45,9): warning CA1848: For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\LocalUrl.cs(20,44): warning CA1054: Change the type of parameter 'url' of method 'LocalUrl.OrDefault(string, string)' from 'string' to 'System.Uri', or provide an overload to 'LocalUrl.OrDefault(string, string)' that allows 'url' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarFetcher.cs(65,13): warning CA1849: 'MemoryStream.Write(byte[], int, int)' synchronously blocks. Await 'Stream.WriteAsync(byte[], int, int)' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\OutboundAddressPolicy.cs(59,31): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\OutboundAddressPolicy.cs(68,19): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarFetcher.cs(54,34): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarFetcher.cs(54,40): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarFetcher.cs(58,30): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Admin\AdminEndpoints.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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Admin\AdminEndpoints.cs(28,29): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Admin\AdminEndpoints.cs(33,34): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\OutboundAddressPolicy.cs(59,57): warning CA1062: In externally visible method 'ValueTask<Stream> OutboundAddressPolicy.ConnectAsync(SocketsHttpConnectionContext context, CancellationToken cancellationToken)', validate parameter 'context' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\OutboundAddressPolicy.cs(34,13): warning CA1062: In externally visible method 'bool OutboundAddressPolicy.IsPublic(IPAddress address)', validate parameter 'address' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(42,9): warning CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled (array creation) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\LoginThrottle.cs(12,9): warning CA1062: In externally visible method 'bool LoginThrottle.IsLockedOut(User user)', validate parameter 'user' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarFetcher.cs(22,40): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarFetcher.cs(28,31): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarFetcher.cs(37,19): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(42,9): warning CA1848: For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Documents\DocumentEndpoints.cs(37,26): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Documents\DocumentEndpoints.cs(45,111): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\OutboundAddressPolicy.cs(65,22): warning CA2000: Call System.IDisposable.Dispose on object created by 'new Socket(addresses[0].AddressFamily, SocketType.Stream, ProtocolType.Tcp) { NoDelay = true }' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\ResetTokens.cs(22,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\LoginThrottle.cs(23,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\LoginThrottle.cs(35,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientSearch.cs(16,19): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientSearch.cs(19,35): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientSearch.cs(27,34): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientSearch.cs(27,40): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientSearch.cs(28,22): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\LoginThrottle.cs(28,13): warning CA1062: In externally visible method 'Task LoginThrottle.RecordSuccessAsync(User user)', validate parameter 'user' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\LoginThrottle.cs(16,9): warning CA1062: In externally visible method 'Task LoginThrottle.RecordFailureAsync(User user)', validate parameter 'user' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\ResetTokens.cs(18,22): warning CA1062: In externally visible method 'Task<string> ResetTokens.CreateAsync(User user)', validate parameter 'user' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(30,29): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Avatars\AvatarEndpoints.cs(64,28): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\Migrations\20261114012541_InitialSchema.cs(169,13): warning CA1062: In externally visible method 'void InitialSchema.Down(MigrationBuilder migrationBuilder)', validate parameter 'migrationBuilder' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Documents\DocumentEndpoints.cs(55,30): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\ResetTokens.cs(30,27): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(49,26): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(52,31): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(53,19): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientEndpoints.cs(26,24): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(23,26): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(35,23): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\SignInService.cs(43,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\SeedData.cs(24,19): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\SeedData.cs(92,19): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\SeedData.cs(97,19): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\SeedData.cs(100,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Appointments\AppointmentEndpoints.cs(47,26): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthSetup.cs(77,19): warning CA1062: In externally visible method 'SymmetricSecurityKey AuthSetup.SigningKey(IConfiguration config)', validate parameter 'config' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Records\RecordEndpoints.cs(20,20): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Records\RecordEndpoints.cs(25,29): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Program.cs(76,1): warning CA1849: 'WebApplication.Run(string?)' synchronously blocks. Await 'WebApplication.RunAsync(string?)' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Appointments\AppointmentEndpoints.cs(108,33): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Appointments\AppointmentEndpoints.cs(115,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(67,26): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(68,75): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Auth\AuthEndpoints.cs(76,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientEndpoints.cs(69,33): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientEndpoints.cs(32,24): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientEndpoints.cs(47,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Patients\PatientEndpoints.cs(53,30): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\PortalDbContext.cs(24,9): warning CA1062: In externally visible method 'void PortalDbContext.OnModelCreating(ModelBuilder modelBuilder)', validate parameter 'modelBuilder' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\Migrations\20261114012541_InitialSchema.cs(136,26): warning CA1861: Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\Migrations\20261114012541_InitialSchema.cs(141,26): warning CA1861: Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Program.cs(46,7): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Appointments\AppointmentEndpoints.cs(78,28): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Appointments\AppointmentEndpoints.cs(79,35): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Features\Appointments\AppointmentEndpoints.cs(93,15): warning CA2007: Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007) [<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\DatabaseSetup.cs(22,33): warning CA1062: In externally visible method 'Task DatabaseSetup.InitializeDatabaseAsync(WebApplication app)', validate parameter 'app' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
<scratch>\sec\scan\reference\PatientPortal\src\PatientPortal.Api\Data\Migrations\20261114012541_InitialSchema.cs(14,13): warning CA1062: In externally visible method 'void InitialSchema.Up(MigrationBuilder migrationBuilder)', validate parameter 'migrationBuilder' 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\reference\PatientPortal\src\PatientPortal.Api\PatientPortal.Api.csproj]
    172 Warning(s)
    0 Error(s)

Time Elapsed 00:00:00.87
exit=0 ms=1174
