Enable nullable on Hosting.Systemd (#90495)
authorEric Erhardt <eric.erhardt@microsoft.com>
Sun, 13 Aug 2023 21:01:25 +0000 (15:01 -0600)
committerGitHub <noreply@github.com>
Sun, 13 Aug 2023 21:01:25 +0000 (15:01 -0600)
commit09af161453ffc7ef8ac9b7175167602f1de32313
treeb75b0920880822f5d699b0ca8c8d534013b8bd79
parent9a9d110463bc48c9a4d6e944e8e43d0782e69887
Enable nullable on Hosting.Systemd (#90495)

- Passing null into the hosting lifetimes' loggerFactory parameters would result in a NRE

Contributes to #90400
src/libraries/Microsoft.Extensions.Hosting.Systemd/ref/Microsoft.Extensions.Hosting.Systemd.csproj
src/libraries/Microsoft.Extensions.Hosting.Systemd/src/Microsoft.Extensions.Hosting.Systemd.csproj
src/libraries/Microsoft.Extensions.Hosting.Systemd/src/SystemdLifetime.cs
src/libraries/Microsoft.Extensions.Hosting.WindowsServices/src/WindowsServiceLifetime.cs
src/libraries/Microsoft.Extensions.Hosting/src/Internal/ConsoleLifetime.cs