What is the common way to handle CS8602 in a WPF RelayCommand?
If a nullable property gets used in the Execute
part of a RelayCommand, and that property is already checked against null in the CanExecute
method, what is the proper way to handle the CS8602: Possible dereference of null
warning for the property?
What is the standard way to handle CS8602 in a WPF RelayCommand?
If a nullable property gets used in the Execute
part of a RelayCommand, and that property is already checked against null in the CanExecute
method, what is the proper way to handle the CS8602: Possible dereference of null
warning for the property?