-Changed Metro build to use late bound reflection

This commit is contained in:
James Newton-King
2012-05-30 19:21:43 +12:00
parent bc5058cc7b
commit 9396ea0994
8 changed files with 8 additions and 8 deletions
@@ -72,5 +72,5 @@ using System.Security;
// by using the '*' as shown below: // by using the '*' as shown below:
[assembly: AssemblyVersion("4.5.0.0")] [assembly: AssemblyVersion("4.5.0.0")]
#if !PocketPC #if !PocketPC
[assembly: AssemblyFileVersion("4.5.5.14927")] [assembly: AssemblyFileVersion("4.5.6.14930")]
#endif #endif
@@ -23,7 +23,7 @@
// OTHER DEALINGS IN THE SOFTWARE. // OTHER DEALINGS IN THE SOFTWARE.
#endregion #endregion
#if !(SILVERLIGHT || PORTABLE) #if !(SILVERLIGHT || PORTABLE || NETFX_CORE)
using System; using System;
using System.Reflection; using System.Reflection;
#if !NETFX_CORE #if !NETFX_CORE
@@ -90,7 +90,7 @@ using System.Security;
// by using the '*' as shown below: // by using the '*' as shown below:
[assembly: AssemblyVersion("4.5.0.0")] [assembly: AssemblyVersion("4.5.0.0")]
#if !PocketPC #if !PocketPC
[assembly: AssemblyFileVersion("4.5.5.14927")] [assembly: AssemblyFileVersion("4.5.6.14930")]
#endif #endif
[assembly: CLSCompliant(true)] [assembly: CLSCompliant(true)]
@@ -870,7 +870,7 @@ namespace Newtonsoft.Json.Serialization
// warning - this method use to cause errors with Intellitrace. Retest in VS Ultimate after changes // warning - this method use to cause errors with Intellitrace. Retest in VS Ultimate after changes
IValueProvider valueProvider; IValueProvider valueProvider;
#if !(SILVERLIGHT || PORTABLE) #if !(SILVERLIGHT || PORTABLE || NETFX_CORE)
if (DynamicCodeGeneration) if (DynamicCodeGeneration)
valueProvider = new DynamicValueProvider(member); valueProvider = new DynamicValueProvider(member);
else else
@@ -23,7 +23,7 @@
// OTHER DEALINGS IN THE SOFTWARE. // OTHER DEALINGS IN THE SOFTWARE.
#endregion #endregion
#if !(SILVERLIGHT || PORTABLE) #if !(SILVERLIGHT || PORTABLE || NETFX_CORE)
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
#if NET20 #if NET20
@@ -448,7 +448,7 @@ namespace Newtonsoft.Json.Serialization
{ {
get get
{ {
#if !(SILVERLIGHT || PORTABLE) #if !(SILVERLIGHT || PORTABLE || NETFX_CORE)
if (DynamicCodeGeneration) if (DynamicCodeGeneration)
return DynamicReflectionDelegateFactory.Instance; return DynamicReflectionDelegateFactory.Instance;
#endif #endif
@@ -23,7 +23,7 @@
// OTHER DEALINGS IN THE SOFTWARE. // OTHER DEALINGS IN THE SOFTWARE.
#endregion #endregion
#if !(SILVERLIGHT || PORTABLE) #if !(SILVERLIGHT || PORTABLE || NETFX_CORE)
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
#if NET20 #if NET20
@@ -23,7 +23,7 @@
// OTHER DEALINGS IN THE SOFTWARE. // OTHER DEALINGS IN THE SOFTWARE.
#endregion #endregion
#if !(SILVERLIGHT || PORTABLE) #if !(SILVERLIGHT || PORTABLE || NETFX_CORE)
using System; using System;
using System.Reflection.Emit; using System.Reflection.Emit;
using System.Reflection; using System.Reflection;