Fixed portability warnings for .NET 6.0 build

This commit is contained in:
Markus Ewald 2024-11-06 20:41:41 +01:00 committed by cygon
parent a226d1793b
commit 0f5d22520e
2 changed files with 17 additions and 2 deletions

View file

@ -22,6 +22,9 @@ using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Windows.Forms;
#if NET6_0_OR_GREATER
using System.Runtime.Versioning;
#endif
namespace Nuclex.Windows.Forms.Controls {