EmitOptions.IncludePrivateMembers Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Unless set (private) members that don't affect the language semantics of the resulting assembly will be excluded when emitting metadata-only assemblies as primary output (with EmitMetadataOnly on). If emitting a secondary output, this flag is required to be false.
public:
property bool IncludePrivateMembers { bool get(); };
public bool IncludePrivateMembers { get; }
member this.IncludePrivateMembers : bool
Public ReadOnly Property IncludePrivateMembers As Boolean