Skip to content

Removing unnessesary Warning removal#3715

Merged
bgavrilMS merged 1 commit into
masterfrom
trwalke/fixObsoleteClaimsApi
Feb 11, 2026
Merged

Removing unnessesary Warning removal#3715
bgavrilMS merged 1 commit into
masterfrom
trwalke/fixObsoleteClaimsApi

Conversation

@trwalke

@trwalke trwalke commented Feb 9, 2026

Copy link
Copy Markdown
Member

This pull request removes unnecessary pragma warning suppressions around calls to the obsolete WithExtraQueryParameters method in the TokenAcquisition.cs file. The suppression was previously used to silence compiler warnings, but is no longer needed.

Refactoring and code cleanup:

  • Removed #pragma warning disable CS0618 and #pragma warning restore CS0618 directives from all usages of WithExtraQueryParameters in the following methods: GetAuthenticationResultForUserAsync, GetAuthenticationResultForAppAsync, NotifyCertificateSelection, and GetAuthenticationResultForWebAppWithAccountFr in TokenAcquisition.cs. [1] [2] [3] [4]Removing unnessesary Warning suppression

@trwalke trwalke requested a review from a team as a code owner February 9, 2026 08:46
@bgavrilMS bgavrilMS merged commit 079b621 into master Feb 11, 2026
4 checks passed
@bgavrilMS bgavrilMS deleted the trwalke/fixObsoleteClaimsApi branch February 11, 2026 22:00
This was referenced Mar 1, 2026
This was referenced May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants