Converts internal and private members to public and adds [EditorBrowsable(EditorBrowsableState.Advanced)].
This is an add-in for Fody
Converts non-public members to public hidden members
See also Fody usage.
Install the Publicize.Fody NuGet package and update the Fody NuGet package:
PM> Install-Package Fody
PM> Install-Package Publicize.Fody
The Install-Package Fody
is required since NuGet always defaults to the oldest, and most buggy, version of any dependency.
Add <Publicize/>
to FodyWeavers.xml
<?xml version="1.0" encoding="utf-8" ?>
<Weavers>
<Publicize />
</Weavers>
In order to mark public compiler generated types such as, closure objects generated from lambda expressions. Add the IncludeCompilerGenerated
attribute to the Publicize
config element.
<?xml version="1.0" encoding="utf-8" ?>
<Weavers>
<Publicize IncludeCompilerGenerated="true" />
</Weavers>
Hide designed by Luis Prado from The Noun Project