avoid using a custom sources file for the net_2_1_raw profile
[mcs.git] / errors / cs0626-5.cs
blob2a7e45bdc98370ea3e153a9232a5dbb016c696d4
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
6 using System;
8 public delegate void Handler ();
10 class Test {
11 extern event Handler OnFoo;