2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0552.cs
blobdb5bf790b7a8a75bcf0871420e75dc7d7486d8bc
1 // cs0552.cs: User-defined conversion `NoIDispose.implicit operator System.IDisposable(NoIDispose)' cannot convert to or from an interface type
2 // Line: 12
3 //
4 using System;
5 using System.IO;
7 //
8 //
9 // Implicit conversion to an interface is not permitted
11 class NoIDispose {
12 public static implicit operator IDisposable (NoIDispose a)
14 return a.x;