Ejemplo n.º 1
0
    // Token: 0x060009FE RID: 2558 RVA: 0x000387D4 File Offset: 0x000369D4
    private static OshAAEdiySOMFe7YuI8 smethod_12 <OshAAEdiySOMFe7YuI8>(Type type_0) where OshAAEdiySOMFe7YuI8 : Attribute
    {
        Type type = Class124.smethod_10(type_0);
        OshAAEdiySOMFe7YuI8 oshAAEdiySOMFe7YuI;

        if (type != null)
        {
            oshAAEdiySOMFe7YuI = Class90.smethod_32 <OshAAEdiySOMFe7YuI8>(type, true);
            if (oshAAEdiySOMFe7YuI != null)
            {
                return(oshAAEdiySOMFe7YuI);
            }
        }
        oshAAEdiySOMFe7YuI = Class90.smethod_32 <OshAAEdiySOMFe7YuI8>(type_0, true);
        if (oshAAEdiySOMFe7YuI != null)
        {
            return(oshAAEdiySOMFe7YuI);
        }
        Type[] interfaces = type_0.GetInterfaces();
        for (int i = 0; i < interfaces.Length; i++)
        {
            oshAAEdiySOMFe7YuI = Class90.smethod_32 <OshAAEdiySOMFe7YuI8>(interfaces[i], true);
            if (oshAAEdiySOMFe7YuI != null)
            {
                return(oshAAEdiySOMFe7YuI);
            }
        }
        return(default(OshAAEdiySOMFe7YuI8));
    }
Ejemplo n.º 2
0
    // Token: 0x060009FF RID: 2559 RVA: 0x0003884C File Offset: 0x00036A4C
    private static D9OIlddtdXBXEWa8CH9 smethod_13 <D9OIlddtdXBXEWa8CH9>(MemberInfo memberInfo_0) where D9OIlddtdXBXEWa8CH9 : Attribute
    {
        Type type = Class124.smethod_10(memberInfo_0.DeclaringType);
        D9OIlddtdXBXEWa8CH9 d9OIlddtdXBXEWa8CH;

        if (type != null)
        {
            MemberInfo memberInfo = Class90.smethod_37(type, memberInfo_0);
            if (memberInfo != null)
            {
                d9OIlddtdXBXEWa8CH = Class90.smethod_32 <D9OIlddtdXBXEWa8CH9>(memberInfo, true);
                if (d9OIlddtdXBXEWa8CH != null)
                {
                    return(d9OIlddtdXBXEWa8CH);
                }
            }
        }
        d9OIlddtdXBXEWa8CH = Class90.smethod_32 <D9OIlddtdXBXEWa8CH9>(memberInfo_0, true);
        if (d9OIlddtdXBXEWa8CH != null)
        {
            return(d9OIlddtdXBXEWa8CH);
        }
        if (memberInfo_0.DeclaringType != null)
        {
            Type[] interfaces = memberInfo_0.DeclaringType.GetInterfaces();
            for (int i = 0; i < interfaces.Length; i++)
            {
                MemberInfo memberInfo2 = Class90.smethod_37(interfaces[i], memberInfo_0);
                if (memberInfo2 != null)
                {
                    d9OIlddtdXBXEWa8CH = Class90.smethod_32 <D9OIlddtdXBXEWa8CH9>(memberInfo2, true);
                    if (d9OIlddtdXBXEWa8CH != null)
                    {
                        return(d9OIlddtdXBXEWa8CH);
                    }
                }
            }
        }
        return(default(D9OIlddtdXBXEWa8CH9));
    }