Confusion with nullability of a custom LINQ method - C#