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()); }
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); }
public static bool testMethod() { IndexersTestClass38_Base test = new IndexersTestClass38(); test[2] = 2; if (test[2] == 6) { return(true); } else { return(false); } }
public static bool testMethod() { IndexersTestClass38_Base test = new IndexersTestClass38(); test[2] = 2; if (test[2] == 6) { return true; } else { return false; } }