mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #10900] Resolving warning: CA1819 BaseItem.ImageInfos #12655
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/jellyfin/jellyfin/pull/10900
State: open
Merged: No
Commit of changes for resolving warning: CA1819 related to BaseItem.ImageInfos property.
Changes
Changed the property to use a List instead of an array. Created a readonly backing member to resolve the warning and update the existing collection's items instead of doing a reference assignment to the array. I'm marginally concerned about the change to the video entities; need to see how to test and valid this hasn't broken anything.