In class/Microsoft.Build.Tasks:
[mcs.git] / tests / gtest-468.cs
bloba7e0506bb4d0f0935b27772947ecbdec88490c63
1 using System;
3 public class TS
5 public int? v {
6 get { return (int?) this; }
9 public static implicit operator int? (TS s)
11 return 5;
14 public static implicit operator TS (int? date)
16 return null;
19 public static int Main ()
21 var r = new TS ().v;
22 if (r != 5)
23 return 1;
25 return 0;