<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="10.0.3" />

System.Diagnostics.CodeAnalysis.NotNullAttribute

sealed class NotNullAttribute : Attribute
Specifies that an output will not be null even if the corresponding type allows it. Specifies that an input argument was not null when the call returns.