-
Notifications
You must be signed in to change notification settings - Fork 4.9k
API diff between .NET 10 Preview 4 and .NET 10 Preview 5 #9906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ericstj
wants to merge
2
commits into
dotnet:main
Choose a base branch
from
ericstj:10-p5-diff
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+700
−0
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
...-notes/10.0/preview/preview5/api-diff/Microsoft.AspNetCore.App/10.0-preview5.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# API difference between .NET 10.0 Preview 4 and .NET 10.0 Preview 5 | ||
|
||
API listing follows standard diff formatting. | ||
Lines preceded by a '+' are additions and a '-' indicates removal. | ||
|
||
* [Microsoft.AspNetCore.Components](10.0-preview5_Microsoft.AspNetCore.Components.md) | ||
* [Microsoft.AspNetCore.Diagnostics](10.0-preview5_Microsoft.AspNetCore.Diagnostics.md) | ||
* [Microsoft.AspNetCore.Http.Abstractions](10.0-preview5_Microsoft.AspNetCore.Http.Abstractions.md) | ||
* [Microsoft.AspNetCore.Server.HttpSys](10.0-preview5_Microsoft.AspNetCore.Server.HttpSys.md) | ||
* [Microsoft.AspNetCore.Server.Kestrel.Core](10.0-preview5_Microsoft.AspNetCore.Server.Kestrel.Core.md) | ||
* [Microsoft.Extensions.Caching.Abstractions](10.0-preview5_Microsoft.Extensions.Caching.Abstractions.md) | ||
* [Microsoft.Extensions.DependencyInjection.Abstractions](10.0-preview5_Microsoft.Extensions.DependencyInjection.Abstractions.md) | ||
* [Microsoft.JSInterop](10.0-preview5_Microsoft.JSInterop.md) | ||
|
26 changes: 26 additions & 0 deletions
26
...-diff/Microsoft.AspNetCore.App/10.0-preview5_Microsoft.AspNetCore.Components.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Microsoft.AspNetCore.Components | ||
|
||
```diff | ||
namespace Microsoft.AspNetCore.Components.Infrastructure | ||
{ | ||
+ public static class ComponentsMetricsServiceCollectionExtensions | ||
+ { | ||
+ public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddComponentsMetrics(Microsoft.Extensions.DependencyInjection.IServiceCollection services); | ||
+ public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddComponentsTracing(Microsoft.Extensions.DependencyInjection.IServiceCollection services); | ||
+ } | ||
} | ||
namespace Microsoft.AspNetCore.Components.RenderTree | ||
{ | ||
public abstract class Renderer | ||
{ | ||
- protected virtual void SignalRendererToFinishRendering(); | ||
} | ||
} | ||
namespace Microsoft.AspNetCore.Components.Routing | ||
{ | ||
public class Router : Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleAfterRender | ||
{ | ||
+ public System.Type NotFoundPage { get; set; } | ||
} | ||
} | ||
``` |
15 changes: 15 additions & 0 deletions
15
...diff/Microsoft.AspNetCore.App/10.0-preview5_Microsoft.AspNetCore.Diagnostics.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Microsoft.AspNetCore.Diagnostics | ||
|
||
```diff | ||
namespace Microsoft.AspNetCore.Builder | ||
{ | ||
public static class StatusCodePagesExtensions | ||
{ | ||
+ public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseStatusCodePagesWithReExecute(this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string pathFormat, bool createScopeForErrors, string? queryFormat = null); | ||
} | ||
public class StatusCodePagesOptions | ||
{ | ||
+ public bool CreateScopeForErrors { get; set; } | ||
} | ||
} | ||
``` |
12 changes: 12 additions & 0 deletions
12
...icrosoft.AspNetCore.App/10.0-preview5_Microsoft.AspNetCore.Http.Abstractions.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Microsoft.AspNetCore.Http.Abstractions | ||
|
||
```diff | ||
namespace Microsoft.AspNetCore.Http.Validation | ||
{ | ||
public sealed class ValidateContext | ||
{ | ||
- public System.ComponentModel.DataAnnotations.ValidationContext? ValidationContext { get; set; } | ||
+ public required System.ComponentModel.DataAnnotations.ValidationContext ValidationContext { get; set; } | ||
} | ||
} | ||
``` |
11 changes: 11 additions & 0 deletions
11
...f/Microsoft.AspNetCore.App/10.0-preview5_Microsoft.AspNetCore.Server.HttpSys.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Microsoft.AspNetCore.Server.HttpSys | ||
|
||
```diff | ||
namespace Microsoft.AspNetCore.Server.HttpSys | ||
{ | ||
public class HttpSysOptions | ||
{ | ||
+ public System.Security.AccessControl.GenericSecurityDescriptor? RequestQueueSecurityDescriptor { get; set; } | ||
} | ||
} | ||
``` |
11 changes: 11 additions & 0 deletions
11
...rosoft.AspNetCore.App/10.0-preview5_Microsoft.AspNetCore.Server.Kestrel.Core.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Microsoft.AspNetCore.Server.Kestrel.Core | ||
|
||
```diff | ||
namespace Microsoft.AspNetCore.Server.Kestrel.Https | ||
{ | ||
public class HttpsConnectionAdapterOptions | ||
{ | ||
+ public System.Action<Microsoft.AspNetCore.Connections.ConnectionContext, System.Buffers.ReadOnlySequence<byte>> TlsClientHelloBytesCallback { get; set; } | ||
} | ||
} | ||
``` |
14 changes: 14 additions & 0 deletions
14
...osoft.AspNetCore.App/10.0-preview5_Microsoft.Extensions.Caching.Abstractions.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Microsoft.Extensions.Caching.Abstractions | ||
|
||
```diff | ||
namespace Microsoft.Extensions.Caching.Hybrid | ||
{ | ||
public abstract class HybridCache | ||
{ | ||
+ public System.Threading.Tasks.ValueTask<T> GetOrCreateAsync<T>(ref System.Runtime.CompilerServices.DefaultInterpolatedStringHandler? key, System.Func<System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<T>> factory, Microsoft.Extensions.Caching.Hybrid.HybridCacheEntryOptions? options = null, System.Collections.Generic.IEnumerable<string>? tags = null, System.Threading.CancellationToken? cancellationToken = null); | ||
+ public System.Threading.Tasks.ValueTask<T> GetOrCreateAsync<T>(System.ReadOnlySpan<char> key, System.Func<System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<T>> factory, Microsoft.Extensions.Caching.Hybrid.HybridCacheEntryOptions? options = null, System.Collections.Generic.IEnumerable<string>? tags = null, System.Threading.CancellationToken? cancellationToken = null); | ||
+ public System.Threading.Tasks.ValueTask<T> GetOrCreateAsync<TState, T>(ref System.Runtime.CompilerServices.DefaultInterpolatedStringHandler? key, TState state, System.Func<TState, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<T>> factory, Microsoft.Extensions.Caching.Hybrid.HybridCacheEntryOptions? options = null, System.Collections.Generic.IEnumerable<string>? tags = null, System.Threading.CancellationToken? cancellationToken = null); | ||
+ public virtual System.Threading.Tasks.ValueTask<T> GetOrCreateAsync<TState, T>(System.ReadOnlySpan<char> key, TState state, System.Func<TState, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<T>> factory, Microsoft.Extensions.Caching.Hybrid.HybridCacheEntryOptions? options = null, System.Collections.Generic.IEnumerable<string>? tags = null, System.Threading.CancellationToken? cancellationToken = null); | ||
} | ||
} | ||
``` |
23 changes: 23 additions & 0 deletions
23
...Core.App/10.0-preview5_Microsoft.Extensions.DependencyInjection.Abstractions.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Microsoft.Extensions.DependencyInjection.Abstractions | ||
|
||
```diff | ||
namespace Microsoft.Extensions.DependencyInjection | ||
{ | ||
public class FromKeyedServicesAttribute | ||
{ | ||
- public FromKeyedServicesAttribute(object key); | ||
- public object Key { get; } | ||
+ public object? Key { get; } | ||
+ public FromKeyedServicesAttribute(); | ||
+ public FromKeyedServicesAttribute(object? key); | ||
+ public Microsoft.Extensions.DependencyInjection.ServiceKeyLookupMode? LookupMode { get; } | ||
} | ||
+ public sealed class ServiceKeyLookupMode | ||
+ { | ||
+ public const Microsoft.Extensions.DependencyInjection.ServiceKeyLookupMode ExplicitKey = 2; | ||
+ public const Microsoft.Extensions.DependencyInjection.ServiceKeyLookupMode InheritKey = 0; | ||
+ public const Microsoft.Extensions.DependencyInjection.ServiceKeyLookupMode NullKey = 1; | ||
+ public int value__; | ||
+ } | ||
} | ||
``` |
17 changes: 17 additions & 0 deletions
17
...preview5/api-diff/Microsoft.AspNetCore.App/10.0-preview5_Microsoft.JSInterop.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Microsoft.JSInterop | ||
|
||
```diff | ||
namespace Microsoft.JSInterop | ||
{ | ||
public abstract class JSInProcessRuntime : Microsoft.JSInterop.JSRuntime, Microsoft.JSInterop.IJSInProcessRuntime, Microsoft.JSInterop.IJSRuntime | ||
{ | ||
- protected abstract string? InvokeJS(in Microsoft.JSInterop.Infrastructure.JSInvocationInfo? invocationInfo); | ||
+ protected virtual string? InvokeJS(in Microsoft.JSInterop.Infrastructure.JSInvocationInfo? invocationInfo); | ||
} | ||
public abstract class JSRuntime : Microsoft.JSInterop.IJSRuntime | ||
{ | ||
- protected abstract void BeginInvokeJS(in Microsoft.JSInterop.Infrastructure.JSInvocationInfo invocationInfo); | ||
+ protected virtual void BeginInvokeJS(in Microsoft.JSInterop.Infrastructure.JSInvocationInfo invocationInfo); | ||
} | ||
} | ||
``` |
13 changes: 13 additions & 0 deletions
13
...ase-notes/10.0/preview/preview5/api-diff/Microsoft.NETCore.App/10.0-preview5.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# API difference between .NET 10.0 Preview 4 and .NET 10.0 Preview 5 | ||
|
||
API listing follows standard diff formatting. | ||
Lines preceded by a '+' are additions and a '-' indicates removal. | ||
|
||
* [System.Collections.Immutable](10.0-preview5_System.Collections.Immutable.md) | ||
* [System.Data.Common](10.0-preview5_System.Data.Common.md) | ||
* [System.Numerics.Vectors](10.0-preview5_System.Numerics.Vectors.md) | ||
* [System.Runtime](10.0-preview5_System.Runtime.md) | ||
* [System.Runtime.InteropServices](10.0-preview5_System.Runtime.InteropServices.md) | ||
* [System.Runtime.Intrinsics](10.0-preview5_System.Runtime.Intrinsics.md) | ||
* [System.Security.Cryptography](10.0-preview5_System.Security.Cryptography.md) | ||
|
16 changes: 16 additions & 0 deletions
16
...w5/api-diff/Microsoft.NETCore.App/10.0-preview5_System.Collections.Immutable.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# System.Collections.Immutable | ||
|
||
```diff | ||
namespace System.Collections.Immutable | ||
{ | ||
public static class ImmutableDictionary | ||
{ | ||
+ public static System.Collections.Immutable.ImmutableDictionary<TKey, TValue> CreateRangeWithOverwrite<TKey, TValue>(System.Collections.Generic.IEqualityComparer<TKey>? keyComparer, params scoped System.ReadOnlySpan<System.Collections.Generic.KeyValuePair<TKey, TValue>> items); | ||
+ public static System.Collections.Immutable.ImmutableDictionary<TKey, TValue> CreateRangeWithOverwrite<TKey, TValue>(params scoped System.ReadOnlySpan<System.Collections.Generic.KeyValuePair<TKey, TValue>> items); | ||
} | ||
+ [System.Runtime.CompilerServices.CollectionBuilderAttribute(typeof(System.Collections.Immutable.ImmutableDictionary), "CreateRangeWithOverwrite")] | ||
public sealed class ImmutableDictionary<TKey, TValue> : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TValue>>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey, TValue>>, System.Collections.IEnumerable, System.Collections.Generic.IDictionary<TKey, TValue>, System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<TKey, TValue>>, System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.Immutable.IImmutableDictionary<TKey, TValue> | ||
{ | ||
} | ||
} | ||
``` |
11 changes: 11 additions & 0 deletions
11
...iew/preview5/api-diff/Microsoft.NETCore.App/10.0-preview5_System.Data.Common.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# System.Data.Common | ||
|
||
```diff | ||
namespace System.Data | ||
{ | ||
public enum SqlDbType | ||
{ | ||
+ Vector = 36, | ||
} | ||
} | ||
``` |
92 changes: 92 additions & 0 deletions
92
...review5/api-diff/Microsoft.NETCore.App/10.0-preview5_System.Numerics.Vectors.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
# System.Numerics.Vectors | ||
|
||
```diff | ||
namespace System.Numerics | ||
{ | ||
public struct Matrix3x2 : System.IEquatable<System.Numerics.Matrix3x2> | ||
{ | ||
+ public static System.Numerics.Matrix3x2 Create(System.Numerics.Vector2 x, System.Numerics.Vector2 y, System.Numerics.Vector2 z); | ||
+ public static System.Numerics.Matrix3x2 Create(System.Numerics.Vector2 value); | ||
+ public static System.Numerics.Matrix3x2 Create(float m11, float m12, float m21, float m22, float m31, float m32); | ||
+ public static System.Numerics.Matrix3x2 Create(float value); | ||
+ public readonly float GetElement(int row, int column); | ||
+ public readonly System.Numerics.Vector2 GetRow(int index); | ||
+ public readonly System.Numerics.Matrix3x2 WithElement(int row, int column, float value); | ||
+ public readonly System.Numerics.Matrix3x2 WithRow(int index, System.Numerics.Vector2 value); | ||
+ public System.Numerics.Vector2 this[int row] { | ||
+ get { } | ||
+ set { } | ||
+ } | ||
+ public System.Numerics.Vector2 X { get; set; } | ||
+ public System.Numerics.Vector2 Y { get; set; } | ||
+ public System.Numerics.Vector2 Z { get; set; } | ||
} | ||
public struct Matrix4x4 : System.IEquatable<System.Numerics.Matrix4x4> | ||
{ | ||
+ public static System.Numerics.Matrix4x4 Create(System.Numerics.Matrix3x2 value); | ||
+ public static System.Numerics.Matrix4x4 Create(System.Numerics.Vector4 x, System.Numerics.Vector4 y, System.Numerics.Vector4 z, System.Numerics.Vector4 w); | ||
+ public static System.Numerics.Matrix4x4 Create(System.Numerics.Vector4 value); | ||
+ public static System.Numerics.Matrix4x4 Create(float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24, float m31, float m32, float m33, float m34, float m41, float m42, float m43, float m44); | ||
+ public static System.Numerics.Matrix4x4 Create(float value); | ||
+ public readonly float GetElement(int row, int column); | ||
+ public readonly System.Numerics.Vector4 GetRow(int index); | ||
+ public readonly System.Numerics.Matrix4x4 WithElement(int row, int column, float value); | ||
+ public readonly System.Numerics.Matrix4x4 WithRow(int index, System.Numerics.Vector4 value); | ||
+ public System.Numerics.Vector4 this[int row] { | ||
+ get { } | ||
+ set { } | ||
+ } | ||
+ public System.Numerics.Vector4 W { get; set; } | ||
+ public System.Numerics.Vector4 X { get; set; } | ||
+ public System.Numerics.Vector4 Y { get; set; } | ||
+ public System.Numerics.Vector4 Z { get; set; } | ||
} | ||
public struct Plane : System.IEquatable<System.Numerics.Plane> | ||
{ | ||
+ public static System.Numerics.Plane Create(System.Numerics.Vector3 normal, float d); | ||
+ public static System.Numerics.Plane Create(System.Numerics.Vector4 value); | ||
+ public static System.Numerics.Plane Create(float x, float y, float z, float d); | ||
} | ||
public struct Quaternion : System.IEquatable<System.Numerics.Quaternion> | ||
{ | ||
+ public static System.Numerics.Quaternion Create(System.Numerics.Vector3 vectorPart, float scalarPart); | ||
+ public static System.Numerics.Quaternion Create(float x, float y, float z, float w); | ||
} | ||
public static class Vector | ||
{ | ||
+ public static System.Numerics.Vector<T> AddSaturate<T>(System.Numerics.Vector<T> left, System.Numerics.Vector<T> right); | ||
+ public static System.Numerics.Vector2 AsVector2(this System.Numerics.Vector3 value); | ||
+ public static System.Numerics.Vector3 AsVector3(this System.Numerics.Vector2 value); | ||
+ public static System.Numerics.Vector3 AsVector3Unsafe(this System.Numerics.Vector2 value); | ||
+ public static System.Numerics.Vector<T> CreateScalar<T>(T value); | ||
+ public static System.Numerics.Vector<T> CreateScalarUnsafe<T>(T value); | ||
+ public static System.Numerics.Vector<float> NarrowWithSaturation(System.Numerics.Vector<double> low, System.Numerics.Vector<double> high); | ||
+ [System.CLSCompliantAttribute(false)] | ||
+ public static System.Numerics.Vector<sbyte> NarrowWithSaturation(System.Numerics.Vector<short> low, System.Numerics.Vector<short> high); | ||
+ public static System.Numerics.Vector<short> NarrowWithSaturation(System.Numerics.Vector<int> low, System.Numerics.Vector<int> high); | ||
+ public static System.Numerics.Vector<int> NarrowWithSaturation(System.Numerics.Vector<long> low, System.Numerics.Vector<long> high); | ||
+ [System.CLSCompliantAttribute(false)] | ||
+ public static System.Numerics.Vector<byte> NarrowWithSaturation(System.Numerics.Vector<ushort> low, System.Numerics.Vector<ushort> high); | ||
+ [System.CLSCompliantAttribute(false)] | ||
+ public static System.Numerics.Vector<ushort> NarrowWithSaturation(System.Numerics.Vector<uint> low, System.Numerics.Vector<uint> high); | ||
+ [System.CLSCompliantAttribute(false)] | ||
+ public static System.Numerics.Vector<uint> NarrowWithSaturation(System.Numerics.Vector<ulong> low, System.Numerics.Vector<ulong> high); | ||
+ public static System.Numerics.Vector<T> SubtractSaturate<T>(System.Numerics.Vector<T> left, System.Numerics.Vector<T> right); | ||
} | ||
public struct Vector2 : System.IEquatable<System.Numerics.Vector2>, System.IFormattable | ||
{ | ||
+ public static System.Numerics.Vector2 CreateScalar(float x); | ||
+ public static System.Numerics.Vector2 CreateScalarUnsafe(float x); | ||
} | ||
public struct Vector3 : System.IEquatable<System.Numerics.Vector3>, System.IFormattable | ||
{ | ||
+ public static System.Numerics.Vector3 CreateScalar(float x); | ||
+ public static System.Numerics.Vector3 CreateScalarUnsafe(float x); | ||
} | ||
public struct Vector4 : System.IEquatable<System.Numerics.Vector4>, System.IFormattable | ||
{ | ||
+ public static System.Numerics.Vector4 CreateScalar(float x); | ||
+ public static System.Numerics.Vector4 CreateScalarUnsafe(float x); | ||
} | ||
} | ||
``` |
34 changes: 34 additions & 0 deletions
34
.../api-diff/Microsoft.NETCore.App/10.0-preview5_System.Runtime.InteropServices.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# System.Runtime.InteropServices | ||
|
||
```diff | ||
namespace System.Runtime.InteropServices | ||
{ | ||
public abstract class ComWrappers | ||
{ | ||
+ protected virtual object? CreateObject(nint externalComObject, System.Runtime.InteropServices.CreateObjectFlags flags, object? userState, out System.Runtime.InteropServices.CreatedWrapperFlags wrapperFlags); | ||
+ public object GetOrCreateObjectForComInstance(nint externalComObject, System.Runtime.InteropServices.CreateObjectFlags flags, object? userState); | ||
} | ||
+ [System.FlagsAttribute] | ||
+ public enum CreatedWrapperFlags | ||
+ { | ||
+ None = 0, | ||
+ TrackerObject = 1, | ||
+ NonWrapping = 2, | ||
+ } | ||
} | ||
namespace System.Runtime.InteropServices.Marshalling | ||
{ | ||
public class GeneratedComInterfaceAttribute : System.Attribute | ||
{ | ||
+ public System.Type? ExceptionToUnmanagedMarshaller { get; set; } | ||
} | ||
+ [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")] | ||
+ [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] | ||
+ [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")] | ||
+ [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")] | ||
public class StrategyBasedComWrappers : System.Runtime.InteropServices.ComWrappers | ||
{ | ||
+ protected sealed override object? CreateObject(nint externalComObject, System.Runtime.InteropServices.CreateObjectFlags flags, object? userState, out System.Runtime.InteropServices.CreatedWrapperFlags wrapperFlags); | ||
} | ||
} | ||
``` |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.