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;
}
}
- public UnmanagedFunctionPointerAttribute (CallingConvention call_conv) {
- this.call_conv = call_conv;
+ public UnmanagedFunctionPointerAttribute (CallingConvention callingConvention) {
+ this.call_conv = callingConvention;
}
}
}