public static void Main() { TypeWithIndexer a = new TypeWithIndexer(); var x = a[0]; a[0] = x; }
public void SemanticComparisonAgainstObjectWithIndexerWillNotThrow() { // Fixture setup var likenObject = new object(); var comparee = new TypeWithIndexer(); // The rest of the test SemanticComparerTest.CompareSemantically(likenObject, comparee, true); }
public static void Main () { TypeWithIndexer a = new TypeWithIndexer (); var x = a[0]; a[0] = x; }