Skip to content

Commit

Permalink
Added back internals visible in code. (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf authored Jan 15, 2019
1 parent 6db0f04 commit c5597b7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
Binary file modified .paket/paket.exe
Binary file not shown.
9 changes: 9 additions & 0 deletions src/Fantomas/AssemblyInfo.fs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
namespace System
open System.Runtime.CompilerServices

[<assembly: InternalsVisibleToAttribute("Fantomas.Tests")>]

do ()

module internal AssemblyVersionInformation =
let [<Literal>] InternalsVisibleTo = "Fantomas.Tests"
6 changes: 1 addition & 5 deletions src/Fantomas/Fantomas.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
<Description>Source code formatter for F#</Description>
</PropertyGroup>
<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>$(MSBuildProjectName).Tests</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.fs" />
<None Include="paket.references" />
<Compile Include="Dbg.fs" />
<Compile Include="Utils.fs" />
Expand Down

0 comments on commit c5597b7

Please sign in to comment.