<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0626</ErrorName>
  <Examples>
    <string>// CS0626: `C.this[int]' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation
// Line: 7
// Compiler options: -warnaserror -warn:1

class C
{
	public extern char this[int index]
	{
		get;
	}
}</string>
    <string>// CS0626: `ExternClass.ExternMethod()' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation
// Line: 6
// Compiler options: -warnaserror -warn:1

class ExternClass {
        [System.Obsolete]
        public static extern void ExternMethod();
}
</string>
    <string>// CS0626: `ExternClass.ExternMethod()' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation
// Line: 6
// Compiler options: -warnaserror -warn:1

class ExternClass {
        public static extern void ExternMethod();
}</string>
    <string>// CS0626: `Test.OnFoo' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation
// Line: 9
// Compiler options: -warnaserror -warn:1


using System;

public delegate void Handler ();

class Test {
	extern event Handler OnFoo;
}

</string>
    <string>// CS0626: `ExternClass.ExternMethod' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation
// Line: 6
// Compiler options: -warnaserror -warn:1

class ExternClass {
        public static extern int ExternMethod { set; }
}
</string>
    <string>// CS0626: `A.~A()' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation
// Line: 7
// Compiler options: -warnaserror

public sealed class A
{
	extern ~A ();
}
</string>
    <string>// CS0626: `ExternClass.implicit operator ExternClass(byte)' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation
// Line: 6
// Compiler options: -warnaserror -warn:1

class ExternClass {
        static public extern implicit operator ExternClass(byte value);
}
</string>
  </Examples>
</ErrorDocumentation>