Click or drag to resize

EmitOptions Class



Represents compilation emit options.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysis.EmitEmitOptions

Namespace:  Microsoft.CodeAnalysis.Emit
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public sealed class EmitOptions : IEquatable

The EmitOptions type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyBaseAddress
Specifies the preferred base address at which to load the output DLL.
Public propertyDebugInformationFormat
Debug information format.
Public propertyEmitMetadataOnly
True to emit an assembly excluding executable code such as method bodies.
Public propertyFileAlignment
Specifies the size of sections in the output file.
Public propertyHighEntropyVirtualAddressSpace
True to enable high entropy virtual address space for the output binary.
Public propertyIncludePrivateMembers
Unless set (private) members that don't affect the language semantics of the resulting assembly will be excluded when emitting with EmitMetadataOnly on.
Public propertyInstrumentationKinds
Type of instrumentation that should be added to the output binary.
Public propertyOutputNameOverride
Assembly name override - file name and extension. If not specified the compilation name is used.
Public propertyPdbFilePath
The name of the PDB file to be embedded in the PE image, or null to use the default.
Public propertyRuntimeMetadataVersion
Runtime metadata version.
Public propertySubsystemVersion
Subsystem version
Public propertyTolerateErrors
Tolerate errors, producing a PE stream and a success result even in the presence of (some) errors.
Top
Methods
Operators
  NameDescription
Public operatorStatic memberEquality
Public operatorStatic memberInequality
Top
See Also