public static void IsExcluded(System.Type type, bool method = true, bool property = true) { Assert.AreEqual(type.Method().IsExcluded(), method); Assert.AreEqual(type.Property().IsExcluded(), property); Assert.IsFalse(type.Field().IsExcluded()); }