-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:
[assembly: AssemblyVersion("4.5.0.0")]
#if !PocketPC
[assembly: AssemblyFileVersion("4.5.5.14927")]
[assembly: AssemblyFileVersion("4.5.6.14930")]
#endif
@@ -23,7 +23,7 @@
// OTHER DEALINGS IN THE SOFTWARE.
#endregion
#if !(SILVERLIGHT || PORTABLE)
#if !(SILVERLIGHT || PORTABLE || NETFX_CORE)
using System;
using System.Reflection;
#if !NETFX_CORE
@@ -90,7 +90,7 @@ using System.Security;
// by using the '*' as shown below:
[assembly: AssemblyVersion("4.5.0.0")]
#if !PocketPC
[assembly: AssemblyFileVersion("4.5.5.14927")]
[assembly: AssemblyFileVersion("4.5.6.14930")]
#endif
[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
IValueProvider valueProvider;
#if !(SILVERLIGHT || PORTABLE)
#if !(SILVERLIGHT || PORTABLE || NETFX_CORE)
if (DynamicCodeGeneration)
valueProvider = new DynamicValueProvider(member);
else
@@ -23,7 +23,7 @@
// OTHER DEALINGS IN THE SOFTWARE.
#endregion
#if !(SILVERLIGHT || PORTABLE)
#if !(SILVERLIGHT || PORTABLE || NETFX_CORE)
using System;
using System.Collections.Generic;
#if NET20
@@ -448,7 +448,7 @@ namespace Newtonsoft.Json.Serialization
{
get
{
#if !(SILVERLIGHT || PORTABLE)
#if !(SILVERLIGHT || PORTABLE || NETFX_CORE)
if (DynamicCodeGeneration)
return DynamicReflectionDelegateFactory.Instance;
#endif
@@ -23,7 +23,7 @@
// OTHER DEALINGS IN THE SOFTWARE.
#endregion
#if !(SILVERLIGHT || PORTABLE)
#if !(SILVERLIGHT || PORTABLE || NETFX_CORE)
using System;
using System.Collections.Generic;
#if NET20
@@ -23,7 +23,7 @@
// OTHER DEALINGS IN THE SOFTWARE.
#endregion
#if !(SILVERLIGHT || PORTABLE)
#if !(SILVERLIGHT || PORTABLE || NETFX_CORE)
using System;
using System.Reflection.Emit;
using System.Reflection;