mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 16:25:28 +03:00
Use static lambdas
This commit is contained in:
@@ -21,7 +21,7 @@ namespace Emby.Server.Implementations.Serialization
|
||||
private static XmlSerializer GetSerializer(Type type)
|
||||
=> _serializers.GetOrAdd(
|
||||
type.FullName ?? throw new ArgumentException($"Invalid type {type}."),
|
||||
(_, t) => new XmlSerializer(t),
|
||||
static (_, t) => new XmlSerializer(t),
|
||||
type);
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user