Skip to content

Commit

Permalink
Mark obsolete attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
ciaozhang committed Jun 24, 2021
1 parent b263ec3 commit f992dd8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ public void Constructors(OpenIdConnectMessageTheoryData theoryData)
try
{
messageFromJson = new OpenIdConnectMessage(theoryData.Json);
#pragma warning disable CS0618 // Type or member is obsolete
messageFromJsonObj = new OpenIdConnectMessage(theoryData.JObject);
#pragma warning restore CS0618 // Type or member is obsolete
IdentityComparer.AreEqual(messageFromJson, messageFromJsonObj, context);
IdentityComparer.AreEqual(messageFromJson, theoryData.Message, context);
theoryData.ExpectedException.ProcessNoException();
Expand Down

0 comments on commit f992dd8

Please sign in to comment.