CanBeNull/NotNull hotkey question
Hello!
I want to use feature of resharper that allows quick set of [NotNull]/[CanBeNull] attributes. Im trying it following way:
im entering "public object" then press shift+exclamation mark, but it just enters exclamation mark (as any text editor would do). Is it a bug, or am i stupid and using it wrong?
Please sign in to leave a comment.
AFAIK, those helpers only apply to parameters, not to properties/fields/methods.
Null checking improvements in ReSharper 2017.2
ReSharper 2017.2 comes with another feature that makes it easier to check parameters for null values.