Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Newton-King <james@newtonking.com>2022-06-21 09:40:04 +0300
committerJames Newton-King <james@newtonking.com>2022-06-21 09:40:04 +0300
commit5d4cb5811a3caf4692295a9ba4fa872eb68d93b5 (patch)
treec557851b62643844627a2acd2d8ad3a5aa987f40
parentf9dab5f2ce12592464a2afeb2c9600a0b2346b07 (diff)
-rw-r--r--src/Components/Components/src/RouteView.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Components/Components/src/RouteView.cs b/src/Components/Components/src/RouteView.cs
index c176669fdb..349060c1e6 100644
--- a/src/Components/Components/src/RouteView.cs
+++ b/src/Components/Components/src/RouteView.cs
@@ -74,7 +74,7 @@ public class RouteView : IComponent
/// </summary>
/// <param name="builder">The <see cref="RenderTreeBuilder"/>.</param>
[UnconditionalSuppressMessage("Trimming", "IL2111", Justification = "Layout components are preserved because the LayoutAttribute constructor parameter is correctly annotated.")]
- [UnconditionalSuppressMessage("Trimming", "IL2118", Justification = "Application code does not get trimmed, and the framework does not define routable components.")]
+ [UnconditionalSuppressMessage("Trimming", "IL2118", Justification = "Layout components are preserved because the LayoutAttribute constructor parameter is correctly annotated.")]
protected virtual void Render(RenderTreeBuilder builder)
{
var pageLayoutType = RouteData.PageType.GetCustomAttribute<LayoutAttribute>()?.LayoutType