Skip to content

Commit

Permalink
Use native IsExternalInit on .net8 target. (#2823)
Browse files Browse the repository at this point in the history
Co-authored-by: Ilia Brahinets <[email protected]>
  • Loading branch information
IliaBrahinets and IliaBrahinets authored Nov 15, 2024
1 parent 399890f commit 09d166b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/PuppeteerSharp/IsExternalInit.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
#if !NETSTANDARD2_0
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.IsExternalInit))]
#else
using System.ComponentModel;

namespace System.Runtime.CompilerServices
{
[EditorBrowsable(EditorBrowsableState.Never)]
internal static class IsExternalInit
{
}
}
#endif

0 comments on commit 09d166b

Please sign in to comment.