public void FindTypesByAttributeInAssemblies()
 {
     var assemblies = AppDomain.CurrentDomain.GetAssemblies();
     var types = new ObsoleteAttribute().FindAttributedTypes(assemblies);
     Assert.IsTrue(types.Any());
 }
 public void FindTypesByAttributeInAppDomain()
 {
     var types = new ObsoleteAttribute().FindAttributedTypes();
     Assert.IsTrue(types.Any());
 }