Skip to content

Commit

Permalink
Just suppress the trim warning for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed Dec 24, 2024
1 parent db70025 commit 1227d43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/TokenView/src/TokenView/TokenView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public partial class TokenView : ListViewBase
/// Creates a new instance of the <see cref="TokenView"/> class.
/// </summary>
#if NET8_0_OR_GREATER
[RequiresUnreferencedCode("This method accesses the 'Remove' method of the assigned items source collection in a trim-unsafe way.")]
[UnconditionalSuppressMessage("Trimming", "IL2026", Justification = "The 'ItemsSource' change handler accesses the 'Remove' method of the collection in a trim-unsafe (we should revisit this later).")]
#endif
public TokenView()
{
Expand Down

0 comments on commit 1227d43

Please sign in to comment.