diff --git a/src/ImageSharp/Common/Helpers/Guard.cs b/src/ImageSharp/Common/Helpers/Guard.cs
index cd53e3d69..d8cf69a52 100644
--- a/src/ImageSharp/Common/Helpers/Guard.cs
+++ b/src/ImageSharp/Common/Helpers/Guard.cs
@@ -21,7 +21,6 @@ namespace SixLabors.ImageSharp
/// The name of the parameter that is to be checked.
/// is null
[MethodImpl(InliningOptions.ShortMethod)]
- [DebuggerStepThrough]
public static void NotNull(T value, string parameterName)
where T : class
{
@@ -39,7 +38,6 @@ namespace SixLabors.ImageSharp
/// is null.
/// is empty or contains only blanks.
[MethodImpl(InliningOptions.ShortMethod)]
- [DebuggerStepThrough]
public static void NotNullOrWhiteSpace(string value, string parameterName)
{
if (value is null)
@@ -62,7 +60,6 @@ namespace SixLabors.ImageSharp
/// is null.
/// is empty.
[MethodImpl(InliningOptions.ShortMethod)]
- [DebuggerStepThrough]
public static void NotNullOrEmpty(ICollection value, string parameterName)
{
if (value is null)
@@ -87,7 +84,6 @@ namespace SixLabors.ImageSharp
/// is greater than the maximum value.
///
[MethodImpl(InliningOptions.ShortMethod)]
- [DebuggerStepThrough]
public static void MustBeLessThan(TValue value, TValue max, string parameterName)
where TValue : IComparable
{
@@ -109,7 +105,6 @@ namespace SixLabors.ImageSharp
/// is greater than the maximum value.
///
[MethodImpl(InliningOptions.ShortMethod)]
- [DebuggerStepThrough]
public static void MustBeLessThanOrEqualTo(TValue value, TValue max, string parameterName)
where TValue : IComparable
{
@@ -131,7 +126,6 @@ namespace SixLabors.ImageSharp
/// is less than the minimum value.
///
[MethodImpl(InliningOptions.ShortMethod)]
- [DebuggerStepThrough]
public static void MustBeGreaterThan(TValue value, TValue min, string parameterName)
where TValue : IComparable
{
@@ -155,7 +149,6 @@ namespace SixLabors.ImageSharp
/// is less than the minimum value.
///
[MethodImpl(InliningOptions.ShortMethod)]
- [DebuggerStepThrough]
public static void MustBeGreaterThanOrEqualTo(TValue value, TValue min, string parameterName)
where TValue : IComparable
{
@@ -178,7 +171,6 @@ namespace SixLabors.ImageSharp
/// is less than the minimum value of greater than the maximum value.
///
[MethodImpl(InliningOptions.ShortMethod)]
- [DebuggerStepThrough]
public static void MustBeBetweenOrEqualTo(TValue value, TValue min, TValue max, string parameterName)
where TValue : IComparable
{
@@ -199,7 +191,6 @@ namespace SixLabors.ImageSharp
/// is false
///
[MethodImpl(InliningOptions.ShortMethod)]
- [DebuggerStepThrough]
public static void IsTrue(bool target, string parameterName, string message)
{
if (!target)
@@ -219,7 +210,6 @@ namespace SixLabors.ImageSharp
/// is true
///
[MethodImpl(InliningOptions.ShortMethod)]
- [DebuggerStepThrough]
public static void IsFalse(bool target, string parameterName, string message)
{
if (target)
@@ -239,7 +229,6 @@ namespace SixLabors.ImageSharp
/// has less than items
///
[MethodImpl(InliningOptions.ShortMethod)]
- [DebuggerStepThrough]
public static void MustBeSizedAtLeast(ReadOnlySpan source, int minLength, string parameterName)
{
if (source.Length < minLength)
@@ -257,7 +246,6 @@ namespace SixLabors.ImageSharp
/// The destination span
/// The name of the argument for 'destination'
[MethodImpl(InliningOptions.ShortMethod)]
- [DebuggerStepThrough]
public static void DestinationShouldNotBeTooShort(
ReadOnlySpan source,
Span destination,
@@ -280,7 +268,6 @@ namespace SixLabors.ImageSharp
/// has less than items
///
[MethodImpl(InliningOptions.ShortMethod)]
- [DebuggerStepThrough]
public static void MustBeSizedAtLeast(Span source, int minLength, string parameterName)
{
if (source.Length < minLength)