Skip to content

Commit 0576690

Browse files
authored
Add DynamicallyAccessedMembers annotation to LayoutAttribute.LayoutType property (dotnet#64129)
1 parent 06a4405 commit 0576690

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Components/Components/src/LayoutAttribute.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,6 @@ public LayoutAttribute([DynamicallyAccessedMembers(Component)] Type layoutType)
3636
/// The type of the layout. The type must implement <see cref="IComponent"/>
3737
/// and must accept a parameter with the name 'Body'.
3838
/// </summary>
39+
[DynamicallyAccessedMembers(Component)]
3940
public Type LayoutType { get; private set; }
4041
}

0 commit comments

Comments
 (0)