diff --git a/src/Magick.NET.Core/IMagickImage.cs b/src/Magick.NET.Core/IMagickImage.cs index 0fb2c7c024..d0586bf2f6 100644 --- a/src/Magick.NET.Core/IMagickImage.cs +++ b/src/Magick.NET.Core/IMagickImage.cs @@ -2746,14 +2746,12 @@ Interlace Interlace /// Remove a profile from the image. /// /// The profile to remove. - /// Thrown when an error is raised by ImageMagick. public void RemoveProfile(IImageProfile profile); /// /// Remove a named profile from the image. /// /// The name of the profile (e.g. "ICM", "IPTC", or a generic profile name). - /// Thrown when an error is raised by ImageMagick. void RemoveProfile(string name); /// diff --git a/src/Magick.NET/MagickImage.cs b/src/Magick.NET/MagickImage.cs index e873129de6..dbd9331a1a 100644 --- a/src/Magick.NET/MagickImage.cs +++ b/src/Magick.NET/MagickImage.cs @@ -5382,7 +5382,6 @@ public void RemoveRegionMask() /// Remove a profile from the image. /// /// The profile to remove. - /// Thrown when an error is raised by ImageMagick. public void RemoveProfile(IImageProfile profile) { Throw.IfNull(nameof(profile), profile); @@ -5394,7 +5393,6 @@ public void RemoveProfile(IImageProfile profile) /// Remove a named profile from the image. /// /// The name of the profile (e.g. "ICM", "IPTC", or a generic profile name). - /// Thrown when an error is raised by ImageMagick. public void RemoveProfile(string name) { Throw.IfNullOrEmpty(nameof(name), name);