Skip to content

Commit 0b2cf32

Browse files
committed
Replaced comment with /// <inheritdoc />
1 parent 6cbbb19 commit 0b2cf32

29 files changed

+29
-116
lines changed

src/ImageSharp/PixelFormats/PixelImplementations/A8.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,7 @@ public partial struct A8 : IPixel<A8>, IPackedVector<byte>
5656
[MethodImpl(InliningOptions.ShortMethod)]
5757
public static bool operator !=(A8 left, A8 right) => !left.Equals(right);
5858

59-
/// <summary>
60-
/// Gets the pixel type information.
61-
/// </summary>
62-
/// <returns>PixelTypeInfo</returns>
59+
/// <inheritdoc/>
6360
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<A8>(1, PixelAlphaRepresentation.Unassociated);
6461

6562
/// <inheritdoc />

src/ImageSharp/PixelFormats/PixelImplementations/Abgr32.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,7 @@ public uint PackedValue
184184
[MethodImpl(InliningOptions.ShortMethod)]
185185
public static bool operator !=(Abgr32 left, Abgr32 right) => !left.Equals(right);
186186

187-
/// <summary>
188-
/// Gets the pixel type information.
189-
/// </summary>
190-
/// <returns>PixelTypeInfo</returns>
187+
/// <inheritdoc />
191188
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Abgr32>(4, PixelAlphaRepresentation.Unassociated);
192189

193190
/// <inheritdoc />

src/ImageSharp/PixelFormats/PixelImplementations/Argb32.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,7 @@ public uint PackedValue
184184
[MethodImpl(InliningOptions.ShortMethod)]
185185
public static bool operator !=(Argb32 left, Argb32 right) => !left.Equals(right);
186186

187-
/// <summary>
188-
/// Gets the pixel type information.
189-
/// </summary>
190-
/// <returns>PixelTypeInfo</returns>
187+
/// <inheritdoc />
191188
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Argb32>(4, PixelAlphaRepresentation.Unassociated);
192189

193190
/// <inheritdoc />

src/ImageSharp/PixelFormats/PixelImplementations/Bgr24.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,7 @@ public Bgr24(byte r, byte g, byte b)
8888
[MethodImpl(InliningOptions.ShortMethod)]
8989
public static bool operator !=(Bgr24 left, Bgr24 right) => !left.Equals(right);
9090

91-
/// <summary>
92-
/// Gets the pixel type information.
93-
/// </summary>
94-
/// <returns>PixelTypeInfo</returns>
91+
/// <inheritdoc />
9592
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Bgr24>(3, PixelAlphaRepresentation.None);
9693

9794
/// <inheritdoc/>

src/ImageSharp/PixelFormats/PixelImplementations/Bgr565.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,7 @@ public Bgr565(float x, float y, float z)
6060
[MethodImpl(InliningOptions.ShortMethod)]
6161
public static bool operator !=(Bgr565 left, Bgr565 right) => !left.Equals(right);
6262

63-
/// <summary>
64-
/// Gets the pixel type information.
65-
/// </summary>
66-
/// <returns>PixelTypeInfo</returns>
63+
/// <inheritdoc />
6764
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Bgr565>(3, PixelAlphaRepresentation.None);
6865

6966
/// <inheritdoc />

src/ImageSharp/PixelFormats/PixelImplementations/Bgra32.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,7 @@ public uint PackedValue
137137
[MethodImpl(InliningOptions.ShortMethod)]
138138
public static bool operator !=(Bgra32 left, Bgra32 right) => !left.Equals(right);
139139

140-
/// <summary>
141-
/// Gets the pixel type information.
142-
/// </summary>
143-
/// <returns>PixelTypeInfo</returns>
140+
/// <inheritdoc />
144141
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Bgra32>(4, PixelAlphaRepresentation.Unassociated);
145142

146143
/// <inheritdoc/>

src/ImageSharp/PixelFormats/PixelImplementations/Bgra4444.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,7 @@ public Bgra4444(float x, float y, float z, float w)
5858
[MethodImpl(InliningOptions.ShortMethod)]
5959
public static bool operator !=(Bgra4444 left, Bgra4444 right) => !left.Equals(right);
6060

61-
/// <summary>
62-
/// Gets the pixel type information.
63-
/// </summary>
64-
/// <returns>PixelTypeInfo</returns>
61+
/// <inheritdoc />
6562
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Bgra4444>(4, PixelAlphaRepresentation.Unassociated);
6663

6764
/// <inheritdoc />

src/ImageSharp/PixelFormats/PixelImplementations/Bgra5551.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,7 @@ public Bgra5551(float x, float y, float z, float w)
6161
[MethodImpl(InliningOptions.ShortMethod)]
6262
public static bool operator !=(Bgra5551 left, Bgra5551 right) => !left.Equals(right);
6363

64-
/// <summary>
65-
/// Gets the pixel type information.
66-
/// </summary>
67-
/// <returns>PixelTypeInfo</returns>
64+
/// <inheritdoc />
6865
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Bgra5551>(4, PixelAlphaRepresentation.Unassociated);
6966

7067
/// <inheritdoc />

src/ImageSharp/PixelFormats/PixelImplementations/Byte4.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,7 @@ public Byte4(float x, float y, float z, float w)
6161
[MethodImpl(InliningOptions.ShortMethod)]
6262
public static bool operator !=(Byte4 left, Byte4 right) => !left.Equals(right);
6363

64-
/// <summary>
65-
/// Gets the pixel type information.
66-
/// </summary>
67-
/// <returns>PixelTypeInfo</returns>
64+
/// <inheritdoc />
6865
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<Byte4>(4, PixelAlphaRepresentation.Unassociated);
6966

7067
/// <inheritdoc />

src/ImageSharp/PixelFormats/PixelImplementations/HalfSingle.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,7 @@ public partial struct HalfSingle : IPixel<HalfSingle>, IPackedVector<ushort>
4646
[MethodImpl(InliningOptions.ShortMethod)]
4747
public static bool operator !=(HalfSingle left, HalfSingle right) => !left.Equals(right);
4848

49-
/// <summary>
50-
/// Gets the pixel type information.
51-
/// </summary>
52-
/// <returns>PixelTypeInfo</returns>
49+
/// <inheritdoc />
5350
public static PixelTypeInfo GetPixelTypeInfo() => PixelTypeInfo.Create<HalfSingle>(1, PixelAlphaRepresentation.None);
5451

5552
/// <inheritdoc />

0 commit comments

Comments
 (0)