summaryrefslogtreecommitdiff
path: root/mcs/tests/gtest-exmethod-43.cs
blob: ea4de7c978b70c13c60b99edac0e61497a5939c4 (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
28
public class AdapterType
{
	protected virtual void DoSomething ()
	{
	}
}

public static class Extensions
{
	public static void DoSomething (this AdapterType obj)
	{
	}
}

public abstract class Dummy : AdapterType
{
	public virtual bool Refresh ()
	{
		AdapterType someObj = null;
		someObj.DoSomething ();
		return true;
	}

	public static void Main ()
	{

	}
}