Skip to content

Commit 1227d43

Browse files
committed
Just suppress the trim warning for now
1 parent db70025 commit 1227d43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/TokenView/src/TokenView/TokenView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public partial class TokenView : ListViewBase
3131
/// Creates a new instance of the <see cref="TokenView"/> class.
3232
/// </summary>
3333
#if NET8_0_OR_GREATER
34-
[RequiresUnreferencedCode("This method accesses the 'Remove' method of the assigned items source collection in a trim-unsafe way.")]
34+
[UnconditionalSuppressMessage("Trimming", "IL2026", Justification = "The 'ItemsSource' change handler accesses the 'Remove' method of the collection in a trim-unsafe (we should revisit this later).")]
3535
#endif
3636
public TokenView()
3737
{

0 commit comments

Comments
 (0)