linux-packaging-mono/mcs/tests/test-cls-01.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

38 lines
447 B
C#

// Compiler options: -warnaserror
using System;
[assembly: CLSCompliant (true)]
public class CLSClass
{
public byte XX {
get { return 5; }
}
public static void Main() {}
}
public class Big
{
[CLSCompliant (false)]
public static implicit operator Big (uint value)
{
return null;
}
}
[CLSCompliant (false)]
public partial class C1
{
}
public partial class C1
{
public void method (uint u)
{
}
}