Skip to content

Commit 20f1478

Browse files
authored
Update src/Mvc/Mvc.Razor/src/RazorView.cs
1 parent 8ce8a53 commit 20f1478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mvc/Mvc.Razor/src/RazorView.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ private IRazorPage GetLayoutPage(ViewContext context, string executingFilePath,
308308
Debug.Assert(originalLocations is not null && layoutPageResult.SearchedLocations is not null);
309309

310310
var locations = string.Empty;
311-
if (originalLocations!.Any())
311+
if (originalLocations.Any())
312312
{
313313
locations = Environment.NewLine + string.Join(Environment.NewLine, originalLocations);
314314
}

0 commit comments

Comments
 (0)