diff --git a/X10D/src/ByteExtensions/ByteExtensions.cs b/X10D/src/ByteExtensions/ByteExtensions.cs index 507f418..60c0c4f 100644 --- a/X10D/src/ByteExtensions/ByteExtensions.cs +++ b/X10D/src/ByteExtensions/ByteExtensions.cs @@ -1,4 +1,4 @@ -namespace X10D +namespace X10D { /// /// Extension methods for . @@ -46,7 +46,7 @@ /// /// The value whose primality to check. /// - /// if is prime, or otherwise. + /// if is prime; otherwise, . /// public static bool IsPrime(this byte value) { diff --git a/X10D/src/ByteExtensions/SByteExtensions.cs b/X10D/src/ByteExtensions/SByteExtensions.cs index 9e0398e..aeeb471 100644 --- a/X10D/src/ByteExtensions/SByteExtensions.cs +++ b/X10D/src/ByteExtensions/SByteExtensions.cs @@ -39,7 +39,7 @@ namespace X10D /// /// The value whose primality to check. /// - /// if is prime, or otherwise. + /// if is prime; otherwise, . /// public static bool IsPrime(this sbyte value) { diff --git a/X10D/src/EnumExtensions/EnumExtensions.cs b/X10D/src/EnumExtensions/EnumExtensions.cs index c8a4a49..e023a38 100644 --- a/X10D/src/EnumExtensions/EnumExtensions.cs +++ b/X10D/src/EnumExtensions/EnumExtensions.cs @@ -14,7 +14,7 @@ namespace X10D /// The enum value which should be used as the starting point. /// /// Optional. if the final value of should wrap around to the first - /// value, or otherwise. Defaults to . + /// value; otherwise, . Defaults to . /// /// /// A value of that is considered to be the next value defined after @@ -35,7 +35,7 @@ namespace X10D /// The enum value which should be used as the starting point. /// /// Optional. if the first value of should wrap around to the final - /// value, or otherwise. Defaults to . + /// value; otherwise, . Defaults to . /// /// /// A value of that is considered to be the previous value defined before diff --git a/X10D/src/Int16Extensions/Int16Extensions.cs b/X10D/src/Int16Extensions/Int16Extensions.cs index 20934c6..36c7381 100644 --- a/X10D/src/Int16Extensions/Int16Extensions.cs +++ b/X10D/src/Int16Extensions/Int16Extensions.cs @@ -82,10 +82,12 @@ namespace X10D } /// - /// Returns a value indicating whether the current 16-bit signed integer is prime. + /// Returns a value indicating whether the current value is a prime number. /// - /// The number to check. - /// if is prime, or otherwise. + /// The value whose primality to check. + /// + /// if is prime; otherwise, . + /// public static bool IsPrime(this short value) { return ((long)value).IsPrime(); diff --git a/X10D/src/Int32Extensions/Int32Extensions.cs b/X10D/src/Int32Extensions/Int32Extensions.cs index c0f3e17..7e9f2ee 100644 --- a/X10D/src/Int32Extensions/Int32Extensions.cs +++ b/X10D/src/Int32Extensions/Int32Extensions.cs @@ -134,10 +134,12 @@ namespace X10D } /// - /// Returns a value indicating whether the current 32-bit signed integer is prime. + /// Returns a value indicating whether the current value is a prime number. /// - /// The number to check. - /// if is prime, or otherwise. + /// The value whose primality to check. + /// + /// if is prime; otherwise, . + /// public static bool IsPrime(this int value) { return ((long)value).IsPrime(); diff --git a/X10D/src/Int64Extensions/Int64Extensions.cs b/X10D/src/Int64Extensions/Int64Extensions.cs index 7d79f72..d4ba521 100644 --- a/X10D/src/Int64Extensions/Int64Extensions.cs +++ b/X10D/src/Int64Extensions/Int64Extensions.cs @@ -82,10 +82,12 @@ namespace X10D } /// - /// Returns a value indicating whether the current 64-bit signed integer is prime. + /// Returns a value indicating whether the current value is a prime number. /// - /// The number to check. - /// if is prime, or otherwise. + /// The value whose primality to check. + /// + /// if is prime; otherwise, . + /// public static bool IsPrime(this long value) { switch (value) diff --git a/X10D/src/ReflectionExtensions/TypeExtensions.cs b/X10D/src/ReflectionExtensions/TypeExtensions.cs index 3843fda..e48d585 100644 --- a/X10D/src/ReflectionExtensions/TypeExtensions.cs +++ b/X10D/src/ReflectionExtensions/TypeExtensions.cs @@ -66,7 +66,7 @@ namespace X10D /// /// The type whose interface list to check. /// The interface type. - /// if the current exists on the type, or otherwise. + /// if the current exists on the type; otherwise, . public static bool Implements(this Type value) { return value.Implements(typeof(T)); @@ -77,7 +77,7 @@ namespace X10D /// /// The type whose interface list to check. /// The interface type. - /// if the current exists on the type, or otherwise. + /// if the current exists on the type; otherwise, . public static bool Implements(this Type value, Type interfaceType) { if (value is null)