From 9ba5c20e6a364524c383510d97fd17ede83ea565 Mon Sep 17 00:00:00 2001 From: Alexander Batishchev Date: Sun, 10 Apr 2022 16:29:50 -0700 Subject: [PATCH] Disabled warnings CS0618, CS1591 (#386) * Disabled warnings CS0618, CS1591 * Fixed (removed) incorrect xmldoc in JwtBuilder --- Directory.Build.props | 10 ++++++++-- src/JWT/Builder/JwtBuilder.cs | 3 +-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 6de9a9c06..345e5f429 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -12,8 +12,14 @@ true true $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb - + true ..\..\JwtStrongNameKey.snk + + + $(NoWarn);CS0618 + + + $(Nowarn);CS1591 - \ No newline at end of file + diff --git a/src/JWT/Builder/JwtBuilder.cs b/src/JWT/Builder/JwtBuilder.cs index f7ca8a130..9b751377e 100644 --- a/src/JWT/Builder/JwtBuilder.cs +++ b/src/JWT/Builder/JwtBuilder.cs @@ -274,7 +274,6 @@ public T DecodeHeader(string token) /// Decodes a token using the supplied dependencies. /// /// The JWT - /// The payload converted to public T Decode(string token) { EnsureCanDecode(); @@ -412,4 +411,4 @@ private bool CanDecodeHeader() return true; } } -} \ No newline at end of file +}