summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0626-3.cs
blob: ceb1778aec0a41a8074c9165d648a00ea695c781 (plain)
1
2
3
4
5
6
7
// CS0626: `ExternClass.implicit operator ExternClass(byte)' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation
// Line: 6
// Compiler options: -warnaserror -warn:1

class ExternClass {
        static public extern implicit operator ExternClass(byte value);
}