I got this code:
//Group by week
if (datarows.All(row => row.Date!= null))
{
List<IGrouping<string, ZeErwDto>> groupByWeek =
datarows.GroupBy(row => row.Week.ToString() + row.Date.Value.Year.ToString())
.ToList();
The part "row.Date.Value" remaines underlined regardless of my null-check with a "Possible 'System.InvalidOperationException'" warning.
Is this a false positive warning or have I missed something?