Skip to content

Commit 0c37497

Browse files
committed
Migrated to modern InternalsVisibleTo syntax
1 parent 616d62a commit 0c37497

3 files changed

Lines changed: 10 additions & 33 deletions

File tree

src/FSharp.Data.GraphQL.Server.Middleware/FSharp.Data.GraphQL.Server.Middleware.fsproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
</PropertyGroup>
1616

1717
<ItemGroup Label="InternalsVisibleTo">
18-
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
19-
<_Parameter1>FSharp.Data.GraphQL.Tests</_Parameter1>
20-
</AssemblyAttribute>
18+
<InternalsVisibleTo Include="FSharp.Data.GraphQL.Tests" />
2119
</ItemGroup>
2220

2321
<ItemGroup>

src/FSharp.Data.GraphQL.Server/FSharp.Data.GraphQL.Server.fsproj

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,10 @@
1414
</PropertyGroup>
1515

1616
<ItemGroup Label="InternalsVisibleTo">
17-
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
18-
<_Parameter1>FSharp.Data.GraphQL.Benchmarks</_Parameter1>
19-
</AssemblyAttribute>
20-
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
21-
<_Parameter1>FSharp.Data.GraphQL.Tests</_Parameter1>
22-
</AssemblyAttribute>
23-
</ItemGroup>
24-
25-
<ItemGroup Label="InternalsVisibleTo">
26-
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
27-
<_Parameter1>FSharp.Data.GraphQL.Server.AspNetCore</_Parameter1>
28-
</AssemblyAttribute>
29-
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
30-
<_Parameter1>FSharp.Data.GraphQL.Server.Middleware</_Parameter1>
31-
</AssemblyAttribute>
17+
<InternalsVisibleTo Include="FSharp.Data.GraphQL.Benchmarks" />
18+
<InternalsVisibleTo Include="FSharp.Data.GraphQL.Tests" />
19+
<InternalsVisibleTo Include="FSharp.Data.GraphQL.Server.AspNetCore" />
20+
<InternalsVisibleTo Include="FSharp.Data.GraphQL.Server.Middleware" />
3221
</ItemGroup>
3322

3423
<ItemGroup>

src/FSharp.Data.GraphQL.Shared/FSharp.Data.GraphQL.Shared.fsproj

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,11 @@
1414
</PropertyGroup>
1515

1616
<ItemGroup Label="InternalsVisibleTo">
17-
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
18-
<_Parameter1>FSharp.Data.GraphQL.Server</_Parameter1>
19-
</AssemblyAttribute>
20-
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
21-
<_Parameter1>FSharp.Data.GraphQL.Server.Middleware</_Parameter1>
22-
</AssemblyAttribute>
23-
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
24-
<_Parameter1>FSharp.Data.GraphQL.Client</_Parameter1>
25-
</AssemblyAttribute>
26-
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
27-
<_Parameter1>FSharp.Data.GraphQL.Client.DesignTime</_Parameter1>
28-
</AssemblyAttribute>
29-
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
30-
<_Parameter1>FSharp.Data.GraphQL.Tests</_Parameter1>
31-
</AssemblyAttribute>
17+
<InternalsVisibleTo Include="FSharp.Data.GraphQL.Server" />
18+
<InternalsVisibleTo Include="FSharp.Data.GraphQL.Server.Middleware" />
19+
<InternalsVisibleTo Include="FSharp.Data.GraphQL.Client" />
20+
<InternalsVisibleTo Include="FSharp.Data.GraphQL.Client.DesignTime" />
21+
<InternalsVisibleTo Include="FSharp.Data.GraphQL.Tests" />
3222
</ItemGroup>
3323

3424
<ItemGroup>

0 commit comments

Comments
 (0)