[PR #5876] [MERGED] DeepCopy: Throw ArgumentNullException if one of the args is null #10706

Closed
opened 2026-02-07 06:25:17 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/5876
Author: @Bond-009
Created: 4/21/2021
Status: Merged
Merged: 4/21/2021
Merged by: @Bond-009

Base: masterHead: nullref5


📝 Commits (1)

  • 63e9b1a DeepCopy: Throw ArgumentNullException if one of the args is null

📊 Changes

1 file changed (+16 additions, -4 deletions)

View changed files

📝 MediaBrowser.Controller/Entities/BaseItemExtensions.cs (+16 -4)

📄 Description

Otherwise a cryptic System.Reflection.TargetException : Non-static method requires a target. gets thrown


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/5876 **Author:** [@Bond-009](https://github.com/Bond-009) **Created:** 4/21/2021 **Status:** ✅ Merged **Merged:** 4/21/2021 **Merged by:** [@Bond-009](https://github.com/Bond-009) **Base:** `master` ← **Head:** `nullref5` --- ### 📝 Commits (1) - [`63e9b1a`](https://github.com/jellyfin/jellyfin/commit/63e9b1ae2d8ea159427fb304d8d8503f7003e085) DeepCopy: Throw ArgumentNullException if one of the args is null ### 📊 Changes **1 file changed** (+16 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.Controller/Entities/BaseItemExtensions.cs` (+16 -4) </details> ### 📄 Description Otherwise a cryptic `System.Reflection.TargetException : Non-static method requires a target.` gets thrown --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:25:17 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10706