I really find it useful to see in the de-compiled code the original access modifier of a method/field/type, as BepInEx.AssemblyPublicizer provides it.
It looks like this:
[OriginalAttributes(FieldAttributes.Private)]
public DataManager dataManager;
That is what is embedded into the publicized dll:
namespace BepInEx.AssemblyPublicizer
{
internal sealed class OriginalAttributesAttribute : Attribute
{
public OriginalAttributesAttribute([In] TypeAttributes obj0)
{
}
public OriginalAttributesAttribute([In] MethodAttributes obj0)
{
}
public OriginalAttributesAttribute([In] FieldAttributes obj0)
{
}
}
}
The naming could be better, I'd suggest OrignalAccessModifierAttribute...
I really find it useful to see in the de-compiled code the original access modifier of a method/field/type, as BepInEx.AssemblyPublicizer provides it.
It looks like this:
That is what is embedded into the publicized dll:
The naming could be better, I'd suggest OrignalAccessModifierAttribute...