We generally don't care when our functions are called with invalid arguments (validation should be performed on arguments input, not every use). However, we do use asserts to validate arguments in Debug builds. Unfortunately, this makes Code Analysis unhappy in the Release builds. Let's make an exception on this one, since the check is not expensive compared to the rest of the function. Signed-off-by: Simon Rozman <simon@rozman.si>