[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git] / mcs / errors / cs0626.cs
blobe344888d91ba345598562fc53e9eabfa77a3ba82
1 // CS0626: `ExternClass.ExternMethod()' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation
2 // Line: 6
3 // Compiler options: -warnaserror -warn:1
5 class ExternClass {
6 public static extern void ExternMethod();