From faf18a51e36e07cff8bcb57ddc6d07881527289f Mon Sep 17 00:00:00 2001 From: Chris Martinez Date: Fri, 18 Nov 2022 18:00:23 -0800 Subject: [PATCH] Revert CA suppression; required for .NET 6 SDK --- .../Dispatcher/HttpResponseExceptionFactory.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/AspNet/WebApi/src/Asp.Versioning.WebApi/Dispatcher/HttpResponseExceptionFactory.cs b/src/AspNet/WebApi/src/Asp.Versioning.WebApi/Dispatcher/HttpResponseExceptionFactory.cs index 4afb0774..f79875b9 100644 --- a/src/AspNet/WebApi/src/Asp.Versioning.WebApi/Dispatcher/HttpResponseExceptionFactory.cs +++ b/src/AspNet/WebApi/src/Asp.Versioning.WebApi/Dispatcher/HttpResponseExceptionFactory.cs @@ -1,5 +1,7 @@ // Copyright (c) .NET Foundation and contributors. All rights reserved. +#pragma warning disable CA2000 // Dispose objects before losing scope + namespace Asp.Versioning.Dispatcher; using System.Globalization;