False warning in that code:
return (Patient as IHrsHolder) ?? (Course as IHrsHolder) ?? Appointment;
I want to suppress warning, so I need error number. But there isn't any number in Error list or Output, only:
CodeContracts: warning: The Boolean condition this.Patient == null always evaluates to a constant value. If it (or its negation) appear in the source code, you may have some dead code or redundant check
How do I suppress that (without rewriting code)?