Skip to content

Commit fe044d1

Browse files
wischi-chrdlemstra
authored andcommitted
Remove return value documentation for void return types.
1 parent 1adb6b4 commit fe044d1

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

src/ImageSharp/Formats/ImageExtensions.Save.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ public static Task SaveAsBmpAsync(this Image source, Stream stream, Cancellation
105105
/// <param name="stream">The stream to save the image to.</param>
106106
/// <param name="encoder">The encoder to save the image with.</param>
107107
/// <exception cref="System.ArgumentNullException">Thrown if the stream is null.</exception>
108-
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
109108
public static void SaveAsBmp(this Image source, Stream stream, BmpEncoder encoder)
110109
=> source.Save(
111110
stream,
@@ -208,7 +207,6 @@ public static Task SaveAsGifAsync(this Image source, Stream stream, Cancellation
208207
/// <param name="stream">The stream to save the image to.</param>
209208
/// <param name="encoder">The encoder to save the image with.</param>
210209
/// <exception cref="System.ArgumentNullException">Thrown if the stream is null.</exception>
211-
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
212210
public static void SaveAsGif(this Image source, Stream stream, GifEncoder encoder)
213211
=> source.Save(
214212
stream,
@@ -311,7 +309,6 @@ public static Task SaveAsJpegAsync(this Image source, Stream stream, Cancellatio
311309
/// <param name="stream">The stream to save the image to.</param>
312310
/// <param name="encoder">The encoder to save the image with.</param>
313311
/// <exception cref="System.ArgumentNullException">Thrown if the stream is null.</exception>
314-
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
315312
public static void SaveAsJpeg(this Image source, Stream stream, JpegEncoder encoder)
316313
=> source.Save(
317314
stream,
@@ -414,7 +411,6 @@ public static Task SaveAsPbmAsync(this Image source, Stream stream, Cancellation
414411
/// <param name="stream">The stream to save the image to.</param>
415412
/// <param name="encoder">The encoder to save the image with.</param>
416413
/// <exception cref="System.ArgumentNullException">Thrown if the stream is null.</exception>
417-
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
418414
public static void SaveAsPbm(this Image source, Stream stream, PbmEncoder encoder)
419415
=> source.Save(
420416
stream,
@@ -517,7 +513,6 @@ public static Task SaveAsPngAsync(this Image source, Stream stream, Cancellation
517513
/// <param name="stream">The stream to save the image to.</param>
518514
/// <param name="encoder">The encoder to save the image with.</param>
519515
/// <exception cref="System.ArgumentNullException">Thrown if the stream is null.</exception>
520-
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
521516
public static void SaveAsPng(this Image source, Stream stream, PngEncoder encoder)
522517
=> source.Save(
523518
stream,
@@ -620,7 +615,6 @@ public static Task SaveAsTgaAsync(this Image source, Stream stream, Cancellation
620615
/// <param name="stream">The stream to save the image to.</param>
621616
/// <param name="encoder">The encoder to save the image with.</param>
622617
/// <exception cref="System.ArgumentNullException">Thrown if the stream is null.</exception>
623-
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
624618
public static void SaveAsTga(this Image source, Stream stream, TgaEncoder encoder)
625619
=> source.Save(
626620
stream,
@@ -723,7 +717,6 @@ public static Task SaveAsWebpAsync(this Image source, Stream stream, Cancellatio
723717
/// <param name="stream">The stream to save the image to.</param>
724718
/// <param name="encoder">The encoder to save the image with.</param>
725719
/// <exception cref="System.ArgumentNullException">Thrown if the stream is null.</exception>
726-
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
727720
public static void SaveAsWebp(this Image source, Stream stream, WebpEncoder encoder)
728721
=> source.Save(
729722
stream,
@@ -826,7 +819,6 @@ public static Task SaveAsTiffAsync(this Image source, Stream stream, Cancellatio
826819
/// <param name="stream">The stream to save the image to.</param>
827820
/// <param name="encoder">The encoder to save the image with.</param>
828821
/// <exception cref="System.ArgumentNullException">Thrown if the stream is null.</exception>
829-
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
830822
public static void SaveAsTiff(this Image source, Stream stream, TiffEncoder encoder)
831823
=> source.Save(
832824
stream,

src/ImageSharp/Formats/ImageExtensions.Save.tt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ namespace SixLabors.ImageSharp
124124
/// <param name="stream">The stream to save the image to.</param>
125125
/// <param name="encoder">The encoder to save the image with.</param>
126126
/// <exception cref="System.ArgumentNullException">Thrown if the stream is null.</exception>
127-
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
128127
public static void SaveAs<#= fmt #>(this Image source, Stream stream, <#= fmt #>Encoder encoder)
129128
=> source.Save(
130129
stream,

0 commit comments

Comments
 (0)