-
Type: Improvement
-
Resolution: Done
-
Priority: Unknown
-
Affects Version/s: None
-
None
_ = GetMongoQueryable<Person>() .Where(u => u.Vehicle.VehicleType.Type == (VehicleTypeEnum?) VehicleTypeEnum.Bus) .Select(u => u.Vehicle.LicenceNumber); _ = from person in GetMongoQueryable<Person>() where person.Vehicle.VehicleType.Type == (VehicleTypeEnum?) VehicleTypeEnum.Bus select person.Vehicle.LicenceNumber;
In the above code snippets, no diagnostics are produced. Hence, we need to test, not only for nullable enums, but for other nullables in general.