public void Attrib_attrib047_4_Test()
 {
     OutputHelper.WriteLine(" Make sure that ObsoleteAttribute works with following targets");
     OutputHelper.WriteLine("[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct |");
     OutputHelper.WriteLine("	AttributeTargets.Enum | AttributeTargets.Constructor |");
     OutputHelper.WriteLine("	AttributeTargets.Method | AttributeTargets.Property |");
     OutputHelper.WriteLine("	AttributeTargets.Field | AttributeTargets.Event |");
     OutputHelper.WriteLine("	AttributeTargets.Interface | AttributeTargets.Delegate)]");
     Assert.True(Attrib_TestClass_attrib047_4.testMethod());
 }
 public MFTestResults Attrib_attrib047_4_Test()
 {
     Log.Comment(" Make sure that ObsoleteAttribute works with following targets");
     Log.Comment("[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct |");
     Log.Comment("	AttributeTargets.Enum | AttributeTargets.Constructor |");
     Log.Comment("	AttributeTargets.Method | AttributeTargets.Property |");
     Log.Comment("	AttributeTargets.Field | AttributeTargets.Event |");
     Log.Comment("	AttributeTargets.Interface | AttributeTargets.Delegate)]");
     if (Attrib_TestClass_attrib047_4.testMethod())
     {
         return(MFTestResults.Pass);
     }
     return(MFTestResults.Fail);
 }