[ci skip] Remove trailing whitespaces

This commit is contained in:
Oliver Booth 2022-04-21 19:53:59 +01:00
parent 72ff35ddca
commit 20c438b807
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634
8 changed files with 28 additions and 28 deletions

View File

@ -14,14 +14,14 @@ public static class BooleanExtensions
/// The following example converts the bit patterns of <see cref="bool" /> values to <see cref="byte" /> arrays. /// The following example converts the bit patterns of <see cref="bool" /> values to <see cref="byte" /> arrays.
/// <code lang="csharp"> /// <code lang="csharp">
/// bool[] values = { true, false }; /// bool[] values = { true, false };
/// ///
/// Console.WriteLine("{0,10}{1,16}\n", "Boolean", "Bytes"); /// Console.WriteLine("{0,10}{1,16}\n", "Boolean", "Bytes");
/// foreach (var value in values) /// foreach (var value in values)
/// { /// {
/// byte[] bytes = value.GetBytes(); /// byte[] bytes = value.GetBytes();
/// Console.WriteLine("{0,10}{1,16}", value, bytes.AsString()); /// Console.WriteLine("{0,10}{1,16}", value, bytes.AsString());
/// } /// }
/// ///
/// // The example displays the following output: /// // The example displays the following output:
/// // Boolean Bytes /// // Boolean Bytes
/// // /// //

View File

@ -27,16 +27,16 @@ public static class ComparableExtensions
/// <code lang="csharp"> /// <code lang="csharp">
/// int firstValue = 42; /// int firstValue = 42;
/// int secondValue = 15; /// int secondValue = 15;
/// ///
/// int lower = 0; /// int lower = 0;
/// int upper = 20; /// int upper = 20;
/// ///
/// Console.WriteLine($"{firstValue} between {lower} and {upper}?"); /// Console.WriteLine($"{firstValue} between {lower} and {upper}?");
/// Console.WriteLine(firstValue.Between(lower, upper)); /// Console.WriteLine(firstValue.Between(lower, upper));
/// ///
/// Console.WriteLine($"{secondValue} between {lower} and {upper}?"); /// Console.WriteLine($"{secondValue} between {lower} and {upper}?");
/// Console.WriteLine(secondValue.Between(lower, upper)); /// Console.WriteLine(secondValue.Between(lower, upper));
/// ///
/// // This will output the following: /// // This will output the following:
/// // 42 between 0 and 20? /// // 42 between 0 and 20?
/// // False /// // False
@ -93,7 +93,7 @@ public static class ComparableExtensions
/// int value = 42; /// int value = 42;
/// int lower = 0; /// int lower = 0;
/// int upper = 20; /// int upper = 20;
/// ///
/// int clamped = value.Clamp(lower, upper); /// int clamped = value.Clamp(lower, upper);
/// // clamped will be 20 /// // clamped will be 20
/// </code> /// </code>
@ -127,7 +127,7 @@ public static class ComparableExtensions
/// <code lang="csharp"> /// <code lang="csharp">
/// int first = 5; /// int first = 5;
/// int second = 10; /// int second = 10;
/// ///
/// bool result = first.GreaterThan(second); /// bool result = first.GreaterThan(second);
/// // result will be False /// // result will be False
/// </code> /// </code>
@ -159,7 +159,7 @@ public static class ComparableExtensions
/// <code lang="csharp"> /// <code lang="csharp">
/// int first = 5; /// int first = 5;
/// int second = 10; /// int second = 10;
/// ///
/// bool result = first.GreaterThanOrEqualTo(second); /// bool result = first.GreaterThanOrEqualTo(second);
/// // result will be False /// // result will be False
/// </code> /// </code>
@ -191,7 +191,7 @@ public static class ComparableExtensions
/// <code lang="csharp"> /// <code lang="csharp">
/// int first = 5; /// int first = 5;
/// int second = 10; /// int second = 10;
/// ///
/// bool result = first.LessThan(second); /// bool result = first.LessThan(second);
/// // result will be True /// // result will be True
/// </code> /// </code>
@ -223,7 +223,7 @@ public static class ComparableExtensions
/// <code lang="csharp"> /// <code lang="csharp">
/// int first = 5; /// int first = 5;
/// int second = 10; /// int second = 10;
/// ///
/// bool result = first.LessThanOrEqualTo(second); /// bool result = first.LessThanOrEqualTo(second);
/// // result will be True /// // result will be True
/// </code> /// </code>
@ -254,7 +254,7 @@ public static class ComparableExtensions
/// <code lang="csharp"> /// <code lang="csharp">
/// int first = 5; /// int first = 5;
/// int second = 10; /// int second = 10;
/// ///
/// int max = first.Max(second); /// int max = first.Max(second);
/// // max will be 10 /// // max will be 10
/// </code> /// </code>
@ -285,7 +285,7 @@ public static class ComparableExtensions
/// <code lang="csharp"> /// <code lang="csharp">
/// int first = 5; /// int first = 5;
/// int second = 10; /// int second = 10;
/// ///
/// int min = first.Min(second); /// int min = first.Min(second);
/// // min will be 5 /// // min will be 5
/// </code> /// </code>

View File

@ -7,22 +7,22 @@
public enum InclusiveOptions : byte public enum InclusiveOptions : byte
{ {
/// <summary> /// <summary>
/// Indicates that the comparison will be exclusive. /// Indicates that the comparison will be exclusive.
/// </summary> /// </summary>
None = 0, None = 0,
/// <summary> /// <summary>
/// Indicates that the comparison will treat the upper bound as exclusive. /// Indicates that the comparison will treat the upper bound as exclusive.
/// </summary> /// </summary>
UpperInclusive = 1, UpperInclusive = 1,
/// <summary> /// <summary>
/// Indicates that the comparison will treat the lower bound as exclusive. /// Indicates that the comparison will treat the lower bound as exclusive.
/// </summary> /// </summary>
LowerInclusive = 1 << 1, LowerInclusive = 1 << 1,
/// <summary> /// <summary>
/// Indicates that the comparison will treat both the upper and lower bound as exclusive. /// Indicates that the comparison will treat both the upper and lower bound as exclusive.
/// </summary> /// </summary>
Inclusive = UpperInclusive | LowerInclusive Inclusive = UpperInclusive | LowerInclusive
} }

View File

@ -6,7 +6,7 @@
public static class EnumExtensions public static class EnumExtensions
{ {
/// <summary> /// <summary>
/// Returns the value which is defined proceeding this value in the enumeration. /// Returns the value which is defined proceeding this value in the enumeration.
/// </summary> /// </summary>
/// <typeparam name="T">The type of the enumeration.</typeparam> /// <typeparam name="T">The type of the enumeration.</typeparam>
/// <param name="value">The value whose proceeding value to retrieve.</param> /// <param name="value">The value whose proceeding value to retrieve.</param>
@ -24,7 +24,7 @@ public static class EnumExtensions
} }
/// <summary> /// <summary>
/// Returns the value which is defined proceeding this value in the enumeration. /// Returns the value which is defined proceeding this value in the enumeration.
/// </summary> /// </summary>
/// <typeparam name="T">The type of the enumeration.</typeparam> /// <typeparam name="T">The type of the enumeration.</typeparam>
/// <param name="value">The value whose proceeding value to retrieve.</param> /// <param name="value">The value whose proceeding value to retrieve.</param>
@ -42,7 +42,7 @@ public static class EnumExtensions
} }
/// <summary> /// <summary>
/// Returns the value which is defined preceeding this value in the enumeration. /// Returns the value which is defined preceeding this value in the enumeration.
/// </summary> /// </summary>
/// <typeparam name="T">The type of the enumeration.</typeparam> /// <typeparam name="T">The type of the enumeration.</typeparam>
/// <param name="value">The value whose preceeding value to retrieve.</param> /// <param name="value">The value whose preceeding value to retrieve.</param>
@ -64,7 +64,7 @@ public static class EnumExtensions
} }
/// <summary> /// <summary>
/// Returns the value which is defined preceeding this value in the enumeration. /// Returns the value which is defined preceeding this value in the enumeration.
/// </summary> /// </summary>
/// <typeparam name="T">The type of the enumeration.</typeparam> /// <typeparam name="T">The type of the enumeration.</typeparam>
/// <param name="value">The value whose preceeding value to retrieve.</param> /// <param name="value">The value whose preceeding value to retrieve.</param>

View File

@ -11,7 +11,7 @@ public static partial class EnumerableExtensions
{ {
return source.Aggregate(1, (current, value) => current * value); return source.Aggregate(1, (current, value) => current * value);
} }
/// <summary> /// <summary>
/// Computes the product of a sequence of <see cref="uint" /> values. /// Computes the product of a sequence of <see cref="uint" /> values.
/// </summary> /// </summary>

View File

@ -193,7 +193,7 @@ public static class Int16Extensions
} }
/// <summary> /// <summary>
/// Performs a modulo operation which supports a negative dividend. /// Performs a modulo operation which supports a negative dividend.
/// </summary> /// </summary>
/// <param name="dividend">The dividend.</param> /// <param name="dividend">The dividend.</param>
/// <param name="divisor">The divisor.</param> /// <param name="divisor">The divisor.</param>

View File

@ -245,7 +245,7 @@ public static class Int32Extensions
} }
/// <summary> /// <summary>
/// Performs a modulo operation which supports a negative dividend. /// Performs a modulo operation which supports a negative dividend.
/// </summary> /// </summary>
/// <param name="dividend">The dividend.</param> /// <param name="dividend">The dividend.</param>
/// <param name="divisor">The divisor.</param> /// <param name="divisor">The divisor.</param>

View File

@ -218,7 +218,7 @@ public static class Int64Extensions
} }
/// <summary> /// <summary>
/// Performs a modulo operation which supports a negative dividend. /// Performs a modulo operation which supports a negative dividend.
/// </summary> /// </summary>
/// <param name="dividend">The dividend.</param> /// <param name="dividend">The dividend.</param>
/// <param name="divisor">The divisor.</param> /// <param name="divisor">The divisor.</param>