Auto Property conversion not happening


I dont get option to convert to auto property when there is null check in setter method.

1 comment
Comment actions Permalink

Auto-properties don't have null checks. Changing your property to an auto-property would change the meaning of the code.


Please sign in to leave a comment.