Development

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • r45552 - trunk/mcs/class/corlib/System

    0 answers - 1844 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Author: calberto
    Date: 2005-06-06 20:12:21 -0400 (Mon, 06 Jun 2005)
    New Revision: 45552
    Modified:
    Log:
    2005-06-07 Carlos Alberto Cortez <calberto.cortez (AT) gmail (DOT) com>
    * MonoCustomAttrs.cs: Added icall, and
    also internal method GetCustomAttributesData, used by
    Modified:
    2005-06-07 00:10:06 UTC (rev 45551)
    2005-06-07 00:12:21 UTC (rev 45552)
    @@ -1,3 +1,9 @@
    +2005-06-07 Carlos Alberto Cortez <calberto.cortez (AT) gmail (DOT) com>
    +
    +* MonoCustomAttrs.cs: Added icall, and
    +also internal method GetCustomAttributesData, used by
    +
    +
    2005-06-06 Sebastien Pouliot <sebastien (AT) ximian (DOT) com>
    * Activator.cs: Added _Activator interface (and members) for 1.1 and
    Modified:
    2005-06-07 00:10:06 UTC (rev 45551)
    2005-06-07 00:12:21 UTC (rev 45552)
    @@ -36,6 +36,10 @@
    using System.Collections;
    using ;
    +#if NET_2_0
    +using System.Collections.Generic;
    +#endif
    +
    namespace System
    {
    internal class MonoCustomAttrs
    @@ -223,6 +227,20 @@
    return GetCustomAttributes (obj, null, inherit);
    }
    +#if NET_2_0
    +[MethodImplAttribute (MethodIInternalCall)]
    +static extern CustomAttributeData [] (ICustomAttributeProvider obj);
    +
    +internal static IList<CustomAttributeDataGetCustomAttributesData (ICustomAttributeProvider obj)
    +{
    +if (obj == null)
    +throw new ArgumentNullException ("obj");
    +
    +CustomAttributeData [] attrs = (obj);
    +return Array.AsR<CustomAttributeData(attrs);
    +}
    +#endif
    +
    internal static bool IsDefined (ICustomAttributeProvider obj, Type attributeType, bool inherit)
    {
    object [] res = GetCustomAttributesBase (obj);
    Mono-patches maillist - Mono-patches (AT) lists (DOT) ximian.com

Re: r45552 - trunk/mcs/class/corlib/System


max 4000 letters.
Your nickname that display:
In order to stop the spam: 9 + 8 =
QUESTION ON "Development"

EMSDN.COM