So I used to have Debug.Assert
all around my code but now I have created a DebugHelper.Assert
which in itself has some logging and a Debug.Assert
but now I'm getting 1 million of warnings that something can be null.
Can I tell ReSharper that doing DebugHelper.Assert
is the same as Debug.Assert
and thus get rid of the warnings?
EDIT: I would really like (also maybe have to) avoid adding another dependency to the project just for this.