private DragDropEffects method_10(DragEventArgs dragEventArgs_0) { DragDropEffects result = DragDropEffects.None; Interface11 @interface = dragEventArgs_0.Data.GetData("IDragDropSource") as Interface11; if (@interface != null && this.string_0 == @interface.imethod_0()) { if (@interface == this) { if (this.bool_3 && !base.Sorted) { result = DragDropEffects.Move; } } else if (this.bool_4) { if (@interface.imethod_1() && ([email protected]_2() || dragEventArgs_0.KeyState == 9)) { result = DragDropEffects.Copy; } else if (@interface.imethod_2()) { result = DragDropEffects.Move; } } } return(result); }
private void method_7(JsonReader jsonReader_0, Interface11 interface11_0, XmlNamespaceManager xmlNamespaceManager_0, string string_8, Interface10 interface10_0) { switch (string_8) { case "#text": interface10_0.imethod_0(interface11_0.imethod_2(jsonReader_0.Object_0.ToString())); return; case "#cdata-section": interface10_0.imethod_0(interface11_0.imethod_3(jsonReader_0.Object_0.ToString())); return; case "#whitespace": interface10_0.imethod_0(interface11_0.imethod_4(jsonReader_0.Object_0.ToString())); return; case "#significant-whitespace": interface10_0.imethod_0(interface11_0.imethod_5(jsonReader_0.Object_0.ToString())); return; } if (!string.IsNullOrEmpty(string_8) && (string_8[0] == '?')) { this.method_13(jsonReader_0, interface11_0, interface10_0, string_8); } else if (jsonReader_0.JsonToken_0 == JsonToken.StartArray) { this.method_10(jsonReader_0, interface11_0, string_8, interface10_0, xmlNamespaceManager_0); } else { this.method_8(jsonReader_0, interface11_0, interface10_0, string_8, xmlNamespaceManager_0); } }
private void method_8(JsonReader jsonReader_0, Interface11 interface11_0, Interface10 interface10_0, string string_8, XmlNamespaceManager xmlNamespaceManager_0) { if (string.IsNullOrEmpty(string_8)) { throw new JsonSerializationException("XmlNodeConverter cannot convert JSON with an empty property name to XML."); } Dictionary <string, string> dictionary = this.method_12(jsonReader_0, xmlNamespaceManager_0); string str = Class193.smethod_4(string_8); if (string_8.StartsWith("@")) { string str2 = string_8.Substring(1); string str3 = jsonReader_0.Object_0.ToString(); string str4 = Class193.smethod_4(str2); Interface10 interface2 = !string.IsNullOrEmpty(str4) ? interface11_0.imethod_11(str2, xmlNamespaceManager_0.LookupNamespace(str4), str3) : interface11_0.imethod_10(str2, str3); ((Interface12)interface10_0).imethod_1(interface2); } else { Interface12 interface3 = this.method_14(string_8, interface11_0, str, xmlNamespaceManager_0); interface10_0.imethod_0(interface3); foreach (KeyValuePair <string, string> pair in dictionary) { string str5 = Class193.smethod_4(pair.Key); Interface10 interface4 = !string.IsNullOrEmpty(str5) ? interface11_0.imethod_11(pair.Key, xmlNamespaceManager_0.LookupNamespace(str5), pair.Value) : interface11_0.imethod_10(pair.Key, pair.Value); interface3.imethod_1(interface4); } if ((((jsonReader_0.JsonToken_0 != JsonToken.String) && (jsonReader_0.JsonToken_0 != JsonToken.Integer)) && ((jsonReader_0.JsonToken_0 != JsonToken.Float) && (jsonReader_0.JsonToken_0 != JsonToken.Boolean))) && (jsonReader_0.JsonToken_0 != JsonToken.Date)) { if ((jsonReader_0.JsonToken_0 != JsonToken.Null) && (jsonReader_0.JsonToken_0 != JsonToken.EndObject)) { xmlNamespaceManager_0.PushScope(); this.method_15(jsonReader_0, interface11_0, xmlNamespaceManager_0, interface3); xmlNamespaceManager_0.PopScope(); } } else { interface3.imethod_0(interface11_0.imethod_2(this.method_9(jsonReader_0))); } } }