diff --git a/test/Microsoft.AspNetCore.Server.KestrelTests/KestrelServerOptionsTests.cs b/test/Microsoft.AspNetCore.Server.KestrelTests/KestrelServerOptionsTests.cs index 8beb1f7d59..540922a009 100644 --- a/test/Microsoft.AspNetCore.Server.KestrelTests/KestrelServerOptionsTests.cs +++ b/test/Microsoft.AspNetCore.Server.KestrelTests/KestrelServerOptionsTests.cs @@ -11,7 +11,7 @@ namespace Microsoft.AspNetCore.Server.KestrelTests { public class KestrelServerInformationTests { -#pragma warning disable CS0612 +#pragma warning disable CS0618 [Fact] public void MaxRequestBufferSizeIsMarkedObsolete() {