private static IntPtr smethod_4(IntPtr intptr_1, string string_4, Enum20[] enum20_0)
        {
            Class274 @class = new Class274();

            @class.string_0 = string_4;
            @class.enum20_0 = enum20_0;
            Dictionary <string, List <MonoClass.Class273> > dictionary;

            if (!MonoClass.dictionary_3.TryGetValue(intptr_1, out dictionary))
            {
                MonoClass.dictionary_3.Add(intptr_1, new Dictionary <string, List <MonoClass.Class273> >());
                dictionary = MonoClass.dictionary_3[intptr_1];
            }
            List <MonoClass.Class273> list;

            if (!dictionary.TryGetValue(@class.string_0, out list))
            {
                dictionary.Add(@class.string_0, new List <MonoClass.Class273>());
                list = dictionary[@class.string_0];
            }
            MonoClass.Class273 class2 = list.FirstOrDefault(new Func <MonoClass.Class273, bool>(@class.method_0));
            if (class2 == null)
            {
                IntPtr intPtr = MonoClass.Class276_0.method_33(intptr_1, @class.string_0, @class.enum20_0);
                if (intPtr != IntPtr.Zero)
                {
                    class2 = new MonoClass.Class273(@class.string_0, intPtr, @class.enum20_0);
                    list.Add(class2);
                }
            }
            if (class2 == null)
            {
                return(IntPtr.Zero);
            }
            return(class2.IntPtr_0);
        }
Exemple #2
0
 // Token: 0x06001A06 RID: 6662 RVA: 0x000127D9 File Offset: 0x000109D9
 internal bool method_0(MonoClass.Class273 class273_0)
 {
     return(class273_0.method_0(this.string_0, this.enum20_0));
 }