public class WarningForMalformedContract
{
public void WarningOnMethodCallWithResul()
{
// Detected expression statement evaluated for side-effect in contracts of method 'METHOD'
//warning CC1069: Detected expression statement evaluated for potential side-effect in contracts of method 'RequiresInconsistentVisibility.WarningForMalformedContract.WarningOnMethodCallWithResul'.
Enumerable.Range(1, 10);
Contract.Requires(false);
}
}