Browse Source

Use default shorthand

af/merge-core
Jason Nelson 8 years ago
parent
commit
08096f2416
  1. 2
      src/ImageSharp/ColorSpaces/CieLch.cs
  2. 2
      src/ImageSharp/ColorSpaces/CieLchuv.cs
  3. 2
      src/ImageSharp/ColorSpaces/CieLuv.cs
  4. 2
      src/ImageSharp/ColorSpaces/CieXyChromaticityCoordinates.cs
  5. 2
      src/ImageSharp/ColorSpaces/CieXyy.cs
  6. 2
      src/ImageSharp/ColorSpaces/CieXyz.cs
  7. 2
      src/ImageSharp/ColorSpaces/Cmyk.cs
  8. 2
      src/ImageSharp/ColorSpaces/Hsl.cs
  9. 2
      src/ImageSharp/ColorSpaces/Hsv.cs
  10. 2
      src/ImageSharp/ColorSpaces/HunterLab.cs
  11. 2
      src/ImageSharp/ColorSpaces/LinearRgb.cs
  12. 2
      src/ImageSharp/ColorSpaces/Lms.cs
  13. 2
      src/ImageSharp/ColorSpaces/Rgb.cs
  14. 2
      src/ImageSharp/ColorSpaces/YCbCr.cs

2
src/ImageSharp/ColorSpaces/CieLch.cs

@ -23,7 +23,7 @@ namespace SixLabors.ImageSharp.ColorSpaces
/// <summary> /// <summary>
/// Represents a <see cref="CieLch"/> that has L, C, H values set to zero. /// Represents a <see cref="CieLch"/> that has L, C, H values set to zero.
/// </summary> /// </summary>
public static readonly CieLch Empty = default(CieLch); public static readonly CieLch Empty = default;
/// <summary> /// <summary>
/// The backing vector for SIMD support. /// The backing vector for SIMD support.

2
src/ImageSharp/ColorSpaces/CieLchuv.cs

@ -23,7 +23,7 @@ namespace SixLabors.ImageSharp.ColorSpaces
/// <summary> /// <summary>
/// Represents a <see cref="CieLchuv"/> that has L, C, H values set to zero. /// Represents a <see cref="CieLchuv"/> that has L, C, H values set to zero.
/// </summary> /// </summary>
public static readonly CieLchuv Empty = default(CieLchuv); public static readonly CieLchuv Empty = default;
/// <summary> /// <summary>
/// The backing vector for SIMD support. /// The backing vector for SIMD support.

2
src/ImageSharp/ColorSpaces/CieLuv.cs

@ -25,7 +25,7 @@ namespace SixLabors.ImageSharp.ColorSpaces
/// <summary> /// <summary>
/// Represents a <see cref="CieLuv"/> that has L, U, and V values set to zero. /// Represents a <see cref="CieLuv"/> that has L, U, and V values set to zero.
/// </summary> /// </summary>
public static readonly CieLuv Empty = default(CieLuv); public static readonly CieLuv Empty = default;
/// <summary> /// <summary>
/// The backing vector for SIMD support. /// The backing vector for SIMD support.

2
src/ImageSharp/ColorSpaces/CieXyChromaticityCoordinates.cs

@ -17,7 +17,7 @@ namespace SixLabors.ImageSharp.ColorSpaces
/// <summary> /// <summary>
/// Represents a <see cref="CieXyChromaticityCoordinates"/> that has X, Y values set to zero. /// Represents a <see cref="CieXyChromaticityCoordinates"/> that has X, Y values set to zero.
/// </summary> /// </summary>
public static readonly CieXyChromaticityCoordinates Empty = default(CieXyChromaticityCoordinates); public static readonly CieXyChromaticityCoordinates Empty = default;
/// <summary> /// <summary>
/// The backing vector for SIMD support. /// The backing vector for SIMD support.

2
src/ImageSharp/ColorSpaces/CieXyy.cs

@ -17,7 +17,7 @@ namespace SixLabors.ImageSharp.ColorSpaces
/// <summary> /// <summary>
/// Represents a <see cref="CieXyy"/> that has X, Y, and Y values set to zero. /// Represents a <see cref="CieXyy"/> that has X, Y, and Y values set to zero.
/// </summary> /// </summary>
public static readonly CieXyy Empty = default(CieXyy); public static readonly CieXyy Empty = default;
/// <summary> /// <summary>
/// The backing vector for SIMD support. /// The backing vector for SIMD support.

2
src/ImageSharp/ColorSpaces/CieXyz.cs

@ -17,7 +17,7 @@ namespace SixLabors.ImageSharp.ColorSpaces
/// <summary> /// <summary>
/// Represents a <see cref="CieXyz"/> that has X, Y, and Z values set to zero. /// Represents a <see cref="CieXyz"/> that has X, Y, and Z values set to zero.
/// </summary> /// </summary>
public static readonly CieXyz Empty = default(CieXyz); public static readonly CieXyz Empty = default;
/// <summary> /// <summary>
/// The backing vector for SIMD support. /// The backing vector for SIMD support.

2
src/ImageSharp/ColorSpaces/Cmyk.cs

@ -16,7 +16,7 @@ namespace SixLabors.ImageSharp.ColorSpaces
/// <summary> /// <summary>
/// Represents a <see cref="Cmyk"/> that has C, M, Y, and K values set to zero. /// Represents a <see cref="Cmyk"/> that has C, M, Y, and K values set to zero.
/// </summary> /// </summary>
public static readonly Cmyk Empty = default(Cmyk); public static readonly Cmyk Empty = default;
/// <summary> /// <summary>
/// The backing vector for SIMD support. /// The backing vector for SIMD support.

2
src/ImageSharp/ColorSpaces/Hsl.cs

@ -16,7 +16,7 @@ namespace SixLabors.ImageSharp.ColorSpaces
/// <summary> /// <summary>
/// Represents a <see cref="Hsl"/> that has H, S, and L values set to zero. /// Represents a <see cref="Hsl"/> that has H, S, and L values set to zero.
/// </summary> /// </summary>
public static readonly Hsl Empty = default(Hsl); public static readonly Hsl Empty = default;
/// <summary> /// <summary>
/// Max range used for clamping /// Max range used for clamping

2
src/ImageSharp/ColorSpaces/Hsv.cs

@ -18,7 +18,7 @@ namespace SixLabors.ImageSharp.ColorSpaces
/// <summary> /// <summary>
/// Represents a <see cref="Hsv"/> that has H, S, and V values set to zero. /// Represents a <see cref="Hsv"/> that has H, S, and V values set to zero.
/// </summary> /// </summary>
public static readonly Hsv Empty = default(Hsv); public static readonly Hsv Empty = default;
/// <summary> /// <summary>
/// Max range used for clamping /// Max range used for clamping

2
src/ImageSharp/ColorSpaces/HunterLab.cs

@ -23,7 +23,7 @@ namespace SixLabors.ImageSharp.ColorSpaces
/// <summary> /// <summary>
/// Represents a <see cref="HunterLab"/> that has L, A, B values set to zero. /// Represents a <see cref="HunterLab"/> that has L, A, B values set to zero.
/// </summary> /// </summary>
public static readonly HunterLab Empty = default(HunterLab); public static readonly HunterLab Empty = default;
/// <summary> /// <summary>
/// The backing vector for SIMD support. /// The backing vector for SIMD support.

2
src/ImageSharp/ColorSpaces/LinearRgb.cs

@ -16,7 +16,7 @@ namespace SixLabors.ImageSharp.ColorSpaces
/// <summary> /// <summary>
/// Represents a <see cref="LinearRgb"/> that has R, G, and B values set to zero. /// Represents a <see cref="LinearRgb"/> that has R, G, and B values set to zero.
/// </summary> /// </summary>
public static readonly LinearRgb Empty = default(LinearRgb); public static readonly LinearRgb Empty = default;
/// <summary> /// <summary>
/// The default LinearRgb working space /// The default LinearRgb working space

2
src/ImageSharp/ColorSpaces/Lms.cs

@ -18,7 +18,7 @@ namespace SixLabors.ImageSharp.ColorSpaces
/// <summary> /// <summary>
/// Represents a <see cref="Lms"/> that has L, M, and S values set to zero. /// Represents a <see cref="Lms"/> that has L, M, and S values set to zero.
/// </summary> /// </summary>
public static readonly Lms Empty = default(Lms); public static readonly Lms Empty = default;
/// <summary> /// <summary>
/// The backing vector for SIMD support. /// The backing vector for SIMD support.

2
src/ImageSharp/ColorSpaces/Rgb.cs

@ -18,7 +18,7 @@ namespace SixLabors.ImageSharp.ColorSpaces
/// <summary> /// <summary>
/// Represents a <see cref="Rgb"/> that has R, G, and B values set to zero. /// Represents a <see cref="Rgb"/> that has R, G, and B values set to zero.
/// </summary> /// </summary>
public static readonly Rgb Empty = default(Rgb); public static readonly Rgb Empty = default;
/// <summary> /// <summary>
/// The default rgb working space /// The default rgb working space

2
src/ImageSharp/ColorSpaces/YCbCr.cs

@ -18,7 +18,7 @@ namespace SixLabors.ImageSharp.ColorSpaces
/// <summary> /// <summary>
/// Represents a <see cref="YCbCr"/> that has Y, Cb, and Cr values set to zero. /// Represents a <see cref="YCbCr"/> that has Y, Cb, and Cr values set to zero.
/// </summary> /// </summary>
public static readonly YCbCr Empty = default(YCbCr); public static readonly YCbCr Empty = default;
/// <summary> /// <summary>
/// Vector which is used in clamping to the max value /// Vector which is used in clamping to the max value

Loading…
Cancel
Save