diff --git a/eng/Versions.props b/eng/Versions.props
index d005181c3b1628..f96d17e649f31d 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -69,7 +69,7 @@
Source-build builds the product with the most recent previously source-built release. Thankfully, these two requirements line up nicely
such that any version that satisfies the VS version requirement will also satisfy the .NET SDK version requirement because of how we ship.
-->
- 4.14.0
+ 5.0.0
3.3.5-beta1.23270.2
diff --git a/src/libraries/Common/src/System/Security/Cryptography/MLDsaCng.Windows.cs b/src/libraries/Common/src/System/Security/Cryptography/MLDsaCng.Windows.cs
index dee5e6b7c7db3a..cdb5849f9700b7 100644
--- a/src/libraries/Common/src/System/Security/Cryptography/MLDsaCng.Windows.cs
+++ b/src/libraries/Common/src/System/Security/Cryptography/MLDsaCng.Windows.cs
@@ -449,10 +449,12 @@ private void ExportKey(
keyBytes.Length != expectedKeySize ||
!parameterSet.SequenceEqual(expectedParameterSet))
{
+#pragma warning disable IDE0071
Debug.Fail(
$"{nameof(blobType)}: {blobType}, " +
$"{nameof(parameterSet)}: {parameterSet.ToString()}, " +
$"{nameof(keyBytes)}.Length: {keyBytes.Length} / {expectedKeySize}");
+#pragma warning restore IDE0071
throw new CryptographicException();
}
diff --git a/src/libraries/Common/src/System/Security/Cryptography/MLDsaImplementation.Windows.cs b/src/libraries/Common/src/System/Security/Cryptography/MLDsaImplementation.Windows.cs
index dcbd34ed8a2015..f3abbff0614333 100644
--- a/src/libraries/Common/src/System/Security/Cryptography/MLDsaImplementation.Windows.cs
+++ b/src/libraries/Common/src/System/Security/Cryptography/MLDsaImplementation.Windows.cs
@@ -236,10 +236,12 @@ private void ExportKey(string keyBlobType, int expectedKeySize, Span desti
keyBytes.Length != expectedKeySize ||
!parameterSet.SequenceEqual(expectedParameterSet))
{
+#pragma warning disable IDE0071
Debug.Fail(
$"{nameof(blobType)}: {blobType}, " +
$"{nameof(parameterSet)}: {parameterSet.ToString()}, " +
$"{nameof(keyBytes)}.Length: {keyBytes.Length} / {expectedKeySize}");
+#pragma warning restore IDE0071
throw new CryptographicException();
}
diff --git a/src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/TypeNameParser.cs b/src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/TypeNameParser.cs
index 448cc85ff1003e..ee89603972b7d3 100644
--- a/src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/TypeNameParser.cs
+++ b/src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/TypeNameParser.cs
@@ -61,7 +61,9 @@ private TypeNameParser(ReadOnlySpan name, bool throwOnError, TypeNameParse
return null;
}
+#pragma warning disable IDE0071
Debug.Assert(parsedName.GetNodeCount() == recursiveDepth, $"Node count mismatch for '{typeName.ToString()}'");
+#pragma warning restore IDE0071
return parsedName;
}