2 writes to SearchedLocations
Microsoft.AspNetCore.Mvc.Razor (2)
RazorPageResult.cs (2)
23
SearchedLocations
= null;
38
SearchedLocations
= searchedLocations;
11 references to SearchedLocations
Microsoft.AspNetCore.Mvc.Razor (4)
RazorView.cs (4)
272
var originalLocations = layoutPageResult.
SearchedLocations
;
280
Debug.Assert(originalLocations is not null && layoutPageResult.
SearchedLocations
is not null);
288
if (layoutPageResult.
SearchedLocations
.Any())
291
Environment.NewLine + string.Join(Environment.NewLine, layoutPageResult.
SearchedLocations
);
Microsoft.AspNetCore.Mvc.Razor.Test (7)
RazorViewEngineTest.cs (7)
1191
Assert.Null(result.
SearchedLocations
);
1250
Assert.Null(result.
SearchedLocations
);
1274
Assert.Equal(expected, result.
SearchedLocations
);
1310
Assert.Null(result.
SearchedLocations
);
1344
Assert.Equal(expected, result.
SearchedLocations
);
1380
Assert.Equal(expected, result.
SearchedLocations
);
1409
Assert.Equal(expected, result.
SearchedLocations
);