From fa63629a12eec0afe8f6f87a566890f073fc1628 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20S=C3=A1nchez=20L=C3=B3pez?= <1175054+carlossanlop@users.noreply.github.com> Date: Tue, 13 Aug 2024 10:47:43 -0700 Subject: [PATCH 1/5] Microsoft.AspNetCore.App --- .../Microsoft.AspNetCore.App/9.0-preview7.md | 22 ++++++++++ ...0-preview7_Microsoft.AspNetCore.Builder.md | 13 ++++++ ...oft.AspNetCore.Components.Authorization.md | 18 ++++++++ ...AspNetCore.DataProtection.KeyManagement.md | 15 +++++++ ....AspNetCore.DataProtection.Repositories.md | 24 +++++++++++ ...iew7_Microsoft.AspNetCore.Http.Features.md | 10 +++++ ...iew7_Microsoft.AspNetCore.Http.Metadata.md | 15 +++++++ ...iew7_Microsoft.AspNetCore.Http.Timeouts.md | 14 +++++++ .../9.0-preview7_Microsoft.AspNetCore.Http.md | 36 ++++++++++++++++ ...w7_Microsoft.AspNetCore.Mvc.ApiExplorer.md | 10 +++++ ...7_Microsoft.AspNetCore.Mvc.ModelBinding.md | 16 +++++++ ...ore.Server.Kestrel.Transport.NamedPipes.md | 17 ++++++++ ...ew7_Microsoft.AspNetCore.Server.Kestrel.md | 11 +++++ ...icrosoft.Extensions.Caching.Distributed.md | 13 ++++++ ...ew7_Microsoft.Extensions.Caching.Hybrid.md | 42 +++++++++++++++++++ ...icrosoft.Extensions.DependencyInjection.md | 24 +++++++++++ ...crosoft.Extensions.Logging.Abstractions.md | 23 ++++++++++ 17 files changed, 323 insertions(+) create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Builder.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Components.Authorization.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.DataProtection.KeyManagement.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.DataProtection.Repositories.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Http.Features.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Http.Metadata.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Http.Timeouts.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Http.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Mvc.ApiExplorer.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Mvc.ModelBinding.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Server.Kestrel.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.Extensions.Caching.Distributed.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.Extensions.Caching.Hybrid.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.Extensions.DependencyInjection.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.Extensions.Logging.Abstractions.md diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7.md new file mode 100644 index 0000000000..6fc94273eb --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7.md @@ -0,0 +1,22 @@ +# API Difference 9.0-preview6 vs 9.0-preview7 + +API listing follows standard diff formatting. +Lines preceded by a '+' are additions and a '-' indicates removal. + +* [Microsoft.AspNetCore.Builder](9.0-preview7_Microsoft.AspNetCore.Builder.md) +* [Microsoft.AspNetCore.Components.Authorization](9.0-preview7_Microsoft.AspNetCore.Components.Authorization.md) +* [Microsoft.AspNetCore.DataProtection.KeyManagement](9.0-preview7_Microsoft.AspNetCore.DataProtection.KeyManagement.md) +* [Microsoft.AspNetCore.DataProtection.Repositories](9.0-preview7_Microsoft.AspNetCore.DataProtection.Repositories.md) +* [Microsoft.AspNetCore.Http](9.0-preview7_Microsoft.AspNetCore.Http.md) +* [Microsoft.AspNetCore.Http.Features](9.0-preview7_Microsoft.AspNetCore.Http.Features.md) +* [Microsoft.AspNetCore.Http.Metadata](9.0-preview7_Microsoft.AspNetCore.Http.Metadata.md) +* [Microsoft.AspNetCore.Http.Timeouts](9.0-preview7_Microsoft.AspNetCore.Http.Timeouts.md) +* [Microsoft.AspNetCore.Mvc.ApiExplorer](9.0-preview7_Microsoft.AspNetCore.Mvc.ApiExplorer.md) +* [Microsoft.AspNetCore.Mvc.ModelBinding](9.0-preview7_Microsoft.AspNetCore.Mvc.ModelBinding.md) +* [Microsoft.AspNetCore.Server.Kestrel](9.0-preview7_Microsoft.AspNetCore.Server.Kestrel.md) +* [Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes](9.0-preview7_Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes.md) +* [Microsoft.Extensions.Caching.Distributed](9.0-preview7_Microsoft.Extensions.Caching.Distributed.md) +* [Microsoft.Extensions.Caching.Hybrid](9.0-preview7_Microsoft.Extensions.Caching.Hybrid.md) +* [Microsoft.Extensions.DependencyInjection](9.0-preview7_Microsoft.Extensions.DependencyInjection.md) +* [Microsoft.Extensions.Logging.Abstractions](9.0-preview7_Microsoft.Extensions.Logging.Abstractions.md) + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Builder.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Builder.md new file mode 100644 index 0000000000..7a26081f33 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Builder.md @@ -0,0 +1,13 @@ +# Microsoft.AspNetCore.Builder + +``` diff + namespace Microsoft.AspNetCore.Builder { + public class ExceptionHandlerOptions { ++ public Func? StatusCodeSelector { get; set; } + } ++ public static class HttpMetricsEndpointConventionBuilderExtensions { ++ public static TBuilder DisableHttpMetrics(this TBuilder builder) where TBuilder : IEndpointConventionBuilder; ++ } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Components.Authorization.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Components.Authorization.md new file mode 100644 index 0000000000..ca2ab3b9e3 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Components.Authorization.md @@ -0,0 +1,18 @@ +# Microsoft.AspNetCore.Components.Authorization + +``` diff + namespace Microsoft.AspNetCore.Components.Authorization { + public class AuthenticationStateData { +- public IList> Claims { get; set; } ++ public IList Claims { get; set; } + } ++ public readonly struct ClaimData { ++ public ClaimData(Claim claim); ++ [JsonConstructorAttribute] ++ public ClaimData(string type, string value); ++ public string Type { get; } ++ public string Value { get; } ++ } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.DataProtection.KeyManagement.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.DataProtection.KeyManagement.md new file mode 100644 index 0000000000..90463f6a77 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.DataProtection.KeyManagement.md @@ -0,0 +1,15 @@ +# Microsoft.AspNetCore.DataProtection.KeyManagement + +``` diff + namespace Microsoft.AspNetCore.DataProtection.KeyManagement { ++ public interface IDeletableKeyManager : IKeyManager { ++ bool CanDeleteKeys { get; } ++ bool DeleteKeys(Func shouldDelete); ++ } + public sealed class XmlKeyManager : IInternalXmlKeyManager, IKeyManager { ++ public bool CanDeleteKeys { get; } ++ public bool DeleteKeys(Func shouldDelete); + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.DataProtection.Repositories.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.DataProtection.Repositories.md new file mode 100644 index 0000000000..5b57eb3aef --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.DataProtection.Repositories.md @@ -0,0 +1,24 @@ +# Microsoft.AspNetCore.DataProtection.Repositories + +``` diff + namespace Microsoft.AspNetCore.DataProtection.Repositories { +- public class FileSystemXmlRepository : IXmlRepository { ++ public class FileSystemXmlRepository : IDeletableXmlRepository, IXmlRepository { ++ public virtual bool DeleteElements(Action> chooseElements); + } ++ public interface IDeletableElement { ++ int? DeletionOrder { get; set; } ++ XElement Element { get; } ++ } ++ public interface IDeletableXmlRepository : IXmlRepository { ++ bool DeleteElements(Action> chooseElements); ++ } +- [SupportedOSPlatformAttribute("windows")] +- public class RegistryXmlRepository : IXmlRepository { ++ [SupportedOSPlatformAttribute("windows")] ++ public class RegistryXmlRepository : IDeletableXmlRepository, IXmlRepository { ++ public virtual bool DeleteElements(Action> chooseElements); + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Http.Features.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Http.Features.md new file mode 100644 index 0000000000..9966f35940 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Http.Features.md @@ -0,0 +1,10 @@ +# Microsoft.AspNetCore.Http.Features + +``` diff + namespace Microsoft.AspNetCore.Http.Features { + public interface IHttpMetricsTagsFeature { ++ bool MetricsDisabled { get; set; } + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Http.Metadata.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Http.Metadata.md new file mode 100644 index 0000000000..eb964fcf0b --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Http.Metadata.md @@ -0,0 +1,15 @@ +# Microsoft.AspNetCore.Http.Metadata + +``` diff + namespace Microsoft.AspNetCore.Http.Metadata { ++ public interface IDisableHttpMetricsMetadata ++ public interface IParameterBindingMetadata { ++ bool HasBindAsync { get; } ++ bool HasTryParse { get; } ++ bool IsOptional { get; } ++ string Name { get; } ++ ParameterInfo ParameterInfo { get; } ++ } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Http.Timeouts.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Http.Timeouts.md new file mode 100644 index 0000000000..8ef3a576e6 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Http.Timeouts.md @@ -0,0 +1,14 @@ +# Microsoft.AspNetCore.Http.Timeouts + +``` diff + namespace Microsoft.AspNetCore.Http.Timeouts { +- [AttributeUsageAttribute(68)] +- public sealed class DisableRequestTimeoutAttribute : Attribute { ++ [AttributeUsageAttribute(68)] ++ [DebuggerDisplayAttribute("{ToString(),nq}")] ++ public sealed class DisableRequestTimeoutAttribute : Attribute { ++ public override string ToString(); + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Http.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Http.md new file mode 100644 index 0000000000..01669539cf --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Http.md @@ -0,0 +1,36 @@ +# Microsoft.AspNetCore.Http + +``` diff + namespace Microsoft.AspNetCore.Http { ++ [AttributeUsageAttribute(68)] ++ [DebuggerDisplayAttribute("{ToString(),nq}")] ++ public sealed class DisableHttpMetricsAttribute : Attribute, IDisableHttpMetricsMetadata { ++ public DisableHttpMetricsAttribute(); ++ public override string ToString(); ++ } + public class HttpValidationProblemDetails : ProblemDetails { ++ public HttpValidationProblemDetails(IEnumerable> errors); + } + public static class OpenApiRouteHandlerBuilderExtensions { ++ public static TBuilder ProducesProblem(this TBuilder builder, int statusCode, string? contentType = null) where TBuilder : IEndpointConventionBuilder; ++ public static TBuilder ProducesValidationProblem(this TBuilder builder, int statusCode = 400, string? contentType = null) where TBuilder : IEndpointConventionBuilder; + } + public static class Results { +- public static IResult Problem(string detail = null, string instance = null, int? statusCode = default(int?), string title = null, string type = null, IDictionary? extensions = null); ++ public static IResult Problem(string detail, string instance, int? statusCode, string title, string type, IDictionary? extensions); ++ public static IResult Problem(string detail = null, string instance = null, int? statusCode = default(int?), string title = null, string type = null, IEnumerable>? extensions = null); +- public static IResult ValidationProblem(IDictionary errors, string detail = null, string instance = null, int? statusCode = default(int?), string title = null, string type = null, IDictionary? extensions = null); ++ public static IResult ValidationProblem(IDictionary errors, string detail, string instance, int? statusCode, string title, string type, IDictionary? extensions); ++ public static IResult ValidationProblem(IEnumerable> errors, string detail = null, string instance = null, int? statusCode = default(int?), string title = null, string type = null, IEnumerable>? extensions = null); + } + public static class TypedResults { +- public static ProblemHttpResult Problem(string detail = null, string instance = null, int? statusCode = default(int?), string title = null, string type = null, IDictionary? extensions = null); ++ public static ProblemHttpResult Problem(string detail, string instance, int? statusCode, string title, string type, IDictionary? extensions); ++ public static ProblemHttpResult Problem(string detail = null, string instance = null, int? statusCode = default(int?), string title = null, string type = null, IEnumerable>? extensions = null); +- public static ValidationProblem ValidationProblem(IDictionary errors, string detail = null, string instance = null, string title = null, string type = null, IDictionary? extensions = null); ++ public static ValidationProblem ValidationProblem(IDictionary errors, string detail, string instance, string title, string type, IDictionary? extensions); ++ public static ValidationProblem ValidationProblem(IEnumerable> errors, string detail = null, string instance = null, string title = null, string type = null, IEnumerable>? extensions = null); + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Mvc.ApiExplorer.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Mvc.ApiExplorer.md new file mode 100644 index 0000000000..aac72009d2 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Mvc.ApiExplorer.md @@ -0,0 +1,10 @@ +# Microsoft.AspNetCore.Mvc.ApiExplorer + +``` diff + namespace Microsoft.AspNetCore.Mvc.ApiExplorer { +- public class DefaultApiDescriptionProvider : IApiDescriptionProvider ++ [RequiresUnreferencedCodeAttribute("DefaultApiDescriptionProvider is used by MVC which does not currently support trimming or native AOT.", Url="https://aka.ms/aspnet/trimming")] ++ public class DefaultApiDescriptionProvider : IApiDescriptionProvider + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Mvc.ModelBinding.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Mvc.ModelBinding.md new file mode 100644 index 0000000000..b5b5b47835 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Mvc.ModelBinding.md @@ -0,0 +1,16 @@ +# Microsoft.AspNetCore.Mvc.ModelBinding + +``` diff + namespace Microsoft.AspNetCore.Mvc.ModelBinding { + [DebuggerDisplayAttribute("{DebuggerToString(),nq}")] + public abstract class ModelMetadata : IEquatable, IModelMetadataProvider { +- public Type ElementType { get; } ++ public Type ElementType { [RequiresUnreferencedCodeAttribute("Resolving this property is not compatible with trimming, as it requires dynamic access to code that is not referenced statically.")] get; } +- public bool IsCollectionType { get; } ++ public bool IsCollectionType { [RequiresUnreferencedCodeAttribute("Resolving this property is not compatible with trimming, as it requires dynamic access to code that is not referenced statically.")] get; } +- public bool IsComplexType { get; } ++ public bool IsComplexType { [RequiresUnreferencedCodeAttribute("Resolving this property is not compatible with trimming, as it requires dynamic access to code that is not referenced statically.")] get; } + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes.md new file mode 100644 index 0000000000..d08877884a --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes.md @@ -0,0 +1,17 @@ +# Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes + +``` diff + namespace Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes { ++ public sealed class CreateNamedPipeServerStreamContext { ++ public CreateNamedPipeServerStreamContext(); ++ public required NamedPipeEndPoint NamedPipeEndPoint { get; set; } ++ public required PipeOptions PipeOptions { get; set; } ++ public PipeSecurity? PipeSecurity { get; set; } ++ } + public sealed class NamedPipeTransportOptions { ++ public Func CreateNamedPipeServerStream { get; set; } ++ public static NamedPipeServerStream CreateDefaultNamedPipeServerStream(CreateNamedPipeServerStreamContext context); + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Server.Kestrel.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Server.Kestrel.md new file mode 100644 index 0000000000..d9360761e0 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.AspNetCore.Server.Kestrel.md @@ -0,0 +1,11 @@ +# Microsoft.AspNetCore.Server.Kestrel + +``` diff + namespace Microsoft.AspNetCore.Server.Kestrel { + public class KestrelConfigurationLoader { ++ public KestrelConfigurationLoader NamedPipeEndpoint(string pipeName); ++ public KestrelConfigurationLoader NamedPipeEndpoint(string pipeName, Action configure); + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.Extensions.Caching.Distributed.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.Extensions.Caching.Distributed.md new file mode 100644 index 0000000000..16f793b206 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.Extensions.Caching.Distributed.md @@ -0,0 +1,13 @@ +# Microsoft.Extensions.Caching.Distributed + +``` diff + namespace Microsoft.Extensions.Caching.Distributed { ++ public interface IBufferDistributedCache : IDistributedCache { ++ void Set(string key, ReadOnlySequence value, DistributedCacheEntryOptions options); ++ ValueTask SetAsync(string key, ReadOnlySequence value, DistributedCacheEntryOptions options, CancellationToken token = default(CancellationToken)); ++ bool TryGet(string key, IBufferWriter destination); ++ ValueTask TryGetAsync(string key, IBufferWriter destination, CancellationToken token = default(CancellationToken)); ++ } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.Extensions.Caching.Hybrid.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.Extensions.Caching.Hybrid.md new file mode 100644 index 0000000000..7c4050a274 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.Extensions.Caching.Hybrid.md @@ -0,0 +1,42 @@ +# Microsoft.Extensions.Caching.Hybrid + +``` diff ++namespace Microsoft.Extensions.Caching.Hybrid { ++ public abstract class HybridCache { ++ protected HybridCache(); ++ public ValueTask GetOrCreateAsync(string key, Func> factory, HybridCacheEntryOptions? options = null, IEnumerable? tags = null, CancellationToken cancellationToken = default(CancellationToken)); ++ public abstract ValueTask GetOrCreateAsync(string key, TState state, Func> factory, HybridCacheEntryOptions? options = null, IEnumerable? tags = null, CancellationToken cancellationToken = default(CancellationToken)); ++ public virtual ValueTask RemoveAsync(IEnumerable keys, CancellationToken cancellationToken = default(CancellationToken)); ++ public abstract ValueTask RemoveAsync(string key, CancellationToken cancellationToken = default(CancellationToken)); ++ public virtual ValueTask RemoveByTagAsync(IEnumerable tags, CancellationToken cancellationToken = default(CancellationToken)); ++ public abstract ValueTask RemoveByTagAsync(string tag, CancellationToken cancellationToken = default(CancellationToken)); ++ public abstract ValueTask SetAsync(string key, T value, HybridCacheEntryOptions? options = null, IEnumerable? tags = null, CancellationToken cancellationToken = default(CancellationToken)); ++ } ++ [FlagsAttribute] ++ public enum HybridCacheEntryFlags { ++ DisableCompression = 32, ++ DisableDistributedCache = 12, ++ DisableDistributedCacheRead = 4, ++ DisableDistributedCacheWrite = 8, ++ DisableLocalCache = 3, ++ DisableLocalCacheRead = 1, ++ DisableLocalCacheWrite = 2, ++ DisableUnderlyingData = 16, ++ None = 0, ++ } ++ public sealed class HybridCacheEntryOptions { ++ public HybridCacheEntryOptions(); ++ public TimeSpan? Expiration { get; set; } ++ public HybridCacheEntryFlags? Flags { get; set; } ++ public TimeSpan? LocalCacheExpiration { get; set; } ++ } ++ public interface IHybridCacheSerializer { ++ T Deserialize(ReadOnlySequence source); ++ void Serialize(T value, IBufferWriter target); ++ } ++ public interface IHybridCacheSerializerFactory { ++ bool TryCreateSerializer([NotNullWhenAttribute(true)] out IHybridCacheSerializer? serializer); ++ } ++} +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.Extensions.DependencyInjection.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.Extensions.DependencyInjection.md new file mode 100644 index 0000000000..3c593155cc --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.Extensions.DependencyInjection.md @@ -0,0 +1,24 @@ +# Microsoft.Extensions.DependencyInjection + +``` diff + namespace Microsoft.Extensions.DependencyInjection { + public static class HttpClientBuilderExtensions { ++ public static IHttpClientBuilder AddAsKeyed(this IHttpClientBuilder builder, ServiceLifetime lifetime = ServiceLifetime.Scoped); ++ public static IHttpClientBuilder RemoveAsKeyed(this IHttpClientBuilder builder); + } + public static class MvcApiExplorerMvcCoreBuilderExtensions { +- public static IMvcCoreBuilder AddApiExplorer(this IMvcCoreBuilder builder); ++ [RequiresUnreferencedCodeAttribute("MVC does not currently support trimming or native AOT.", Url="https://aka.ms/aspnet/trimming")] ++ public static IMvcCoreBuilder AddApiExplorer(this IMvcCoreBuilder builder); + } + public static class SignalRDependencyInjectionExtensions { +- [RequiresUnreferencedCodeAttribute("SignalR does not currently support trimming or native AOT.", Url="https://aka.ms/aspnet/trimming")] +- public static ISignalRServerBuilder AddSignalR(this IServiceCollection services); ++ public static ISignalRServerBuilder AddSignalR(this IServiceCollection services); +- [RequiresUnreferencedCodeAttribute("SignalR does not currently support trimming or native AOT.", Url="https://aka.ms/aspnet/trimming")] +- public static ISignalRServerBuilder AddSignalR(this IServiceCollection services, Action configure); ++ public static ISignalRServerBuilder AddSignalR(this IServiceCollection services, Action configure); + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.Extensions.Logging.Abstractions.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.Extensions.Logging.Abstractions.md new file mode 100644 index 0000000000..62a793d614 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.AspNetCore.App/9.0-preview7_Microsoft.Extensions.Logging.Abstractions.md @@ -0,0 +1,23 @@ +# Microsoft.Extensions.Logging.Abstractions + +``` diff + namespace Microsoft.Extensions.Logging.Abstractions { ++ public abstract class BufferedLogRecord { ++ protected BufferedLogRecord(); ++ public virtual ActivitySpanId? ActivitySpanId { get; } ++ public virtual ActivityTraceId? ActivityTraceId { get; } ++ public virtual IReadOnlyList> Attributes { get; } ++ public abstract EventId EventId { get; } ++ public virtual string Exception { get; } ++ public virtual string FormattedMessage { get; } ++ public abstract LogLevel LogLevel { get; } ++ public virtual int? ManagedThreadId { get; } ++ public virtual string MessageTemplate { get; } ++ public abstract DateTimeOffset Timestamp { get; } ++ } ++ public interface IBufferedLogger { ++ void LogRecords(IEnumerable records); ++ } + } +``` + From 41689bfa683b9bcec172b61c522fdd93b12dfedc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20S=C3=A1nchez=20L=C3=B3pez?= <1175054+carlossanlop@users.noreply.github.com> Date: Tue, 13 Aug 2024 10:47:55 -0700 Subject: [PATCH 2/5] Microsoft.NETCore.App --- .../Microsoft.NETCore.App/9.0-preview7.md | 23 + .../9.0-preview7_System.Data.md | 10 + ...9.0-preview7_System.Diagnostics.Metrics.md | 10 + .../9.0-preview7_System.Diagnostics.md | 36 ++ .../9.0-preview7_System.Formats.Tar.md | 10 + .../9.0-preview7_System.Net.Http.md | 15 + .../9.0-preview7_System.Net.Quic.md | 14 + .../9.0-preview7_System.Numerics.md | 150 ++++++ ...preview7_System.Runtime.InteropServices.md | 10 + ...-preview7_System.Runtime.Intrinsics.Arm.md | 477 ++++++++++++++++++ .../9.0-preview7_System.Runtime.Intrinsics.md | 159 ++++++ ....Security.Cryptography.X509Certificates.md | 282 +++++++++++ ...0-preview7_System.Security.Cryptography.md | 43 ++ .../9.0-preview7_System.Text.Json.Schema.md | 12 + ...preview7_System.Text.Json.Serialization.md | 12 + .../9.0-preview7_System.Text.Json.md | 18 + .../9.0-preview7_System.Threading.md | 17 + .../9.0-preview7_System.md | 54 ++ 18 files changed, 1352 insertions(+) create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Data.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Diagnostics.Metrics.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Diagnostics.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Formats.Tar.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Net.Http.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Net.Quic.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Numerics.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Runtime.InteropServices.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Runtime.Intrinsics.Arm.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Runtime.Intrinsics.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Security.Cryptography.X509Certificates.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Security.Cryptography.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Text.Json.Schema.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Text.Json.Serialization.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Text.Json.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Threading.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.md diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7.md new file mode 100644 index 0000000000..537fb3fd2c --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7.md @@ -0,0 +1,23 @@ +# API Difference 9.0-preview6 vs 9.0-preview7 + +API listing follows standard diff formatting. +Lines preceded by a '+' are additions and a '-' indicates removal. + +* [System](9.0-preview7_System.md) +* [System.Data](9.0-preview7_System.Data.md) +* [System.Diagnostics](9.0-preview7_System.Diagnostics.md) +* [System.Diagnostics.Metrics](9.0-preview7_System.Diagnostics.Metrics.md) +* [System.Formats.Tar](9.0-preview7_System.Formats.Tar.md) +* [System.Net.Http](9.0-preview7_System.Net.Http.md) +* [System.Net.Quic](9.0-preview7_System.Net.Quic.md) +* [System.Numerics](9.0-preview7_System.Numerics.md) +* [System.Runtime.InteropServices](9.0-preview7_System.Runtime.InteropServices.md) +* [System.Runtime.Intrinsics](9.0-preview7_System.Runtime.Intrinsics.md) +* [System.Runtime.Intrinsics.Arm](9.0-preview7_System.Runtime.Intrinsics.Arm.md) +* [System.Security.Cryptography](9.0-preview7_System.Security.Cryptography.md) +* [System.Security.Cryptography.X509Certificates](9.0-preview7_System.Security.Cryptography.X509Certificates.md) +* [System.Text.Json](9.0-preview7_System.Text.Json.md) +* [System.Text.Json.Schema](9.0-preview7_System.Text.Json.Schema.md) +* [System.Text.Json.Serialization](9.0-preview7_System.Text.Json.Serialization.md) +* [System.Threading](9.0-preview7_System.Threading.md) + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Data.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Data.md new file mode 100644 index 0000000000..e1ed38bf92 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Data.md @@ -0,0 +1,10 @@ +# System.Data + +``` diff + namespace System.Data { + public enum SqlDbType { ++ Json = 35, + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Diagnostics.Metrics.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Diagnostics.Metrics.md new file mode 100644 index 0000000000..2cb13d0a85 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Diagnostics.Metrics.md @@ -0,0 +1,10 @@ +# System.Diagnostics.Metrics + +``` diff + namespace System.Diagnostics.Metrics { + public readonly struct Measurement where T : struct { ++ public Measurement(T value, in TagList tags); + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Diagnostics.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Diagnostics.md new file mode 100644 index 0000000000..c8d6f9962a --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Diagnostics.md @@ -0,0 +1,36 @@ +# System.Diagnostics + +``` diff + namespace System.Diagnostics { + public static class Debug { +- [ConditionalAttribute("DEBUG")] +- public static void Assert([DoesNotReturnIfAttribute(false)] bool condition); ++ [ConditionalAttribute("DEBUG")] ++ [OverloadResolutionPriorityAttribute(-1)] ++ public static void Assert([DoesNotReturnIfAttribute(false)] bool condition); +- [ConditionalAttribute("DEBUG")] +- public static void Assert([DoesNotReturnIfAttribute(false)] bool condition, string message); ++ [ConditionalAttribute("DEBUG")] ++ public static void Assert([DoesNotReturnIfAttribute(false)] bool condition, [CallerArgumentExpressionAttribute("condition")] string message = null); + } + public static class Debugger { ++ public static void BreakForUserUnhandledException(Exception exception); + } ++ [AttributeUsageAttribute(AttributeTargets.Method)] ++ public sealed class DebuggerDisableUserUnhandledExceptionsAttribute : Attribute { ++ public DebuggerDisableUserUnhandledExceptionsAttribute(); ++ } + public sealed class Trace { +- [ConditionalAttribute("TRACE")] +- public static void Assert([DoesNotReturnIfAttribute(false)] bool condition); ++ [ConditionalAttribute("TRACE")] ++ [OverloadResolutionPriorityAttribute(-1)] ++ public static void Assert([DoesNotReturnIfAttribute(false)] bool condition); +- [ConditionalAttribute("TRACE")] +- public static void Assert([DoesNotReturnIfAttribute(false)] bool condition, string message); ++ [ConditionalAttribute("TRACE")] ++ public static void Assert([DoesNotReturnIfAttribute(false)] bool condition, [CallerArgumentExpressionAttribute("condition")] string message = null); + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Formats.Tar.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Formats.Tar.md new file mode 100644 index 0000000000..9c33cbd022 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Formats.Tar.md @@ -0,0 +1,10 @@ +# System.Formats.Tar + +``` diff + namespace System.Formats.Tar { + public abstract class TarEntry { ++ public long DataOffset { get; } + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Net.Http.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Net.Http.md new file mode 100644 index 0000000000..02d94b6c2a --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Net.Http.md @@ -0,0 +1,15 @@ +# System.Net.Http + +``` diff + namespace System.Net.Http { + public abstract class HttpContent : IDisposable { ++ public Task LoadIntoBufferAsync(long maxBufferSize, CancellationToken cancellationToken); ++ public Task LoadIntoBufferAsync(CancellationToken cancellationToken); + } + [UnsupportedOSPlatformAttribute("browser")] + public sealed class SocketsHttpHandler : HttpMessageHandler { ++ public bool EnableMultipleHttp3Connections { get; set; } + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Net.Quic.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Net.Quic.md new file mode 100644 index 0000000000..74e8588b57 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Net.Quic.md @@ -0,0 +1,14 @@ +# System.Net.Quic + +``` diff + namespace System.Net.Quic { + public abstract class QuicConnectionOptions { ++ public Action? StreamCapacityCallback { get; set; } + } ++ public readonly struct QuicStreamCapacityChangedArgs { ++ public int BidirectionalIncrement { get; set; } ++ public int UnidirectionalIncrement { get; set; } ++ } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Numerics.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Numerics.md new file mode 100644 index 0000000000..90d23f5333 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Numerics.md @@ -0,0 +1,150 @@ +# System.Numerics + +``` diff + namespace System.Numerics { + public static class Vector { ++ public static Vector Clamp(Vector value, Vector min, Vector max); ++ public static Vector ClampNative(Vector value, Vector min, Vector max); ++ public static Vector CopySign(Vector value, Vector sign); ++ public static Vector Cos(Vector vector); ++ public static Vector Cos(Vector vector); ++ public static Vector DegreesToRadians(Vector degrees); ++ public static Vector DegreesToRadians(Vector degrees); ++ public static Vector Exp(Vector vector); ++ public static Vector Exp(Vector vector); ++ public static Vector Hypot(Vector x, Vector y); ++ public static Vector Hypot(Vector x, Vector y); ++ public static Vector IsNaN(Vector vector); ++ public static Vector IsNegative(Vector vector); ++ public static Vector IsPositive(Vector vector); ++ public static Vector IsPositiveInfinity(Vector vector); ++ public static Vector IsZero(Vector vector); ++ public static Vector Lerp(Vector x, Vector y, Vector amount); ++ public static Vector Lerp(Vector x, Vector y, Vector amount); ++ public static Vector Log(Vector vector); ++ public static Vector Log(Vector vector); ++ public static Vector Log2(Vector vector); ++ public static Vector Log2(Vector vector); ++ public static Vector MaxMagnitude(Vector left, Vector right); ++ public static Vector MaxMagnitudeNumber(Vector left, Vector right); ++ public static Vector MaxNative(Vector left, Vector right); ++ public static Vector MaxNumber(Vector left, Vector right); ++ public static Vector MinMagnitude(Vector left, Vector right); ++ public static Vector MinMagnitudeNumber(Vector left, Vector right); ++ public static Vector MinNative(Vector left, Vector right); ++ public static Vector MinNumber(Vector left, Vector right); ++ public static Vector RadiansToDegrees(Vector radians); ++ public static Vector RadiansToDegrees(Vector radians); ++ public static Vector Round(Vector vector); ++ public static Vector Round(Vector vector, MidpointRounding mode); ++ public static Vector Round(Vector vector); ++ public static Vector Round(Vector vector, MidpointRounding mode); ++ public static Vector Sin(Vector vector); ++ public static Vector Sin(Vector vector); ++ public static (Vector Sin, Vector Cos) SinCos(Vector vector); ++ public static (Vector Sin, Vector Cos) SinCos(Vector vector); ++ public static Vector Truncate(Vector vector); ++ public static Vector Truncate(Vector vector); + } + public struct Vector2 : IEquatable, IFormattable { ++ public static Vector2 E { get; } ++ public static Vector2 Epsilon { get; } ++ public static Vector2 NaN { get; } ++ public static Vector2 NegativeInfinity { get; } ++ public static Vector2 NegativeZero { get; } ++ public static Vector2 Pi { get; } ++ public static Vector2 PositiveInfinity { get; } ++ public static Vector2 Tau { get; } ++ public static Vector2 ClampNative(Vector2 value1, Vector2 min, Vector2 max); ++ public static Vector2 CopySign(Vector2 value, Vector2 sign); ++ public static Vector2 Cos(Vector2 vector); ++ public static Vector2 DegreesToRadians(Vector2 degrees); ++ public static Vector2 Exp(Vector2 vector); ++ public static Vector2 Hypot(Vector2 x, Vector2 y); ++ public static Vector2 Lerp(Vector2 value1, Vector2 value2, Vector2 amount); ++ public static Vector2 Log(Vector2 vector); ++ public static Vector2 Log2(Vector2 vector); ++ public static Vector2 MaxMagnitude(Vector2 value1, Vector2 value2); ++ public static Vector2 MaxMagnitudeNumber(Vector2 value1, Vector2 value2); ++ public static Vector2 MaxNative(Vector2 value1, Vector2 value2); ++ public static Vector2 MaxNumber(Vector2 value1, Vector2 value2); ++ public static Vector2 MinMagnitude(Vector2 value1, Vector2 value2); ++ public static Vector2 MinMagnitudeNumber(Vector2 value1, Vector2 value2); ++ public static Vector2 MinNative(Vector2 value1, Vector2 value2); ++ public static Vector2 MinNumber(Vector2 value1, Vector2 value2); ++ public static Vector2 RadiansToDegrees(Vector2 radians); ++ public static Vector2 Round(Vector2 vector); ++ public static Vector2 Round(Vector2 vector, MidpointRounding mode); ++ public static Vector2 Sin(Vector2 vector); ++ public static (Vector2 Sin, Vector2 Cos) SinCos(Vector2 vector); ++ public static Vector2 Truncate(Vector2 vector); + } + public struct Vector3 : IEquatable, IFormattable { ++ public static Vector3 E { get; } ++ public static Vector3 Epsilon { get; } ++ public static Vector3 NaN { get; } ++ public static Vector3 NegativeInfinity { get; } ++ public static Vector3 NegativeZero { get; } ++ public static Vector3 Pi { get; } ++ public static Vector3 PositiveInfinity { get; } ++ public static Vector3 Tau { get; } ++ public static Vector3 ClampNative(Vector3 value1, Vector3 min, Vector3 max); ++ public static Vector3 CopySign(Vector3 value, Vector3 sign); ++ public static Vector3 Cos(Vector3 vector); ++ public static Vector3 DegreesToRadians(Vector3 degrees); ++ public static Vector3 Exp(Vector3 vector); ++ public static Vector3 Hypot(Vector3 x, Vector3 y); ++ public static Vector3 Lerp(Vector3 value1, Vector3 value2, Vector3 amount); ++ public static Vector3 Log(Vector3 vector); ++ public static Vector3 Log2(Vector3 vector); ++ public static Vector3 MaxMagnitude(Vector3 value1, Vector3 value2); ++ public static Vector3 MaxMagnitudeNumber(Vector3 value1, Vector3 value2); ++ public static Vector3 MaxNative(Vector3 value1, Vector3 value2); ++ public static Vector3 MaxNumber(Vector3 value1, Vector3 value2); ++ public static Vector3 MinMagnitude(Vector3 value1, Vector3 value2); ++ public static Vector3 MinMagnitudeNumber(Vector3 value1, Vector3 value2); ++ public static Vector3 MinNative(Vector3 value1, Vector3 value2); ++ public static Vector3 MinNumber(Vector3 value1, Vector3 value2); ++ public static Vector3 RadiansToDegrees(Vector3 radians); ++ public static Vector3 Round(Vector3 vector); ++ public static Vector3 Round(Vector3 vector, MidpointRounding mode); ++ public static Vector3 Sin(Vector3 vector); ++ public static (Vector3 Sin, Vector3 Cos) SinCos(Vector3 vector); ++ public static Vector3 Truncate(Vector3 vector); + } + public struct Vector4 : IEquatable, IFormattable { ++ public static Vector4 E { get; } ++ public static Vector4 Epsilon { get; } ++ public static Vector4 NaN { get; } ++ public static Vector4 NegativeInfinity { get; } ++ public static Vector4 NegativeZero { get; } ++ public static Vector4 Pi { get; } ++ public static Vector4 PositiveInfinity { get; } ++ public static Vector4 Tau { get; } ++ public static Vector4 ClampNative(Vector4 value1, Vector4 min, Vector4 max); ++ public static Vector4 CopySign(Vector4 value, Vector4 sign); ++ public static Vector4 Cos(Vector4 vector); ++ public static Vector4 DegreesToRadians(Vector4 degrees); ++ public static Vector4 Exp(Vector4 vector); ++ public static Vector4 Hypot(Vector4 x, Vector4 y); ++ public static Vector4 Lerp(Vector4 value1, Vector4 value2, Vector4 amount); ++ public static Vector4 Log(Vector4 vector); ++ public static Vector4 Log2(Vector4 vector); ++ public static Vector4 MaxMagnitude(Vector4 value1, Vector4 value2); ++ public static Vector4 MaxMagnitudeNumber(Vector4 value1, Vector4 value2); ++ public static Vector4 MaxNative(Vector4 value1, Vector4 value2); ++ public static Vector4 MaxNumber(Vector4 value1, Vector4 value2); ++ public static Vector4 MinMagnitude(Vector4 value1, Vector4 value2); ++ public static Vector4 MinMagnitudeNumber(Vector4 value1, Vector4 value2); ++ public static Vector4 MinNative(Vector4 value1, Vector4 value2); ++ public static Vector4 MinNumber(Vector4 value1, Vector4 value2); ++ public static Vector4 RadiansToDegrees(Vector4 radians); ++ public static Vector4 Round(Vector4 vector); ++ public static Vector4 Round(Vector4 vector, MidpointRounding mode); ++ public static Vector4 Sin(Vector4 vector); ++ public static (Vector4 Sin, Vector4 Cos) SinCos(Vector4 vector); ++ public static Vector4 Truncate(Vector4 vector); + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Runtime.InteropServices.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Runtime.InteropServices.md new file mode 100644 index 0000000000..73018b0315 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Runtime.InteropServices.md @@ -0,0 +1,10 @@ +# System.Runtime.InteropServices + +``` diff + namespace System.Runtime.InteropServices { ++ public static class JsonMarshal { ++ public static ReadOnlySpan GetRawUtf8Value(JsonElement element); ++ } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Runtime.Intrinsics.Arm.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Runtime.Intrinsics.Arm.md new file mode 100644 index 0000000000..45088a891f --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Runtime.Intrinsics.Arm.md @@ -0,0 +1,477 @@ +# System.Runtime.Intrinsics.Arm + +``` diff + namespace System.Runtime.Intrinsics.Arm { + [CLSCompliantAttribute(false)] + [RequiresPreviewFeaturesAttribute("Sve is in preview. Debugger scenario is not supported.")] + public abstract class Sve : AdvSimd { ++ public static Vector AbsoluteCompareGreaterThan(Vector left, Vector right); ++ public static Vector AbsoluteCompareGreaterThan(Vector left, Vector right); ++ public static Vector AbsoluteCompareGreaterThanOrEqual(Vector left, Vector right); ++ public static Vector AbsoluteCompareGreaterThanOrEqual(Vector left, Vector right); ++ public static Vector AbsoluteCompareLessThan(Vector left, Vector right); ++ public static Vector AbsoluteCompareLessThan(Vector left, Vector right); ++ public static Vector AbsoluteCompareLessThanOrEqual(Vector left, Vector right); ++ public static Vector AbsoluteCompareLessThanOrEqual(Vector left, Vector right); ++ public static Vector AddRotateComplex(Vector left, Vector right, [ConstantExpectedAttribute(Min=0, Max=(byte)1)] byte rotation); ++ public static Vector AddRotateComplex(Vector left, Vector right, [ConstantExpectedAttribute(Min=0, Max=(byte)1)] byte rotation); ++ public static Vector AddSequentialAcross(Vector initial, Vector value); ++ public static Vector AddSequentialAcross(Vector initial, Vector value); ++ public static Vector CompareEqual(Vector left, Vector right); ++ public static Vector CompareEqual(Vector left, Vector right); ++ public static Vector CompareEqual(Vector left, Vector right); ++ public static Vector CompareEqual(Vector left, Vector right); ++ public static Vector CompareEqual(Vector left, Vector right); ++ public static Vector CompareEqual(Vector left, Vector right); ++ public static Vector CompareEqual(Vector left, Vector right); ++ public static Vector CompareEqual(Vector left, Vector right); ++ public static Vector CompareEqual(Vector left, Vector right); ++ public static Vector CompareEqual(Vector left, Vector right); ++ public static Vector CompareEqual(Vector left, Vector right); ++ public static Vector CompareEqual(Vector left, Vector right); ++ public static Vector CompareEqual(Vector left, Vector right); ++ public static Vector CompareGreaterThan(Vector left, Vector right); ++ public static Vector CompareGreaterThan(Vector left, Vector right); ++ public static Vector CompareGreaterThan(Vector left, Vector right); ++ public static Vector CompareGreaterThan(Vector left, Vector right); ++ public static Vector CompareGreaterThan(Vector left, Vector right); ++ public static Vector CompareGreaterThan(Vector left, Vector right); ++ public static Vector CompareGreaterThan(Vector left, Vector right); ++ public static Vector CompareGreaterThan(Vector left, Vector right); ++ public static Vector CompareGreaterThan(Vector left, Vector right); ++ public static Vector CompareGreaterThan(Vector left, Vector right); ++ public static Vector CompareGreaterThan(Vector left, Vector right); ++ public static Vector CompareGreaterThan(Vector left, Vector right); ++ public static Vector CompareGreaterThan(Vector left, Vector right); ++ public static Vector CompareGreaterThan(Vector left, Vector right); ++ public static Vector CompareGreaterThan(Vector left, Vector right); ++ public static Vector CompareGreaterThan(Vector left, Vector right); ++ public static Vector CompareGreaterThanOrEqual(Vector left, Vector right); ++ public static Vector CompareGreaterThanOrEqual(Vector left, Vector right); ++ public static Vector CompareGreaterThanOrEqual(Vector left, Vector right); ++ public static Vector CompareGreaterThanOrEqual(Vector left, Vector right); ++ public static Vector CompareGreaterThanOrEqual(Vector left, Vector right); ++ public static Vector CompareGreaterThanOrEqual(Vector left, Vector right); ++ public static Vector CompareGreaterThanOrEqual(Vector left, Vector right); ++ public static Vector CompareGreaterThanOrEqual(Vector left, Vector right); ++ public static Vector CompareGreaterThanOrEqual(Vector left, Vector right); ++ public static Vector CompareGreaterThanOrEqual(Vector left, Vector right); ++ public static Vector CompareGreaterThanOrEqual(Vector left, Vector right); ++ public static Vector CompareGreaterThanOrEqual(Vector left, Vector right); ++ public static Vector CompareGreaterThanOrEqual(Vector left, Vector right); ++ public static Vector CompareGreaterThanOrEqual(Vector left, Vector right); ++ public static Vector CompareGreaterThanOrEqual(Vector left, Vector right); ++ public static Vector CompareGreaterThanOrEqual(Vector left, Vector right); ++ public static Vector CompareLessThan(Vector left, Vector right); ++ public static Vector CompareLessThan(Vector left, Vector right); ++ public static Vector CompareLessThan(Vector left, Vector right); ++ public static Vector CompareLessThan(Vector left, Vector right); ++ public static Vector CompareLessThan(Vector left, Vector right); ++ public static Vector CompareLessThan(Vector left, Vector right); ++ public static Vector CompareLessThan(Vector left, Vector right); ++ public static Vector CompareLessThan(Vector left, Vector right); ++ public static Vector CompareLessThan(Vector left, Vector right); ++ public static Vector CompareLessThan(Vector left, Vector right); ++ public static Vector CompareLessThan(Vector left, Vector right); ++ public static Vector CompareLessThan(Vector left, Vector right); ++ public static Vector CompareLessThan(Vector left, Vector right); ++ public static Vector CompareLessThan(Vector left, Vector right); ++ public static Vector CompareLessThan(Vector left, Vector right); ++ public static Vector CompareLessThan(Vector left, Vector right); ++ public static Vector CompareLessThanOrEqual(Vector left, Vector right); ++ public static Vector CompareLessThanOrEqual(Vector left, Vector right); ++ public static Vector CompareLessThanOrEqual(Vector left, Vector right); ++ public static Vector CompareLessThanOrEqual(Vector left, Vector right); ++ public static Vector CompareLessThanOrEqual(Vector left, Vector right); ++ public static Vector CompareLessThanOrEqual(Vector left, Vector right); ++ public static Vector CompareLessThanOrEqual(Vector left, Vector right); ++ public static Vector CompareLessThanOrEqual(Vector left, Vector right); ++ public static Vector CompareLessThanOrEqual(Vector left, Vector right); ++ public static Vector CompareLessThanOrEqual(Vector left, Vector right); ++ public static Vector CompareLessThanOrEqual(Vector left, Vector right); ++ public static Vector CompareLessThanOrEqual(Vector left, Vector right); ++ public static Vector CompareLessThanOrEqual(Vector left, Vector right); ++ public static Vector CompareLessThanOrEqual(Vector left, Vector right); ++ public static Vector CompareLessThanOrEqual(Vector left, Vector right); ++ public static Vector CompareLessThanOrEqual(Vector left, Vector right); ++ public static Vector CompareNotEqualTo(Vector left, Vector right); ++ public static Vector CompareNotEqualTo(Vector left, Vector right); ++ public static Vector CompareNotEqualTo(Vector left, Vector right); ++ public static Vector CompareNotEqualTo(Vector left, Vector right); ++ public static Vector CompareNotEqualTo(Vector left, Vector right); ++ public static Vector CompareNotEqualTo(Vector left, Vector right); ++ public static Vector CompareNotEqualTo(Vector left, Vector right); ++ public static Vector CompareNotEqualTo(Vector left, Vector right); ++ public static Vector CompareNotEqualTo(Vector left, Vector right); ++ public static Vector CompareNotEqualTo(Vector left, Vector right); ++ public static Vector CompareNotEqualTo(Vector left, Vector right); ++ public static Vector CompareNotEqualTo(Vector left, Vector right); ++ public static Vector CompareNotEqualTo(Vector left, Vector right); ++ public static Vector CompareUnordered(Vector left, Vector right); ++ public static Vector CompareUnordered(Vector left, Vector right); ++ public static byte ConditionalExtractAfterLastActiveElement(Vector mask, byte defaultValues, Vector data); ++ public static Vector ConditionalExtractAfterLastActiveElement(Vector mask, Vector defaultValue, Vector data); ++ public static double ConditionalExtractAfterLastActiveElement(Vector mask, double defaultValues, Vector data); ++ public static Vector ConditionalExtractAfterLastActiveElement(Vector mask, Vector defaultValue, Vector data); ++ public static short ConditionalExtractAfterLastActiveElement(Vector mask, short defaultValues, Vector data); ++ public static Vector ConditionalExtractAfterLastActiveElement(Vector mask, Vector defaultValue, Vector data); ++ public static int ConditionalExtractAfterLastActiveElement(Vector mask, int defaultValues, Vector data); ++ public static Vector ConditionalExtractAfterLastActiveElement(Vector mask, Vector defaultValue, Vector data); ++ public static long ConditionalExtractAfterLastActiveElement(Vector mask, long defaultValues, Vector data); ++ public static Vector ConditionalExtractAfterLastActiveElement(Vector mask, Vector defaultValue, Vector data); ++ public static Vector ConditionalExtractAfterLastActiveElement(Vector mask, Vector defaultValue, Vector data); ++ public static sbyte ConditionalExtractAfterLastActiveElement(Vector mask, sbyte defaultValues, Vector data); ++ public static Vector ConditionalExtractAfterLastActiveElement(Vector mask, Vector defaultValue, Vector data); ++ public static float ConditionalExtractAfterLastActiveElement(Vector mask, float defaultValues, Vector data); ++ public static Vector ConditionalExtractAfterLastActiveElement(Vector mask, Vector defaultValue, Vector data); ++ public static ushort ConditionalExtractAfterLastActiveElement(Vector mask, ushort defaultValues, Vector data); ++ public static Vector ConditionalExtractAfterLastActiveElement(Vector mask, Vector defaultValue, Vector data); ++ public static uint ConditionalExtractAfterLastActiveElement(Vector mask, uint defaultValues, Vector data); ++ public static Vector ConditionalExtractAfterLastActiveElement(Vector mask, Vector defaultValue, Vector data); ++ public static ulong ConditionalExtractAfterLastActiveElement(Vector mask, ulong defaultValues, Vector data); ++ public static Vector ConditionalExtractAfterLastActiveElementAndReplicate(Vector mask, Vector defaultScalar, Vector data); ++ public static Vector ConditionalExtractAfterLastActiveElementAndReplicate(Vector mask, Vector defaultScalar, Vector data); ++ public static Vector ConditionalExtractAfterLastActiveElementAndReplicate(Vector mask, Vector defaultScalar, Vector data); ++ public static Vector ConditionalExtractAfterLastActiveElementAndReplicate(Vector mask, Vector defaultScalar, Vector data); ++ public static Vector ConditionalExtractAfterLastActiveElementAndReplicate(Vector mask, Vector defaultScalar, Vector data); ++ public static Vector ConditionalExtractAfterLastActiveElementAndReplicate(Vector mask, Vector defaultScalar, Vector data); ++ public static Vector ConditionalExtractAfterLastActiveElementAndReplicate(Vector mask, Vector defaultScalar, Vector data); ++ public static Vector ConditionalExtractAfterLastActiveElementAndReplicate(Vector mask, Vector defaultScalar, Vector data); ++ public static Vector ConditionalExtractAfterLastActiveElementAndReplicate(Vector mask, Vector defaultScalar, Vector data); ++ public static Vector ConditionalExtractAfterLastActiveElementAndReplicate(Vector mask, Vector defaultScalar, Vector data); ++ public static byte ConditionalExtractLastActiveElement(Vector mask, byte defaultValues, Vector data); ++ public static Vector ConditionalExtractLastActiveElement(Vector mask, Vector defaultValue, Vector data); ++ public static double ConditionalExtractLastActiveElement(Vector mask, double defaultValues, Vector data); ++ public static Vector ConditionalExtractLastActiveElement(Vector mask, Vector defaultValue, Vector data); ++ public static short ConditionalExtractLastActiveElement(Vector mask, short defaultValues, Vector data); ++ public static Vector ConditionalExtractLastActiveElement(Vector mask, Vector defaultValue, Vector data); ++ public static int ConditionalExtractLastActiveElement(Vector mask, int defaultValues, Vector data); ++ public static Vector ConditionalExtractLastActiveElement(Vector mask, Vector defaultValue, Vector data); ++ public static long ConditionalExtractLastActiveElement(Vector mask, long defaultValues, Vector data); ++ public static Vector ConditionalExtractLastActiveElement(Vector mask, Vector defaultValue, Vector data); ++ public static Vector ConditionalExtractLastActiveElement(Vector mask, Vector defaultValue, Vector data); ++ public static sbyte ConditionalExtractLastActiveElement(Vector mask, sbyte defaultValues, Vector data); ++ public static Vector ConditionalExtractLastActiveElement(Vector mask, Vector defaultValue, Vector data); ++ public static float ConditionalExtractLastActiveElement(Vector mask, float defaultValues, Vector data); ++ public static Vector ConditionalExtractLastActiveElement(Vector mask, Vector defaultValue, Vector data); ++ public static ushort ConditionalExtractLastActiveElement(Vector mask, ushort defaultValues, Vector data); ++ public static Vector ConditionalExtractLastActiveElement(Vector mask, Vector defaultValue, Vector data); ++ public static uint ConditionalExtractLastActiveElement(Vector mask, uint defaultValues, Vector data); ++ public static Vector ConditionalExtractLastActiveElement(Vector mask, Vector defaultValue, Vector data); ++ public static ulong ConditionalExtractLastActiveElement(Vector mask, ulong defaultValues, Vector data); ++ public static Vector ConditionalExtractLastActiveElementAndReplicate(Vector mask, Vector fallback, Vector data); ++ public static Vector ConditionalExtractLastActiveElementAndReplicate(Vector mask, Vector fallback, Vector data); ++ public static Vector ConditionalExtractLastActiveElementAndReplicate(Vector mask, Vector fallback, Vector data); ++ public static Vector ConditionalExtractLastActiveElementAndReplicate(Vector mask, Vector fallback, Vector data); ++ public static Vector ConditionalExtractLastActiveElementAndReplicate(Vector mask, Vector fallback, Vector data); ++ public static Vector ConditionalExtractLastActiveElementAndReplicate(Vector mask, Vector fallback, Vector data); ++ public static Vector ConditionalExtractLastActiveElementAndReplicate(Vector mask, Vector fallback, Vector data); ++ public static Vector ConditionalExtractLastActiveElementAndReplicate(Vector mask, Vector fallback, Vector data); ++ public static Vector ConditionalExtractLastActiveElementAndReplicate(Vector mask, Vector fallback, Vector data); ++ public static Vector ConditionalExtractLastActiveElementAndReplicate(Vector mask, Vector fallback, Vector data); ++ public static Vector ConvertToDouble(Vector value); ++ public static Vector ConvertToDouble(Vector value); ++ public static Vector ConvertToDouble(Vector value); ++ public static Vector ConvertToDouble(Vector value); ++ public static Vector ConvertToDouble(Vector value); ++ public static Vector ConvertToInt64(Vector value); ++ public static Vector ConvertToInt64(Vector value); ++ public static Vector ConvertToSingle(Vector value); ++ public static Vector ConvertToSingle(Vector value); ++ public static Vector ConvertToSingle(Vector value); ++ public static Vector ConvertToSingle(Vector value); ++ public static Vector ConvertToSingle(Vector value); ++ public static Vector ConvertToUInt64(Vector value); ++ public static Vector ConvertToUInt64(Vector value); ++ public static Vector CreateBreakAfterMask(Vector mask, Vector srcMask); ++ public static Vector CreateBreakAfterMask(Vector mask, Vector srcMask); ++ public static Vector CreateBreakAfterMask(Vector mask, Vector srcMask); ++ public static Vector CreateBreakAfterMask(Vector mask, Vector srcMask); ++ public static Vector CreateBreakAfterMask(Vector mask, Vector srcMask); ++ public static Vector CreateBreakAfterMask(Vector mask, Vector srcMask); ++ public static Vector CreateBreakAfterMask(Vector mask, Vector srcMask); ++ public static Vector CreateBreakAfterMask(Vector mask, Vector srcMask); ++ public static Vector CreateBreakAfterPropagateMask(Vector mask, Vector left, Vector right); ++ public static Vector CreateBreakAfterPropagateMask(Vector mask, Vector left, Vector right); ++ public static Vector CreateBreakAfterPropagateMask(Vector mask, Vector left, Vector right); ++ public static Vector CreateBreakAfterPropagateMask(Vector mask, Vector left, Vector right); ++ public static Vector CreateBreakAfterPropagateMask(Vector mask, Vector left, Vector right); ++ public static Vector CreateBreakAfterPropagateMask(Vector mask, Vector left, Vector right); ++ public static Vector CreateBreakAfterPropagateMask(Vector mask, Vector left, Vector right); ++ public static Vector CreateBreakAfterPropagateMask(Vector mask, Vector left, Vector right); ++ public static Vector CreateBreakBeforeMask(Vector mask, Vector srcMask); ++ public static Vector CreateBreakBeforeMask(Vector mask, Vector srcMask); ++ public static Vector CreateBreakBeforeMask(Vector mask, Vector srcMask); ++ public static Vector CreateBreakBeforeMask(Vector mask, Vector srcMask); ++ public static Vector CreateBreakBeforeMask(Vector mask, Vector srcMask); ++ public static Vector CreateBreakBeforeMask(Vector mask, Vector srcMask); ++ public static Vector CreateBreakBeforeMask(Vector mask, Vector srcMask); ++ public static Vector CreateBreakBeforeMask(Vector mask, Vector srcMask); ++ public static Vector CreateBreakBeforePropagateMask(Vector mask, Vector left, Vector right); ++ public static Vector CreateBreakBeforePropagateMask(Vector mask, Vector left, Vector right); ++ public static Vector CreateBreakBeforePropagateMask(Vector mask, Vector left, Vector right); ++ public static Vector CreateBreakBeforePropagateMask(Vector mask, Vector left, Vector right); ++ public static Vector CreateBreakBeforePropagateMask(Vector mask, Vector left, Vector right); ++ public static Vector CreateBreakBeforePropagateMask(Vector mask, Vector left, Vector right); ++ public static Vector CreateBreakBeforePropagateMask(Vector mask, Vector left, Vector right); ++ public static Vector CreateBreakBeforePropagateMask(Vector mask, Vector left, Vector right); ++ public static Vector CreateBreakPropagateMask(Vector totalMask, Vector fromMask); ++ public static Vector CreateBreakPropagateMask(Vector totalMask, Vector fromMask); ++ public static Vector CreateBreakPropagateMask(Vector totalMask, Vector fromMask); ++ public static Vector CreateBreakPropagateMask(Vector totalMask, Vector fromMask); ++ public static Vector CreateBreakPropagateMask(Vector totalMask, Vector fromMask); ++ public static Vector CreateBreakPropagateMask(Vector totalMask, Vector fromMask); ++ public static Vector CreateBreakPropagateMask(Vector totalMask, Vector fromMask); ++ public static Vector CreateBreakPropagateMask(Vector totalMask, Vector fromMask); ++ public static Vector CreateMaskForFirstActiveElement(Vector mask, Vector srcMask); ++ public static Vector CreateMaskForFirstActiveElement(Vector mask, Vector srcMask); ++ public static Vector CreateMaskForFirstActiveElement(Vector mask, Vector srcMask); ++ public static Vector CreateMaskForFirstActiveElement(Vector mask, Vector srcMask); ++ public static Vector CreateMaskForFirstActiveElement(Vector mask, Vector srcMask); ++ public static Vector CreateMaskForFirstActiveElement(Vector mask, Vector srcMask); ++ public static Vector CreateMaskForFirstActiveElement(Vector mask, Vector srcMask); ++ public static Vector CreateMaskForFirstActiveElement(Vector mask, Vector srcMask); ++ public static Vector CreateMaskForNextActiveElement(Vector mask, Vector srcMask); ++ public static Vector CreateMaskForNextActiveElement(Vector mask, Vector srcMask); ++ public static Vector CreateMaskForNextActiveElement(Vector mask, Vector srcMask); ++ public static Vector CreateMaskForNextActiveElement(Vector mask, Vector srcMask); ++ public static Vector DuplicateSelectedScalarToVector(Vector data, [ConstantExpectedAttribute(Min=0, Max=(byte)63)] byte index); ++ public static Vector DuplicateSelectedScalarToVector(Vector data, [ConstantExpectedAttribute(Min=0, Max=(byte)7)] byte index); ++ public static Vector DuplicateSelectedScalarToVector(Vector data, [ConstantExpectedAttribute(Min=0, Max=(byte)31)] byte index); ++ public static Vector DuplicateSelectedScalarToVector(Vector data, [ConstantExpectedAttribute(Min=0, Max=(byte)15)] byte index); ++ public static Vector DuplicateSelectedScalarToVector(Vector data, [ConstantExpectedAttribute(Min=0, Max=(byte)7)] byte index); ++ public static Vector DuplicateSelectedScalarToVector(Vector data, [ConstantExpectedAttribute(Min=0, Max=(byte)63)] byte index); ++ public static Vector DuplicateSelectedScalarToVector(Vector data, [ConstantExpectedAttribute(Min=0, Max=(byte)15)] byte index); ++ public static Vector DuplicateSelectedScalarToVector(Vector data, [ConstantExpectedAttribute(Min=0, Max=(byte)31)] byte index); ++ public static Vector DuplicateSelectedScalarToVector(Vector data, [ConstantExpectedAttribute(Min=0, Max=(byte)15)] byte index); ++ public static Vector DuplicateSelectedScalarToVector(Vector data, [ConstantExpectedAttribute(Min=0, Max=(byte)7)] byte index); ++ public static Vector ExtractVector(Vector upper, Vector lower, [ConstantExpectedAttribute] byte index); ++ public static Vector ExtractVector(Vector upper, Vector lower, [ConstantExpectedAttribute] byte index); ++ public static Vector ExtractVector(Vector upper, Vector lower, [ConstantExpectedAttribute] byte index); ++ public static Vector ExtractVector(Vector upper, Vector lower, [ConstantExpectedAttribute] byte index); ++ public static Vector ExtractVector(Vector upper, Vector lower, [ConstantExpectedAttribute] byte index); ++ public static Vector ExtractVector(Vector upper, Vector lower, [ConstantExpectedAttribute] byte index); ++ public static Vector ExtractVector(Vector upper, Vector lower, [ConstantExpectedAttribute] byte index); ++ public static Vector ExtractVector(Vector upper, Vector lower, [ConstantExpectedAttribute] byte index); ++ public static Vector ExtractVector(Vector upper, Vector lower, [ConstantExpectedAttribute] byte index); ++ public static Vector ExtractVector(Vector upper, Vector lower, [ConstantExpectedAttribute] byte index); ++ public static Vector FloatingPointExponentialAccelerator(Vector value); ++ public static Vector FloatingPointExponentialAccelerator(Vector value); ++ public static void GatherPrefetch16Bit(Vector mask, Vector addresses, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public static void GatherPrefetch16Bit(Vector mask, Vector addresses, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch16Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch16Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch16Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch16Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public static void GatherPrefetch16Bit(Vector mask, Vector addresses, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public static void GatherPrefetch16Bit(Vector mask, Vector addresses, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch16Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch16Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch16Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch16Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public static void GatherPrefetch32Bit(Vector mask, Vector addresses, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public static void GatherPrefetch32Bit(Vector mask, Vector addresses, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch32Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch32Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch32Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch32Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public static void GatherPrefetch32Bit(Vector mask, Vector addresses, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public static void GatherPrefetch32Bit(Vector mask, Vector addresses, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch32Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch32Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch32Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch32Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public static void GatherPrefetch64Bit(Vector mask, Vector addresses, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public static void GatherPrefetch64Bit(Vector mask, Vector addresses, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch64Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch64Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch64Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch64Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public static void GatherPrefetch64Bit(Vector mask, Vector addresses, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public static void GatherPrefetch64Bit(Vector mask, Vector addresses, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch64Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch64Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch64Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch64Bit(Vector mask, void* address, Vector indices, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public static void GatherPrefetch8Bit(Vector mask, Vector addresses, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public static void GatherPrefetch8Bit(Vector mask, Vector addresses, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch8Bit(Vector mask, void* address, Vector offsets, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch8Bit(Vector mask, void* address, Vector offsets, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch8Bit(Vector mask, void* address, Vector offsets, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch8Bit(Vector mask, void* address, Vector offsets, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public static void GatherPrefetch8Bit(Vector mask, Vector addresses, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public static void GatherPrefetch8Bit(Vector mask, Vector addresses, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch8Bit(Vector mask, void* address, Vector offsets, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch8Bit(Vector mask, void* address, Vector offsets, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch8Bit(Vector mask, void* address, Vector offsets, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public unsafe static void GatherPrefetch8Bit(Vector mask, void* address, Vector offsets, [ConstantExpectedAttribute] SvePrefetchType prefetchType); ++ public static Vector InsertIntoShiftedVector(Vector left, byte right); ++ public static Vector InsertIntoShiftedVector(Vector left, double right); ++ public static Vector InsertIntoShiftedVector(Vector left, short right); ++ public static Vector InsertIntoShiftedVector(Vector left, int right); ++ public static Vector InsertIntoShiftedVector(Vector left, long right); ++ public static Vector InsertIntoShiftedVector(Vector left, sbyte right); ++ public static Vector InsertIntoShiftedVector(Vector left, float right); ++ public static Vector InsertIntoShiftedVector(Vector left, ushort right); ++ public static Vector InsertIntoShiftedVector(Vector left, uint right); ++ public static Vector InsertIntoShiftedVector(Vector left, ulong right); ++ public static Vector MultiplyAddRotateComplex(Vector addend, Vector left, Vector right, [ConstantExpectedAttribute(Min=0, Max=(byte)3)] byte rotation); ++ public static Vector MultiplyAddRotateComplex(Vector addend, Vector left, Vector right, [ConstantExpectedAttribute(Min=0, Max=(byte)3)] byte rotation); ++ public static Vector MultiplyAddRotateComplexBySelectedScalar(Vector addend, Vector left, Vector right, [ConstantExpectedAttribute(Min=0, Max=(byte)1)] byte rightIndex, [ConstantExpectedAttribute(Min=0, Max=(byte)3)] byte rotation); ++ public static Vector Not(Vector value); ++ public static Vector Not(Vector value); ++ public static Vector Not(Vector value); ++ public static Vector Not(Vector value); ++ public static Vector Not(Vector value); ++ public static Vector Not(Vector value); ++ public static Vector Not(Vector value); ++ public static Vector Not(Vector value); ++ public static Vector ReciprocalEstimate(Vector value); ++ public static Vector ReciprocalEstimate(Vector value); ++ public static Vector ReciprocalExponent(Vector value); ++ public static Vector ReciprocalExponent(Vector value); ++ public static Vector ReciprocalSqrtEstimate(Vector value); ++ public static Vector ReciprocalSqrtEstimate(Vector value); ++ public static Vector ReciprocalSqrtStep(Vector left, Vector right); ++ public static Vector ReciprocalSqrtStep(Vector left, Vector right); ++ public static Vector ReciprocalStep(Vector left, Vector right); ++ public static Vector ReciprocalStep(Vector left, Vector right); ++ public static Vector ReverseBits(Vector value); ++ public static Vector ReverseBits(Vector value); ++ public static Vector ReverseBits(Vector value); ++ public static Vector ReverseBits(Vector value); ++ public static Vector ReverseBits(Vector value); ++ public static Vector ReverseBits(Vector value); ++ public static Vector ReverseBits(Vector value); ++ public static Vector ReverseBits(Vector value); ++ public static Vector Scale(Vector left, Vector right); ++ public static Vector Scale(Vector left, Vector right); ++ public unsafe static void Scatter(Vector mask, double* address, Vector indicies, Vector data); ++ public unsafe static void Scatter(Vector mask, double* address, Vector indicies, Vector data); ++ public static void Scatter(Vector mask, Vector addresses, Vector data); ++ public unsafe static void Scatter(Vector mask, int* address, Vector indicies, Vector data); ++ public unsafe static void Scatter(Vector mask, int* address, Vector indicies, Vector data); ++ public unsafe static void Scatter(Vector mask, long* address, Vector indicies, Vector data); ++ public unsafe static void Scatter(Vector mask, long* address, Vector indicies, Vector data); ++ public static void Scatter(Vector mask, Vector addresses, Vector data); ++ public unsafe static void Scatter(Vector mask, float* address, Vector indicies, Vector data); ++ public unsafe static void Scatter(Vector mask, float* address, Vector indicies, Vector data); ++ public unsafe static void Scatter(Vector mask, uint* address, Vector indicies, Vector data); ++ public unsafe static void Scatter(Vector mask, uint* address, Vector indicies, Vector data); ++ public static void Scatter(Vector mask, Vector addresses, Vector data); ++ public unsafe static void Scatter(Vector mask, ulong* address, Vector indicies, Vector data); ++ public unsafe static void Scatter(Vector mask, ulong* address, Vector indicies, Vector data); ++ public static void Scatter16BitNarrowing(Vector mask, Vector addresses, Vector data); ++ public static void Scatter16BitNarrowing(Vector mask, Vector addresses, Vector data); ++ public unsafe static void Scatter16BitWithByteOffsetsNarrowing(Vector mask, short* address, Vector offsets, Vector data); ++ public unsafe static void Scatter16BitWithByteOffsetsNarrowing(Vector mask, short* address, Vector offsets, Vector data); ++ public unsafe static void Scatter16BitWithByteOffsetsNarrowing(Vector mask, short* address, Vector offsets, Vector data); ++ public unsafe static void Scatter16BitWithByteOffsetsNarrowing(Vector mask, short* address, Vector offsets, Vector data); ++ public unsafe static void Scatter16BitWithByteOffsetsNarrowing(Vector mask, ushort* address, Vector offsets, Vector data); ++ public unsafe static void Scatter16BitWithByteOffsetsNarrowing(Vector mask, ushort* address, Vector offsets, Vector data); ++ public unsafe static void Scatter16BitWithByteOffsetsNarrowing(Vector mask, ushort* address, Vector offsets, Vector data); ++ public unsafe static void Scatter16BitWithByteOffsetsNarrowing(Vector mask, ushort* address, Vector offsets, Vector data); ++ public static void Scatter32BitNarrowing(Vector mask, Vector addresses, Vector data); ++ public static void Scatter32BitNarrowing(Vector mask, Vector addresses, Vector data); ++ public unsafe static void Scatter32BitWithByteOffsetsNarrowing(Vector mask, int* address, Vector offsets, Vector data); ++ public unsafe static void Scatter32BitWithByteOffsetsNarrowing(Vector mask, int* address, Vector offsets, Vector data); ++ public unsafe static void Scatter32BitWithByteOffsetsNarrowing(Vector mask, uint* address, Vector offsets, Vector data); ++ public unsafe static void Scatter32BitWithByteOffsetsNarrowing(Vector mask, uint* address, Vector offsets, Vector data); ++ public static void Scatter8BitNarrowing(Vector mask, Vector addresses, Vector data); ++ public static void Scatter8BitNarrowing(Vector mask, Vector addresses, Vector data); ++ public unsafe static void Scatter8BitWithByteOffsetsNarrowing(Vector mask, sbyte* address, Vector offsets, Vector data); ++ public unsafe static void Scatter8BitWithByteOffsetsNarrowing(Vector mask, sbyte* address, Vector offsets, Vector data); ++ public unsafe static void Scatter8BitWithByteOffsetsNarrowing(Vector mask, sbyte* address, Vector offsets, Vector data); ++ public unsafe static void Scatter8BitWithByteOffsetsNarrowing(Vector mask, sbyte* address, Vector offsets, Vector data); ++ public unsafe static void Scatter8BitWithByteOffsetsNarrowing(Vector mask, byte* address, Vector offsets, Vector data); ++ public unsafe static void Scatter8BitWithByteOffsetsNarrowing(Vector mask, byte* address, Vector offsets, Vector data); ++ public unsafe static void Scatter8BitWithByteOffsetsNarrowing(Vector mask, byte* address, Vector offsets, Vector data); ++ public unsafe static void Scatter8BitWithByteOffsetsNarrowing(Vector mask, byte* address, Vector offsets, Vector data); ++ public static Vector ShiftLeftLogical(Vector left, Vector right); ++ public static Vector ShiftLeftLogical(Vector left, Vector right); ++ public static Vector ShiftLeftLogical(Vector left, Vector right); ++ public static Vector ShiftLeftLogical(Vector left, Vector right); ++ public static Vector ShiftLeftLogical(Vector left, Vector right); ++ public static Vector ShiftLeftLogical(Vector left, Vector right); ++ public static Vector ShiftLeftLogical(Vector left, Vector right); ++ public static Vector ShiftLeftLogical(Vector left, Vector right); ++ public static Vector ShiftLeftLogical(Vector left, Vector right); ++ public static Vector ShiftLeftLogical(Vector left, Vector right); ++ public static Vector ShiftLeftLogical(Vector left, Vector right); ++ public static Vector ShiftLeftLogical(Vector left, Vector right); ++ public static Vector ShiftLeftLogical(Vector left, Vector right); ++ public static Vector ShiftLeftLogical(Vector left, Vector right); ++ public static Vector ShiftRightArithmetic(Vector left, Vector right); ++ public static Vector ShiftRightArithmetic(Vector left, Vector right); ++ public static Vector ShiftRightArithmetic(Vector left, Vector right); ++ public static Vector ShiftRightArithmetic(Vector left, Vector right); ++ public static Vector ShiftRightArithmetic(Vector left, Vector right); ++ public static Vector ShiftRightArithmetic(Vector left, Vector right); ++ public static Vector ShiftRightArithmetic(Vector left, Vector right); ++ public static Vector ShiftRightArithmeticForDivide(Vector value, [ConstantExpectedAttribute(Min=1, Max=(byte)16)] byte control); ++ public static Vector ShiftRightArithmeticForDivide(Vector value, [ConstantExpectedAttribute(Min=1, Max=(byte)32)] byte control); ++ public static Vector ShiftRightArithmeticForDivide(Vector value, [ConstantExpectedAttribute(Min=1, Max=(byte)64)] byte control); ++ public static Vector ShiftRightArithmeticForDivide(Vector value, [ConstantExpectedAttribute(Min=1, Max=(byte)8)] byte control); ++ public static Vector ShiftRightLogical(Vector left, Vector right); ++ public static Vector ShiftRightLogical(Vector left, Vector right); ++ public static Vector ShiftRightLogical(Vector left, Vector right); ++ public static Vector ShiftRightLogical(Vector left, Vector right); ++ public static Vector ShiftRightLogical(Vector left, Vector right); ++ public static Vector ShiftRightLogical(Vector left, Vector right); ++ public static Vector ShiftRightLogical(Vector left, Vector right); ++ public static Vector Splice(Vector mask, Vector left, Vector right); ++ public static Vector Splice(Vector mask, Vector left, Vector right); ++ public static Vector Splice(Vector mask, Vector left, Vector right); ++ public static Vector Splice(Vector mask, Vector left, Vector right); ++ public static Vector Splice(Vector mask, Vector left, Vector right); ++ public static Vector Splice(Vector mask, Vector left, Vector right); ++ public static Vector Splice(Vector mask, Vector left, Vector right); ++ public static Vector Splice(Vector mask, Vector left, Vector right); ++ public static Vector Splice(Vector mask, Vector left, Vector right); ++ public static Vector Splice(Vector mask, Vector left, Vector right); ++ public static Vector Sqrt(Vector value); ++ public static Vector Sqrt(Vector value); ++ public static bool TestAnyTrue(Vector mask, Vector srcMask); ++ public static bool TestAnyTrue(Vector mask, Vector srcMask); ++ public static bool TestAnyTrue(Vector mask, Vector srcMask); ++ public static bool TestAnyTrue(Vector mask, Vector srcMask); ++ public static bool TestAnyTrue(Vector mask, Vector srcMask); ++ public static bool TestAnyTrue(Vector mask, Vector srcMask); ++ public static bool TestAnyTrue(Vector mask, Vector srcMask); ++ public static bool TestAnyTrue(Vector mask, Vector srcMask); ++ public static bool TestFirstTrue(Vector mask, Vector srcMask); ++ public static bool TestFirstTrue(Vector mask, Vector srcMask); ++ public static bool TestFirstTrue(Vector mask, Vector srcMask); ++ public static bool TestFirstTrue(Vector mask, Vector srcMask); ++ public static bool TestFirstTrue(Vector mask, Vector srcMask); ++ public static bool TestFirstTrue(Vector mask, Vector srcMask); ++ public static bool TestFirstTrue(Vector mask, Vector srcMask); ++ public static bool TestFirstTrue(Vector mask, Vector srcMask); ++ public static bool TestLastTrue(Vector mask, Vector srcMask); ++ public static bool TestLastTrue(Vector mask, Vector srcMask); ++ public static bool TestLastTrue(Vector mask, Vector srcMask); ++ public static bool TestLastTrue(Vector mask, Vector srcMask); ++ public static bool TestLastTrue(Vector mask, Vector srcMask); ++ public static bool TestLastTrue(Vector mask, Vector srcMask); ++ public static bool TestLastTrue(Vector mask, Vector srcMask); ++ public static bool TestLastTrue(Vector mask, Vector srcMask); ++ public static Vector TrigonometricMultiplyAddCoefficient(Vector left, Vector right, [ConstantExpectedAttribute(Min=0, Max=(byte)7)] byte control); ++ public static Vector TrigonometricMultiplyAddCoefficient(Vector left, Vector right, [ConstantExpectedAttribute(Min=0, Max=(byte)7)] byte control); ++ public static Vector TrigonometricSelectCoefficient(Vector value, Vector selector); ++ public static Vector TrigonometricSelectCoefficient(Vector value, Vector selector); ++ public static Vector TrigonometricStartingValue(Vector value, Vector sign); ++ public static Vector TrigonometricStartingValue(Vector value, Vector sign); ++ public static Vector VectorTableLookup(Vector data, Vector indices); ++ public static Vector VectorTableLookup(Vector data, Vector indices); ++ public static Vector VectorTableLookup(Vector data, Vector indices); ++ public static Vector VectorTableLookup(Vector data, Vector indices); ++ public static Vector VectorTableLookup(Vector data, Vector indices); ++ public static Vector VectorTableLookup(Vector data, Vector indices); ++ public static Vector VectorTableLookup(Vector data, Vector indices); ++ public static Vector VectorTableLookup(Vector data, Vector indices); ++ public static Vector VectorTableLookup(Vector data, Vector indices); ++ public static Vector VectorTableLookup(Vector data, Vector indices); + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Runtime.Intrinsics.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Runtime.Intrinsics.md new file mode 100644 index 0000000000..9c597a8600 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Runtime.Intrinsics.md @@ -0,0 +1,159 @@ +# System.Runtime.Intrinsics + +``` diff + namespace System.Runtime.Intrinsics { + public static class Vector128 { ++ public static Vector128 Clamp(Vector128 value, Vector128 min, Vector128 max); ++ public static Vector128 ClampNative(Vector128 value, Vector128 min, Vector128 max); ++ public static Vector128 CopySign(Vector128 value, Vector128 sign); ++ public static Vector128 Cos(Vector128 vector); ++ public static Vector128 Cos(Vector128 vector); ++ public static Vector128 DegreesToRadians(Vector128 degrees); ++ public static Vector128 DegreesToRadians(Vector128 degrees); ++ public static Vector128 Hypot(Vector128 x, Vector128 y); ++ public static Vector128 Hypot(Vector128 x, Vector128 y); ++ public static Vector128 IsNaN(Vector128 vector); ++ public static Vector128 IsNegative(Vector128 vector); ++ public static Vector128 IsPositive(Vector128 vector); ++ public static Vector128 IsPositiveInfinity(Vector128 vector); ++ public static Vector128 IsZero(Vector128 vector); ++ public static Vector128 Lerp(Vector128 x, Vector128 y, Vector128 amount); ++ public static Vector128 Lerp(Vector128 x, Vector128 y, Vector128 amount); ++ public static Vector128 MaxMagnitude(Vector128 left, Vector128 right); ++ public static Vector128 MaxMagnitudeNumber(Vector128 left, Vector128 right); ++ public static Vector128 MaxNative(Vector128 left, Vector128 right); ++ public static Vector128 MaxNumber(Vector128 left, Vector128 right); ++ public static Vector128 MinMagnitude(Vector128 left, Vector128 right); ++ public static Vector128 MinMagnitudeNumber(Vector128 left, Vector128 right); ++ public static Vector128 MinNative(Vector128 left, Vector128 right); ++ public static Vector128 MinNumber(Vector128 left, Vector128 right); ++ public static Vector128 RadiansToDegrees(Vector128 radians); ++ public static Vector128 RadiansToDegrees(Vector128 radians); ++ public static Vector128 Round(Vector128 vector); ++ public static Vector128 Round(Vector128 vector, MidpointRounding mode); ++ public static Vector128 Round(Vector128 vector); ++ public static Vector128 Round(Vector128 vector, MidpointRounding mode); ++ public static Vector128 Sin(Vector128 vector); ++ public static Vector128 Sin(Vector128 vector); ++ public static (Vector128 Sin, Vector128 Cos) SinCos(Vector128 vector); ++ public static (Vector128 Sin, Vector128 Cos) SinCos(Vector128 vector); ++ public static Vector128 Truncate(Vector128 vector); ++ public static Vector128 Truncate(Vector128 vector); + } + public static class Vector256 { ++ public static Vector256 Clamp(Vector256 value, Vector256 min, Vector256 max); ++ public static Vector256 ClampNative(Vector256 value, Vector256 min, Vector256 max); ++ public static Vector256 CopySign(Vector256 value, Vector256 sign); ++ public static Vector256 Cos(Vector256 vector); ++ public static Vector256 Cos(Vector256 vector); ++ public static Vector256 DegreesToRadians(Vector256 degrees); ++ public static Vector256 DegreesToRadians(Vector256 degrees); ++ public static Vector256 Hypot(Vector256 x, Vector256 y); ++ public static Vector256 Hypot(Vector256 x, Vector256 y); ++ public static Vector256 IsNaN(Vector256 vector); ++ public static Vector256 IsNegative(Vector256 vector); ++ public static Vector256 IsPositive(Vector256 vector); ++ public static Vector256 IsPositiveInfinity(Vector256 vector); ++ public static Vector256 IsZero(Vector256 vector); ++ public static Vector256 Lerp(Vector256 x, Vector256 y, Vector256 amount); ++ public static Vector256 Lerp(Vector256 x, Vector256 y, Vector256 amount); ++ public static Vector256 MaxMagnitude(Vector256 left, Vector256 right); ++ public static Vector256 MaxMagnitudeNumber(Vector256 left, Vector256 right); ++ public static Vector256 MaxNative(Vector256 left, Vector256 right); ++ public static Vector256 MaxNumber(Vector256 left, Vector256 right); ++ public static Vector256 MinMagnitude(Vector256 left, Vector256 right); ++ public static Vector256 MinMagnitudeNumber(Vector256 left, Vector256 right); ++ public static Vector256 MinNative(Vector256 left, Vector256 right); ++ public static Vector256 MinNumber(Vector256 left, Vector256 right); ++ public static Vector256 RadiansToDegrees(Vector256 radians); ++ public static Vector256 RadiansToDegrees(Vector256 radians); ++ public static Vector256 Round(Vector256 vector); ++ public static Vector256 Round(Vector256 vector, MidpointRounding mode); ++ public static Vector256 Round(Vector256 vector); ++ public static Vector256 Round(Vector256 vector, MidpointRounding mode); ++ public static Vector256 Sin(Vector256 vector); ++ public static Vector256 Sin(Vector256 vector); ++ public static (Vector256 Sin, Vector256 Cos) SinCos(Vector256 vector); ++ public static (Vector256 Sin, Vector256 Cos) SinCos(Vector256 vector); ++ public static Vector256 Truncate(Vector256 vector); ++ public static Vector256 Truncate(Vector256 vector); + } + public static class Vector512 { ++ public static Vector512 Clamp(Vector512 value, Vector512 min, Vector512 max); ++ public static Vector512 ClampNative(Vector512 value, Vector512 min, Vector512 max); ++ public static Vector512 CopySign(Vector512 value, Vector512 sign); ++ public static Vector512 Cos(Vector512 vector); ++ public static Vector512 Cos(Vector512 vector); ++ public static Vector512 DegreesToRadians(Vector512 degrees); ++ public static Vector512 DegreesToRadians(Vector512 degrees); ++ public static Vector512 Hypot(Vector512 x, Vector512 y); ++ public static Vector512 Hypot(Vector512 x, Vector512 y); ++ public static Vector512 IsNaN(Vector512 vector); ++ public static Vector512 IsNegative(Vector512 vector); ++ public static Vector512 IsPositive(Vector512 vector); ++ public static Vector512 IsPositiveInfinity(Vector512 vector); ++ public static Vector512 IsZero(Vector512 vector); ++ public static Vector512 Lerp(Vector512 x, Vector512 y, Vector512 amount); ++ public static Vector512 Lerp(Vector512 x, Vector512 y, Vector512 amount); ++ public static Vector512 MaxMagnitude(Vector512 left, Vector512 right); ++ public static Vector512 MaxMagnitudeNumber(Vector512 left, Vector512 right); ++ public static Vector512 MaxNative(Vector512 left, Vector512 right); ++ public static Vector512 MaxNumber(Vector512 left, Vector512 right); ++ public static Vector512 MinMagnitude(Vector512 left, Vector512 right); ++ public static Vector512 MinMagnitudeNumber(Vector512 left, Vector512 right); ++ public static Vector512 MinNative(Vector512 left, Vector512 right); ++ public static Vector512 MinNumber(Vector512 left, Vector512 right); ++ public static Vector512 RadiansToDegrees(Vector512 radians); ++ public static Vector512 RadiansToDegrees(Vector512 radians); ++ public static Vector512 Round(Vector512 vector); ++ public static Vector512 Round(Vector512 vector, MidpointRounding mode); ++ public static Vector512 Round(Vector512 vector); ++ public static Vector512 Round(Vector512 vector, MidpointRounding mode); ++ public static Vector512 Sin(Vector512 vector); ++ public static Vector512 Sin(Vector512 vector); ++ public static (Vector512 Sin, Vector512 Cos) SinCos(Vector512 vector); ++ public static (Vector512 Sin, Vector512 Cos) SinCos(Vector512 vector); ++ public static Vector512 Truncate(Vector512 vector); ++ public static Vector512 Truncate(Vector512 vector); + } + public static class Vector64 { ++ public static Vector64 Clamp(Vector64 value, Vector64 min, Vector64 max); ++ public static Vector64 ClampNative(Vector64 value, Vector64 min, Vector64 max); ++ public static Vector64 CopySign(Vector64 value, Vector64 sign); ++ public static Vector64 Cos(Vector64 vector); ++ public static Vector64 Cos(Vector64 vector); ++ public static Vector64 DegreesToRadians(Vector64 degrees); ++ public static Vector64 DegreesToRadians(Vector64 degrees); ++ public static Vector64 Hypot(Vector64 x, Vector64 y); ++ public static Vector64 Hypot(Vector64 x, Vector64 y); ++ public static Vector64 IsNaN(Vector64 vector); ++ public static Vector64 IsNegative(Vector64 vector); ++ public static Vector64 IsPositive(Vector64 vector); ++ public static Vector64 IsPositiveInfinity(Vector64 vector); ++ public static Vector64 IsZero(Vector64 vector); ++ public static Vector64 Lerp(Vector64 x, Vector64 y, Vector64 amount); ++ public static Vector64 Lerp(Vector64 x, Vector64 y, Vector64 amount); ++ public static Vector64 MaxMagnitude(Vector64 left, Vector64 right); ++ public static Vector64 MaxMagnitudeNumber(Vector64 left, Vector64 right); ++ public static Vector64 MaxNative(Vector64 left, Vector64 right); ++ public static Vector64 MaxNumber(Vector64 left, Vector64 right); ++ public static Vector64 MinMagnitude(Vector64 left, Vector64 right); ++ public static Vector64 MinMagnitudeNumber(Vector64 left, Vector64 right); ++ public static Vector64 MinNative(Vector64 left, Vector64 right); ++ public static Vector64 MinNumber(Vector64 left, Vector64 right); ++ public static Vector64 RadiansToDegrees(Vector64 radians); ++ public static Vector64 RadiansToDegrees(Vector64 radians); ++ public static Vector64 Round(Vector64 vector); ++ public static Vector64 Round(Vector64 vector, MidpointRounding mode); ++ public static Vector64 Round(Vector64 vector); ++ public static Vector64 Round(Vector64 vector, MidpointRounding mode); ++ public static Vector64 Sin(Vector64 vector); ++ public static Vector64 Sin(Vector64 vector); ++ public static (Vector64 Sin, Vector64 Cos) SinCos(Vector64 vector); ++ public static (Vector64 Sin, Vector64 Cos) SinCos(Vector64 vector); ++ public static Vector64 Truncate(Vector64 vector); ++ public static Vector64 Truncate(Vector64 vector); + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Security.Cryptography.X509Certificates.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Security.Cryptography.X509Certificates.md new file mode 100644 index 0000000000..557c86e74e --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Security.Cryptography.X509Certificates.md @@ -0,0 +1,282 @@ +# System.Security.Cryptography.X509Certificates + +``` diff + namespace System.Security.Cryptography.X509Certificates { ++ public sealed class Pkcs12LoaderLimits { ++ public Pkcs12LoaderLimits(); ++ public Pkcs12LoaderLimits(Pkcs12LoaderLimits copyFrom); ++ public static Pkcs12LoaderLimits DangerousNoLimits { get; } ++ public static Pkcs12LoaderLimits Defaults { get; } ++ public bool IgnoreEncryptedAuthSafes { get; set; } ++ public bool IgnorePrivateKeys { get; set; } ++ public int? IndividualKdfIterationLimit { get; set; } ++ public bool IsReadOnly { get; } ++ public int? MacIterationLimit { get; set; } ++ public int? MaxCertificates { get; set; } ++ public int? MaxKeys { get; set; } ++ public bool PreserveCertificateAlias { get; set; } ++ public bool PreserveKeyName { get; set; } ++ public bool PreserveStorageProvider { get; set; } ++ public bool PreserveUnknownAttributes { get; set; } ++ public int? TotalKdfIterationLimit { get; set; } ++ public void MakeReadOnly(); ++ } ++ public sealed class Pkcs12LoadLimitExceededException : CryptographicException { ++ public Pkcs12LoadLimitExceededException(string propertyName); ++ } + public class X509Certificate : IDeserializationCallback, IDisposable, ISerializable { +- [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use the appropriate constructor to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate(); ++ [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use X509CertificateLoader to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate(); +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate(byte[] data); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate(byte[] data); +- [CLSCompliantAttribute(false)] +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate(byte[] rawData, SecureString? password); ++ [CLSCompliantAttribute(false)] ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate(byte[] rawData, SecureString? password); +- [CLSCompliantAttribute(false)] +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate(byte[] rawData, SecureString? password, X509KeyStorageFlags keyStorageFlags); ++ [CLSCompliantAttribute(false)] ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate(byte[] rawData, SecureString? password, X509KeyStorageFlags keyStorageFlags); +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate(byte[] rawData, string? password); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate(byte[] rawData, string? password); +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate(byte[] rawData, string? password, X509KeyStorageFlags keyStorageFlags); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate(byte[] rawData, string? password, X509KeyStorageFlags keyStorageFlags); +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate(string fileName); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate(string fileName); +- [CLSCompliantAttribute(false)] +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate(string fileName, SecureString? password); ++ [CLSCompliantAttribute(false)] ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate(string fileName, SecureString? password); +- [CLSCompliantAttribute(false)] +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate(string fileName, SecureString? password, X509KeyStorageFlags keyStorageFlags); ++ [CLSCompliantAttribute(false)] ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate(string fileName, SecureString? password, X509KeyStorageFlags keyStorageFlags); +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate(string fileName, string? password); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate(string fileName, string? password); +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate(string fileName, string? password, X509KeyStorageFlags keyStorageFlags); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate(string fileName, string? password, X509KeyStorageFlags keyStorageFlags); +- [UnsupportedOSPlatformAttribute("browser")] +- public static X509Certificate CreateFromCertFile(string filename); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public static X509Certificate CreateFromCertFile(string filename); +- [UnsupportedOSPlatformAttribute("browser")] +- public static X509Certificate CreateFromSignedFile(string filename); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public static X509Certificate CreateFromSignedFile(string filename); +- [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use the appropriate constructor to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] +- public virtual void Import(byte[] rawData); ++ [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use X509CertificateLoader to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ public virtual void Import(byte[] rawData); +- [CLSCompliantAttribute(false)] +- [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use the appropriate constructor to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] +- public virtual void Import(byte[] rawData, SecureString? password, X509KeyStorageFlags keyStorageFlags); ++ [CLSCompliantAttribute(false)] ++ [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use X509CertificateLoader to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ public virtual void Import(byte[] rawData, SecureString? password, X509KeyStorageFlags keyStorageFlags); +- [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use the appropriate constructor to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] +- public virtual void Import(byte[] rawData, string? password, X509KeyStorageFlags keyStorageFlags); ++ [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use X509CertificateLoader to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ public virtual void Import(byte[] rawData, string? password, X509KeyStorageFlags keyStorageFlags); +- [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use the appropriate constructor to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] +- public virtual void Import(string fileName); ++ [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use X509CertificateLoader to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ public virtual void Import(string fileName); +- [CLSCompliantAttribute(false)] +- [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use the appropriate constructor to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] +- public virtual void Import(string fileName, SecureString? password, X509KeyStorageFlags keyStorageFlags); ++ [CLSCompliantAttribute(false)] ++ [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use X509CertificateLoader to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ public virtual void Import(string fileName, SecureString? password, X509KeyStorageFlags keyStorageFlags); +- [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use the appropriate constructor to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] +- public virtual void Import(string fileName, string? password, X509KeyStorageFlags keyStorageFlags); ++ [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use X509CertificateLoader to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ public virtual void Import(string fileName, string? password, X509KeyStorageFlags keyStorageFlags); + } + public class X509Certificate2 : X509Certificate { +- [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use the appropriate constructor to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate2(); ++ [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use X509CertificateLoader to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate2(); +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate2(byte[] rawData); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate2(byte[] rawData); +- [CLSCompliantAttribute(false)] +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate2(byte[] rawData, SecureString? password); ++ [CLSCompliantAttribute(false)] ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate2(byte[] rawData, SecureString? password); +- [CLSCompliantAttribute(false)] +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate2(byte[] rawData, SecureString? password, X509KeyStorageFlags keyStorageFlags); ++ [CLSCompliantAttribute(false)] ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate2(byte[] rawData, SecureString? password, X509KeyStorageFlags keyStorageFlags); +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate2(byte[] rawData, string? password); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate2(byte[] rawData, string? password); +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate2(byte[] rawData, string? password, X509KeyStorageFlags keyStorageFlags); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate2(byte[] rawData, string? password, X509KeyStorageFlags keyStorageFlags); +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate2(ReadOnlySpan rawData); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate2(ReadOnlySpan rawData); +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate2(ReadOnlySpan rawData, ReadOnlySpan password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate2(ReadOnlySpan rawData, ReadOnlySpan password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet); +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate2(string fileName); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate2(string fileName); +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate2(string fileName, ReadOnlySpan password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate2(string fileName, ReadOnlySpan password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet); +- [CLSCompliantAttribute(false)] +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate2(string fileName, SecureString? password); ++ [CLSCompliantAttribute(false)] ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate2(string fileName, SecureString? password); +- [CLSCompliantAttribute(false)] +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate2(string fileName, SecureString? password, X509KeyStorageFlags keyStorageFlags); ++ [CLSCompliantAttribute(false)] ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate2(string fileName, SecureString? password, X509KeyStorageFlags keyStorageFlags); +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate2(string fileName, string? password); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate2(string fileName, string? password); +- [UnsupportedOSPlatformAttribute("browser")] +- public X509Certificate2(string fileName, string? password, X509KeyStorageFlags keyStorageFlags); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ public X509Certificate2(string fileName, string? password, X509KeyStorageFlags keyStorageFlags); +- [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use the appropriate constructor to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] +- public override void Import(byte[] rawData); ++ [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use X509CertificateLoader to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ public override void Import(byte[] rawData); +- [CLSCompliantAttribute(false)] +- [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use the appropriate constructor to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] +- public override void Import(byte[] rawData, SecureString? password, X509KeyStorageFlags keyStorageFlags); ++ [CLSCompliantAttribute(false)] ++ [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use X509CertificateLoader to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ public override void Import(byte[] rawData, SecureString? password, X509KeyStorageFlags keyStorageFlags); +- [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use the appropriate constructor to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] +- public override void Import(byte[] rawData, string? password, X509KeyStorageFlags keyStorageFlags); ++ [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use X509CertificateLoader to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ public override void Import(byte[] rawData, string? password, X509KeyStorageFlags keyStorageFlags); +- [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use the appropriate constructor to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] +- public override void Import(string fileName); ++ [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use X509CertificateLoader to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ public override void Import(string fileName); +- [CLSCompliantAttribute(false)] +- [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use the appropriate constructor to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] +- public override void Import(string fileName, SecureString? password, X509KeyStorageFlags keyStorageFlags); ++ [CLSCompliantAttribute(false)] ++ [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use X509CertificateLoader to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ public override void Import(string fileName, SecureString? password, X509KeyStorageFlags keyStorageFlags); +- [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use the appropriate constructor to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] +- public override void Import(string fileName, string? password, X509KeyStorageFlags keyStorageFlags); ++ [ObsoleteAttribute("X509Certificate and X509Certificate2 are immutable. Use X509CertificateLoader to create a new certificate.", DiagnosticId="SYSLIB0026", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ public override void Import(string fileName, string? password, X509KeyStorageFlags keyStorageFlags); + } + public class X509Certificate2Collection : X509CertificateCollection, IEnumerable, IEnumerable { +- public void Import(byte[] rawData); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ public void Import(byte[] rawData); +- public void Import(byte[] rawData, string? password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ public void Import(byte[] rawData, string? password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet); +- public void Import(ReadOnlySpan rawData); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ public void Import(ReadOnlySpan rawData); +- public void Import(ReadOnlySpan rawData, ReadOnlySpan password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ public void Import(ReadOnlySpan rawData, ReadOnlySpan password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet); +- public void Import(ReadOnlySpan rawData, string? password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ public void Import(ReadOnlySpan rawData, string? password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet); +- public void Import(string fileName); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ public void Import(string fileName); +- public void Import(string fileName, ReadOnlySpan password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ public void Import(string fileName, ReadOnlySpan password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet); +- public void Import(string fileName, string? password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet); ++ [ObsoleteAttribute("Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.", DiagnosticId="SYSLIB0057", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] ++ public void Import(string fileName, string? password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet); + } ++ [UnsupportedOSPlatformAttribute("browser")] ++ public static class X509CertificateLoader { ++ public static X509Certificate2 LoadCertificate(byte[] data); ++ public static X509Certificate2 LoadCertificate(ReadOnlySpan data); ++ public static X509Certificate2 LoadCertificateFromFile(string path); ++ public static X509Certificate2 LoadPkcs12(byte[] data, string? password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null); ++ public static X509Certificate2 LoadPkcs12(ReadOnlySpan data, ReadOnlySpan password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null); ++ public static X509Certificate2Collection LoadPkcs12Collection(byte[] data, string? password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null); ++ public static X509Certificate2Collection LoadPkcs12Collection(ReadOnlySpan data, ReadOnlySpan password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null); ++ public static X509Certificate2Collection LoadPkcs12CollectionFromFile(string path, ReadOnlySpan password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null); ++ public static X509Certificate2Collection LoadPkcs12CollectionFromFile(string path, string? password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null); ++ public static X509Certificate2 LoadPkcs12FromFile(string path, ReadOnlySpan password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null); ++ public static X509Certificate2 LoadPkcs12FromFile(string path, string? password, X509KeyStorageFlags keyStorageFlags = X509KeyStorageFlags.DefaultKeySet, Pkcs12LoaderLimits? loaderLimits = null); ++ } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Security.Cryptography.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Security.Cryptography.md new file mode 100644 index 0000000000..e9be1f2bba --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Security.Cryptography.md @@ -0,0 +1,43 @@ +# System.Security.Cryptography + +``` diff + namespace System.Security.Cryptography { +- [UnsupportedOSPlatformAttribute("browser")] +- [UnsupportedOSPlatformAttribute("ios")] +- [UnsupportedOSPlatformAttribute("tvos")] +- public sealed class AesGcm : IDisposable ++ [SupportedOSPlatformAttribute("ios13.0")] ++ [SupportedOSPlatformAttribute("maccatalyst")] ++ [SupportedOSPlatformAttribute("tvos13.0")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ [UnsupportedOSPlatformAttribute("ios")] ++ [UnsupportedOSPlatformAttribute("tvos")] ++ public sealed class AesGcm : IDisposable +- [UnsupportedOSPlatformAttribute("browser")] +- [UnsupportedOSPlatformAttribute("ios")] +- [UnsupportedOSPlatformAttribute("tvos")] +- public sealed class ChaCha20Poly1305 : IDisposable ++ [SupportedOSPlatformAttribute("ios13.0")] ++ [SupportedOSPlatformAttribute("maccatalyst")] ++ [SupportedOSPlatformAttribute("tvos13.0")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ [UnsupportedOSPlatformAttribute("ios")] ++ [UnsupportedOSPlatformAttribute("tvos")] ++ public sealed class ChaCha20Poly1305 : IDisposable + [FlagsAttribute] + public enum CngKeyCreationOptions { ++ PreferVbs = 65536, ++ RequireVbs = 131072, ++ UsePerBootKey = 262144, + } + public sealed class SafeEvpPKeyHandle : SafeHandle { ++ [UnsupportedOSPlatformAttribute("android")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ [UnsupportedOSPlatformAttribute("ios")] ++ [UnsupportedOSPlatformAttribute("tvos")] ++ [UnsupportedOSPlatformAttribute("windows")] ++ public static SafeEvpPKeyHandle OpenKeyFromProvider(string providerName, string keyUri); + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Text.Json.Schema.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Text.Json.Schema.md new file mode 100644 index 0000000000..b53b7e5980 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Text.Json.Schema.md @@ -0,0 +1,12 @@ +# System.Text.Json.Schema + +``` diff + namespace System.Text.Json.Schema { + public readonly struct JsonSchemaExporterContext { ++ public JsonTypeInfo BaseTypeInfo { get; } +- public JsonPropertyInfo? PropertyInfo { get; } ++ public JsonPropertyInfo PropertyInfo { get; } + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Text.Json.Serialization.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Text.Json.Serialization.md new file mode 100644 index 0000000000..1ea035e10f --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Text.Json.Serialization.md @@ -0,0 +1,12 @@ +# System.Text.Json.Serialization + +``` diff + namespace System.Text.Json.Serialization { ++ [AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple=false)] ++ public class JsonStringEnumMemberNameAttribute : Attribute { ++ public JsonStringEnumMemberNameAttribute(string name); ++ public string Name { get; } ++ } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Text.Json.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Text.Json.md new file mode 100644 index 0000000000..d7a4d4e443 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Text.Json.md @@ -0,0 +1,18 @@ +# System.Text.Json + +``` diff + namespace System.Text.Json { + public readonly struct JsonElement { ++ public static bool DeepEquals(JsonElement element1, JsonElement element2); + } + public struct JsonReaderOptions { ++ public bool AllowMultipleValues { get; set; } + } + public static class JsonSerializer { ++ [RequiresUnreferencedCodeAttribute("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] ++ public static IAsyncEnumerable DeserializeAsyncEnumerable(Stream utf8Json, bool topLevelValues, JsonSerializerOptions? options = null, CancellationToken cancellationToken = default(CancellationToken)); ++ public static IAsyncEnumerable DeserializeAsyncEnumerable(Stream utf8Json, JsonTypeInfo jsonTypeInfo, bool topLevelValues, CancellationToken cancellationToken = default(CancellationToken)); + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Threading.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Threading.md new file mode 100644 index 0000000000..c318a0d700 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Threading.md @@ -0,0 +1,17 @@ +# System.Threading + +``` diff + namespace System.Threading { + public static class Interlocked { +- [return: NotNullIfNotNullAttribute("location1")] +- public static T CompareExchange(ref T location1, T value, T comparand) where T : class?; ++ [return: NotNullIfNotNullAttribute("location1")] ++ public static T CompareExchange(ref T location1, T value, T comparand); +- [return: NotNullIfNotNullAttribute("location1")] +- public static T Exchange([NotNullIfNotNullAttribute("value")] ref T location1, T value) where T : class?; ++ [return: NotNullIfNotNullAttribute("location1")] ++ public static T Exchange([NotNullIfNotNullAttribute("value")] ref T location1, T value); + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.md new file mode 100644 index 0000000000..c5697fd024 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.md @@ -0,0 +1,54 @@ +# System + +``` diff + namespace System { + public static class Environment { ++ [SupportedOSPlatformAttribute("maccatalyst")] ++ [UnsupportedOSPlatformAttribute("browser")] ++ [UnsupportedOSPlatformAttribute("ios")] ++ [UnsupportedOSPlatformAttribute("tvos")] ++ public static Environment.ProcessCpuUsage CpuUsage { get; } ++ public readonly struct ProcessCpuUsage { ++ public TimeSpan PrivilegedTime { get; } ++ public TimeSpan TotalTime { get; } ++ public TimeSpan UserTime { get; } ++ } + } + public readonly struct Guid : IComparable, IComparable, IEquatable, IFormattable, IParsable, ISpanFormattable, ISpanParsable, IUtf8SpanFormattable { ++ public static Guid AllBitsSet { get; } ++ public int Variant { get; } ++ public int Version { get; } ++ public static Guid CreateVersion7(); ++ public static Guid CreateVersion7(DateTimeOffset timestamp); + } + public static class MemoryExtensions { ++ public static MemoryExtensions.SpanSplitEnumerator Split(this ReadOnlySpan source, ReadOnlySpan separator) where T : IEquatable; ++ public static MemoryExtensions.SpanSplitEnumerator Split(this ReadOnlySpan source, T separator) where T : IEquatable; ++ public static MemoryExtensions.SpanSplitEnumerator SplitAny(this ReadOnlySpan source, SearchValues separators) where T : IEquatable; ++ public static MemoryExtensions.SpanSplitEnumerator SplitAny(this ReadOnlySpan source, [ParamCollectionAttribute, UnscopedRefAttribute] ReadOnlySpan separators) where T : IEquatable; ++ public ref struct SpanSplitEnumerator where T : IEquatable { ++ public Range Current { get; } ++ public MemoryExtensions.SpanSplitEnumerator GetEnumerator(); ++ public bool MoveNext(); ++ } + } + public readonly struct TimeSpan : IComparable, IComparable, IEquatable, IFormattable, IParsable, ISpanFormattable, ISpanParsable, IUtf8SpanFormattable { ++ public const int HoursPerDay = 24; ++ public const long MicrosecondsPerDay = (long)86400000000; ++ public const long MicrosecondsPerHour = (long)3600000000; ++ public const long MicrosecondsPerMillisecond = (long)1000; ++ public const long MicrosecondsPerMinute = (long)60000000; ++ public const long MicrosecondsPerSecond = (long)1000000; ++ public const long MillisecondsPerDay = (long)86400000; ++ public const long MillisecondsPerHour = (long)3600000; ++ public const long MillisecondsPerMinute = (long)60000; ++ public const long MillisecondsPerSecond = (long)1000; ++ public const long MinutesPerDay = (long)1440; ++ public const long MinutesPerHour = (long)60; ++ public const long SecondsPerDay = (long)86400; ++ public const long SecondsPerHour = (long)3600; ++ public const long SecondsPerMinute = (long)60; + } + } +``` + From 9ecbcef3356f5c10f6eadf41c8a6cad470f93c2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20S=C3=A1nchez=20L=C3=B3pez?= <1175054+carlossanlop@users.noreply.github.com> Date: Tue, 13 Aug 2024 10:48:09 -0700 Subject: [PATCH 3/5] Microsoft.WindowsDesktop.App --- .../9.0-preview7.md | 10 +++ .../9.0-preview7_System.Drawing.Drawing2D.md | 11 +++ .../9.0-preview7_System.Formats.Nrbf.md | 11 +++ .../9.0-preview7_System.Windows.Forms.md | 29 +++++++ .../9.0-preview7_System.Windows.md | 78 +++++++++++++++++++ 5 files changed, 139 insertions(+) create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.WindowsDesktop.App/9.0-preview7.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.WindowsDesktop.App/9.0-preview7_System.Drawing.Drawing2D.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.WindowsDesktop.App/9.0-preview7_System.Formats.Nrbf.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.WindowsDesktop.App/9.0-preview7_System.Windows.Forms.md create mode 100644 release-notes/9.0/preview/preview7/api-diff/Microsoft.WindowsDesktop.App/9.0-preview7_System.Windows.md diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.WindowsDesktop.App/9.0-preview7.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.WindowsDesktop.App/9.0-preview7.md new file mode 100644 index 0000000000..e8607888a7 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.WindowsDesktop.App/9.0-preview7.md @@ -0,0 +1,10 @@ +# API Difference 9.0-preview6 vs 9.0-preview7 + +API listing follows standard diff formatting. +Lines preceded by a '+' are additions and a '-' indicates removal. + +* [System.Drawing.Drawing2D](9.0-preview7_System.Drawing.Drawing2D.md) +* [System.Formats.Nrbf](9.0-preview7_System.Formats.Nrbf.md) +* [System.Windows](9.0-preview7_System.Windows.md) +* [System.Windows.Forms](9.0-preview7_System.Windows.Forms.md) + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.WindowsDesktop.App/9.0-preview7_System.Drawing.Drawing2D.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.WindowsDesktop.App/9.0-preview7_System.Drawing.Drawing2D.md new file mode 100644 index 0000000000..bd8a6b6590 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.WindowsDesktop.App/9.0-preview7_System.Drawing.Drawing2D.md @@ -0,0 +1,11 @@ +# System.Drawing.Drawing2D + +``` diff + namespace System.Drawing.Drawing2D { + public sealed class GraphicsPathIterator : MarshalByRefObject, IDisposable { ++ public int CopyData(Span points, Span types, int startIndex, int endIndex); ++ public int Enumerate(Span points, Span types); + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.WindowsDesktop.App/9.0-preview7_System.Formats.Nrbf.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.WindowsDesktop.App/9.0-preview7_System.Formats.Nrbf.md new file mode 100644 index 0000000000..dc9df72212 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.WindowsDesktop.App/9.0-preview7_System.Formats.Nrbf.md @@ -0,0 +1,11 @@ +# System.Formats.Nrbf + +``` diff + namespace System.Formats.Nrbf { + public static class NrbfDecoder { +- public static bool StartsWithPayloadHeader(byte[] bytes); ++ public static bool StartsWithPayloadHeader(ReadOnlySpan bytes); + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.WindowsDesktop.App/9.0-preview7_System.Windows.Forms.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.WindowsDesktop.App/9.0-preview7_System.Windows.Forms.md new file mode 100644 index 0000000000..751e67a6e5 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.WindowsDesktop.App/9.0-preview7_System.Windows.Forms.md @@ -0,0 +1,29 @@ +# System.Windows.Forms + +``` diff + namespace System.Windows.Forms { + [DefaultEventAttribute("ItemClicked")] + [DefaultPropertyAttribute("Items")] + [DesignerAttribute("System.Windows.Forms.Design.ToolStripDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [DesignerSerializerAttribute("System.Windows.Forms.Design.ToolStripCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [SRDescriptionAttribute("DescriptionToolStrip")] + public class ToolStrip : ScrollableControl, IArrangedElement, IComponent, IDisposable, ISupportToolStripPanel { ++ [BrowsableAttribute(true)] ++ [DefaultValueAttribute(false)] ++ [DesignerSerializationVisibilityAttribute(1)] ++ [EditorBrowsableAttribute(0)] ++ [SRCategoryAttribute("CatBehavior")] ++ [SRDescriptionAttribute("ToolStripAllowClickThrough")] ++ public bool AllowClickThrough { get; set; } + } + [DefaultEventAttribute("Click")] + [DefaultPropertyAttribute("Text")] + [DesignTimeVisibleAttribute(false)] + [DesignerAttribute("System.Windows.Forms.Design.ToolStripItemDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [ToolboxItemAttribute(false)] + public abstract class ToolStripItem : BindableComponent, IArrangedElement, ICommandBindingTargetProvider, IComponent, IDisposable, IDropTarget, IKeyboardToolTip, ISupportOleDropSource { ++ protected internal virtual ToolStripRenderer Renderer { get; } + } + } +``` + diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.WindowsDesktop.App/9.0-preview7_System.Windows.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.WindowsDesktop.App/9.0-preview7_System.Windows.md new file mode 100644 index 0000000000..d5ed419426 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.WindowsDesktop.App/9.0-preview7_System.Windows.md @@ -0,0 +1,78 @@ +# System.Windows + +``` diff + namespace System.Windows { + public class Application : DispatcherObject, IQueryAmbient { ++ [ExperimentalAttribute("WPF0001")] ++ [TypeConverterAttribute(typeof(ThemeModeConverter))] ++ public ThemeMode ThemeMode { get; set; } + } +- [XamlSetMarkupExtensionAttribute("ReceiveMarkupExtension")] +- [XamlSetTypeConverterAttribute("ReceiveTypeConverter")] +- public class Setter : SetterBase, ISupportInitialize ++ [ContentPropertyAttribute("Value")] ++ [XamlSetMarkupExtensionAttribute("ReceiveMarkupExtension")] ++ [XamlSetTypeConverterAttribute("ReceiveTypeConverter")] ++ public class Setter : SetterBase, ISupportInitialize + public static class SystemColors { ++ public static Color AccentColor { get; } ++ public static SolidColorBrush AccentColorBrush { get; } ++ public static ResourceKey AccentColorBrushKey { get; } ++ public static Color AccentColorDark1 { get; } ++ public static SolidColorBrush AccentColorDark1Brush { get; } ++ public static ResourceKey AccentColorDark1BrushKey { get; } ++ public static ResourceKey AccentColorDark1Key { get; } ++ public static Color AccentColorDark2 { get; } ++ public static SolidColorBrush AccentColorDark2Brush { get; } ++ public static ResourceKey AccentColorDark2BrushKey { get; } ++ public static ResourceKey AccentColorDark2Key { get; } ++ public static Color AccentColorDark3 { get; } ++ public static SolidColorBrush AccentColorDark3Brush { get; } ++ public static ResourceKey AccentColorDark3BrushKey { get; } ++ public static ResourceKey AccentColorDark3Key { get; } ++ public static ResourceKey AccentColorKey { get; } ++ public static Color AccentColorLight1 { get; } ++ public static SolidColorBrush AccentColorLight1Brush { get; } ++ public static ResourceKey AccentColorLight1BrushKey { get; } ++ public static ResourceKey AccentColorLight1Key { get; } ++ public static Color AccentColorLight2 { get; } ++ public static SolidColorBrush AccentColorLight2Brush { get; } ++ public static ResourceKey AccentColorLight2BrushKey { get; } ++ public static ResourceKey AccentColorLight2Key { get; } ++ public static Color AccentColorLight3 { get; } ++ public static SolidColorBrush AccentColorLight3Brush { get; } ++ public static ResourceKey AccentColorLight3BrushKey { get; } ++ public static ResourceKey AccentColorLight3Key { get; } + } ++ [ExperimentalAttribute("WPF0001")] ++ public readonly struct ThemeMode : IEquatable { ++ public ThemeMode(string value); ++ public static ThemeMode Dark { get; } ++ public static ThemeMode Light { get; } ++ public static ThemeMode None { get; } ++ public static ThemeMode System { get; } ++ public string Value { get; } ++ public override bool Equals(object obj); ++ public bool Equals(ThemeMode other); ++ public override int GetHashCode(); ++ public static bool operator ==(ThemeMode left, ThemeMode right); ++ public static bool operator !=(ThemeMode left, ThemeMode right); ++ public override string ToString(); ++ } ++ [ExperimentalAttribute("WPF0001")] ++ public class ThemeModeConverter : TypeConverter { ++ public ThemeModeConverter(); ++ public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType); ++ public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType); ++ public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object source); ++ public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object value, Type destinationType); ++ } + [LocalizabilityAttribute(LocalizationCategory.Ignore)] + public class Window : ContentControl { ++ [ExperimentalAttribute("WPF0001")] ++ [TypeConverterAttribute(typeof(ThemeModeConverter))] ++ public ThemeMode ThemeMode { get; set; } + } + } +``` + From 925a3ada821a6eb867d18e4ea6555cae67a2f9b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20S=C3=A1nchez=20L=C3=B3pez?= <1175054+carlossanlop@users.noreply.github.com> Date: Tue, 13 Aug 2024 10:48:16 -0700 Subject: [PATCH 4/5] README.md --- release-notes/9.0/preview/preview7/api-diff/README.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 release-notes/9.0/preview/preview7/api-diff/README.md diff --git a/release-notes/9.0/preview/preview7/api-diff/README.md b/release-notes/9.0/preview/preview7/api-diff/README.md new file mode 100644 index 0000000000..a3e27db318 --- /dev/null +++ b/release-notes/9.0/preview/preview7/api-diff/README.md @@ -0,0 +1,7 @@ +# .NET 9.0 Preview 7 API Changes + +The following API changes were made in .NET 9.0 Preview 7: + +- [Microsoft.NETCore.App](./Microsoft.NETCore.App/9.0-preview7.md) +- [Microsoft.AspNetCore.App](./Microsoft.AspNetCore.App/9.0-preview7.md) +- [Microsoft.WindowsDesktop.App](./Microsoft.WindowsDesktop.App/9.0-preview7.md) From d076cfb0b6227755342f49892678eb1deaf2ab79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20S=C3=A1nchez=20L=C3=B3pez?= <1175054+carlossanlop@users.noreply.github.com> Date: Wed, 14 Aug 2024 18:37:49 -0700 Subject: [PATCH 5/5] Apply suggestions from code review --- ...0-preview7_System.Security.Cryptography.md | 24 +++++++------------ 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Security.Cryptography.md b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Security.Cryptography.md index e9be1f2bba..5fd7033192 100644 --- a/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Security.Cryptography.md +++ b/release-notes/9.0/preview/preview7/api-diff/Microsoft.NETCore.App/9.0-preview7_System.Security.Cryptography.md @@ -2,28 +2,20 @@ ``` diff namespace System.Security.Cryptography { -- [UnsupportedOSPlatformAttribute("browser")] -- [UnsupportedOSPlatformAttribute("ios")] -- [UnsupportedOSPlatformAttribute("tvos")] -- public sealed class AesGcm : IDisposable + [SupportedOSPlatformAttribute("ios13.0")] + [SupportedOSPlatformAttribute("maccatalyst")] + [SupportedOSPlatformAttribute("tvos13.0")] -+ [UnsupportedOSPlatformAttribute("browser")] -+ [UnsupportedOSPlatformAttribute("ios")] -+ [UnsupportedOSPlatformAttribute("tvos")] -+ public sealed class AesGcm : IDisposable -- [UnsupportedOSPlatformAttribute("browser")] -- [UnsupportedOSPlatformAttribute("ios")] -- [UnsupportedOSPlatformAttribute("tvos")] -- public sealed class ChaCha20Poly1305 : IDisposable + [UnsupportedOSPlatformAttribute("browser")] + [UnsupportedOSPlatformAttribute("ios")] + [UnsupportedOSPlatformAttribute("tvos")] + public sealed class AesGcm : IDisposable + [SupportedOSPlatformAttribute("ios13.0")] + [SupportedOSPlatformAttribute("maccatalyst")] + [SupportedOSPlatformAttribute("tvos13.0")] -+ [UnsupportedOSPlatformAttribute("browser")] -+ [UnsupportedOSPlatformAttribute("ios")] -+ [UnsupportedOSPlatformAttribute("tvos")] -+ public sealed class ChaCha20Poly1305 : IDisposable + [UnsupportedOSPlatformAttribute("browser")] + [UnsupportedOSPlatformAttribute("ios")] + [UnsupportedOSPlatformAttribute("tvos")] + public sealed class ChaCha20Poly1305 : IDisposable [FlagsAttribute] public enum CngKeyCreationOptions { + PreferVbs = 65536,