public void FindTypesByAttributeTypeInAppDomain() { var types = typeof (ObsoleteAttribute).FindAttributedTypes(); Assert.IsTrue(types.Any()); }