Skip to content

Commit 2949655

Browse files
committed
Fix typos
1 parent 4b69d06 commit 2949655

30 files changed

+33
-31
lines changed

src/ImageSharp/PixelFormats/IPixel.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ public interface IPixel<TSelf> : IPixel, IEquatable<TSelf>
1616
where TSelf : unmanaged, IPixel<TSelf>
1717
{
1818
/// <summary>
19-
/// Gets the The pixel type information.
19+
/// Gets the pixel type information.
2020
/// </summary>
21-
/// <returns>PixelTypeInfo</returns>
21+
/// <returns>The <see cref="PixelTypeInfo"/>.</returns>
22+
#pragma warning disable CA1000
2223
static abstract PixelTypeInfo GetPixelTypeInfo();
24+
#pragma warning restore CA1000
2325

2426
/// <summary>
2527
/// Creates a <see cref="PixelOperations{TPixel}"/> instance for this pixel type.

src/ImageSharp/PixelFormats/PixelImplementations/A8.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public partial struct A8 : IPixel<A8>, IPackedVector<byte>
5757
public static bool operator !=(A8 left, A8 right) => !left.Equals(right);
5858

5959
/// <summary>
60-
/// Gets the The pixel type information.
60+
/// Gets the pixel type information.
6161
/// </summary>
6262
/// <returns>PixelTypeInfo</returns>
6363
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<A8>(1, PixelAlphaRepresentation.Unassociated);

src/ImageSharp/PixelFormats/PixelImplementations/Abgr32.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public uint PackedValue
185185
public static bool operator !=(Abgr32 left, Abgr32 right) => !left.Equals(right);
186186

187187
/// <summary>
188-
/// Gets the The pixel type information.
188+
/// Gets the pixel type information.
189189
/// </summary>
190190
/// <returns>PixelTypeInfo</returns>
191191
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Abgr32>(4, PixelAlphaRepresentation.Unassociated);

src/ImageSharp/PixelFormats/PixelImplementations/Argb32.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public uint PackedValue
185185
public static bool operator !=(Argb32 left, Argb32 right) => !left.Equals(right);
186186

187187
/// <summary>
188-
/// Gets the The pixel type information.
188+
/// Gets the pixel type information.
189189
/// </summary>
190190
/// <returns>PixelTypeInfo</returns>
191191
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Argb32>(4, PixelAlphaRepresentation.Unassociated);

src/ImageSharp/PixelFormats/PixelImplementations/Bgr24.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public Bgr24(byte r, byte g, byte b)
8989
public static bool operator !=(Bgr24 left, Bgr24 right) => !left.Equals(right);
9090

9191
/// <summary>
92-
/// Gets the The pixel type information.
92+
/// Gets the pixel type information.
9393
/// </summary>
9494
/// <returns>PixelTypeInfo</returns>
9595
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Bgr24>(3, PixelAlphaRepresentation.None);

src/ImageSharp/PixelFormats/PixelImplementations/Bgr565.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public Bgr565(float x, float y, float z)
6161
public static bool operator !=(Bgr565 left, Bgr565 right) => !left.Equals(right);
6262

6363
/// <summary>
64-
/// Gets the The pixel type information.
64+
/// Gets the pixel type information.
6565
/// </summary>
6666
/// <returns>PixelTypeInfo</returns>
6767
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Bgr565>(3, PixelAlphaRepresentation.None);

src/ImageSharp/PixelFormats/PixelImplementations/Bgra32.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public uint PackedValue
138138
public static bool operator !=(Bgra32 left, Bgra32 right) => !left.Equals(right);
139139

140140
/// <summary>
141-
/// Gets the The pixel type information.
141+
/// Gets the pixel type information.
142142
/// </summary>
143143
/// <returns>PixelTypeInfo</returns>
144144
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Bgra32>(4, PixelAlphaRepresentation.Unassociated);

src/ImageSharp/PixelFormats/PixelImplementations/Bgra4444.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public Bgra4444(float x, float y, float z, float w)
5959
public static bool operator !=(Bgra4444 left, Bgra4444 right) => !left.Equals(right);
6060

6161
/// <summary>
62-
/// Gets the The pixel type information.
62+
/// Gets the pixel type information.
6363
/// </summary>
6464
/// <returns>PixelTypeInfo</returns>
6565
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Bgra4444>(4, PixelAlphaRepresentation.Unassociated);

src/ImageSharp/PixelFormats/PixelImplementations/Bgra5551.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public Bgra5551(float x, float y, float z, float w)
6262
public static bool operator !=(Bgra5551 left, Bgra5551 right) => !left.Equals(right);
6363

6464
/// <summary>
65-
/// Gets the The pixel type information.
65+
/// Gets the pixel type information.
6666
/// </summary>
6767
/// <returns>PixelTypeInfo</returns>
6868
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Bgra5551>(4, PixelAlphaRepresentation.Unassociated);

src/ImageSharp/PixelFormats/PixelImplementations/Byte4.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public Byte4(float x, float y, float z, float w)
6262
public static bool operator !=(Byte4 left, Byte4 right) => !left.Equals(right);
6363

6464
/// <summary>
65-
/// Gets the The pixel type information.
65+
/// Gets the pixel type information.
6666
/// </summary>
6767
/// <returns>PixelTypeInfo</returns>
6868
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Byte4>(4, PixelAlphaRepresentation.Unassociated);

0 commit comments

Comments
 (0)