Skip to content

Commit

Permalink
restrict the IsExternalInit to be used by !NET6_0_OR_GREATER
Browse files Browse the repository at this point in the history
  • Loading branch information
ycherkes committed Aug 5, 2023
1 parent 1d8aa35 commit 8122f95
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/UnitTests/TestModel/Collections.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.Collections;
using System.Collections.Generic;

#if !NET6_0_OR_GREATER
namespace System.Runtime.CompilerServices
{
using ComponentModel;
Expand All @@ -13,6 +14,7 @@ internal static class IsExternalInit
{
}
}
#endif

namespace UnitTests.TestModel
{
Expand Down

0 comments on commit 8122f95

Please sign in to comment.