[PR #10900] Resolving warning: CA1819 BaseItem.ImageInfos #12655

Open
opened 2026-02-07 06:59:38 +03:00 by OVERLORD · 0 comments
Owner

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.

**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.
OVERLORD added the pull-request label 2026-02-07 06:59:38 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#12655