Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0626-5.cs
1 // CS0626: `Test.OnFoo' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation
2 // Line: 9
3 // Compiler options: -warnaserror -warn:1
4
5
6 using System;
7
8 public delegate void Handler ();
9
10 class Test {
11         extern event Handler OnFoo;
12 }
13