From fc3f42112db91ec8fb861fe9916889784fc3fadc Mon Sep 17 00:00:00 2001 From: Marek Safar Date: Mon, 16 Mar 2015 08:48:04 +0100 Subject: [PATCH] Mono friendly Attribute --- mcs/class/referencesource/mscorlib/system/attribute.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mcs/class/referencesource/mscorlib/system/attribute.cs b/mcs/class/referencesource/mscorlib/system/attribute.cs index f7a74323c8a..76293f5a8ab 100644 --- a/mcs/class/referencesource/mscorlib/system/attribute.cs +++ b/mcs/class/referencesource/mscorlib/system/attribute.cs @@ -20,10 +20,10 @@ namespace System { [ClassInterface(ClassInterfaceType.None)] [ComDefaultInterface(typeof(_Attribute))] [System.Runtime.InteropServices.ComVisible(true)] - public abstract class Attribute : _Attribute + public abstract partial class Attribute : _Attribute { #region Private Statics - +#if !MONO #region PropertyInfo private static Attribute[] InternalGetCustomAttributes(PropertyInfo element, Type type, bool inherit) { @@ -414,7 +414,7 @@ namespace System { return (Attribute[])Array.UnsafeCreateInstance(elementType, elementCount); } #endregion - +#endif #endregion #region Public Statics -- 2.11.4.GIT