Add the hack to compile Net6 from Net7

This commit is contained in:
atef 2023-06-30 10:24:38 +02:00
parent 3fab366362
commit 1d017ba6ba
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
// TODO remove for .Net 7
namespace System.Runtime.CompilerServices
{
public class RequiredMemberAttribute : Attribute { }
public class CompilerFeatureRequiredAttribute : Attribute
{
public CompilerFeatureRequiredAttribute(string name) { }
}
}
namespace System.Diagnostics.CodeAnalysis
{
public class SetsRequiredMembersAttribute : Attribute { }
}