diff --git a/src/Utility/Polyfill/System.Runtime.CompilerServices.IsExternalInit.cs b/src/Utility/Polyfill/System.Runtime.CompilerServices.IsExternalInit.cs index f4b6d744..065bf49c 100644 --- a/src/Utility/Polyfill/System.Runtime.CompilerServices.IsExternalInit.cs +++ b/src/Utility/Polyfill/System.Runtime.CompilerServices.IsExternalInit.cs @@ -1,4 +1,8 @@ -#if !NET5_0_OR_GREATER +#if NET5_0_OR_GREATER +using System.Runtime.CompilerServices; + +[assembly:TypeForwardedTo(typeof(IsExternalInit))] +#else using System.ComponentModel; namespace System.Runtime.CompilerServices;