Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0619-53.cs
blob1cfd2de040f6789cbd81e508f48f6e83d1bb760c
1 // CS0619: `C.explicit operator byte(C)' is obsolete: `gg'
2 // Line: 17
4 using System;
6 class C
8 [Obsolete ("gg", true)]
9 public static explicit operator byte (C x)
11 return 1;
14 static void Main ()
16 C x = null;
17 var y = (int) x;