EmitOptions.IncludePrivateMembers Property

Definition

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

Property Value

Applies to