When using the following project settings in .NET 11:
<PropertyGroup>
<Features>$(Features);updated-memory-safety-rules</Features>
<LangVersion>preview</LangVersion>
</PropertyGroup>
Declarations such as the following create conflict between SA1206 IDE0036:
internal static extern safe bool FreeLibrary(IntPtr hModule);
From a quick glance, it seems like OrderingTrait either needs a new member, or safe/unsafe needs to be treated as one of the existing members, so that the two analysers do not conflict with each other.
When using the following project settings in .NET 11:
Declarations such as the following create conflict between SA1206 IDE0036:
From a quick glance, it seems like
OrderingTraiteither needs a new member, orsafe/unsafeneeds to be treated as one of the existing members, so that the two analysers do not conflict with each other.