Why can an arbitrary IEnumerable<string> not be matched directly with ["run", var file]?

from Pattern matching
C# 14 / .NET 10 intermediate 1 min

Why can an arbitrary IEnumerable<string> not be matched directly with ["run", var file]?

Report an error