diff --git a/samples/SampleApplication/SampleApplication.csproj b/samples/SampleApplication/SampleApplication.csproj index 261656d..db0f6b3 100644 --- a/samples/SampleApplication/SampleApplication.csproj +++ b/samples/SampleApplication/SampleApplication.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/src/AspNetCore.Endpoints/AspNetCore.Endpoints.csproj b/src/AspNetCore.Endpoints/AspNetCore.Endpoints.csproj index 09e91f6..1a0d0b9 100644 --- a/src/AspNetCore.Endpoints/AspNetCore.Endpoints.csproj +++ b/src/AspNetCore.Endpoints/AspNetCore.Endpoints.csproj @@ -20,7 +20,7 @@ - + diff --git a/src/AspNetCore.Endpoints/EndpointRouteBuilderExtensions.cs b/src/AspNetCore.Endpoints/EndpointRouteBuilderExtensions.cs index 0509fbf..bdfbf0d 100644 --- a/src/AspNetCore.Endpoints/EndpointRouteBuilderExtensions.cs +++ b/src/AspNetCore.Endpoints/EndpointRouteBuilderExtensions.cs @@ -5,7 +5,6 @@ using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Reflection; - using System.Runtime.CompilerServices; using JetBrains.Annotations; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; @@ -159,7 +158,7 @@ public static RouteHandlerBuilder MapDelete(this IEndpointRouteBuilder endpoints private static bool IsAnonymous(this MethodInfo method) { - char[] invalidChars = new char[] { '<', '>' }; + char[] invalidChars = ['<', '>']; return method.Name.Any(invalidChars.Contains); } diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 008deda..412fe11 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -29,7 +29,7 @@ - 8.1.0 + 8.1.1 $(VersionPrefix) $(VersionPrefix) diff --git a/tests/AspNetCore.Endpoints.UnitTests/AspNetCore.Endpoints.UnitTests.csproj b/tests/AspNetCore.Endpoints.UnitTests/AspNetCore.Endpoints.UnitTests.csproj index b761c6c..47e11d3 100644 --- a/tests/AspNetCore.Endpoints.UnitTests/AspNetCore.Endpoints.UnitTests.csproj +++ b/tests/AspNetCore.Endpoints.UnitTests/AspNetCore.Endpoints.UnitTests.csproj @@ -10,9 +10,9 @@ - - - + + +