mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-22 08:58:48 +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
|
||||
//NOSONAR
|
||||
default:
|
||||
#if NET7_0_OR_GREATER
|
||||
throw new UnreachableException(string.Format(ExceptionMessages.EnumSizeIsUnexpected, Unsafe.SizeOf<T>()));
|
||||
#else
|
||||
throw new ArgumentException(string.Format(ExceptionMessages.EnumSizeIsUnexpected, Unsafe.SizeOf<T>()));
|
||||
#endif
|
||||
//NOSONAR
|
||||
// dotcover enable
|
||||
}
|
||||
}
|
||||
|
@ -98,7 +98,6 @@ public static class RuneExtensions
|
||||
}
|
||||
|
||||
// dotcover disable
|
||||
//NOSONAR
|
||||
default:
|
||||
string exceptionFormat = ExceptionMessages.UnexpectedRuneUtf8SequenceLength;
|
||||
string message = string.Format(CultureInfo.CurrentCulture, exceptionFormat, length);
|
||||
@ -107,7 +106,6 @@ public static class RuneExtensions
|
||||
#else
|
||||
throw new InvalidOperationException(message);
|
||||
#endif
|
||||
//NOSONAR
|
||||
// dotcover enable
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user