Skip to content

Commit

Permalink
refactor: simplify InternalsVisibleTo (#721)
Browse files Browse the repository at this point in the history
Use the `InternalsVisibleTo` property instead of the generic "AssemblyAttribute"
  • Loading branch information
vbreuss authored Jan 14, 2025
1 parent 5662239 commit ea36b13
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
<_Parameter1>true</_Parameter1>
<_Parameter1_TypeName>System.Boolean</_Parameter1_TypeName>
</AssemblyAttribute>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<_Parameter1>Testably.Abstractions.AccessControl.Tests</_Parameter1>
</AssemblyAttribute>
<InternalsVisibleTo Include="Testably.Abstractions.AccessControl.Tests" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
</ItemGroup>

<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<_Parameter1>Testably.Abstractions.Compression.Tests</_Parameter1>
</AssemblyAttribute>
<InternalsVisibleTo Include="Testably.Abstractions.Compression.Tests" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
<_Parameter1>true</_Parameter1>
<_Parameter1_TypeName>System.Boolean</_Parameter1_TypeName>
</AssemblyAttribute>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<_Parameter1>Testably.Abstractions.Testing.Tests</_Parameter1>
</AssemblyAttribute>
<InternalsVisibleTo Include="Testably.Abstractions.Testing.Tests" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 1 addition & 3 deletions Source/Testably.Abstractions/Testably.Abstractions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
<_Parameter1>true</_Parameter1>
<_Parameter1_TypeName>System.Boolean</_Parameter1_TypeName>
</AssemblyAttribute>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<_Parameter1>Testably.Abstractions.Tests</_Parameter1>
</AssemblyAttribute>
<InternalsVisibleTo Include="Testably.Abstractions.Tests" />
</ItemGroup>

</Project>

0 comments on commit ea36b13

Please sign in to comment.