public void Indexers23_Test()
 {
     OutputHelper.WriteLine(" Section 10.8");
     OutputHelper.WriteLine(" The type of an indexer declaration and each ");
     OutputHelper.WriteLine(" of the types referenced in the formal-index");
     OutputHelper.WriteLine(" parameter list must be at least as accessible");
     OutputHelper.WriteLine(" as the indexer itself.");
     Assert.True(IndexersTestClass23.testMethod());
 }
Esempio n. 2
0
 public MFTestResults Indexers23_Test()
 {
     Log.Comment(" Section 10.8");
     Log.Comment(" The type of an indexer declaration and each ");
     Log.Comment(" of the types referenced in the formal-index");
     Log.Comment(" parameter list must be at least as accessible");
     Log.Comment(" as the indexer itself.");
     if (IndexersTestClass23.testMethod())
     {
         return(MFTestResults.Pass);
     }
     return(MFTestResults.Fail);
 }