Skip to content

Commit 6bfe28f

Browse files
committed
Remove unnecessary suppressions
1 parent cfcc236 commit 6bfe28f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Hosting/TestHost/src/WebHostBuilderExtensions.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System.Diagnostics.CodeAnalysis;
54
using System.Linq;
65
using System.Net.Http;
76
using Microsoft.AspNetCore.Hosting;
@@ -153,7 +152,6 @@ public static IWebHostBuilder UseSolutionRelativeContentRoot(
153152
/// <param name="applicationBasePath">The root of the app's directory.</param>
154153
/// <param name="solutionName">The name of the solution file to make the content root relative to.</param>
155154
/// <returns>The <see cref="IWebHostBuilder"/>.</returns>
156-
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
157155
public static IWebHostBuilder UseSolutionRelativeContentRoot(
158156
this IWebHostBuilder builder,
159157
string solutionRelativePath,
@@ -171,7 +169,6 @@ public static IWebHostBuilder UseSolutionRelativeContentRoot(
171169
/// <param name="applicationBasePath">The root of the app's directory.</param>
172170
/// <param name="solutionNames">The names of the solution files to make the content root relative to. If empty, defaults to *.sln and *.slnx.</param>
173171
/// <returns>The <see cref="IWebHostBuilder"/>.</returns>
174-
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
175172
public static IWebHostBuilder UseSolutionRelativeContentRoot(
176173
this IWebHostBuilder builder,
177174
string solutionRelativePath,

0 commit comments

Comments
 (0)