<PackageReference Include="ReactiveUI.Primitives" Version="8.2.0" />

System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute

Specifies that the listed members are not null when the method returns the given value.
public string[] Members { get; }

Gets the field and property member names that are promised to be not-null.

public bool ReturnValue { get; }

Gets the return value condition for which the members are not null.

public MemberNotNullWhenAttribute(bool returnValue, string[] members)

Initializes a new instance of the MemberNotNullWhenAttribute class.