1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-22 03:38:46 +00:00

[ci skip] test: remove NOSONAR markers

This commit is contained in:
Oliver Booth 2024-06-12 11:52:31 +01:00
parent c338f4263e
commit e5e27c0afd
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5
2 changed files with 0 additions and 4 deletions

View File

@ -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
}
}

View File

@ -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
}
}