Index: Core/Common/src/Core.Common.Controls/DataGrid/DataGridViewColorCell.cs =================================================================== diff -u -r7ac739bd142fda419737a1e3ce328f373ab3531f -rcd61acc8375d044a7a11c8af4e54956dc623d4c2 --- Core/Common/src/Core.Common.Controls/DataGrid/DataGridViewColorCell.cs (.../DataGridViewColorCell.cs) (revision 7ac739bd142fda419737a1e3ce328f373ab3531f) +++ Core/Common/src/Core.Common.Controls/DataGrid/DataGridViewColorCell.cs (.../DataGridViewColorCell.cs) (revision cd61acc8375d044a7a11c8af4e54956dc623d4c2) @@ -68,7 +68,7 @@ } } - private Rectangle CreateRectangleWithMargin(Rectangle cellBounds, int i) + private static Rectangle CreateRectangleWithMargin(Rectangle cellBounds, int i) { return new Rectangle( cellBounds.X + i, Index: Core/Common/src/Core.Common.Gui/IInquiryHelper.cs =================================================================== diff -u -r69eb17523e5ae490637e29718a4a563cbcaacc3c -rcd61acc8375d044a7a11c8af4e54956dc623d4c2 --- Core/Common/src/Core.Common.Gui/IInquiryHelper.cs (.../IInquiryHelper.cs) (revision 69eb17523e5ae490637e29718a4a563cbcaacc3c) +++ Core/Common/src/Core.Common.Gui/IInquiryHelper.cs (.../IInquiryHelper.cs) (revision cd61acc8375d044a7a11c8af4e54956dc623d4c2) @@ -51,10 +51,10 @@ /// Returns the path to a file, which may or may not exist yet, that the user has chosen. /// /// A filter to which the path returned complies. - /// The initial name the user can choose. + /// The initial file name the user can choose. /// A path to a file, which may or may not exist yet, or null if no location /// was chosen. - string GetTargetFileLocation(string fileFilter, string suggestedName); + string GetTargetFileLocation(string fileFilter, string suggestedFileName); /// /// Gets the confirmation of a user. Index: Core/Common/src/Core.Common.Utils/Drawing/GraphicsExtensions.cs =================================================================== diff -u -r7ac739bd142fda419737a1e3ce328f373ab3531f -rcd61acc8375d044a7a11c8af4e54956dc623d4c2 --- Core/Common/src/Core.Common.Utils/Drawing/GraphicsExtensions.cs (.../GraphicsExtensions.cs) (revision 7ac739bd142fda419737a1e3ce328f373ab3531f) +++ Core/Common/src/Core.Common.Utils/Drawing/GraphicsExtensions.cs (.../GraphicsExtensions.cs) (revision cd61acc8375d044a7a11c8af4e54956dc623d4c2) @@ -41,7 +41,7 @@ /// The opacity for the image. /// Thrown when or /// is null. - /// + /// public static void DrawImageTransparent(this Graphics g, Image image, int x, int y, float opacity) { if (g == null) Index: Core/Common/src/Core.Common.Utils/Exceptions/InvalidTypeParameterException.cs =================================================================== diff -u -r7ac739bd142fda419737a1e3ce328f373ab3531f -rcd61acc8375d044a7a11c8af4e54956dc623d4c2 --- Core/Common/src/Core.Common.Utils/Exceptions/InvalidTypeParameterException.cs (.../InvalidTypeParameterException.cs) (revision 7ac739bd142fda419737a1e3ce328f373ab3531f) +++ Core/Common/src/Core.Common.Utils/Exceptions/InvalidTypeParameterException.cs (.../InvalidTypeParameterException.cs) (revision cd61acc8375d044a7a11c8af4e54956dc623d4c2) @@ -47,7 +47,7 @@ /// /// Initializes a new instance of the class - /// with a specified error message and type rapameter name. + /// with a specified error message and type parameter name. /// /// The error message that explains the reason for the exception. /// The name of the type parameter that caused the exception. Index: Core/Common/src/Core.Common.Utils/Reflection/TypeUtils.cs =================================================================== diff -u -r4c93a7304d2790d347cc65847ee82f4d600fce96 -rcd61acc8375d044a7a11c8af4e54956dc623d4c2 --- Core/Common/src/Core.Common.Utils/Reflection/TypeUtils.cs (.../TypeUtils.cs) (revision 4c93a7304d2790d347cc65847ee82f4d600fce96) +++ Core/Common/src/Core.Common.Utils/Reflection/TypeUtils.cs (.../TypeUtils.cs) (revision cd61acc8375d044a7a11c8af4e54956dc623d4c2) @@ -311,13 +311,21 @@ return typeConverterAttribute.ConverterTypeName == typeof(TTypeConverter).AssemblyQualifiedName; } + /// + /// Gets the name of the member. + /// + /// The expression. + /// The body of the expression. + /// The string name of the member. + /// Thrown when the + /// is not an expression with a member, such as an expression calling multiple methods. private static string GetMemberName(Expression originalExpression, Expression expressionBody) { try { return GetMemberNameFromExpression(expressionBody); } - catch (ArgumentException) + catch (NotSupportedException) { string message = string.Format(CultureInfo.CurrentCulture, Resources.TypeUtils_GetMemberName_0_is_not_a_valid_expression_for_this_method, @@ -331,7 +339,7 @@ /// /// /// - /// Thrown when the expression is not any of the following: + /// Thrown when the expression is not any of the following: /// /// /// @@ -357,7 +365,7 @@ { return GetMemberNameFromExpression(unary.Operand); } - throw new ArgumentException("expression"); + throw new NotSupportedException(); } /// Index: Core/Components/src/Core.Components.DotSpatial.Forms/MapControl.cs =================================================================== diff -u -r0000dc5281368d94b73b65908096fc255d17a852 -rcd61acc8375d044a7a11c8af4e54956dc623d4c2 --- Core/Components/src/Core.Components.DotSpatial.Forms/MapControl.cs (.../MapControl.cs) (revision 0000dc5281368d94b73b65908096fc255d17a852) +++ Core/Components/src/Core.Components.DotSpatial.Forms/MapControl.cs (.../MapControl.cs) (revision cd61acc8375d044a7a11c8af4e54956dc623d4c2) @@ -133,6 +133,7 @@ mouseCoordinatesMapExtension.Dispose(); mapDataCollectionObserver.Dispose(); backGroundMapDataObserver.Dispose(); + backgroundLayerStatus.Dispose(); base.Dispose(disposing); } Index: Core/Components/src/Core.Components.OxyPlot/CustomSeries/MultipleAreaSeries.cs =================================================================== diff -u -rb9238c12b280f700b45fc0141ac1a2087e7ba4ba -rcd61acc8375d044a7a11c8af4e54956dc623d4c2 --- Core/Components/src/Core.Components.OxyPlot/CustomSeries/MultipleAreaSeries.cs (.../MultipleAreaSeries.cs) (revision b9238c12b280f700b45fc0141ac1a2087e7ba4ba) +++ Core/Components/src/Core.Components.OxyPlot/CustomSeries/MultipleAreaSeries.cs (.../MultipleAreaSeries.cs) (revision cd61acc8375d044a7a11c8af4e54956dc623d4c2) @@ -44,7 +44,7 @@ Color = OxyColors.Automatic; } - public List Areas { get; } + public IList Areas { get; } /// /// Gets or sets the color of the curve. @@ -95,13 +95,13 @@ throw new ArgumentNullException(nameof(renderContext)); } - List areas = Areas; + IList areas = Areas; int numberOfAreas = areas.Count; if (numberOfAreas == 0) { return; } - if (areas.TrueForAll(a => !a.Any())) + if (areas.All(a => !a.Any())) { return; } Index: Core/Components/test/Core.Components.OxyPlot.Test/DataSeries/ChartMultipleAreaDataSeriesTest.cs =================================================================== diff -u -r7ac739bd142fda419737a1e3ce328f373ab3531f -rcd61acc8375d044a7a11c8af4e54956dc623d4c2 --- Core/Components/test/Core.Components.OxyPlot.Test/DataSeries/ChartMultipleAreaDataSeriesTest.cs (.../ChartMultipleAreaDataSeriesTest.cs) (revision 7ac739bd142fda419737a1e3ce328f373ab3531f) +++ Core/Components/test/Core.Components.OxyPlot.Test/DataSeries/ChartMultipleAreaDataSeriesTest.cs (.../ChartMultipleAreaDataSeriesTest.cs) (revision cd61acc8375d044a7a11c8af4e54956dc623d4c2) @@ -21,6 +21,7 @@ using System; using System.Drawing; +using System.Linq; using Core.Common.Base.Geometry; using Core.Components.Charting.Data; using Core.Components.Charting.Styles; Index: Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingCalculationsView.cs =================================================================== diff -u -r6afbb616ce84cccaf56617d60c5cd821b00daab0 -rcd61acc8375d044a7a11c8af4e54956dc623d4c2 --- Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingCalculationsView.cs (.../PipingCalculationsView.cs) (revision 6afbb616ce84cccaf56617d60c5cd821b00daab0) +++ Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingCalculationsView.cs (.../PipingCalculationsView.cs) (revision cd61acc8375d044a7a11c8af4e54956dc623d4c2) @@ -188,6 +188,7 @@ pipingCalculationObserver.Dispose(); pipingSurfaceLineObserver.Dispose(); pipingCalculationGroupObserver.Dispose(); + stochasticSoilProfileObserver.Dispose(); pipingStochasticSoilModelsObserver.Dispose(); components?.Dispose();