From fd8e3e980df39111f3a76ce5d21fb1f374fc0910 Mon Sep 17 00:00:00 2001 From: Adam Weigert Date: Sun, 12 Dec 2021 16:37:59 -0500 Subject: [PATCH] Remove .NET 5.0 support --- .../Http.Authentication.JwtBearer.csproj | 6 +++--- src/Http.Authentication.JwtBearer/MethodLocator.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Http.Authentication.JwtBearer/Http.Authentication.JwtBearer.csproj b/src/Http.Authentication.JwtBearer/Http.Authentication.JwtBearer.csproj index 9c63a25..9038b96 100644 --- a/src/Http.Authentication.JwtBearer/Http.Authentication.JwtBearer.csproj +++ b/src/Http.Authentication.JwtBearer/Http.Authentication.JwtBearer.csproj @@ -1,7 +1,7 @@  - net5.0;net6.0 + net6.0 Microsoft.Azure.Functions.Worker.Extensions.Http.Authentication.JwtBearer Microsoft.Azure.Functions.Worker.Http Community.Azure.Functions.Worker.Extensions.Http.Authentication.JwtBearer @@ -9,9 +9,9 @@ - + - + diff --git a/src/Http.Authentication.JwtBearer/MethodLocator.cs b/src/Http.Authentication.JwtBearer/MethodLocator.cs index 57de12c..dc9b151 100644 --- a/src/Http.Authentication.JwtBearer/MethodLocator.cs +++ b/src/Http.Authentication.JwtBearer/MethodLocator.cs @@ -12,7 +12,7 @@ namespace Microsoft.Azure.Functions.Worker.Http internal static class MethodLocator { // https://github.com/Azure/azure-functions-dotnet-worker/blob/main/src/DotNetWorker.Core/Invocation/DefaultMethodInfoLocator.cs - private static readonly Regex _entryPointRegex = new Regex("^(?.*)\\.(?\\S*)$"); + private static readonly Regex _entryPointRegex = new("^(?.*)\\.(?\\S*)$"); public static MethodInfo GetMethod(this FunctionDefinition definition) {