Skip to content

Commit ed40bda

Browse files
committed
Add RS0027 suppression
1 parent b7f3586 commit ed40bda

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Hosting/TestHost/src/WebHostBuilderExtensions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,9 @@ public static IWebHostBuilder UseSolutionRelativeContentRoot(
169169
/// <param name="applicationBasePath">The root of the app's directory.</param>
170170
/// <param name="solutionNames">The names of the solution files to make the content root relative to. If empty, defaults to *.sln and *.slnx.</param>
171171
/// <returns>The <see cref="IWebHostBuilder"/>.</returns>
172+
#pragma warning disable RS0027 // Public API with optional parameter(s) should have the most parameters amongst its public overloads
172173
public static IWebHostBuilder UseSolutionRelativeContentRoot(
174+
#pragma warning restore RS0027 // Public API with optional parameter(s) should have the most parameters amongst its public overloads
173175
this IWebHostBuilder builder,
174176
string solutionRelativePath,
175177
string applicationBasePath,

0 commit comments

Comments
 (0)