Ejemplo n.º 1
0
    public static void Main()
    {
        TypeWithIndexer a = new TypeWithIndexer();
        var             x = a[0];

        a[0] = x;
    }
Ejemplo n.º 2
0
        public void SemanticComparisonAgainstObjectWithIndexerWillNotThrow()
        {
            // Fixture setup
            var likenObject = new object();

            var comparee = new TypeWithIndexer();

            // The rest of the test
            SemanticComparerTest.CompareSemantically(likenObject, comparee, true);
        }
Ejemplo n.º 3
0
	public static void Main ()
	{
		TypeWithIndexer a = new TypeWithIndexer ();
		var x = a[0];
		a[0] = x;
	}