https://learn.microsoft.com/cs-cz/dotnet/api/system.diagnostics.codeanalysis.notnullwhenattribute.returnvalue?view=netstandard-2.1&viewFallbackFrom=net-10.0
NotNullWhenAttribute.ReturnValue Property (System.Diagnostics.CodeAnalysis) | Microsoft Learn
Gets the return value condition.
property systemdiagnosticsmicrosoftlearn
https://learn.microsoft.com/cs-cz/dotnet/api/system.diagnostics.codeanalysis.notnullwhenattribute?view=netstandard-2.1&viewFallbackFrom=net-10.0
NotNullWhenAttribute Class (System.Diagnostics.CodeAnalysis) | Microsoft Learn
Specifies that when a method returns ReturnValue, the parameter will not be null even if the corresponding type allows it.
class systemdiagnosticsmicrosoftlearn