summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0102-13.cs
blob: e0bdbcdc07947f9fa0c888f0be5c7fb95206df53 (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0102: The type `SampleClass' already contains a definition for `op_Implicit'
// Line: 10

public class SampleClass {
    
        static public implicit operator SampleClass (byte value) {
               return new SampleClass();
        }
        
        public bool op_Implicit;
}