[tuner] handle the case with multiple "preserve" attributes
[mono-project.git] / mcs / tests / gtest-exmethod-30.cs
blob19cc97cec22361bc575fab4ec4cb0f971bfbbb5c
1 using System.Linq;
2 using System.Collections;
3 using System.Collections.Generic;
5 class Test : IEnumerable<int>
7 public int First {
8 get {
9 return 1;
13 IEnumerator IEnumerable.GetEnumerator ()
15 return null;
18 public IEnumerator<int> GetEnumerator ()
20 return null;
24 class C
26 public void Test ()
28 var t = new Test ();
29 var v = t.First ();
32 public static void Main ()