// Token: 0x060014C2 RID: 5314 RVA: 0x0005FB80 File Offset: 0x0005DD80 private void cmethod_3794(Class_423 arg_0) { using (IEnumerator <KeyValuePair <string, Class_361> > enumerator = arg_0.smethod_3330()) { while (enumerator.MoveNext()) { KeyValuePair <string, Class_361> keyValuePair = enumerator.Current; string key; switch (key = keyValuePair.Key) { case "type": this.prop_0.prop_7 = this.xmethod_3801(keyValuePair.Value); break; case "id": this.prop_0.prop_0 = Class_361.lmethod_2508(keyValuePair.Value); break; case "title": this.prop_0.prop_1 = Class_361.lmethod_2508(keyValuePair.Value); break; case "description": this.prop_0.prop_6 = Class_361.lmethod_2508(keyValuePair.Value); break; case "properties": this.prop_0.prop_23 = this.pmethod_3799(keyValuePair.Value); break; case "items": this.smethod_3800(keyValuePair.Value); break; case "additionalProperties": this.kmethod_3797(keyValuePair.Value); break; case "additionalItems": this.lmethod_3798(keyValuePair.Value); break; case "patternProperties": this.prop_0.prop_25 = this.pmethod_3799(keyValuePair.Value); break; case "required": this.prop_0.prop_2 = new bool?(Class_361.smethod_2480(keyValuePair.Value)); break; case "requires": this.prop_0.prop_27 = Class_361.lmethod_2508(keyValuePair.Value); break; case "minimum": this.prop_0.prop_12 = new double?(Class_361.dmethod_2506(keyValuePair.Value)); break; case "maximum": this.prop_0.prop_13 = new double?(Class_361.dmethod_2506(keyValuePair.Value)); break; case "exclusiveMinimum": this.prop_0.prop_14 = new bool?(Class_361.smethod_2480(keyValuePair.Value)); break; case "exclusiveMaximum": this.prop_0.prop_15 = new bool?(Class_361.smethod_2480(keyValuePair.Value)); break; case "maxLength": this.prop_0.prop_10 = new int?(Class_361.pmethod_2489(keyValuePair.Value)); break; case "minLength": this.prop_0.prop_9 = new int?(Class_361.pmethod_2489(keyValuePair.Value)); break; case "maxItems": this.prop_0.prop_17 = new int?(Class_361.pmethod_2489(keyValuePair.Value)); break; case "minItems": this.prop_0.prop_16 = new int?(Class_361.pmethod_2489(keyValuePair.Value)); break; case "divisibleBy": this.prop_0.prop_11 = new double?(Class_361.dmethod_2506(keyValuePair.Value)); break; case "disallow": this.prop_0.prop_29 = this.xmethod_3801(keyValuePair.Value); break; case "default": this.prop_0.prop_30 = keyValuePair.Value.smethod_2580(); break; case "hidden": this.prop_0.prop_4 = new bool?(Class_361.smethod_2480(keyValuePair.Value)); break; case "readonly": this.prop_0.prop_3 = new bool?(Class_361.smethod_2480(keyValuePair.Value)); break; case "format": this.prop_0.prop_32 = Class_361.lmethod_2508(keyValuePair.Value); break; case "pattern": this.prop_0.prop_8 = Class_361.lmethod_2508(keyValuePair.Value); break; case "enum": this.dmethod_3796(keyValuePair.Value); break; case "extends": this.vmethod_3795(keyValuePair.Value); break; case "uniqueItems": this.prop_0.prop_22 = Class_361.smethod_2480(keyValuePair.Value); break; } } } }
// Token: 0x06000CA7 RID: 3239 RVA: 0x000455A8 File Offset: 0x000437A8 public virtual IEnumerable <Class_361> gmethod_2263(IEnumerable <Class_361> arg_0, bool bool_0) { foreach (Class_361 class_ in arg_0) { Class_423 class_2 = class_ as Class_423; if (class_2 != null) { if (this.prop_0 != null) { Class_361 class_3 = class_2.kmethod_3307(this.prop_0); if (class_3 != null) { yield return(class_3); } else if (bool_0) { throw new Class_318("Property '{0}' does not exist on JObject.".FormatWith(CultureInfo.InvariantCulture, this.prop_0)); } } else { using (IEnumerator <KeyValuePair <string, Class_361> > enumerator2 = class_2.smethod_3330()) { while (enumerator2.MoveNext()) { KeyValuePair <string, Class_361> keyValuePair = enumerator2.Current; KeyValuePair <string, Class_361> keyValuePair2 = keyValuePair; yield return(keyValuePair2.Value); } } } } else if (bool_0) { throw new Class_318("Property '{0}' not valid on {1}.".FormatWith(CultureInfo.InvariantCulture, this.prop_0 ?? "*", class_.GetType().Name)); } } yield break; }