I have a validation routine that insures an object is valid. However ReSharper is not aware (of course) of what my routine does. Therefore
SomeClass c = o as SomeClass; // "c" may be null for a variety of reasons.
PreCondition.IsNotNull(c); // My Validator - This will throw if c is null
c.SomeMethod(); // Resharper still reports possible null reference.
If there a simple means of informin resharper that "PreCondition.IsNotNull" will make sure the reference is NOT null, and therefore the warning should be suppressed...