1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-10 03:25:41 +00:00

(#14) Remove whitespace from empty lines

This commit is contained in:
Oliver Booth 2021-03-12 11:28:19 +00:00
parent db790920aa
commit 8ddf3dfc30
7 changed files with 12 additions and 12 deletions

View File

@ -16,7 +16,7 @@ namespace X10D.BooleanExtensions
{
return BitConverter.GetBytes(value);
}
/// <summary>
/// Converts the current Boolean value to the equivalent 8-bit unsigned integer.
/// </summary>
@ -43,7 +43,7 @@ namespace X10D.BooleanExtensions
{
return value ? 1 : 0;
}
/// <summary>
/// Converts the current Boolean value to the equivalent decimal number.
/// </summary>

View File

@ -48,7 +48,7 @@ namespace X10D.ComparableExtensions
{
return actual.CompareTo(lower) > 0 && actual.CompareTo(upper) < 0;
}
/// <summary>
/// Returns the current value clamped to the inclusive range of <paramref name="lower" /> and <paramref name="upper" />.
/// </summary>

View File

@ -9,7 +9,7 @@ namespace X10D
{
[Description("The value should be read as though it uses little endian encoding.")]
LittleEndian,
[Description("The value should be read as though it uses big endian encoding.")]
BigEndian
}

View File

@ -21,7 +21,7 @@ namespace X10D.Int16Extensions
{
return DateTimeOffset.FromUnixTimeMilliseconds(value);
}
/// <summary>
/// Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a
/// <see cref="DateTimeOffset" /> value.
@ -35,7 +35,7 @@ namespace X10D.Int16Extensions
{
return DateTimeOffset.FromUnixTimeSeconds(value);
}
/// <summary>
/// Returns the current 16-bit signed integer value as an array of bytes.
/// </summary>

View File

@ -21,7 +21,7 @@ namespace X10D.Int32Extensions
{
return DateTimeOffset.FromUnixTimeMilliseconds(value);
}
/// <summary>
/// Converts a Unix time expressed as the number of seconds that have elapsed since 1970-01-01T00:00:00Z to a
/// <see cref="DateTimeOffset" /> value.
@ -35,7 +35,7 @@ namespace X10D.Int32Extensions
{
return DateTimeOffset.FromUnixTimeSeconds(value);
}
/// <summary>
/// Returns the current 32-bit signed integer value as an array of bytes.
/// </summary>

View File

@ -61,7 +61,7 @@ namespace X10D.ReflectionExtensions
return member.GetCustomAttribute(attribute) is not null;
}
/// <summary>
/// Retrieves a custom attribute that is decorated by the current member, and projects it into to a new form.
/// </summary>

View File

@ -95,7 +95,7 @@ namespace X10D.ReflectionExtensions
{
var exceptionMessage = ExceptionMessages.TypeIsNotInterface;
var formattedMessage = string.Format(CultureInfo.CurrentCulture, exceptionMessage, interfaceType);
throw new ArgumentException(formattedMessage, nameof(interfaceType));
}
@ -142,7 +142,7 @@ namespace X10D.ReflectionExtensions
{
var exceptionMessage = ExceptionMessages.TypeIsNotClass;
var formattedMessage = string.Format(CultureInfo.CurrentCulture, exceptionMessage, value);
throw new ArgumentException(formattedMessage, nameof(value));
}
@ -150,7 +150,7 @@ namespace X10D.ReflectionExtensions
{
var exceptionMessage = ExceptionMessages.TypeIsNotClass;
var formattedMessage = string.Format(CultureInfo.CurrentCulture, exceptionMessage, type);
throw new ArgumentException(formattedMessage, nameof(type));
}