Fix: CS1660 Cannot convert lambda expression to type because it is not a delegate type, on a C# 15 union
A lambda or method group has no type, so no union conversion exists. Cast to the delegate case type, use new(...), or assign a typed local first.