fixed member accessibility to match MS (corcompare).
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / DllImportAttribute.cs
index 80a7bc49f380a42ee38df866ae614fcb8fad098c..9d6466527eae830b52422a680dec640108a42a92 100755 (executable)
@@ -11,6 +11,8 @@ using System;
 
 
 namespace System.Runtime.InteropServices {
+
+       [AttributeUsage (AttributeTargets.Method)]
        public sealed class DllImportAttribute: Attribute {
                public CallingConvention CallingConvention;
                public CharSet CharSet;