Skip to content

Commit a032d85

Browse files
committed
Add 'InternalsVisibleTo' for code fixers
1 parent 0281e36 commit a032d85

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

components/DependencyPropertyGenerator/CommunityToolkit.DependencyPropertyGenerator.SourceGenerators/CommunityToolkit.DependencyPropertyGenerator.SourceGenerators.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
<NoWarn>$(NoWarn);IDE0130</NoWarn>
1010
</PropertyGroup>
1111

12+
<!-- Allow the code fixers to access internal APIs (such a diagnostic IDs) -->
13+
<ItemGroup>
14+
<InternalsVisibleTo Include="CommunityToolkit.DependencyPropertyGenerator.CodeFixers"/>
15+
</ItemGroup>
16+
1217
<ItemGroup>
1318
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.12.0" PrivateAssets="all" />
1419
<PackageReference Include="PolySharp" Version="1.15.0" PrivateAssets="all" />

0 commit comments

Comments
 (0)