示例#1
0
 // Token: 0x06000C09 RID: 3081 RVA: 0x000434BC File Offset: 0x000416BC
 private static void vmethod_2165(Class_285 arg_0, string str_0)
 {
     Class_306.dmethod_2166(arg_0);
     if (arg_0.prop_9 != Class_508.PropertyName || !string.Equals(arg_0.prop_10.ToString(), str_0, StringComparison.OrdinalIgnoreCase))
     {
         throw new Class_417("Expected JSON property '{0}'.".FormatWith(CultureInfo.InvariantCulture, str_0));
     }
 }
示例#2
0
        // Token: 0x06000C0B RID: 3083 RVA: 0x00043520 File Offset: 0x00041720
        public virtual object kmethod_2167(Class_285 arg_0, Type arg_1, object obje_0, Class_418 arg_2)
        {
            Class_306.lmethod_2168(arg_1);
            object obj = Class_306.field_4.prop_0(new object[0]);

            Class_306.vmethod_2165(arg_0, "Key");
            Class_306.dmethod_2166(arg_0);
            Class_306.field_4.gmethod_4063(obj, "Key", arg_0.prop_10.ToString());
            Class_306.vmethod_2165(arg_0, "Type");
            Class_306.dmethod_2166(arg_0);
            string typeName = arg_0.prop_10.ToString();
            Type   type     = Type.GetType(typeName);

            Class_306.vmethod_2165(arg_0, "Value");
            Class_306.dmethod_2166(arg_0);
            Class_306.field_4.gmethod_4063(obj, "Value", arg_2.smethod_3170(arg_0, type));
            Class_306.dmethod_2166(arg_0);
            return(obj);
        }