Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0656-3.cs
1 // CS0656: The compiler required member `System.Threading.Interlocked.CompareExchange(ref T, T, T)' could not be found or is inaccessible
2 // Line: 20
3 // Compiler options: -nostdlib CS0656-corlib.cs
4
5 namespace System {
6     public partial class Delegate {
7         public static Delegate Combine(Delegate a, Delegate b) { return null; }
8         public static void Remove(Delegate a, Delegate b) { return; }
9     }
10 }
11
12 namespace System.Threading {
13     class Interlocked {}
14 }
15
16 delegate void D();
17
18 class Test
19 {
20     event D ev;
21 }