コード例 #1
0
 public void Indexers43_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(IndexersTestClass43.testMethod());
 }
コード例 #2
0
 public MFTestResults Indexers43_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 (IndexersTestClass43.testMethod())
     {
         return(MFTestResults.Pass);
     }
     return(MFTestResults.Fail);
 }