Skip to content

Commit 079b621

Browse files
trwalketrwalke
andauthored
Removing unnessesary Warning removal (#3715)
Co-authored-by: trwalke <[email protected]>
1 parent bffa395 commit 079b621

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Microsoft.Identity.Web.TokenAcquisition/TokenAcquisition.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -463,9 +463,7 @@ private async Task<AuthenticationResult> GetAuthenticationResultForUserInternalA
463463
var dict = MergeExtraQueryParameters(mergedOptions, tokenAcquisitionOptions);
464464
if (dict != null)
465465
{
466-
#pragma warning disable CS0618 // Type or member is obsolete
467466
builder.WithExtraQueryParameters(dict);
468-
#pragma warning restore CS0618 // Type or member is obsolete
469467
}
470468

471469
if (tokenAcquisitionOptions.ExtraHeadersParameters != null)
@@ -687,9 +685,7 @@ private async Task<AuthenticationResult> GetAuthenticationResultForAppInternalAs
687685

688686
if (dict != null)
689687
{
690-
#pragma warning disable CS0618 // Type or member is obsolete
691688
builder.WithExtraQueryParameters(dict);
692-
#pragma warning restore CS0618 // Type or member is obsolete
693689
}
694690
if (tokenAcquisitionOptions.ExtraHeadersParameters != null)
695691
{
@@ -1331,9 +1327,7 @@ private void NotifyCertificateSelection(
13311327
dict.Remove(subAssertionConstant);
13321328
}
13331329

1334-
#pragma warning disable CS0618 // Type or member is obsolete
13351330
builder.WithExtraQueryParameters(dict);
1336-
#pragma warning restore CS0618 // Type or member is obsolete
13371331
}
13381332
if (tokenAcquisitionOptions.ExtraHeadersParameters != null)
13391333
{
@@ -1495,9 +1489,7 @@ private Task<AuthenticationResult> GetAuthenticationResultForWebAppWithAccountFr
14951489

14961490
if (dict != null)
14971491
{
1498-
#pragma warning disable CS0618 // Type or member is obsolete
14991492
builder.WithExtraQueryParameters(dict);
1500-
#pragma warning restore CS0618 // Type or member is obsolete
15011493
}
15021494
if (tokenAcquisitionOptions.ExtraHeadersParameters != null)
15031495
{

0 commit comments

Comments
 (0)