ambiguous Resharper missing suggestion
Hi,
I got the following suggestion from ReSharper:
My question is why ReSharper is not suggesting the same for the two previous similar usage? at least for the first one since it is completely identical?
Thank you!
Please sign in to leave a comment.
Presumably because the LoadComplete event is defined on the base Page class, not your DataObjectDialog class.
Incidentally, since you have "var page = Page as DataObjectDialog;" higher up, it would be more efficient to replace the repeated "Page is DataObjectDialog" calls with "page != null".