Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/SoilProfile/MacroStabilityInwardsSoilProfile2DLayersHelper.cs =================================================================== diff -u -r03bb865f66b346c37c91f2cd8a442abbb2952cba -rcf0567f44aa3a03deabb57101f5b67aa69368ff6 --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/SoilProfile/MacroStabilityInwardsSoilProfile2DLayersHelper.cs (.../MacroStabilityInwardsSoilProfile2DLayersHelper.cs) (revision 03bb865f66b346c37c91f2cd8a442abbb2952cba) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/SoilProfile/MacroStabilityInwardsSoilProfile2DLayersHelper.cs (.../MacroStabilityInwardsSoilProfile2DLayersHelper.cs) (revision cf0567f44aa3a03deabb57101f5b67aa69368ff6) @@ -34,7 +34,8 @@ /// Method for obtaining all in recursively. /// /// The collection of layers to recursively get the layers from. - /// An enumerable with , if there are any. + /// An enumerable with or an empty enumerable + /// when is null. public static IEnumerable GetLayersRecursively(IEnumerable layers) { return layers?.SelectMany(GetLayersRecursively) ?? Enumerable.Empty();