Skip to content

Commit

Permalink
replace internals visible attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
malstraem committed Sep 4, 2024
1 parent ecdea5f commit e25e835
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
10 changes: 0 additions & 10 deletions source/library/Arinc424.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,4 @@
<ItemGroup>
<ProjectReference Include="../../codegen/Arinc424.Generators.csproj" OutputItemType="analyzer" ReferenceOutputAssembly="false" />
</ItemGroup>

<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<_Parameter1>Arinc424.Bench</_Parameter1>
</AssemblyAttribute>

<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<_Parameter1>Arinc424.Tests</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
</Project>
4 changes: 4 additions & 0 deletions source/library/GlobalUsings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@

global using Arinc424.Attributes;
global using Arinc424.Converters;

using System.Runtime.CompilerServices;

[assembly: InternalsVisibleTo("Arinc424.Tests"), InternalsVisibleTo("Arinc424.Bench")]

0 comments on commit e25e835

Please sign in to comment.