You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to add integration tests for methods that use [DoesNotReturn]
For a [DoesNotReturn] method that returns a value and has a virtual base implementation, I should discard the base result. Right now it does this: return base.IntMethod();. It should do this: _ = base.IntMethod();. I should also add throw new global::Rocks.Exceptions.DoesNotReturnException(); after a base method is called, whether it returns a value or not., in case the base method doesn't throw, because the method invocation should throw.
[DoesNotReturn][DoesNotReturn]method that returns a value and has a virtual base implementation, I should discard the base result. Right now it does this:return base.IntMethod();. It should do this:_ = base.IntMethod();. I should also addthrow new global::Rocks.Exceptions.DoesNotReturnException();after a base method is called, whether it returns a value or not., in case the base method doesn't throw, because the method invocation should throw.