public void Indexers38_Test()
 {
     OutputHelper.WriteLine(" Section 10.8");
     OutputHelper.WriteLine(" With these differences in mind, all rules");
     OutputHelper.WriteLine(" defined in 10.6.2 and 10.6.3 apply to indexer");
     OutputHelper.WriteLine(" accessors as well as property accessors.");
     Assert.True(IndexersTestClass38.testMethod());
 }
示例#2
0
 public MFTestResults Indexers38_Test()
 {
     Log.Comment(" Section 10.8");
     Log.Comment(" With these differences in mind, all rules");
     Log.Comment(" defined in 10.6.2 and 10.6.3 apply to indexer");
     Log.Comment(" accessors as well as property accessors.");
     if (IndexersTestClass38.testMethod())
     {
         return(MFTestResults.Pass);
     }
     return(MFTestResults.Fail);
 }