diff --git a/src/Components/Components/src/LayoutAttribute.cs b/src/Components/Components/src/LayoutAttribute.cs index b7249f82c60c..30de25ca6568 100644 --- a/src/Components/Components/src/LayoutAttribute.cs +++ b/src/Components/Components/src/LayoutAttribute.cs @@ -36,5 +36,6 @@ public LayoutAttribute([DynamicallyAccessedMembers(Component)] Type layoutType) /// The type of the layout. The type must implement /// and must accept a parameter with the name 'Body'. /// + [DynamicallyAccessedMembers(Component)] public Type LayoutType { get; private set; } }