public override bool CheckCompatibility(HintsCollection hints) { if ((from x in hints.OfType <LockHint>() select x).Any()) { return(false); } else { return(true); } }
public override bool CheckCompatibility(HintsCollection hints) { return(!(from x in hints.OfType <LockHint>() select x).Any()); }