From 4596853b37168cb64dd7d02ccd4f2b04a481c154 Mon Sep 17 00:00:00 2001 From: JimBobSquarePants Date: Thu, 5 Oct 2017 15:59:29 +1100 Subject: [PATCH] [SL.Core] Use type forwarding as per example --- src/SixLabors.Core/MathF.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 { ///