mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-22 14:48:47 +00:00
[ci skip] test: remove NOSONAR markers
This commit is contained in:
parent
c338f4263e
commit
e5e27c0afd
@ -92,14 +92,12 @@ public static class SpanExtensions
|
|||||||
}
|
}
|
||||||
|
|
||||||
// dotcover disable
|
// dotcover disable
|
||||||
//NOSONAR
|
|
||||||
default:
|
default:
|
||||||
#if NET7_0_OR_GREATER
|
#if NET7_0_OR_GREATER
|
||||||
throw new UnreachableException(string.Format(ExceptionMessages.EnumSizeIsUnexpected, Unsafe.SizeOf<T>()));
|
throw new UnreachableException(string.Format(ExceptionMessages.EnumSizeIsUnexpected, Unsafe.SizeOf<T>()));
|
||||||
#else
|
#else
|
||||||
throw new ArgumentException(string.Format(ExceptionMessages.EnumSizeIsUnexpected, Unsafe.SizeOf<T>()));
|
throw new ArgumentException(string.Format(ExceptionMessages.EnumSizeIsUnexpected, Unsafe.SizeOf<T>()));
|
||||||
#endif
|
#endif
|
||||||
//NOSONAR
|
|
||||||
// dotcover enable
|
// dotcover enable
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -98,7 +98,6 @@ public static class RuneExtensions
|
|||||||
}
|
}
|
||||||
|
|
||||||
// dotcover disable
|
// dotcover disable
|
||||||
//NOSONAR
|
|
||||||
default:
|
default:
|
||||||
string exceptionFormat = ExceptionMessages.UnexpectedRuneUtf8SequenceLength;
|
string exceptionFormat = ExceptionMessages.UnexpectedRuneUtf8SequenceLength;
|
||||||
string message = string.Format(CultureInfo.CurrentCulture, exceptionFormat, length);
|
string message = string.Format(CultureInfo.CurrentCulture, exceptionFormat, length);
|
||||||
@ -107,7 +106,6 @@ public static class RuneExtensions
|
|||||||
#else
|
#else
|
||||||
throw new InvalidOperationException(message);
|
throw new InvalidOperationException(message);
|
||||||
#endif
|
#endif
|
||||||
//NOSONAR
|
|
||||||
// dotcover enable
|
// dotcover enable
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user