From 52d9c0fca365ebc4342c612490a9d8bde4f65841 Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Wed, 12 Aug 2015 21:33:31 +1200 Subject: [PATCH] -Fixed build warnings in VS2015 --- .../Serialization/DefaultContractResolver.cs | 2 +- Src/Newtonsoft.Json/Serialization/JsonArrayContract.cs | 6 +++--- .../Serialization/JsonContainerContract.cs | 2 +- Src/Newtonsoft.Json/Serialization/JsonContract.cs | 2 +- .../Serialization/JsonDictionaryContract.cs | 10 +++++----- .../Serialization/JsonObjectContract.cs | 2 +- .../Serialization/ReflectionAttributeProvider.cs | 4 ++-- Src/Newtonsoft.Json/SerializationBinder.cs | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs b/Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs index d0ffd560..7df6086d 100644 --- a/Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs +++ b/Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs @@ -91,7 +91,7 @@ namespace Newtonsoft.Json.Serialization } /// - /// Used by to resolves a for a given . + /// Used by to resolves a for a given . /// public class DefaultContractResolver : IContractResolver { diff --git a/Src/Newtonsoft.Json/Serialization/JsonArrayContract.cs b/Src/Newtonsoft.Json/Serialization/JsonArrayContract.cs index 827ef149..d2df403c 100644 --- a/Src/Newtonsoft.Json/Serialization/JsonArrayContract.cs +++ b/Src/Newtonsoft.Json/Serialization/JsonArrayContract.cs @@ -41,14 +41,14 @@ using System.Linq; namespace Newtonsoft.Json.Serialization { /// - /// Contract details for a used by the . + /// Contract details for a used by the . /// public class JsonArrayContract : JsonContainerContract { /// - /// Gets the of the collection items. + /// Gets the of the collection items. /// - /// The of the collection items. + /// The of the collection items. public Type CollectionItemType { get; private set; } /// diff --git a/Src/Newtonsoft.Json/Serialization/JsonContainerContract.cs b/Src/Newtonsoft.Json/Serialization/JsonContainerContract.cs index 287ecb62..cb904462 100644 --- a/Src/Newtonsoft.Json/Serialization/JsonContainerContract.cs +++ b/Src/Newtonsoft.Json/Serialization/JsonContainerContract.cs @@ -38,7 +38,7 @@ using System.Linq; namespace Newtonsoft.Json.Serialization { /// - /// Contract details for a used by the . + /// Contract details for a used by the . /// public class JsonContainerContract : JsonContract { diff --git a/Src/Newtonsoft.Json/Serialization/JsonContract.cs b/Src/Newtonsoft.Json/Serialization/JsonContract.cs index 574becc2..945b528b 100644 --- a/Src/Newtonsoft.Json/Serialization/JsonContract.cs +++ b/Src/Newtonsoft.Json/Serialization/JsonContract.cs @@ -76,7 +76,7 @@ namespace Newtonsoft.Json.Serialization public delegate IEnumerable> ExtensionDataGetter(object o); /// - /// Contract details for a used by the . + /// Contract details for a used by the . /// public abstract class JsonContract { diff --git a/Src/Newtonsoft.Json/Serialization/JsonDictionaryContract.cs b/Src/Newtonsoft.Json/Serialization/JsonDictionaryContract.cs index a8ad117a..7e016130 100644 --- a/Src/Newtonsoft.Json/Serialization/JsonDictionaryContract.cs +++ b/Src/Newtonsoft.Json/Serialization/JsonDictionaryContract.cs @@ -37,7 +37,7 @@ using Newtonsoft.Json.Utilities.LinqBridge; namespace Newtonsoft.Json.Serialization { /// - /// Contract details for a used by the . + /// Contract details for a used by the . /// public class JsonDictionaryContract : JsonContainerContract { @@ -59,15 +59,15 @@ namespace Newtonsoft.Json.Serialization public Func DictionaryKeyResolver { get; set; } /// - /// Gets the of the dictionary keys. + /// Gets the of the dictionary keys. /// - /// The of the dictionary keys. + /// The of the dictionary keys. public Type DictionaryKeyType { get; private set; } /// - /// Gets the of the dictionary values. + /// Gets the of the dictionary values. /// - /// The of the dictionary values. + /// The of the dictionary values. public Type DictionaryValueType { get; private set; } internal JsonContract KeyContract { get; set; } diff --git a/Src/Newtonsoft.Json/Serialization/JsonObjectContract.cs b/Src/Newtonsoft.Json/Serialization/JsonObjectContract.cs index 00eba901..bcb00099 100644 --- a/Src/Newtonsoft.Json/Serialization/JsonObjectContract.cs +++ b/Src/Newtonsoft.Json/Serialization/JsonObjectContract.cs @@ -33,7 +33,7 @@ using Newtonsoft.Json.Utilities; namespace Newtonsoft.Json.Serialization { /// - /// Contract details for a used by the . + /// Contract details for a used by the . /// public class JsonObjectContract : JsonContainerContract { diff --git a/Src/Newtonsoft.Json/Serialization/ReflectionAttributeProvider.cs b/Src/Newtonsoft.Json/Serialization/ReflectionAttributeProvider.cs index fe2ee796..8de11a2b 100644 --- a/Src/Newtonsoft.Json/Serialization/ReflectionAttributeProvider.cs +++ b/Src/Newtonsoft.Json/Serialization/ReflectionAttributeProvider.cs @@ -31,7 +31,7 @@ using Newtonsoft.Json.Utilities; namespace Newtonsoft.Json.Serialization { /// - /// Provides methods to get attributes from a , , or . + /// Provides methods to get attributes from a , , or . /// public class ReflectionAttributeProvider : IAttributeProvider { @@ -40,7 +40,7 @@ namespace Newtonsoft.Json.Serialization /// /// Initializes a new instance of the class. /// - /// The instance to get attributes for. This parameter should be a , , or . + /// The instance to get attributes for. This parameter should be a , , or . public ReflectionAttributeProvider(object attributeProvider) { ValidationUtils.ArgumentNotNull(attributeProvider, "attributeProvider"); diff --git a/Src/Newtonsoft.Json/SerializationBinder.cs b/Src/Newtonsoft.Json/SerializationBinder.cs index 301d3339..da34c77c 100644 --- a/Src/Newtonsoft.Json/SerializationBinder.cs +++ b/Src/Newtonsoft.Json/SerializationBinder.cs @@ -14,7 +14,7 @@ namespace Newtonsoft.Json /// When overridden in a derived class, controls the binding of a serialized object to a type. /// /// Specifies the name of the serialized object. - /// Specifies the name of the serialized object + /// Specifies the name of the serialized object /// The type of the object the formatter creates a new instance of. public abstract Type BindToType(string assemblyName, string typeName); @@ -23,7 +23,7 @@ namespace Newtonsoft.Json /// /// The type of the object the formatter creates a new instance of. /// Specifies the name of the serialized object. - /// Specifies the name of the serialized object. + /// Specifies the name of the serialized object. public virtual void BindToName(Type serializedType, out string assemblyName, out string typeName) { assemblyName = null;