From a194e65a21dc463eb2f8e43420a09b9b49070ea6 Mon Sep 17 00:00:00 2001 From: Doug Bunting <6431421+dougbu@users.noreply.github.com> Date: Sun, 11 Oct 2020 13:48:57 -0700 Subject: [PATCH 1/5] !!! Correct condition controlling `public` API analysis !!! - #26785 demonstrated analyzers were inoperable --- eng/targets/CSharp.Common.targets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/targets/CSharp.Common.targets b/eng/targets/CSharp.Common.targets index c9ef556f4d86..3c452ffe40a5 100644 --- a/eng/targets/CSharp.Common.targets +++ b/eng/targets/CSharp.Common.targets @@ -18,7 +18,7 @@ $(NoWarn);CA1416 - @@ -26,7 +26,7 @@ From 656cdaba4d9f2f97b1fb791e207bdd7237d57ad3 Mon Sep 17 00:00:00 2001 From: Doug Bunting <6431421+dougbu@users.noreply.github.com> Date: Sun, 11 Oct 2020 17:45:18 -0700 Subject: [PATCH 2/5] Remove unused `public` API files --- src/FileProviders/Manifest.MSBuildTask/src/PublicAPI.Shipped.txt | 1 - .../Manifest.MSBuildTask/src/PublicAPI.Unshipped.txt | 1 - 2 files changed, 2 deletions(-) delete mode 100644 src/FileProviders/Manifest.MSBuildTask/src/PublicAPI.Shipped.txt delete mode 100644 src/FileProviders/Manifest.MSBuildTask/src/PublicAPI.Unshipped.txt diff --git a/src/FileProviders/Manifest.MSBuildTask/src/PublicAPI.Shipped.txt b/src/FileProviders/Manifest.MSBuildTask/src/PublicAPI.Shipped.txt deleted file mode 100644 index 7dc5c58110bf..000000000000 --- a/src/FileProviders/Manifest.MSBuildTask/src/PublicAPI.Shipped.txt +++ /dev/null @@ -1 +0,0 @@ -#nullable enable diff --git a/src/FileProviders/Manifest.MSBuildTask/src/PublicAPI.Unshipped.txt b/src/FileProviders/Manifest.MSBuildTask/src/PublicAPI.Unshipped.txt deleted file mode 100644 index 7dc5c58110bf..000000000000 --- a/src/FileProviders/Manifest.MSBuildTask/src/PublicAPI.Unshipped.txt +++ /dev/null @@ -1 +0,0 @@ -#nullable enable From b13c10c58a89c35ab44127deb82cdb4107433aed Mon Sep 17 00:00:00 2001 From: Doug Bunting <6431421+dougbu@users.noreply.github.com> Date: Sun, 11 Oct 2020 17:46:05 -0700 Subject: [PATCH 3/5] Update `public` API files - three Components files were missing `#nullable enable` - `nullable` annotations missing or out-of-date elsewhere --- .../Components/src/PublicAPI.Unshipped.txt | 43 ++++++++++--------- .../Server/src/PublicAPI.Unshipped.txt | 18 +++++++- .../Web/src/PublicAPI.Unshipped.txt | 18 ++++---- .../src/PublicAPI.Unshipped.txt | 2 +- .../Http.Features/src/PublicAPI.Unshipped.txt | 10 ++--- src/Http/Routing/src/PublicAPI.Unshipped.txt | 2 +- .../src/PublicAPI.Unshipped.txt | 10 ++--- .../Diagnostics/src/PublicAPI.Unshipped.txt | 2 + src/Mvc/Mvc.Core/src/PublicAPI.Unshipped.txt | 1 + .../src/PublicAPI.Unshipped.txt | 1 + src/ObjectPool/src/PublicAPI.Unshipped.txt | 8 ++-- .../Core/src/PublicAPI.Unshipped.txt | 22 +++++----- .../server/Core/src/PublicAPI.Unshipped.txt | 18 ++++---- 13 files changed, 88 insertions(+), 67 deletions(-) diff --git a/src/Components/Components/src/PublicAPI.Unshipped.txt b/src/Components/Components/src/PublicAPI.Unshipped.txt index bccbaa73c306..95903170d0ff 100644 --- a/src/Components/Components/src/PublicAPI.Unshipped.txt +++ b/src/Components/Components/src/PublicAPI.Unshipped.txt @@ -1,3 +1,4 @@ +#nullable enable Microsoft.AspNetCore.Components.BindConverter Microsoft.AspNetCore.Components.BindElementAttribute Microsoft.AspNetCore.Components.BindElementAttribute.BindElementAttribute(string! element, string? suffix, string! valueAttribute, string! changeAttribute) -> void @@ -46,12 +47,12 @@ Microsoft.AspNetCore.Components.EventCallback Microsoft.AspNetCore.Components.EventCallback.EventCallback(Microsoft.AspNetCore.Components.IHandleEvent? receiver, System.MulticastDelegate? delegate) -> void Microsoft.AspNetCore.Components.EventCallback.HasDelegate.get -> bool Microsoft.AspNetCore.Components.EventCallback.InvokeAsync() -> System.Threading.Tasks.Task! -Microsoft.AspNetCore.Components.EventCallback.InvokeAsync(object! arg) -> System.Threading.Tasks.Task! +Microsoft.AspNetCore.Components.EventCallback.InvokeAsync(object? arg) -> System.Threading.Tasks.Task! Microsoft.AspNetCore.Components.EventCallback Microsoft.AspNetCore.Components.EventCallback.EventCallback(Microsoft.AspNetCore.Components.IHandleEvent? receiver, System.MulticastDelegate? delegate) -> void Microsoft.AspNetCore.Components.EventCallback.HasDelegate.get -> bool Microsoft.AspNetCore.Components.EventCallback.InvokeAsync() -> System.Threading.Tasks.Task! -Microsoft.AspNetCore.Components.EventCallback.InvokeAsync(TValue arg) -> System.Threading.Tasks.Task! +Microsoft.AspNetCore.Components.EventCallback.InvokeAsync(TValue? arg) -> System.Threading.Tasks.Task! Microsoft.AspNetCore.Components.EventCallbackFactory Microsoft.AspNetCore.Components.EventCallbackFactory.Create(object! receiver, Microsoft.AspNetCore.Components.EventCallback callback) -> Microsoft.AspNetCore.Components.EventCallback Microsoft.AspNetCore.Components.EventCallbackFactory.Create(object! receiver, System.Action! callback) -> Microsoft.AspNetCore.Components.EventCallback @@ -145,7 +146,7 @@ Microsoft.AspNetCore.Components.ParameterView.Enumerator Microsoft.AspNetCore.Components.ParameterView.Enumerator.Current.get -> Microsoft.AspNetCore.Components.ParameterValue Microsoft.AspNetCore.Components.ParameterView.Enumerator.MoveNext() -> bool Microsoft.AspNetCore.Components.ParameterView.GetEnumerator() -> Microsoft.AspNetCore.Components.ParameterView.Enumerator -Microsoft.AspNetCore.Components.ParameterView.GetValueOrDefault(string! parameterName) -> TValue +Microsoft.AspNetCore.Components.ParameterView.GetValueOrDefault(string! parameterName) -> TValue? Microsoft.AspNetCore.Components.ParameterView.GetValueOrDefault(string! parameterName, TValue defaultValue) -> TValue Microsoft.AspNetCore.Components.ParameterView.SetParameterProperties(object! target) -> void Microsoft.AspNetCore.Components.ParameterView.ToDictionary() -> System.Collections.Generic.IReadOnlyDictionary! @@ -190,30 +191,13 @@ Microsoft.AspNetCore.Components.RenderTree.RenderTreeEditType.UpdateMarkup = 8 - Microsoft.AspNetCore.Components.RenderTree.RenderTreeEditType.UpdateText = 5 -> Microsoft.AspNetCore.Components.RenderTree.RenderTreeEditType Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.AttributeEventHandlerId.get -> ulong -Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddAttribute(int sequence, string! name, string? value) -> void -Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddComponentReferenceCapture(int sequence, System.Action! componentReferenceCaptureAction) -> void -Microsoft.AspNetCore.Components.Routing.Router.OnNavigateAsync.get -> Microsoft.AspNetCore.Components.EventCallback -Microsoft.AspNetCore.Components.Routing.Router.OnNavigateAsync.set -> void -~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.AttributeEventUpdatesAttributeName.get -> string -~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.AttributeName.get -> string -~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.AttributeValue.get -> object -~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.Component.get -> Microsoft.AspNetCore.Components.IComponent Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.ComponentId.get -> int -~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.ComponentKey.get -> object -~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.ComponentReferenceCaptureAction.get -> System.Action Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.ComponentReferenceCaptureParentFrameIndex.get -> int Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.ComponentSubtreeLength.get -> int -~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.ComponentType.get -> System.Type -~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.ElementKey.get -> object -~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.ElementName.get -> string -~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.ElementReferenceCaptureAction.get -> System.Action -~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.ElementReferenceCaptureId.get -> string Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.ElementSubtreeLength.get -> int Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.FrameType.get -> Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrameType -~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.MarkupContent.get -> string Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.RegionSubtreeLength.get -> int Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.Sequence.get -> int -~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.TextContent.get -> string Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrameType Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrameType.Attribute = 3 -> Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrameType Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrameType.Component = 4 -> Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrameType @@ -243,7 +227,9 @@ Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddAttribute(int seq Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddAttribute(int sequence, string! name, System.MulticastDelegate? value) -> void Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddAttribute(int sequence, string! name, bool value) -> void Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddAttribute(int sequence, string! name, object? value) -> void +Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddAttribute(int sequence, string! name, string? value) -> void Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddAttribute(int sequence, string! name, Microsoft.AspNetCore.Components.EventCallback value) -> void +Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddComponentReferenceCapture(int sequence, System.Action! componentReferenceCaptureAction) -> void Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddContent(int sequence, Microsoft.AspNetCore.Components.MarkupString markupContent) -> void Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddContent(int sequence, Microsoft.AspNetCore.Components.RenderFragment? fragment) -> void Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddContent(int sequence, object? textContent) -> void @@ -303,6 +289,8 @@ Microsoft.AspNetCore.Components.Routing.Router.Navigating.get -> Microsoft.AspNe Microsoft.AspNetCore.Components.Routing.Router.Navigating.set -> void Microsoft.AspNetCore.Components.Routing.Router.NotFound.get -> Microsoft.AspNetCore.Components.RenderFragment! Microsoft.AspNetCore.Components.Routing.Router.NotFound.set -> void +Microsoft.AspNetCore.Components.Routing.Router.OnNavigateAsync.get -> Microsoft.AspNetCore.Components.EventCallback +Microsoft.AspNetCore.Components.Routing.Router.OnNavigateAsync.set -> void Microsoft.AspNetCore.Components.Routing.Router.Router() -> void Microsoft.AspNetCore.Components.Routing.Router.SetParametersAsync(Microsoft.AspNetCore.Components.ParameterView parameters) -> System.Threading.Tasks.Task! abstract Microsoft.AspNetCore.Components.Dispatcher.CheckAccess() -> bool @@ -315,7 +303,6 @@ abstract Microsoft.AspNetCore.Components.RenderTree.Renderer.Dispatcher.get -> M abstract Microsoft.AspNetCore.Components.RenderTree.Renderer.HandleException(System.Exception! exception) -> void abstract Microsoft.AspNetCore.Components.RenderTree.Renderer.UpdateDisplayAsync(in Microsoft.AspNetCore.Components.RenderTree.RenderBatch renderBatch) -> System.Threading.Tasks.Task! override Microsoft.AspNetCore.Components.MarkupString.ToString() -> string! -~override Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.ToString() -> string readonly Microsoft.AspNetCore.Components.RenderTree.ArrayRange.Array -> T[]! readonly Microsoft.AspNetCore.Components.RenderTree.ArrayRange.Count -> int readonly Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiff.ComponentId -> int @@ -427,3 +414,17 @@ virtual Microsoft.AspNetCore.Components.RenderTree.Renderer.DispatchEventAsync(u virtual Microsoft.AspNetCore.Components.RenderTree.Renderer.Dispose(bool disposing) -> void virtual Microsoft.AspNetCore.Components.RenderTree.Renderer.ProcessPendingRender() -> void virtual Microsoft.AspNetCore.Components.RouteView.Render(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder! builder) -> void +~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.AttributeEventUpdatesAttributeName.get -> string +~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.AttributeName.get -> string +~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.AttributeValue.get -> object +~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.Component.get -> Microsoft.AspNetCore.Components.IComponent +~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.ComponentKey.get -> object +~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.ComponentReferenceCaptureAction.get -> System.Action +~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.ComponentType.get -> System.Type +~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.ElementKey.get -> object +~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.ElementName.get -> string +~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.ElementReferenceCaptureAction.get -> System.Action +~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.ElementReferenceCaptureId.get -> string +~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.MarkupContent.get -> string +~Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.TextContent.get -> string +~override Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.ToString() -> string diff --git a/src/Components/Server/src/PublicAPI.Unshipped.txt b/src/Components/Server/src/PublicAPI.Unshipped.txt index fb14baf6f43c..5906583564f4 100644 --- a/src/Components/Server/src/PublicAPI.Unshipped.txt +++ b/src/Components/Server/src/PublicAPI.Unshipped.txt @@ -1,4 +1,5 @@ -Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder +#nullable enable +Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder.Add(System.Action! convention) -> void Microsoft.AspNetCore.Builder.ComponentEndpointRouteBuilderExtensions Microsoft.AspNetCore.Components.Server.CircuitOptions @@ -17,6 +18,19 @@ Microsoft.AspNetCore.Components.Server.Circuits.Circuit Microsoft.AspNetCore.Components.Server.Circuits.Circuit.Id.get -> string! Microsoft.AspNetCore.Components.Server.Circuits.CircuitHandler Microsoft.AspNetCore.Components.Server.Circuits.CircuitHandler.CircuitHandler() -> void +Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedBrowserStorage +Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedBrowserStorage.DeleteAsync(string! key) -> System.Threading.Tasks.ValueTask +Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedBrowserStorage.GetAsync(string! key) -> System.Threading.Tasks.ValueTask> +Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedBrowserStorage.GetAsync(string! purpose, string! key) -> System.Threading.Tasks.ValueTask> +Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedBrowserStorage.SetAsync(string! key, object! value) -> System.Threading.Tasks.ValueTask +Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedBrowserStorage.SetAsync(string! purpose, string! key, object! value) -> System.Threading.Tasks.ValueTask +Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedBrowserStorageResult +Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedBrowserStorageResult.Success.get -> bool +Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedBrowserStorageResult.Value.get -> TValue? +Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedLocalStorage +Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedLocalStorage.ProtectedLocalStorage(Microsoft.JSInterop.IJSRuntime! jsRuntime, Microsoft.AspNetCore.DataProtection.IDataProtectionProvider! dataProtectionProvider) -> void +Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedSessionStorage +Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedSessionStorage.ProtectedSessionStorage(Microsoft.JSInterop.IJSRuntime! jsRuntime, Microsoft.AspNetCore.DataProtection.IDataProtectionProvider! dataProtectionProvider) -> void Microsoft.AspNetCore.Components.Server.RevalidatingServerAuthenticationStateProvider Microsoft.AspNetCore.Components.Server.RevalidatingServerAuthenticationStateProvider.RevalidatingServerAuthenticationStateProvider(Microsoft.Extensions.Logging.ILoggerFactory! loggerFactory) -> void Microsoft.AspNetCore.Components.Server.ServerAuthenticationStateProvider @@ -41,4 +55,4 @@ virtual Microsoft.AspNetCore.Components.Server.Circuits.CircuitHandler.OnCircuit virtual Microsoft.AspNetCore.Components.Server.Circuits.CircuitHandler.OnConnectionDownAsync(Microsoft.AspNetCore.Components.Server.Circuits.Circuit! circuit, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.Task! virtual Microsoft.AspNetCore.Components.Server.Circuits.CircuitHandler.OnConnectionUpAsync(Microsoft.AspNetCore.Components.Server.Circuits.Circuit! circuit, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.Task! virtual Microsoft.AspNetCore.Components.Server.Circuits.CircuitHandler.Order.get -> int -virtual Microsoft.AspNetCore.Components.Server.RevalidatingServerAuthenticationStateProvider.Dispose(bool disposing) -> void \ No newline at end of file +virtual Microsoft.AspNetCore.Components.Server.RevalidatingServerAuthenticationStateProvider.Dispose(bool disposing) -> void diff --git a/src/Components/Web/src/PublicAPI.Unshipped.txt b/src/Components/Web/src/PublicAPI.Unshipped.txt index 44a2bd927d74..d82fff9ff3ea 100644 --- a/src/Components/Web/src/PublicAPI.Unshipped.txt +++ b/src/Components/Web/src/PublicAPI.Unshipped.txt @@ -1,4 +1,5 @@ -Microsoft.AspNetCore.Components.BindInputElementAttribute +#nullable enable +Microsoft.AspNetCore.Components.BindInputElementAttribute Microsoft.AspNetCore.Components.BindInputElementAttribute.BindInputElementAttribute(string? type, string? suffix, string? valueAttribute, string? changeAttribute, bool isInvariantCulture, string? format) -> void Microsoft.AspNetCore.Components.BindInputElementAttribute.ChangeAttribute.get -> string? Microsoft.AspNetCore.Components.BindInputElementAttribute.Format.get -> string? @@ -37,7 +38,7 @@ Microsoft.AspNetCore.Components.Forms.InputBase Microsoft.AspNetCore.Components.Forms.InputBase.AdditionalAttributes.get -> System.Collections.Generic.IReadOnlyDictionary? Microsoft.AspNetCore.Components.Forms.InputBase.AdditionalAttributes.set -> void Microsoft.AspNetCore.Components.Forms.InputBase.CssClass.get -> string! -Microsoft.AspNetCore.Components.Forms.InputBase.CurrentValue.get -> TValue +Microsoft.AspNetCore.Components.Forms.InputBase.CurrentValue.get -> TValue? Microsoft.AspNetCore.Components.Forms.InputBase.CurrentValue.set -> void Microsoft.AspNetCore.Components.Forms.InputBase.CurrentValueAsString.get -> string? Microsoft.AspNetCore.Components.Forms.InputBase.CurrentValueAsString.set -> void @@ -48,7 +49,7 @@ Microsoft.AspNetCore.Components.Forms.InputBase.EditContext.set -> void Microsoft.AspNetCore.Components.Forms.InputBase.FieldIdentifier.get -> Microsoft.AspNetCore.Components.Forms.FieldIdentifier Microsoft.AspNetCore.Components.Forms.InputBase.FieldIdentifier.set -> void Microsoft.AspNetCore.Components.Forms.InputBase.InputBase() -> void -Microsoft.AspNetCore.Components.Forms.InputBase.Value.get -> TValue +Microsoft.AspNetCore.Components.Forms.InputBase.Value.get -> TValue? Microsoft.AspNetCore.Components.Forms.InputBase.Value.set -> void Microsoft.AspNetCore.Components.Forms.InputBase.ValueChanged.get -> Microsoft.AspNetCore.Components.EventCallback Microsoft.AspNetCore.Components.Forms.InputBase.ValueChanged.set -> void @@ -81,7 +82,7 @@ Microsoft.AspNetCore.Components.Forms.InputRadio.AdditionalAttributes.se Microsoft.AspNetCore.Components.Forms.InputRadio.InputRadio() -> void Microsoft.AspNetCore.Components.Forms.InputRadio.Name.get -> string? Microsoft.AspNetCore.Components.Forms.InputRadio.Name.set -> void -Microsoft.AspNetCore.Components.Forms.InputRadio.Value.get -> TValue +Microsoft.AspNetCore.Components.Forms.InputRadio.Value.get -> TValue? Microsoft.AspNetCore.Components.Forms.InputRadio.Value.set -> void Microsoft.AspNetCore.Components.Forms.InputRadioGroup Microsoft.AspNetCore.Components.Forms.InputRadioGroup.ChildContent.get -> Microsoft.AspNetCore.Components.RenderFragment? @@ -331,6 +332,7 @@ Microsoft.AspNetCore.Components.Web.Virtualization.Virtualize.OverscanCou Microsoft.AspNetCore.Components.Web.Virtualization.Virtualize.OverscanCount.set -> void Microsoft.AspNetCore.Components.Web.Virtualization.Virtualize.Placeholder.get -> Microsoft.AspNetCore.Components.RenderFragment? Microsoft.AspNetCore.Components.Web.Virtualization.Virtualize.Placeholder.set -> void +Microsoft.AspNetCore.Components.Web.Virtualization.Virtualize.RefreshDataAsync() -> System.Threading.Tasks.Task! Microsoft.AspNetCore.Components.Web.Virtualization.Virtualize.Virtualize() -> void Microsoft.AspNetCore.Components.Web.WebEventCallbackFactoryEventArgsExtensions Microsoft.AspNetCore.Components.Web.WebRenderTreeBuilderExtensions @@ -353,13 +355,13 @@ override Microsoft.AspNetCore.Components.Forms.InputBase.SetParametersAs override Microsoft.AspNetCore.Components.Forms.InputCheckbox.BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder! builder) -> void override Microsoft.AspNetCore.Components.Forms.InputCheckbox.TryParseValueFromString(string? value, out bool result, out string? validationErrorMessage) -> bool override Microsoft.AspNetCore.Components.Forms.InputDate.BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder! builder) -> void -override Microsoft.AspNetCore.Components.Forms.InputDate.FormatValueAsString(TValue value) -> string! +override Microsoft.AspNetCore.Components.Forms.InputDate.FormatValueAsString(TValue? value) -> string! override Microsoft.AspNetCore.Components.Forms.InputDate.TryParseValueFromString(string? value, out TValue result, out string? validationErrorMessage) -> bool override Microsoft.AspNetCore.Components.Forms.InputFile.BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder! builder) -> void override Microsoft.AspNetCore.Components.Forms.InputFile.OnAfterRenderAsync(bool firstRender) -> System.Threading.Tasks.Task! override Microsoft.AspNetCore.Components.Forms.InputFile.OnInitialized() -> void override Microsoft.AspNetCore.Components.Forms.InputNumber.BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder! builder) -> void -override Microsoft.AspNetCore.Components.Forms.InputNumber.FormatValueAsString(TValue value) -> string? +override Microsoft.AspNetCore.Components.Forms.InputNumber.FormatValueAsString(TValue? value) -> string? override Microsoft.AspNetCore.Components.Forms.InputNumber.TryParseValueFromString(string? value, out TValue result, out string? validationErrorMessage) -> bool override Microsoft.AspNetCore.Components.Forms.InputRadio.BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder! builder) -> void override Microsoft.AspNetCore.Components.Forms.InputRadio.OnParametersSet() -> void @@ -408,6 +410,6 @@ static Microsoft.AspNetCore.Components.Web.WebRenderTreeBuilderExtensions.AddEve static Microsoft.AspNetCore.Components.Web.WebRenderTreeBuilderExtensions.AddEventStopPropagationAttribute(this Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder! builder, int sequence, string! eventName, bool value) -> void virtual Microsoft.AspNetCore.Components.Forms.FieldCssClassProvider.GetFieldCssClass(Microsoft.AspNetCore.Components.Forms.EditContext! editContext, in Microsoft.AspNetCore.Components.Forms.FieldIdentifier fieldIdentifier) -> string! virtual Microsoft.AspNetCore.Components.Forms.InputBase.Dispose(bool disposing) -> void -virtual Microsoft.AspNetCore.Components.Forms.InputBase.FormatValueAsString(TValue value) -> string? +virtual Microsoft.AspNetCore.Components.Forms.InputBase.FormatValueAsString(TValue? value) -> string? virtual Microsoft.AspNetCore.Components.Forms.ValidationMessage.Dispose(bool disposing) -> void -virtual Microsoft.AspNetCore.Components.Forms.ValidationSummary.Dispose(bool disposing) -> void \ No newline at end of file +virtual Microsoft.AspNetCore.Components.Forms.ValidationSummary.Dispose(bool disposing) -> void diff --git a/src/Http/Authentication.Abstractions/src/PublicAPI.Unshipped.txt b/src/Http/Authentication.Abstractions/src/PublicAPI.Unshipped.txt index 099028895557..09e68fe3d14a 100644 --- a/src/Http/Authentication.Abstractions/src/PublicAPI.Unshipped.txt +++ b/src/Http/Authentication.Abstractions/src/PublicAPI.Unshipped.txt @@ -44,7 +44,7 @@ Microsoft.AspNetCore.Authentication.AuthenticationProperties.ExpiresUtc.get -> S Microsoft.AspNetCore.Authentication.AuthenticationProperties.ExpiresUtc.set -> void Microsoft.AspNetCore.Authentication.AuthenticationProperties.GetBool(string! key) -> bool? Microsoft.AspNetCore.Authentication.AuthenticationProperties.GetDateTimeOffset(string! key) -> System.DateTimeOffset? -Microsoft.AspNetCore.Authentication.AuthenticationProperties.GetParameter(string! key) -> T +Microsoft.AspNetCore.Authentication.AuthenticationProperties.GetParameter(string! key) -> T? Microsoft.AspNetCore.Authentication.AuthenticationProperties.GetString(string! key) -> string? Microsoft.AspNetCore.Authentication.AuthenticationProperties.IsPersistent.get -> bool Microsoft.AspNetCore.Authentication.AuthenticationProperties.IsPersistent.set -> void diff --git a/src/Http/Http.Features/src/PublicAPI.Unshipped.txt b/src/Http/Http.Features/src/PublicAPI.Unshipped.txt index a50c2b5ba3ea..f97bf2426e2e 100644 --- a/src/Http/Http.Features/src/PublicAPI.Unshipped.txt +++ b/src/Http/Http.Features/src/PublicAPI.Unshipped.txt @@ -23,21 +23,21 @@ Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature.Use Microsoft.AspNetCore.Http.Features.FeatureCollection Microsoft.AspNetCore.Http.Features.FeatureCollection.FeatureCollection() -> void Microsoft.AspNetCore.Http.Features.FeatureCollection.FeatureCollection(Microsoft.AspNetCore.Http.Features.IFeatureCollection! defaults) -> void -Microsoft.AspNetCore.Http.Features.FeatureCollection.Get() -> TFeature +Microsoft.AspNetCore.Http.Features.FeatureCollection.Get() -> TFeature? Microsoft.AspNetCore.Http.Features.FeatureCollection.GetEnumerator() -> System.Collections.Generic.IEnumerator>! Microsoft.AspNetCore.Http.Features.FeatureCollection.IsReadOnly.get -> bool Microsoft.AspNetCore.Http.Features.FeatureCollection.Set(TFeature instance) -> void Microsoft.AspNetCore.Http.Features.FeatureCollection.this[System.Type! key].get -> object? Microsoft.AspNetCore.Http.Features.FeatureCollection.this[System.Type! key].set -> void Microsoft.AspNetCore.Http.Features.FeatureReference -Microsoft.AspNetCore.Http.Features.FeatureReference.Fetch(Microsoft.AspNetCore.Http.Features.IFeatureCollection! features) -> T +Microsoft.AspNetCore.Http.Features.FeatureReference.Fetch(Microsoft.AspNetCore.Http.Features.IFeatureCollection! features) -> T? Microsoft.AspNetCore.Http.Features.FeatureReference.Update(Microsoft.AspNetCore.Http.Features.IFeatureCollection! features, T feature) -> T Microsoft.AspNetCore.Http.Features.FeatureReferences -Microsoft.AspNetCore.Http.Features.FeatureReferences.Cache -> TCache +Microsoft.AspNetCore.Http.Features.FeatureReferences.Cache -> TCache? Microsoft.AspNetCore.Http.Features.FeatureReferences.Collection.get -> Microsoft.AspNetCore.Http.Features.IFeatureCollection! Microsoft.AspNetCore.Http.Features.FeatureReferences.FeatureReferences(Microsoft.AspNetCore.Http.Features.IFeatureCollection! collection) -> void -Microsoft.AspNetCore.Http.Features.FeatureReferences.Fetch(ref TFeature cached, TState state, System.Func! factory) -> TFeature -Microsoft.AspNetCore.Http.Features.FeatureReferences.Fetch(ref TFeature cached, System.Func! factory) -> TFeature +Microsoft.AspNetCore.Http.Features.FeatureReferences.Fetch(ref TFeature? cached, TState state, System.Func! factory) -> TFeature? +Microsoft.AspNetCore.Http.Features.FeatureReferences.Fetch(ref TFeature? cached, System.Func! factory) -> TFeature? Microsoft.AspNetCore.Http.Features.FeatureReferences.Initalize(Microsoft.AspNetCore.Http.Features.IFeatureCollection! collection) -> void Microsoft.AspNetCore.Http.Features.FeatureReferences.Initalize(Microsoft.AspNetCore.Http.Features.IFeatureCollection! collection, int revision) -> void Microsoft.AspNetCore.Http.Features.FeatureReferences.Revision.get -> int diff --git a/src/Http/Routing/src/PublicAPI.Unshipped.txt b/src/Http/Routing/src/PublicAPI.Unshipped.txt index 9cc07471bf97..dcaea4714f8e 100644 --- a/src/Http/Routing/src/PublicAPI.Unshipped.txt +++ b/src/Http/Routing/src/PublicAPI.Unshipped.txt @@ -175,7 +175,7 @@ Microsoft.AspNetCore.Routing.Matching.CandidateState.Endpoint.get -> Microsoft.A Microsoft.AspNetCore.Routing.Matching.CandidateState.Score.get -> int Microsoft.AspNetCore.Routing.Matching.CandidateState.Values.get -> Microsoft.AspNetCore.Routing.RouteValueDictionary? Microsoft.AspNetCore.Routing.Matching.EndpointMetadataComparer -Microsoft.AspNetCore.Routing.Matching.EndpointMetadataComparer +~Microsoft.AspNetCore.Routing.Matching.EndpointMetadataComparer Microsoft.AspNetCore.Routing.Matching.EndpointMetadataComparer.Compare(Microsoft.AspNetCore.Http.Endpoint? x, Microsoft.AspNetCore.Http.Endpoint? y) -> int Microsoft.AspNetCore.Routing.Matching.EndpointMetadataComparer.EndpointMetadataComparer() -> void Microsoft.AspNetCore.Routing.Matching.EndpointSelector diff --git a/src/JSInterop/Microsoft.JSInterop/src/PublicAPI.Unshipped.txt b/src/JSInterop/Microsoft.JSInterop/src/PublicAPI.Unshipped.txt index 8baa99e23137..11b328fa0b55 100644 --- a/src/JSInterop/Microsoft.JSInterop/src/PublicAPI.Unshipped.txt +++ b/src/JSInterop/Microsoft.JSInterop/src/PublicAPI.Unshipped.txt @@ -1,12 +1,11 @@ #nullable enable Microsoft.JSInterop.DotNetObjectReference -Microsoft.JSInterop.DotNetObjectReference Microsoft.JSInterop.DotNetObjectReference.Dispose() -> void Microsoft.JSInterop.DotNetObjectReference.Value.get -> TValue! Microsoft.JSInterop.IJSInProcessObjectReference Microsoft.JSInterop.IJSInProcessObjectReference.Invoke(string! identifier, params object?[]? args) -> TValue Microsoft.JSInterop.IJSInProcessRuntime -Microsoft.JSInterop.IJSInProcessRuntime.Invoke(string! identifier, params object?[]? args) -> T +Microsoft.JSInterop.IJSInProcessRuntime.Invoke(string! identifier, params object?[]? args) -> TResult Microsoft.JSInterop.IJSObjectReference Microsoft.JSInterop.IJSObjectReference.InvokeAsync(string! identifier, System.Threading.CancellationToken cancellationToken, object?[]? args) -> System.Threading.Tasks.ValueTask Microsoft.JSInterop.IJSObjectReference.InvokeAsync(string! identifier, object?[]? args) -> System.Threading.Tasks.ValueTask @@ -87,11 +86,12 @@ static Microsoft.JSInterop.JSObjectReferenceExtensions.InvokeAsync(this static Microsoft.JSInterop.JSObjectReferenceExtensions.InvokeVoidAsync(this Microsoft.JSInterop.IJSObjectReference! jsObjectReference, string! identifier, System.Threading.CancellationToken cancellationToken, params object?[]! args) -> System.Threading.Tasks.ValueTask static Microsoft.JSInterop.JSObjectReferenceExtensions.InvokeVoidAsync(this Microsoft.JSInterop.IJSObjectReference! jsObjectReference, string! identifier, System.TimeSpan timeout, params object?[]! args) -> System.Threading.Tasks.ValueTask static Microsoft.JSInterop.JSObjectReferenceExtensions.InvokeVoidAsync(this Microsoft.JSInterop.IJSObjectReference! jsObjectReference, string! identifier, params object?[]! args) -> System.Threading.Tasks.ValueTask -static Microsoft.JSInterop.JSRuntimeExtensions.InvokeAsync(this Microsoft.JSInterop.IJSRuntime! jsRuntime, string! identifier, System.Threading.CancellationToken cancellationToken, params object![]! args) -> System.Threading.Tasks.ValueTask -static Microsoft.JSInterop.JSRuntimeExtensions.InvokeAsync(this Microsoft.JSInterop.IJSRuntime! jsRuntime, string! identifier, System.TimeSpan timeout, params object![]! args) -> System.Threading.Tasks.ValueTask -static Microsoft.JSInterop.JSRuntimeExtensions.InvokeAsync(this Microsoft.JSInterop.IJSRuntime! jsRuntime, string! identifier, params object![]! args) -> System.Threading.Tasks.ValueTask +static Microsoft.JSInterop.JSRuntimeExtensions.InvokeAsync(this Microsoft.JSInterop.IJSRuntime! jsRuntime, string! identifier, System.Threading.CancellationToken cancellationToken, params object?[]? args) -> System.Threading.Tasks.ValueTask +static Microsoft.JSInterop.JSRuntimeExtensions.InvokeAsync(this Microsoft.JSInterop.IJSRuntime! jsRuntime, string! identifier, System.TimeSpan timeout, params object?[]? args) -> System.Threading.Tasks.ValueTask +static Microsoft.JSInterop.JSRuntimeExtensions.InvokeAsync(this Microsoft.JSInterop.IJSRuntime! jsRuntime, string! identifier, params object?[]? args) -> System.Threading.Tasks.ValueTask static Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(this Microsoft.JSInterop.IJSRuntime! jsRuntime, string! identifier, System.Threading.CancellationToken cancellationToken, params object![]! args) -> System.Threading.Tasks.ValueTask static Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(this Microsoft.JSInterop.IJSRuntime! jsRuntime, string! identifier, System.TimeSpan timeout, params object![]! args) -> System.Threading.Tasks.ValueTask static Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(this Microsoft.JSInterop.IJSRuntime! jsRuntime, string! identifier, params object![]! args) -> System.Threading.Tasks.ValueTask virtual Microsoft.JSInterop.JSInProcessRuntime.InvokeJS(string! identifier, string? argsJson) -> string? virtual Microsoft.JSInterop.JSRuntime.BeginInvokeJS(long taskId, string! identifier, string? argsJson) -> void +~Microsoft.JSInterop.DotNetObjectReference diff --git a/src/Middleware/Diagnostics/src/PublicAPI.Unshipped.txt b/src/Middleware/Diagnostics/src/PublicAPI.Unshipped.txt index 97c19b872e13..63a544adbb67 100644 --- a/src/Middleware/Diagnostics/src/PublicAPI.Unshipped.txt +++ b/src/Middleware/Diagnostics/src/PublicAPI.Unshipped.txt @@ -6,6 +6,8 @@ Microsoft.AspNetCore.Builder.DeveloperExceptionPageOptions.SourceCodeLineCount.g Microsoft.AspNetCore.Builder.DeveloperExceptionPageOptions.SourceCodeLineCount.set -> void Microsoft.AspNetCore.Builder.ExceptionHandlerExtensions Microsoft.AspNetCore.Builder.ExceptionHandlerOptions +Microsoft.AspNetCore.Builder.ExceptionHandlerOptions.AllowStatusCode404Response.get -> bool +Microsoft.AspNetCore.Builder.ExceptionHandlerOptions.AllowStatusCode404Response.set -> void Microsoft.AspNetCore.Builder.ExceptionHandlerOptions.ExceptionHandlerOptions() -> void Microsoft.AspNetCore.Builder.ExceptionHandlerOptions.ExceptionHandlingPath.get -> Microsoft.AspNetCore.Http.PathString Microsoft.AspNetCore.Builder.ExceptionHandlerOptions.ExceptionHandlingPath.set -> void diff --git a/src/Mvc/Mvc.Core/src/PublicAPI.Unshipped.txt b/src/Mvc/Mvc.Core/src/PublicAPI.Unshipped.txt index cff0b37416e6..21a3bca71b84 100644 --- a/src/Mvc/Mvc.Core/src/PublicAPI.Unshipped.txt +++ b/src/Mvc/Mvc.Core/src/PublicAPI.Unshipped.txt @@ -2090,6 +2090,7 @@ virtual Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor.Visit ~static Microsoft.AspNetCore.Builder.ControllerEndpointRouteBuilderExtensions.MapDefaultControllerRoute(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints) -> Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilder ~static Microsoft.AspNetCore.Builder.ControllerEndpointRouteBuilderExtensions.MapDynamicControllerRoute(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern) -> void ~static Microsoft.AspNetCore.Builder.ControllerEndpointRouteBuilderExtensions.MapDynamicControllerRoute(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, object state) -> void +~static Microsoft.AspNetCore.Builder.ControllerEndpointRouteBuilderExtensions.MapDynamicControllerRoute(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, object state, int order) -> void ~static Microsoft.AspNetCore.Builder.ControllerEndpointRouteBuilderExtensions.MapFallbackToAreaController(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string action, string controller, string area) -> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder ~static Microsoft.AspNetCore.Builder.ControllerEndpointRouteBuilderExtensions.MapFallbackToAreaController(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, string action, string controller, string area) -> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder ~static Microsoft.AspNetCore.Builder.ControllerEndpointRouteBuilderExtensions.MapFallbackToController(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string action, string controller) -> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder diff --git a/src/Mvc/Mvc.RazorPages/src/PublicAPI.Unshipped.txt b/src/Mvc/Mvc.RazorPages/src/PublicAPI.Unshipped.txt index 77ee76129db3..b9649505b23a 100644 --- a/src/Mvc/Mvc.RazorPages/src/PublicAPI.Unshipped.txt +++ b/src/Mvc/Mvc.RazorPages/src/PublicAPI.Unshipped.txt @@ -389,6 +389,7 @@ virtual Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutedContext.ExceptionHan ~override Microsoft.AspNetCore.Mvc.RazorPages.PageResult.ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext context) -> System.Threading.Tasks.Task ~static Microsoft.AspNetCore.Builder.RazorPagesEndpointRouteBuilderExtensions.MapDynamicPageRoute(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern) -> void ~static Microsoft.AspNetCore.Builder.RazorPagesEndpointRouteBuilderExtensions.MapDynamicPageRoute(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, object state) -> void +~static Microsoft.AspNetCore.Builder.RazorPagesEndpointRouteBuilderExtensions.MapDynamicPageRoute(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, object state, int order) -> void ~static Microsoft.AspNetCore.Builder.RazorPagesEndpointRouteBuilderExtensions.MapFallbackToAreaPage(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string page, string area) -> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder ~static Microsoft.AspNetCore.Builder.RazorPagesEndpointRouteBuilderExtensions.MapFallbackToAreaPage(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, string page, string area) -> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder ~static Microsoft.AspNetCore.Builder.RazorPagesEndpointRouteBuilderExtensions.MapFallbackToPage(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string page) -> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder diff --git a/src/ObjectPool/src/PublicAPI.Unshipped.txt b/src/ObjectPool/src/PublicAPI.Unshipped.txt index ad0bc4997bf5..33ef049936d0 100644 --- a/src/ObjectPool/src/PublicAPI.Unshipped.txt +++ b/src/ObjectPool/src/PublicAPI.Unshipped.txt @@ -1,22 +1,22 @@ #nullable enable -Microsoft.Extensions.ObjectPool.DefaultObjectPool +~Microsoft.Extensions.ObjectPool.DefaultObjectPool Microsoft.Extensions.ObjectPool.DefaultObjectPool.DefaultObjectPool(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy! policy) -> void Microsoft.Extensions.ObjectPool.DefaultObjectPool.DefaultObjectPool(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy! policy, int maximumRetained) -> void Microsoft.Extensions.ObjectPool.DefaultObjectPoolProvider Microsoft.Extensions.ObjectPool.DefaultObjectPoolProvider.DefaultObjectPoolProvider() -> void Microsoft.Extensions.ObjectPool.DefaultObjectPoolProvider.MaximumRetained.get -> int Microsoft.Extensions.ObjectPool.DefaultObjectPoolProvider.MaximumRetained.set -> void -Microsoft.Extensions.ObjectPool.DefaultPooledObjectPolicy +~Microsoft.Extensions.ObjectPool.DefaultPooledObjectPolicy Microsoft.Extensions.ObjectPool.DefaultPooledObjectPolicy.DefaultPooledObjectPolicy() -> void Microsoft.Extensions.ObjectPool.IPooledObjectPolicy Microsoft.Extensions.ObjectPool.IPooledObjectPolicy.Create() -> T Microsoft.Extensions.ObjectPool.IPooledObjectPolicy.Return(T obj) -> bool -Microsoft.Extensions.ObjectPool.LeakTrackingObjectPool +~Microsoft.Extensions.ObjectPool.LeakTrackingObjectPool Microsoft.Extensions.ObjectPool.LeakTrackingObjectPool.LeakTrackingObjectPool(Microsoft.Extensions.ObjectPool.ObjectPool! inner) -> void Microsoft.Extensions.ObjectPool.LeakTrackingObjectPoolProvider Microsoft.Extensions.ObjectPool.LeakTrackingObjectPoolProvider.LeakTrackingObjectPoolProvider(Microsoft.Extensions.ObjectPool.ObjectPoolProvider! inner) -> void Microsoft.Extensions.ObjectPool.ObjectPool -Microsoft.Extensions.ObjectPool.ObjectPool +~Microsoft.Extensions.ObjectPool.ObjectPool Microsoft.Extensions.ObjectPool.ObjectPool.ObjectPool() -> void Microsoft.Extensions.ObjectPool.ObjectPoolProvider Microsoft.Extensions.ObjectPool.ObjectPoolProvider.Create() -> Microsoft.Extensions.ObjectPool.ObjectPool! diff --git a/src/Security/Authentication/Core/src/PublicAPI.Unshipped.txt b/src/Security/Authentication/Core/src/PublicAPI.Unshipped.txt index 9a702c962a55..43d0e868bd53 100644 --- a/src/Security/Authentication/Core/src/PublicAPI.Unshipped.txt +++ b/src/Security/Authentication/Core/src/PublicAPI.Unshipped.txt @@ -11,7 +11,7 @@ Microsoft.AspNetCore.Authentication.AccessDeniedContext.ReturnUrlParameter.get - Microsoft.AspNetCore.Authentication.AccessDeniedContext.ReturnUrlParameter.set -> void Microsoft.AspNetCore.Authentication.AuthenticationBuilder Microsoft.AspNetCore.Authentication.AuthenticationBuilder.AuthenticationBuilder(Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> void -Microsoft.AspNetCore.Authentication.AuthenticationHandler +~Microsoft.AspNetCore.Authentication.AuthenticationHandler Microsoft.AspNetCore.Authentication.AuthenticationHandler.AuthenticateAsync() -> System.Threading.Tasks.Task! Microsoft.AspNetCore.Authentication.AuthenticationHandler.AuthenticationHandler(Microsoft.Extensions.Options.IOptionsMonitor! options, Microsoft.Extensions.Logging.ILoggerFactory! logger, System.Text.Encodings.Web.UrlEncoder! encoder, Microsoft.AspNetCore.Authentication.ISystemClock! clock) -> void Microsoft.AspNetCore.Authentication.AuthenticationHandler.BuildRedirectUri(string! targetPath) -> string! @@ -60,14 +60,14 @@ Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions.ForwardSignIn.se Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions.ForwardSignOut.get -> string? Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions.ForwardSignOut.set -> void Microsoft.AspNetCore.Authentication.Base64UrlTextEncoder -Microsoft.AspNetCore.Authentication.BaseContext +~Microsoft.AspNetCore.Authentication.BaseContext Microsoft.AspNetCore.Authentication.BaseContext.BaseContext(Microsoft.AspNetCore.Http.HttpContext! context, Microsoft.AspNetCore.Authentication.AuthenticationScheme! scheme, TOptions! options) -> void Microsoft.AspNetCore.Authentication.BaseContext.HttpContext.get -> Microsoft.AspNetCore.Http.HttpContext! Microsoft.AspNetCore.Authentication.BaseContext.Options.get -> TOptions! Microsoft.AspNetCore.Authentication.BaseContext.Request.get -> Microsoft.AspNetCore.Http.HttpRequest! Microsoft.AspNetCore.Authentication.BaseContext.Response.get -> Microsoft.AspNetCore.Http.HttpResponse! Microsoft.AspNetCore.Authentication.BaseContext.Scheme.get -> Microsoft.AspNetCore.Authentication.AuthenticationScheme! -Microsoft.AspNetCore.Authentication.HandleRequestContext +~Microsoft.AspNetCore.Authentication.HandleRequestContext Microsoft.AspNetCore.Authentication.HandleRequestContext.HandleRequestContext(Microsoft.AspNetCore.Http.HttpContext! context, Microsoft.AspNetCore.Authentication.AuthenticationScheme! scheme, TOptions! options) -> void Microsoft.AspNetCore.Authentication.HandleRequestContext.HandleResponse() -> void Microsoft.AspNetCore.Authentication.HandleRequestContext.Result.get -> Microsoft.AspNetCore.Authentication.HandleRequestResult! @@ -92,19 +92,19 @@ Microsoft.AspNetCore.Authentication.PolicySchemeHandler Microsoft.AspNetCore.Authentication.PolicySchemeHandler.PolicySchemeHandler(Microsoft.Extensions.Options.IOptionsMonitor! options, Microsoft.Extensions.Logging.ILoggerFactory! logger, System.Text.Encodings.Web.UrlEncoder! encoder, Microsoft.AspNetCore.Authentication.ISystemClock! clock) -> void Microsoft.AspNetCore.Authentication.PolicySchemeOptions Microsoft.AspNetCore.Authentication.PolicySchemeOptions.PolicySchemeOptions() -> void -Microsoft.AspNetCore.Authentication.PrincipalContext +~Microsoft.AspNetCore.Authentication.PrincipalContext Microsoft.AspNetCore.Authentication.PrincipalContext.PrincipalContext(Microsoft.AspNetCore.Http.HttpContext! context, Microsoft.AspNetCore.Authentication.AuthenticationScheme! scheme, TOptions! options, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties) -> void -Microsoft.AspNetCore.Authentication.PropertiesContext +~Microsoft.AspNetCore.Authentication.PropertiesContext Microsoft.AspNetCore.Authentication.PropertiesContext.PropertiesContext(Microsoft.AspNetCore.Http.HttpContext! context, Microsoft.AspNetCore.Authentication.AuthenticationScheme! scheme, TOptions! options, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties) -> void Microsoft.AspNetCore.Authentication.PropertiesDataFormat Microsoft.AspNetCore.Authentication.PropertiesDataFormat.PropertiesDataFormat(Microsoft.AspNetCore.DataProtection.IDataProtector! protector) -> void Microsoft.AspNetCore.Authentication.PropertiesSerializer Microsoft.AspNetCore.Authentication.PropertiesSerializer.PropertiesSerializer() -> void -Microsoft.AspNetCore.Authentication.RedirectContext +~Microsoft.AspNetCore.Authentication.RedirectContext Microsoft.AspNetCore.Authentication.RedirectContext.RedirectContext(Microsoft.AspNetCore.Http.HttpContext! context, Microsoft.AspNetCore.Authentication.AuthenticationScheme! scheme, TOptions! options, Microsoft.AspNetCore.Authentication.AuthenticationProperties! properties, string! redirectUri) -> void Microsoft.AspNetCore.Authentication.RedirectContext.RedirectUri.get -> string! Microsoft.AspNetCore.Authentication.RedirectContext.RedirectUri.set -> void -Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext +~Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext.Fail(System.Exception! failure) -> void Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext.Fail(string! failureMessage) -> void Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext.Principal.get -> System.Security.Claims.ClaimsPrincipal? @@ -119,7 +119,7 @@ Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents.OnRemoteFailure.s Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents.OnTicketReceived.get -> System.Func! Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents.OnTicketReceived.set -> void Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents.RemoteAuthenticationEvents() -> void -Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler +~Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler.Events.get -> Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents! Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler.Events.set -> void Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler.RemoteAuthenticationHandler(Microsoft.Extensions.Options.IOptionsMonitor! options, Microsoft.Extensions.Logging.ILoggerFactory! logger, System.Text.Encodings.Web.UrlEncoder! encoder, Microsoft.AspNetCore.Authentication.ISystemClock! clock) -> void @@ -158,7 +158,7 @@ Microsoft.AspNetCore.Authentication.RemoteFailureContext.Properties.set -> void Microsoft.AspNetCore.Authentication.RemoteFailureContext.RemoteFailureContext(Microsoft.AspNetCore.Http.HttpContext! context, Microsoft.AspNetCore.Authentication.AuthenticationScheme! scheme, Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions! options, System.Exception! failure) -> void Microsoft.AspNetCore.Authentication.RequestPathBaseCookieBuilder Microsoft.AspNetCore.Authentication.RequestPathBaseCookieBuilder.RequestPathBaseCookieBuilder() -> void -Microsoft.AspNetCore.Authentication.ResultContext +~Microsoft.AspNetCore.Authentication.ResultContext Microsoft.AspNetCore.Authentication.ResultContext.Fail(System.Exception! failure) -> void Microsoft.AspNetCore.Authentication.ResultContext.Fail(string! failureMessage) -> void Microsoft.AspNetCore.Authentication.ResultContext.NoResult() -> void @@ -175,9 +175,9 @@ Microsoft.AspNetCore.Authentication.SecureDataFormat.Protect(TData data, Microsoft.AspNetCore.Authentication.SecureDataFormat.SecureDataFormat(Microsoft.AspNetCore.Authentication.IDataSerializer! serializer, Microsoft.AspNetCore.DataProtection.IDataProtector! protector) -> void Microsoft.AspNetCore.Authentication.SecureDataFormat.Unprotect(string! protectedText) -> TData Microsoft.AspNetCore.Authentication.SecureDataFormat.Unprotect(string! protectedText, string? purpose) -> TData -Microsoft.AspNetCore.Authentication.SignInAuthenticationHandler +~Microsoft.AspNetCore.Authentication.SignInAuthenticationHandler Microsoft.AspNetCore.Authentication.SignInAuthenticationHandler.SignInAuthenticationHandler(Microsoft.Extensions.Options.IOptionsMonitor! options, Microsoft.Extensions.Logging.ILoggerFactory! logger, System.Text.Encodings.Web.UrlEncoder! encoder, Microsoft.AspNetCore.Authentication.ISystemClock! clock) -> void -Microsoft.AspNetCore.Authentication.SignOutAuthenticationHandler +~Microsoft.AspNetCore.Authentication.SignOutAuthenticationHandler Microsoft.AspNetCore.Authentication.SignOutAuthenticationHandler.SignOutAuthenticationHandler(Microsoft.Extensions.Options.IOptionsMonitor! options, Microsoft.Extensions.Logging.ILoggerFactory! logger, System.Text.Encodings.Web.UrlEncoder! encoder, Microsoft.AspNetCore.Authentication.ISystemClock! clock) -> void Microsoft.AspNetCore.Authentication.SystemClock Microsoft.AspNetCore.Authentication.SystemClock.SystemClock() -> void diff --git a/src/SignalR/server/Core/src/PublicAPI.Unshipped.txt b/src/SignalR/server/Core/src/PublicAPI.Unshipped.txt index 4db56e16c376..73cb5f597e0f 100644 --- a/src/SignalR/server/Core/src/PublicAPI.Unshipped.txt +++ b/src/SignalR/server/Core/src/PublicAPI.Unshipped.txt @@ -1,6 +1,6 @@ #nullable enable Microsoft.AspNetCore.SignalR.ClientProxyExtensions -Microsoft.AspNetCore.SignalR.DefaultHubLifetimeManager +~Microsoft.AspNetCore.SignalR.DefaultHubLifetimeManager Microsoft.AspNetCore.SignalR.DefaultHubLifetimeManager.DefaultHubLifetimeManager(Microsoft.Extensions.Logging.ILogger!>! logger) -> void Microsoft.AspNetCore.SignalR.DefaultUserIdProvider Microsoft.AspNetCore.SignalR.DefaultUserIdProvider.DefaultUserIdProvider() -> void @@ -31,7 +31,7 @@ Microsoft.AspNetCore.SignalR.Hub.Dispose() -> void Microsoft.AspNetCore.SignalR.Hub.Groups.get -> Microsoft.AspNetCore.SignalR.IGroupManager! Microsoft.AspNetCore.SignalR.Hub.Groups.set -> void Microsoft.AspNetCore.SignalR.Hub.Hub() -> void -Microsoft.AspNetCore.SignalR.Hub +~Microsoft.AspNetCore.SignalR.Hub Microsoft.AspNetCore.SignalR.Hub.Clients.get -> Microsoft.AspNetCore.SignalR.IHubCallerClients! Microsoft.AspNetCore.SignalR.Hub.Clients.set -> void Microsoft.AspNetCore.SignalR.Hub.Hub() -> void @@ -54,7 +54,7 @@ Microsoft.AspNetCore.SignalR.HubConnectionContextOptions.MaximumReceiveMessageSi Microsoft.AspNetCore.SignalR.HubConnectionContextOptions.MaximumReceiveMessageSize.set -> void Microsoft.AspNetCore.SignalR.HubConnectionContextOptions.StreamBufferCapacity.get -> int Microsoft.AspNetCore.SignalR.HubConnectionContextOptions.StreamBufferCapacity.set -> void -Microsoft.AspNetCore.SignalR.HubConnectionHandler +~Microsoft.AspNetCore.SignalR.HubConnectionHandler Microsoft.AspNetCore.SignalR.HubConnectionStore Microsoft.AspNetCore.SignalR.HubConnectionStore.Add(Microsoft.AspNetCore.SignalR.HubConnectionContext! connection) -> void Microsoft.AspNetCore.SignalR.HubConnectionStore.Count.get -> int @@ -82,7 +82,7 @@ Microsoft.AspNetCore.SignalR.HubLifetimeContext.Context.get -> Microsoft.AspNetC Microsoft.AspNetCore.SignalR.HubLifetimeContext.Hub.get -> Microsoft.AspNetCore.SignalR.Hub! Microsoft.AspNetCore.SignalR.HubLifetimeContext.HubLifetimeContext(Microsoft.AspNetCore.SignalR.HubCallerContext! context, System.IServiceProvider! serviceProvider, Microsoft.AspNetCore.SignalR.Hub! hub) -> void Microsoft.AspNetCore.SignalR.HubLifetimeContext.ServiceProvider.get -> System.IServiceProvider! -Microsoft.AspNetCore.SignalR.HubLifetimeManager +~Microsoft.AspNetCore.SignalR.HubLifetimeManager Microsoft.AspNetCore.SignalR.HubLifetimeManager.HubLifetimeManager() -> void Microsoft.AspNetCore.SignalR.HubMetadata Microsoft.AspNetCore.SignalR.HubMetadata.HubMetadata(System.Type! hubType) -> void @@ -108,20 +108,20 @@ Microsoft.AspNetCore.SignalR.HubOptions.StreamBufferCapacity.get -> int? Microsoft.AspNetCore.SignalR.HubOptions.StreamBufferCapacity.set -> void Microsoft.AspNetCore.SignalR.HubOptions.SupportedProtocols.get -> System.Collections.Generic.IList? Microsoft.AspNetCore.SignalR.HubOptions.SupportedProtocols.set -> void -Microsoft.AspNetCore.SignalR.HubOptions +~Microsoft.AspNetCore.SignalR.HubOptions Microsoft.AspNetCore.SignalR.HubOptions.HubOptions() -> void Microsoft.AspNetCore.SignalR.HubOptionsExtensions Microsoft.AspNetCore.SignalR.HubOptionsSetup Microsoft.AspNetCore.SignalR.HubOptionsSetup.Configure(Microsoft.AspNetCore.SignalR.HubOptions! options) -> void Microsoft.AspNetCore.SignalR.HubOptionsSetup.HubOptionsSetup(System.Collections.Generic.IEnumerable! protocols) -> void -Microsoft.AspNetCore.SignalR.HubOptionsSetup +~Microsoft.AspNetCore.SignalR.HubOptionsSetup Microsoft.AspNetCore.SignalR.HubOptionsSetup.Configure(Microsoft.AspNetCore.SignalR.HubOptions! options) -> void Microsoft.AspNetCore.SignalR.IClientProxy Microsoft.AspNetCore.SignalR.IClientProxy.SendCoreAsync(string! method, object?[]? args, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.Task! Microsoft.AspNetCore.SignalR.IGroupManager Microsoft.AspNetCore.SignalR.IGroupManager.AddToGroupAsync(string! connectionId, string! groupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.Task! Microsoft.AspNetCore.SignalR.IGroupManager.RemoveFromGroupAsync(string! connectionId, string! groupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Threading.Tasks.Task! -Microsoft.AspNetCore.SignalR.IHubActivator +~Microsoft.AspNetCore.SignalR.IHubActivator Microsoft.AspNetCore.SignalR.IHubActivator.Create() -> THub! Microsoft.AspNetCore.SignalR.IHubActivator.Release(THub! hub) -> void Microsoft.AspNetCore.SignalR.IHubCallerClients @@ -140,10 +140,10 @@ Microsoft.AspNetCore.SignalR.IHubClients.GroupExcept(string! groupName, Syste Microsoft.AspNetCore.SignalR.IHubClients.Groups(System.Collections.Generic.IReadOnlyList! groupNames) -> T Microsoft.AspNetCore.SignalR.IHubClients.User(string! userId) -> T Microsoft.AspNetCore.SignalR.IHubClients.Users(System.Collections.Generic.IReadOnlyList! userIds) -> T -Microsoft.AspNetCore.SignalR.IHubContext +~Microsoft.AspNetCore.SignalR.IHubContext Microsoft.AspNetCore.SignalR.IHubContext.Clients.get -> Microsoft.AspNetCore.SignalR.IHubClients! Microsoft.AspNetCore.SignalR.IHubContext.Groups.get -> Microsoft.AspNetCore.SignalR.IGroupManager! -Microsoft.AspNetCore.SignalR.IHubContext +~Microsoft.AspNetCore.SignalR.IHubContext Microsoft.AspNetCore.SignalR.IHubContext.Clients.get -> Microsoft.AspNetCore.SignalR.IHubClients! Microsoft.AspNetCore.SignalR.IHubContext.Groups.get -> Microsoft.AspNetCore.SignalR.IGroupManager! Microsoft.AspNetCore.SignalR.IHubFilter From cc8556ca278efa8ccea46b72565689cef6abf319 Mon Sep 17 00:00:00 2001 From: Doug Bunting <6431421+dougbu@users.noreply.github.com> Date: Mon, 12 Oct 2020 09:11:26 -0700 Subject: [PATCH 4/5] Ignore `public` API files completely during source build - do not warn about unused files --- eng/targets/CSharp.Common.targets | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/targets/CSharp.Common.targets b/eng/targets/CSharp.Common.targets index 3c452ffe40a5..babdae75f264 100644 --- a/eng/targets/CSharp.Common.targets +++ b/eng/targets/CSharp.Common.targets @@ -19,17 +19,17 @@ + !('$(IsImplementationProject)' == 'true' AND + ! $(RepoRelativeProjectDir.Contains('Tools'))) "> From 57bc14efe81f1bd0f2b2d0685d96a0821aaea0eb Mon Sep 17 00:00:00 2001 From: Doug Bunting <6431421+dougbu@users.noreply.github.com> Date: Mon, 12 Oct 2020 09:14:07 -0700 Subject: [PATCH 5/5] Update more `public` API files --- .../EntityFrameworkCore/src/PublicAPI.Unshipped.txt | 2 +- .../Authentication/Negotiate/src/PublicAPI.Unshipped.txt | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/DataProtection/EntityFrameworkCore/src/PublicAPI.Unshipped.txt b/src/DataProtection/EntityFrameworkCore/src/PublicAPI.Unshipped.txt index 3158631350b8..78b73dd7f397 100644 --- a/src/DataProtection/EntityFrameworkCore/src/PublicAPI.Unshipped.txt +++ b/src/DataProtection/EntityFrameworkCore/src/PublicAPI.Unshipped.txt @@ -7,7 +7,7 @@ Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.DataProtectionKey.Id.get Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.DataProtectionKey.Id.set -> void Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.DataProtectionKey.Xml.get -> string? Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.DataProtectionKey.Xml.set -> void -Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.EntityFrameworkCoreXmlRepository +~Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.EntityFrameworkCoreXmlRepository Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.EntityFrameworkCoreXmlRepository.EntityFrameworkCoreXmlRepository(System.IServiceProvider! services, Microsoft.Extensions.Logging.ILoggerFactory! loggerFactory) -> void Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.EntityFrameworkCoreXmlRepository.StoreElement(System.Xml.Linq.XElement! element, string! friendlyName) -> void Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.IDataProtectionKeyContext diff --git a/src/Security/Authentication/Negotiate/src/PublicAPI.Unshipped.txt b/src/Security/Authentication/Negotiate/src/PublicAPI.Unshipped.txt index 8756423b0c66..4b20e4e373f1 100644 --- a/src/Security/Authentication/Negotiate/src/PublicAPI.Unshipped.txt +++ b/src/Security/Authentication/Negotiate/src/PublicAPI.Unshipped.txt @@ -6,6 +6,12 @@ Microsoft.AspNetCore.Authentication.Negotiate.ChallengeContext.HandleResponse() Microsoft.AspNetCore.Authentication.Negotiate.ChallengeContext.Handled.get -> bool Microsoft.AspNetCore.Authentication.Negotiate.LdapContext Microsoft.AspNetCore.Authentication.Negotiate.LdapSettings +Microsoft.AspNetCore.Authentication.Negotiate.LdapSettings.ClaimsCacheAbsoluteExpiration.get -> System.TimeSpan +Microsoft.AspNetCore.Authentication.Negotiate.LdapSettings.ClaimsCacheAbsoluteExpiration.set -> void +Microsoft.AspNetCore.Authentication.Negotiate.LdapSettings.ClaimsCacheSize.get -> int +Microsoft.AspNetCore.Authentication.Negotiate.LdapSettings.ClaimsCacheSize.set -> void +Microsoft.AspNetCore.Authentication.Negotiate.LdapSettings.ClaimsCacheSlidingExpiration.get -> System.TimeSpan +Microsoft.AspNetCore.Authentication.Negotiate.LdapSettings.ClaimsCacheSlidingExpiration.set -> void Microsoft.AspNetCore.Authentication.Negotiate.LdapSettings.EnableLdapClaimResolution.get -> bool Microsoft.AspNetCore.Authentication.Negotiate.LdapSettings.EnableLdapClaimResolution.set -> void Microsoft.AspNetCore.Authentication.Negotiate.LdapSettings.IgnoreNestedGroups.get -> bool