API Diff .NET 10.0 RC1 -> RC2 (#10138)
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
# API difference between .NET 10.0 RC 1 and .NET 10.0 RC 2
|
||||||
|
|
||||||
|
API listing follows standard diff formatting.
|
||||||
|
Lines preceded by a '+' are additions and a '-' indicates removal.
|
||||||
|
|
||||||
|
* [Microsoft.AspNetCore.Components](10.0-RC2_Microsoft.AspNetCore.Components.md)
|
||||||
|
* [Microsoft.AspNetCore.Mvc.TagHelpers](10.0-RC2_Microsoft.AspNetCore.Mvc.TagHelpers.md)
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
# Microsoft.AspNetCore.Components
|
||||||
|
|
||||||
|
```diff
|
||||||
|
namespace Microsoft.AspNetCore.Components
|
||||||
|
{
|
||||||
|
public class RouteView : Microsoft.AspNetCore.Components.IComponent
|
||||||
|
{
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute("Trimming", "IL2110", Justification = "Layout components are preserved because the LayoutAttribute constructor parameter is correctly annotated.")]
|
||||||
|
protected virtual void Render(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
# Microsoft.AspNetCore.Mvc.TagHelpers
|
||||||
|
|
||||||
|
```diff
|
||||||
|
namespace Microsoft.AspNetCore.Mvc.TagHelpers
|
||||||
|
{
|
||||||
|
public class ScriptTagHelper : Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper
|
||||||
|
{
|
||||||
|
- public override void Process(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output);
|
||||||
|
+ public override System.Threading.Tasks.Task ProcessAsync(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
# API difference between .NET 10.0 RC 1 and .NET 10.0 RC 2
|
||||||
|
|
||||||
|
API listing follows standard diff formatting.
|
||||||
|
Lines preceded by a '+' are additions and a '-' indicates removal.
|
||||||
|
|
||||||
|
* [System.Numerics.Vectors](10.0-RC2_System.Numerics.Vectors.md)
|
||||||
|
* [System.Runtime](10.0-RC2_System.Runtime.md)
|
||||||
|
* [System.Runtime.Intrinsics](10.0-RC2_System.Runtime.Intrinsics.md)
|
||||||
|
* [System.Security.Cryptography](10.0-RC2_System.Security.Cryptography.md)
|
||||||
|
* [System.Xml.XmlSerializer](10.0-RC2_System.Xml.XmlSerializer.md)
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
# System.Numerics.Vectors
|
||||||
|
|
||||||
|
```diff
|
||||||
|
namespace System.Numerics
|
||||||
|
{
|
||||||
|
public static class Vector
|
||||||
|
{
|
||||||
|
- public static System.Numerics.Vector<T> get_E<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointConstants<T>;
|
||||||
|
- public static System.Numerics.Vector<T> get_Epsilon<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Numerics.Vector<T> get_NaN<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Numerics.Vector<T> get_NegativeInfinity<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Numerics.Vector<T> get_NegativeOne<T>()
|
||||||
|
- where T : System.Numerics.ISignedNumber<T>;
|
||||||
|
- public static System.Numerics.Vector<T> get_NegativeZero<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Numerics.Vector<T> get_Pi<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointConstants<T>;
|
||||||
|
- public static System.Numerics.Vector<T> get_PositiveInfinity<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Numerics.Vector<T> get_Tau<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointConstants<T>;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
@@ -0,0 +1,91 @@
|
|||||||
|
# System.Runtime.Intrinsics
|
||||||
|
|
||||||
|
```diff
|
||||||
|
namespace System.Runtime.Intrinsics
|
||||||
|
{
|
||||||
|
public static class Vector128
|
||||||
|
{
|
||||||
|
- public static System.Runtime.Intrinsics.Vector128<T> get_E<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointConstants<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector128<T> get_Epsilon<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector128<T> get_NaN<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector128<T> get_NegativeInfinity<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector128<T> get_NegativeOne<T>()
|
||||||
|
- where T : System.Numerics.ISignedNumber<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector128<T> get_NegativeZero<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector128<T> get_Pi<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointConstants<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector128<T> get_PositiveInfinity<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector128<T> get_Tau<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointConstants<T>;
|
||||||
|
}
|
||||||
|
public static class Vector256
|
||||||
|
{
|
||||||
|
- public static System.Runtime.Intrinsics.Vector256<T> get_E<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointConstants<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector256<T> get_Epsilon<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector256<T> get_NaN<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector256<T> get_NegativeInfinity<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector256<T> get_NegativeOne<T>()
|
||||||
|
- where T : System.Numerics.ISignedNumber<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector256<T> get_NegativeZero<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector256<T> get_Pi<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointConstants<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector256<T> get_PositiveInfinity<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector256<T> get_Tau<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointConstants<T>;
|
||||||
|
}
|
||||||
|
public static class Vector512
|
||||||
|
{
|
||||||
|
- public static System.Runtime.Intrinsics.Vector512<T> get_E<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointConstants<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector512<T> get_Epsilon<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector512<T> get_NaN<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector512<T> get_NegativeInfinity<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector512<T> get_NegativeOne<T>()
|
||||||
|
- where T : System.Numerics.ISignedNumber<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector512<T> get_NegativeZero<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector512<T> get_Pi<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointConstants<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector512<T> get_PositiveInfinity<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector512<T> get_Tau<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointConstants<T>;
|
||||||
|
}
|
||||||
|
public static class Vector64
|
||||||
|
{
|
||||||
|
- public static System.Runtime.Intrinsics.Vector64<T> get_E<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointConstants<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector64<T> get_Epsilon<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector64<T> get_NaN<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector64<T> get_NegativeInfinity<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector64<T> get_NegativeOne<T>()
|
||||||
|
- where T : System.Numerics.ISignedNumber<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector64<T> get_NegativeZero<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector64<T> get_Pi<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointConstants<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector64<T> get_PositiveInfinity<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointIeee754<T>;
|
||||||
|
- public static System.Runtime.Intrinsics.Vector64<T> get_Tau<T>()
|
||||||
|
- where T : System.Numerics.IFloatingPointConstants<T>;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
# System.Runtime
|
||||||
|
|
||||||
|
```diff
|
||||||
|
namespace System
|
||||||
|
{
|
||||||
|
public class ArgumentOutOfRangeException : System.ArgumentException
|
||||||
|
{
|
||||||
|
- public static void ThrowIfEqual<T>(T value, T other, string? paramName = null)
|
||||||
|
+ public static void ThrowIfEqual<T>(T value, T other, string? paramName = null);
|
||||||
|
- where T : System.IEquatable<T>?;
|
||||||
|
- public static void ThrowIfNotEqual<T>(T value, T other, string? paramName = null)
|
||||||
|
+ public static void ThrowIfNotEqual<T>(T value, T other, string? paramName = null);
|
||||||
|
- where T : System.IEquatable<T>?;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
@@ -0,0 +1,126 @@
|
|||||||
|
# System.Security.Cryptography
|
||||||
|
|
||||||
|
```diff
|
||||||
|
namespace System.Security.Cryptography
|
||||||
|
{
|
||||||
|
public sealed class CngAlgorithm : System.IEquatable<System.Security.Cryptography.CngAlgorithm>
|
||||||
|
{
|
||||||
|
- [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public static System.Security.Cryptography.CngAlgorithm MLDsa { get; }
|
||||||
|
}
|
||||||
|
public sealed class CngAlgorithmGroup : System.IEquatable<System.Security.Cryptography.CngAlgorithmGroup>
|
||||||
|
{
|
||||||
|
- [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public static System.Security.Cryptography.CngAlgorithmGroup MLDsa { get; }
|
||||||
|
}
|
||||||
|
public sealed class CngKeyBlobFormat : System.IEquatable<System.Security.Cryptography.CngKeyBlobFormat>
|
||||||
|
{
|
||||||
|
- [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public static System.Security.Cryptography.CngKeyBlobFormat PQDsaPrivateBlob { get; }
|
||||||
|
- [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public static System.Security.Cryptography.CngKeyBlobFormat PQDsaPrivateSeedBlob { get; }
|
||||||
|
- [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public static System.Security.Cryptography.CngKeyBlobFormat PQDsaPublicBlob { get; }
|
||||||
|
}
|
||||||
|
- [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public abstract class MLDsa : System.IDisposable
|
||||||
|
{
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public byte[] ExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan<byte> passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public byte[] ExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan<char> password, System.Security.Cryptography.PbeParameters pbeParameters);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public byte[] ExportEncryptedPkcs8PrivateKey(string password, System.Security.Cryptography.PbeParameters pbeParameters);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public string ExportEncryptedPkcs8PrivateKeyPem(System.ReadOnlySpan<byte> passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public string ExportEncryptedPkcs8PrivateKeyPem(System.ReadOnlySpan<char> password, System.Security.Cryptography.PbeParameters pbeParameters);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public string ExportEncryptedPkcs8PrivateKeyPem(string password, System.Security.Cryptography.PbeParameters pbeParameters);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public byte[] ExportPkcs8PrivateKey();
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public string ExportPkcs8PrivateKeyPem();
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public byte[] ExportSubjectPublicKeyInfo();
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public string ExportSubjectPublicKeyInfoPem();
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public static System.Security.Cryptography.MLDsa ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan<byte> passwordBytes, System.ReadOnlySpan<byte> source);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public static System.Security.Cryptography.MLDsa ImportEncryptedPkcs8PrivateKey(System.ReadOnlySpan<char> password, System.ReadOnlySpan<byte> source);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public static System.Security.Cryptography.MLDsa ImportEncryptedPkcs8PrivateKey(string password, byte[] source);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public static System.Security.Cryptography.MLDsa ImportFromEncryptedPem(System.ReadOnlySpan<char> source, System.ReadOnlySpan<byte> passwordBytes);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public static System.Security.Cryptography.MLDsa ImportFromEncryptedPem(System.ReadOnlySpan<char> source, System.ReadOnlySpan<char> password);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public static System.Security.Cryptography.MLDsa ImportFromEncryptedPem(string source, byte[] passwordBytes);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public static System.Security.Cryptography.MLDsa ImportFromEncryptedPem(string source, string password);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public static System.Security.Cryptography.MLDsa ImportFromPem(System.ReadOnlySpan<char> source);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public static System.Security.Cryptography.MLDsa ImportFromPem(string source);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public static System.Security.Cryptography.MLDsa ImportPkcs8PrivateKey(byte[] source);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public static System.Security.Cryptography.MLDsa ImportPkcs8PrivateKey(System.ReadOnlySpan<byte> source);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public static System.Security.Cryptography.MLDsa ImportSubjectPublicKeyInfo(byte[] source);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public static System.Security.Cryptography.MLDsa ImportSubjectPublicKeyInfo(System.ReadOnlySpan<byte> source);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public byte[] SignMu(byte[] externalMu);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public void SignMu(System.ReadOnlySpan<byte> externalMu, System.Span<byte> destination);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public byte[] SignMu(System.ReadOnlySpan<byte> externalMu);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
protected abstract void SignMuCore(System.ReadOnlySpan<byte> externalMu, System.Span<byte> destination);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public byte[] SignPreHash(byte[] hash, string hashAlgorithmOid, byte[]? context = null);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public void SignPreHash(System.ReadOnlySpan<byte> hash, System.Span<byte> destination, string hashAlgorithmOid, System.ReadOnlySpan<byte> context = default(System.ReadOnlySpan<byte>));
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
protected abstract void SignPreHashCore(System.ReadOnlySpan<byte> hash, System.ReadOnlySpan<byte> context, string hashAlgorithmOid, System.Span<byte> destination);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan<byte> passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters, System.Span<byte> destination, out int bytesWritten);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public bool TryExportEncryptedPkcs8PrivateKey(System.ReadOnlySpan<char> password, System.Security.Cryptography.PbeParameters pbeParameters, System.Span<byte> destination, out int bytesWritten);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public bool TryExportEncryptedPkcs8PrivateKey(string password, System.Security.Cryptography.PbeParameters pbeParameters, System.Span<byte> destination, out int bytesWritten);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public bool TryExportPkcs8PrivateKey(System.Span<byte> destination, out int bytesWritten);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
protected abstract bool TryExportPkcs8PrivateKeyCore(System.Span<byte> destination, out int bytesWritten);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public bool TryExportSubjectPublicKeyInfo(System.Span<byte> destination, out int bytesWritten);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public bool VerifyMu(byte[] externalMu, byte[] signature);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public bool VerifyMu(System.ReadOnlySpan<byte> externalMu, System.ReadOnlySpan<byte> signature);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
protected abstract bool VerifyMuCore(System.ReadOnlySpan<byte> externalMu, System.ReadOnlySpan<byte> signature);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public bool VerifyPreHash(byte[] hash, byte[] signature, string hashAlgorithmOid, byte[]? context = null);
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public bool VerifyPreHash(System.ReadOnlySpan<byte> hash, System.ReadOnlySpan<byte> signature, string hashAlgorithmOid, System.ReadOnlySpan<byte> context = default(System.ReadOnlySpan<byte>));
|
||||||
|
+ [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
protected abstract bool VerifyPreHashCore(System.ReadOnlySpan<byte> hash, System.ReadOnlySpan<byte> context, string hashAlgorithmOid, System.ReadOnlySpan<byte> signature);
|
||||||
|
}
|
||||||
|
- [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public sealed class MLDsaAlgorithm : System.IEquatable<System.Security.Cryptography.MLDsaAlgorithm>
|
||||||
|
{
|
||||||
|
}
|
||||||
|
- [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public sealed class MLDsaCng : System.Security.Cryptography.MLDsa
|
||||||
|
{
|
||||||
|
}
|
||||||
|
- [System.Diagnostics.CodeAnalysis.ExperimentalAttribute("SYSLIB5006", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
|
||||||
|
public sealed class MLDsaOpenSsl : System.Security.Cryptography.MLDsa
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
# System.Xml.XmlSerializer
|
||||||
|
|
||||||
|
```diff
|
||||||
|
namespace System.Xml.Serialization
|
||||||
|
{
|
||||||
|
public abstract class XmlSerializationReader : System.Xml.Serialization.XmlSerializationGeneratedCode
|
||||||
|
{
|
||||||
|
+ protected static System.DateOnly ToDateOnly(string value);
|
||||||
|
+ protected static System.TimeOnly ToTimeOnly(string value);
|
||||||
|
+ protected static System.TimeOnly ToTimeOnlyIgnoreOffset(string value);
|
||||||
|
}
|
||||||
|
public abstract class XmlSerializationWriter : System.Xml.Serialization.XmlSerializationGeneratedCode
|
||||||
|
{
|
||||||
|
+ protected static string FromDateOnly(System.DateOnly value);
|
||||||
|
+ protected static string FromTimeOnly(System.TimeOnly value);
|
||||||
|
+ protected static string FromTimeOnlyIgnoreOffset(System.TimeOnly value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
# API difference between .NET 10.0 RC 1 and .NET 10.0 RC 2
|
||||||
|
|
||||||
|
API listing follows standard diff formatting.
|
||||||
|
Lines preceded by a '+' are additions and a '-' indicates removal.
|
||||||
|
|
||||||
|
* [System.Windows.Forms](10.0-RC2_System.Windows.Forms.md)
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
# System.Windows.Forms
|
||||||
|
|
||||||
|
```diff
|
||||||
|
namespace System.Windows.Forms
|
||||||
|
{
|
||||||
|
public abstract class ButtonBase : System.Windows.Forms.Control
|
||||||
|
{
|
||||||
|
+ protected override void OnBackColorChanged(System.EventArgs e);
|
||||||
|
+ protected override void OnForeColorChanged(System.EventArgs e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
7
release-notes/10.0/preview/rc2/api-diff/README.md
Normal file
7
release-notes/10.0/preview/rc2/api-diff/README.md
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# .NET 10.0 RC 2 API Changes
|
||||||
|
|
||||||
|
The following API changes were made in .NET 10.0 RC 2:
|
||||||
|
|
||||||
|
- [Microsoft.NETCore.App](./Microsoft.NETCore.App/10.0-RC2.md)
|
||||||
|
- [Microsoft.AspNetCore.App](./Microsoft.AspNetCore.App/10.0-RC2.md)
|
||||||
|
- [Microsoft.WindowsDesktop.App](./Microsoft.WindowsDesktop.App/10.0-RC2.md)
|
||||||
Reference in New Issue
Block a user