using System; namespace MonoBug { class MainClass { public static void Main () { GenericType g = new GenericType (true); if (g) Console.WriteLine ("true"); } } public class GenericType { private T value; public GenericType (T value) { this.value = value; } public static implicit operator T (GenericType o) { return o.value; } } }