"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / tests / gtest-exmethod-29.cs
blob8cdae8cbe62c2d49ff56f0f03ea36a4813826ef8
1 using System;
3 public class My
5 bool ContentTransferEncoding {
6 set { }
10 public static class Test
12 public static int Main ()
14 var test = new My ();
16 int result = test.ContentTransferEncoding ();
17 if (result != 1)
18 return 1;
20 result = test.ContentTransferEncoding<int> ();
21 if (result != 2)
22 return 2;
24 return 0;
27 public static int ContentTransferEncoding<T> (this My email)
29 return 2;
32 public static int ContentTransferEncoding (this My email)
34 return 1;