diff --git a/src/SixLabors.Core/MathF.cs b/src/SixLabors.Core/MathF.cs index 836c8d482..3079c9100 100644 --- a/src/SixLabors.Core/MathF.cs +++ b/src/SixLabors.Core/MathF.cs @@ -1,9 +1,11 @@ // Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. -#if !NETCOREAPP2_0 using System.Runtime.CompilerServices; +#if NETCOREAPP2_0 +[assembly: TypeForwardedTo(typeof(System.MathF))] +#else namespace System { ///