CVE-2026-71262: Csharp Linq First Followed By Null Checkcve-2026-71262-csharp-linq-first-followed-by-null-check
Calling .First() throws an InvalidOperationException when no item is found, making subsequent null checks unreachable and causing unhandled exceptions. Use .FirstOrDefault() instead.