Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-debug-22.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fb45dccfdc2be3623e52c804d7405a4145cb2037 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using System;
using System.Collections.Generic;

class A
{
	public virtual int Foo ()
	{
		return 4;
	}
}

class C : A
{
	public IEnumerable<int> GetIter ()
	{
		yield return base.Foo ();
	}

	public override int Foo ()
	{
		throw new ApplicationException ();
	}

	public static void Main ()
	{
	}
}