diff --git a/src/ImageSharp/IO/EndianBitConverter.cs b/src/ImageSharp/IO/EndianBitConverter.cs index d7a8d91fa..e99e38db2 100644 --- a/src/ImageSharp/IO/EndianBitConverter.cs +++ b/src/ImageSharp/IO/EndianBitConverter.cs @@ -20,9 +20,11 @@ namespace ImageSharp.IO [SuppressMessage("StyleCop.CSharp.OrderingRules", "SA1201:ElementsMustAppearInTheCorrectOrder", Justification = "Reviewed. Suppression is OK here. Better readability.")] [SuppressMessage("StyleCop.CSharp.OrderingRules", "SA1202:ElementsMustBeOrderedByAccess", Justification = "Reviewed. Suppression is OK here. Better readability.")] [SuppressMessage("StyleCop.CSharp.OrderingRules", "SA1204:StaticElementsMustAppearBeforeInstanceElements", Justification = "Reviewed. Suppression is OK here. Better readability.")] + [SuppressMessage("StyleCop.CSharp.ReadabilityRules", "SA1124:DoNotUseRegions", Justification = "Reviewed. Suppression is OK here. Better readability.")] internal abstract class EndianBitConverter { #region Endianness of this converter + /// /// Indicates the byte order ("endianness") in which data is converted using this class. /// @@ -41,6 +43,7 @@ namespace ImageSharp.IO #endregion #region Factory properties + /// /// The little-endian bit converter. /// @@ -65,6 +68,7 @@ namespace ImageSharp.IO #endregion #region Double/primitive conversions + /// /// Converts the specified double-precision floating point number to a /// 64-bit signed integer. Note: the endianness of this converter does not @@ -115,6 +119,7 @@ namespace ImageSharp.IO #endregion #region To(PrimitiveType) conversions + /// /// Returns a Boolean value converted from one byte at a specified position in a byte array. /// @@ -279,6 +284,7 @@ namespace ImageSharp.IO #endregion #region ToString conversions + /// /// Returns a String converted from the elements of a byte array. /// @@ -326,6 +332,7 @@ namespace ImageSharp.IO #endregion #region Decimal conversions + /// /// Returns a decimal value converted from sixteen bytes /// at a specified position in a byte array. @@ -382,6 +389,7 @@ namespace ImageSharp.IO #endregion #region GetBytes conversions + /// /// Returns an array with the given number of bytes formed /// from the least significant bytes of the specified value. @@ -508,6 +516,7 @@ namespace ImageSharp.IO #endregion #region CopyBytes conversions + /// /// Copies the given number of bytes from the least-specific /// end of the specified value into the specified byte array, beginning @@ -669,6 +678,7 @@ namespace ImageSharp.IO #endregion #region Private struct used for Single/Int32 conversions + /// /// Union used solely for the equivalent of DoubleToInt64Bits and vice versa. ///