Browse Source

Resolved SA1001, SA1004, SA1025 and SA1027.

af/merge-core
dirk 9 years ago
parent
commit
468b5ea578
  1. 2
      src/ImageSharp/IO/EndianBitConverter.cs
  2. 5
      src/ImageSharp/Profiles/Exif/ExifTagDescriptionAttribute.cs
  3. 12
      src/ImageSharp/Profiles/Exif/ExifValue.cs
  4. 2
      src/ImageSharp/Profiles/Exif/ExifWriter.cs

2
src/ImageSharp/IO/EndianBitConverter.cs

@ -325,7 +325,7 @@ namespace ImageSharp.IO
}
#endregion
#region Decimal conversions
#region Decimal conversions
/// <summary>
/// Returns a decimal value converted from sixteen bytes
/// at a specified position in a byte array.

5
src/ImageSharp/Profiles/Exif/ExifTagDescriptionAttribute.cs

@ -6,7 +6,6 @@
namespace ImageSharp
{
using System;
using System.Linq;
using System.Reflection;
/// <summary>
@ -18,9 +17,9 @@ namespace ImageSharp
private object value;
private string description;
///<summary>
/// <summary>
/// Initializes a new instance of the ExifTagDescriptionAttribute class.
///</summary>
/// </summary>
/// <param name="value">The value of the exif tag.</param>
/// <param name="description">The description for the value of the exif tag.</param>
public ExifTagDescriptionAttribute(object value, string description)

12
src/ImageSharp/Profiles/Exif/ExifValue.cs

@ -103,10 +103,10 @@ namespace ImageSharp
return !Equals(left, right);
}
///<summary>
/// <summary>
/// Determines whether the specified object is equal to the current exif value.
///</summary>
///<param name="obj">The object to compare this exif value with.</param>
/// </summary>
/// <param name="obj">The object to compare this exif value with.</param>
public override bool Equals(object obj)
{
if (ReferenceEquals(this, obj))
@ -117,10 +117,10 @@ namespace ImageSharp
return this.Equals(obj as ExifValue);
}
///<summary>
/// <summary>
/// Determines whether the specified exif value is equal to the current exif value.
///</summary>
///<param name="other">The exif value to compare this exif value with.</param>
/// </summary>
/// <param name="other">The exif value to compare this exif value with.</param>
public bool Equals(ExifValue other)
{
if (ReferenceEquals(other, null))

2
src/ImageSharp/Profiles/Exif/ExifWriter.cs

@ -16,7 +16,7 @@ namespace ImageSharp
{
ExifTag.ImageWidth, ExifTag.ImageLength, ExifTag.BitsPerSample, ExifTag.Compression,
ExifTag.PhotometricInterpretation, ExifTag.Thresholding, ExifTag.CellWidth,
ExifTag.CellLength, ExifTag.FillOrder,ExifTag.ImageDescription, ExifTag.Make,
ExifTag.CellLength, ExifTag.FillOrder, ExifTag.ImageDescription, ExifTag.Make,
ExifTag.Model, ExifTag.StripOffsets, ExifTag.Orientation, ExifTag.SamplesPerPixel,
ExifTag.RowsPerStrip, ExifTag.StripByteCounts, ExifTag.MinSampleValue,
ExifTag.MaxSampleValue, ExifTag.XResolution, ExifTag.YResolution,

Loading…
Cancel
Save