When implementing (implicit) operators dereferencing the parameter we have two rules fighting against each other:
- S3900 requires to check the parameter to be dereferenced whether null or not. The operator must not be used while member is null. Therefore I want to throw ArgumentNullException.
- S3877 does not allow throwing exceptions in operators.
What is the correct solution?