-Removed dependency on System.Diagnostics.Tools in portable projects
This commit is contained in:
@@ -694,7 +694,7 @@ namespace Newtonsoft.Json.Serialization
|
|||||||
return JsonTypeReflector.ReflectionDelegateFactory.CreateDefaultConstructor<object>(createdType);
|
return JsonTypeReflector.ReflectionDelegateFactory.CreateDefaultConstructor<object>(createdType);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !NET20
|
#if NET35
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Portability", "CA1903:UseOnlyApiFromTargetedFramework", MessageId = "System.Runtime.Serialization.DataContractAttribute.#get_IsReference()")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Portability", "CA1903:UseOnlyApiFromTargetedFramework", MessageId = "System.Runtime.Serialization.DataContractAttribute.#get_IsReference()")]
|
||||||
#endif
|
#endif
|
||||||
private void InitializeContract(JsonContract contract)
|
private void InitializeContract(JsonContract contract)
|
||||||
|
|||||||
@@ -53,7 +53,6 @@
|
|||||||
"System.Collections": "",
|
"System.Collections": "",
|
||||||
"System.Core": "",
|
"System.Core": "",
|
||||||
"System.Diagnostics.Debug": "",
|
"System.Diagnostics.Debug": "",
|
||||||
"System.Diagnostics.Tools": "",
|
|
||||||
"System.Dynamic.Runtime": "",
|
"System.Dynamic.Runtime": "",
|
||||||
"System.Globalization": "",
|
"System.Globalization": "",
|
||||||
"System.IO": "",
|
"System.IO": "",
|
||||||
@@ -96,7 +95,6 @@
|
|||||||
"System.Collections.Concurrent": "4.0.10",
|
"System.Collections.Concurrent": "4.0.10",
|
||||||
"System.ComponentModel.TypeConverter": "4.0.0",
|
"System.ComponentModel.TypeConverter": "4.0.0",
|
||||||
"System.Diagnostics.Debug": "4.0.10",
|
"System.Diagnostics.Debug": "4.0.10",
|
||||||
"System.Diagnostics.Tools": "4.0.0",
|
|
||||||
"System.Dynamic.Runtime": "4.0.10",
|
"System.Dynamic.Runtime": "4.0.10",
|
||||||
"System.Globalization": "4.0.10",
|
"System.Globalization": "4.0.10",
|
||||||
"System.IO": "4.0.10",
|
"System.IO": "4.0.10",
|
||||||
|
|||||||
Reference in New Issue
Block a user