blob: 073fed220867360c7ef587c67b7d62ac1010caea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// CS0552: User-defined conversion `NoIDispose.implicit operator System.IDisposable(NoIDispose)' cannot convert to or from an interface type
// Line: 12
//
using System;
using System.IO;
//
//
// Implicit conversion to an interface is not permitted
//
class NoIDispose {
public static implicit operator IDisposable (NoIDispose a)
{
return a.x;
}
}
|