Skip to content

Is possible to declare any attribute to inform that a (bool)property handles the null check for other given property? #89352

Answered by huoyaoyuan
sn4k3 asked this question in General
Discussion options

You must be logged in to vote

You can use [MemberNotNullWhen] on the IsFileLoaded property.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@sn4k3
Comment options

Answer selected by sn4k3
Comment options

You must be logged in to vote
1 reply
@sn4k3
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants