mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
18 lines
358 B
C#
18 lines
358 B
C#
// cs0552.cs: 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;
|
|
}
|
|
}
|
|
|