static void Main(string[] args) { var derived = new Derived(); derived.ContainsMarked(DerivedAgain.StringB); // false derived.ContainsMarked(Base.StringOnBase); // true; }