[CORRUPTED] Synthetic Benchmark PR #62755 - [Blazor] Remove obsolete APIs from Components #34
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.
Benchmark PR dotnet#62755
Type: Corrupted (contains bugs)
Original PR Title: [Blazor] Remove obsolete APIs from Components
Original PR Description: This PR removes obsolete APIs from the Blazor Components library that were marked as obsolete, as per the project's obsolete API removal policy.
Description
Components (Microsoft.AspNetCore.Components)
PreferExactMatchesproperty from Router which was marked obsolete and had no effect on routing behaviorResourceAssetconstructor overloadForms (Microsoft.AspNetCore.Components.Forms)
AddDataAnnotationsValidationmethod (replaced byEnableDataAnnotationsValidation)EnableDataAnnotationsValidation(EditContext)overload without IServiceProvider parameterWeb (Microsoft.AspNetCore.Components.Web)
RemoteBrowserFileStreamOptionsclassWebEventCallbackFactoryEventArgsExtensionsclass and all its methodsRendererId.initaccessor fromWebRendererWebAssembly (Microsoft.AspNetCore.Components.WebAssembly)
NotifyLocationChanged(string, bool)method fromJSInteropMethodsWebAssembly.Authentication (Microsoft.AspNetCore.Components.WebAssembly.Authentication)
SignOutSessionStateManagerclass and all referencesRemoteAuthenticationServiceconstructor without logger parameterAccessTokenResultconstructor andRedirectUrlpropertyAccessTokenNotAvailableExceptionto useInteractiveRequestUrlinstead of removedRedirectUrlRemoteAuthenticatorViewCoresign-out validation logic to properly handle nullHistoryEntryState(only fail validation when state exists but is invalid)API Surface
PublicAPI.Shipped.txtfiles remain unchanged per API baseline policy*REMOVED*entries to correspondingPublicAPI.Unshipped.txtfiles for all removed APIsTests
SignOutSessionStateManager,AddDataAnnotationsValidation)Validation
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
Original PR URL: dotnet#62755