|
4 | 4 | using System.Collections.Concurrent; |
5 | 5 | using System.Collections.Generic; |
6 | 6 | using System.Collections.Specialized; |
7 | | -using System.Diagnostics; |
8 | 7 | using System.Globalization; |
9 | 8 | using System.IO; |
10 | 9 | using System.Linq; |
@@ -166,13 +165,13 @@ public override WebResponse GetResponse(WebRequest webRequest) |
166 | 165 | return webRequest.GetResponse(); |
167 | 166 | } |
168 | 167 |
|
169 | | - public override bool IsDebugBuild(Assembly assembly) |
170 | | - { |
171 | | - return assembly.AllAttributes() |
172 | | - .OfType<DebuggableAttribute>() |
173 | | - .Select(attr => attr.IsJITTrackingEnabled) |
174 | | - .FirstOrDefault(); |
175 | | - } |
| 168 | + //public override bool IsDebugBuild(Assembly assembly) |
| 169 | + //{ |
| 170 | + // return assembly.AllAttributes() |
| 171 | + // .OfType<DebuggableAttribute>() |
| 172 | + // .Select(attr => attr.IsJITTrackingEnabled) |
| 173 | + // .FirstOrDefault(); |
| 174 | + //} |
176 | 175 |
|
177 | 176 | public override string MapAbsolutePath(string relativePath, string appendPartialPathModifier) |
178 | 177 | { |
@@ -469,13 +468,13 @@ public override ParseStringDelegate GetSpecializedCollectionParseMethod<TSeriali |
469 | 468 |
|
470 | 469 | public override ParseStringDelegate GetJsReaderParseMethod<TSerializer>(Type type) |
471 | 470 | { |
472 | | -#if !__IOS__ |
473 | | - if (type.AssignableFrom(typeof(System.Dynamic.IDynamicMetaObjectProvider)) || |
474 | | - type.HasInterface(typeof(System.Dynamic.IDynamicMetaObjectProvider))) |
475 | | - { |
476 | | - return DeserializeDynamic<TSerializer>.Parse; |
477 | | - } |
478 | | -#endif |
| 471 | +//#if !__IOS__ |
| 472 | +// if (type.AssignableFrom(typeof(System.Dynamic.IDynamicMetaObjectProvider)) || |
| 473 | +// type.HasInterface(typeof(System.Dynamic.IDynamicMetaObjectProvider))) |
| 474 | +// { |
| 475 | +// return DeserializeDynamic<TSerializer>.Parse; |
| 476 | +// } |
| 477 | +//#endif |
479 | 478 | return null; |
480 | 479 | } |
481 | 480 |
|
|
0 commit comments