EmitOptions Class
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.
Represents compilation emit options.
public ref class EmitOptions sealed : IEquatable<Microsoft::CodeAnalysis::Emit::EmitOptions ^>
public sealed class EmitOptions : IEquatable<Microsoft.CodeAnalysis.Emit.EmitOptions>
type EmitOptions = class
interface IEquatable<EmitOptions>
Public NotInheritable Class EmitOptions
Implements IEquatable(Of EmitOptions)
- Inheritance
-
EmitOptions
- Implements
Constructors
Properties
BaseAddress |
Specifies the preferred base address at which to load the output DLL. |
DebugInformationFormat |
Debug information format. |
DefaultSourceFileEncoding |
The encoding used to parse source files that do not have a Byte Order Mark. If specified, is stored in the emitted PDB in order to allow recreating the original compilation. |
EmitMetadataOnly |
True to emit an assembly excluding executable code such as method bodies. |
FallbackSourceFileEncoding |
If DefaultSourceFileEncoding is not specified, the encoding used to parse source files that do not declare their encoding via Byte Order Mark and are not UTF-8 encoded. |
FileAlignment |
Specifies the size of sections in the output file. |
HighEntropyVirtualAddressSpace |
True to enable high entropy virtual address space for the output binary. |
IncludePrivateMembers |
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. |
InstrumentationKinds |
Type of instrumentation that should be added to the output binary. |
OutputNameOverride |
Assembly name override - file name and extension. If not specified the compilation name is used. |
PdbChecksumAlgorithm |
A crypto hash algorithm used to calculate PDB Checksum stored in the PE/COFF File.
If not specified (the value is |
PdbFilePath |
The name of the PDB file to be embedded in the PE image, or null to use the default. |
RuntimeMetadataVersion |
Runtime metadata version. |
SubsystemVersion |
Subsystem version |
TolerateErrors |
Tolerate errors, producing a PE stream and a success result even in the presence of (some) errors. |
Methods
Operators
Equality(EmitOptions, EmitOptions) | |
Inequality(EmitOptions, EmitOptions) |
Applies to
.NET