Skip to content

Commit

Permalink
-Changed Metro build to use late bound reflection
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNK committed May 30, 2012
1 parent bc5058c commit 9396ea0
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Src/Newtonsoft.Json.Tests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@
// 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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Src/Newtonsoft.Json/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
// 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)]
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ protected virtual IValueProvider CreateMemberValueProvider(MemberInfo member)
// 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
Expand Down
2 changes: 1 addition & 1 deletion Src/Newtonsoft.Json/Serialization/DynamicValueProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Src/Newtonsoft.Json/Serialization/JsonTypeReflector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ public static ReflectionDelegateFactory ReflectionDelegateFactory
{
get
{
#if !(SILVERLIGHT || PORTABLE)
#if !(SILVERLIGHT || PORTABLE || NETFX_CORE)
if (DynamicCodeGeneration)
return DynamicReflectionDelegateFactory.Instance;
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Src/Newtonsoft.Json/Utilities/ILGeneratorExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9396ea0

Please sign in to comment.