XML comments: consistent formatting of C# keywords

This commit is contained in:
stakx
2016-12-19 09:29:22 +01:00
parent d244812522
commit 937d5a53bb
28 changed files with 73 additions and 72 deletions
@@ -42,11 +42,11 @@ namespace Newtonsoft.Json.Utilities
internal static class CollectionUtils
{
/// <summary>
/// Determines whether the collection is null or empty.
/// Determines whether the collection is <c>null</c> or empty.
/// </summary>
/// <param name="collection">The collection.</param>
/// <returns>
/// <c>true</c> if the collection is null or empty; otherwise, <c>false</c>.
/// <c>true</c> if the collection is <c>null</c> or empty; otherwise, <c>false</c>.
/// </returns>
public static bool IsNullOrEmpty<T>(ICollection<T> collection)
{
@@ -41,7 +41,7 @@
/// </summary>
/// <param name="from">Source primitive type.</param>
/// <param name="to">Target primitive type.</param>
/// <returns>True if source type can be widened to target type, false otherwise.</returns>
/// <returns><c>true</c> if source type can be widened to target type, <c>false</c> otherwise.</returns>
private static bool CanConvertPrimitive(Type from, Type to)
{
if (from == to)
@@ -80,7 +80,7 @@
/// <param name="parameters">Method parameters.</param>
/// <param name="types">Argument types.</param>
/// <param name="enableParamArray">Try to pack extra arguments into ParamArray.</param>
/// <returns>True if method can be called with given arguments, false otherwise.</returns>
/// <returns><c>true</c> if method can be called with given arguments, <c>false</c> otherwise.</returns>
private static bool FilterParameters(ParameterInfo[] parameters, IList<Type> types, bool enableParamArray)
{
ValidationUtils.ArgumentNotNull(parameters, nameof(parameters));
+1 -1
View File
@@ -75,7 +75,7 @@ namespace Newtonsoft.Json.Utilities
}
/// <summary>
/// Determines whether the string is all white space. Empty string will return false.
/// Determines whether the string is all white space. Empty string will return <c>false</c>.
/// </summary>
/// <param name="s">The string to test whether it is all white space.</param>
/// <returns>