2006-08-31 Robert Jordan <robertj@gmx.net>
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / UnmanagedFunctionPointerAttribute.cs
index 1298c999b97c6a1eae4d7de302b7b086cd80f6d8..83f59dcd178a883d0e85a7594b3c29fc7132fd6b 100644 (file)
@@ -32,7 +32,7 @@ using System;
 
 namespace System.Runtime.InteropServices {
 
-       [AttributeUsage (AttributeTargets.Delegate)]
+       [AttributeUsage (AttributeTargets.Delegate, Inherited = false,AllowMultiple=false),ComVisible(true)]
        public sealed class UnmanagedFunctionPointerAttribute: Attribute {
                #region Sync with object-internals.h
                private CallingConvention call_conv;
@@ -48,8 +48,8 @@ namespace System.Runtime.InteropServices {
                        }
                }
                
-               public UnmanagedFunctionPointerAttribute (CallingConvention call_conv) {
-                       this.call_conv = call_conv;
+               public UnmanagedFunctionPointerAttribute (CallingConvention callingConvention) {
+                       this.call_conv = callingConvention;
                }
        }
 }