EmitOptions Constructors
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.
Overloads
EmitOptions(Boolean, DebugInformationFormat, String, String, Int32, UInt64, Boolean, SubsystemVersion, String, Boolean, Boolean)
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
public:
EmitOptions(bool metadataOnly, Microsoft::CodeAnalysis::Emit::DebugInformationFormat debugInformationFormat, System::String ^ pdbFilePath, System::String ^ outputNameOverride, int fileAlignment, System::UInt64 baseAddress, bool highEntropyVirtualAddressSpace, Microsoft::CodeAnalysis::SubsystemVersion subsystemVersion, System::String ^ runtimeMetadataVersion, bool tolerateErrors, bool includePrivateMembers);
public EmitOptions (bool metadataOnly, Microsoft.CodeAnalysis.Emit.DebugInformationFormat debugInformationFormat, string pdbFilePath, string outputNameOverride, int fileAlignment, ulong baseAddress, bool highEntropyVirtualAddressSpace, Microsoft.CodeAnalysis.SubsystemVersion subsystemVersion, string runtimeMetadataVersion, bool tolerateErrors, bool includePrivateMembers);
new Microsoft.CodeAnalysis.Emit.EmitOptions : bool * Microsoft.CodeAnalysis.Emit.DebugInformationFormat * string * string * int * uint64 * bool * Microsoft.CodeAnalysis.SubsystemVersion * string * bool * bool -> Microsoft.CodeAnalysis.Emit.EmitOptions
Public Sub New (metadataOnly As Boolean, debugInformationFormat As DebugInformationFormat, pdbFilePath As String, outputNameOverride As String, fileAlignment As Integer, baseAddress As ULong, highEntropyVirtualAddressSpace As Boolean, subsystemVersion As SubsystemVersion, runtimeMetadataVersion As String, tolerateErrors As Boolean, includePrivateMembers As Boolean)
Parameters
- metadataOnly
- Boolean
- debugInformationFormat
- DebugInformationFormat
- pdbFilePath
- String
- outputNameOverride
- String
- fileAlignment
- Int32
- baseAddress
- UInt64
- highEntropyVirtualAddressSpace
- Boolean
- subsystemVersion
- SubsystemVersion
- runtimeMetadataVersion
- String
- tolerateErrors
- Boolean
- includePrivateMembers
- Boolean
Applies to
EmitOptions(Boolean, DebugInformationFormat, String, String, Int32, UInt64, Boolean, SubsystemVersion, String, Boolean, Boolean, ImmutableArray<InstrumentationKind>)
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
public:
EmitOptions(bool metadataOnly, Microsoft::CodeAnalysis::Emit::DebugInformationFormat debugInformationFormat, System::String ^ pdbFilePath, System::String ^ outputNameOverride, int fileAlignment, System::UInt64 baseAddress, bool highEntropyVirtualAddressSpace, Microsoft::CodeAnalysis::SubsystemVersion subsystemVersion, System::String ^ runtimeMetadataVersion, bool tolerateErrors, bool includePrivateMembers, System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::Emit::InstrumentationKind> instrumentationKinds);
public EmitOptions (bool metadataOnly, Microsoft.CodeAnalysis.Emit.DebugInformationFormat debugInformationFormat, string pdbFilePath, string outputNameOverride, int fileAlignment, ulong baseAddress, bool highEntropyVirtualAddressSpace, Microsoft.CodeAnalysis.SubsystemVersion subsystemVersion, string runtimeMetadataVersion, bool tolerateErrors, bool includePrivateMembers, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Emit.InstrumentationKind> instrumentationKinds);
new Microsoft.CodeAnalysis.Emit.EmitOptions : bool * Microsoft.CodeAnalysis.Emit.DebugInformationFormat * string * string * int * uint64 * bool * Microsoft.CodeAnalysis.SubsystemVersion * string * bool * bool * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Emit.InstrumentationKind> -> Microsoft.CodeAnalysis.Emit.EmitOptions
Public Sub New (metadataOnly As Boolean, debugInformationFormat As DebugInformationFormat, pdbFilePath As String, outputNameOverride As String, fileAlignment As Integer, baseAddress As ULong, highEntropyVirtualAddressSpace As Boolean, subsystemVersion As SubsystemVersion, runtimeMetadataVersion As String, tolerateErrors As Boolean, includePrivateMembers As Boolean, instrumentationKinds As ImmutableArray(Of InstrumentationKind))
Parameters
- metadataOnly
- Boolean
- debugInformationFormat
- DebugInformationFormat
- pdbFilePath
- String
- outputNameOverride
- String
- fileAlignment
- Int32
- baseAddress
- UInt64
- highEntropyVirtualAddressSpace
- Boolean
- subsystemVersion
- SubsystemVersion
- runtimeMetadataVersion
- String
- tolerateErrors
- Boolean
- includePrivateMembers
- Boolean
- instrumentationKinds
- ImmutableArray<InstrumentationKind>
Applies to
EmitOptions(Boolean, DebugInformationFormat, String, String, Int32, UInt64, Boolean, SubsystemVersion, String, Boolean, Boolean, ImmutableArray<InstrumentationKind>, Nullable<HashAlgorithmName>)
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
public EmitOptions (bool metadataOnly = false, Microsoft.CodeAnalysis.Emit.DebugInformationFormat debugInformationFormat = (Microsoft.CodeAnalysis.Emit.DebugInformationFormat) 0, string pdbFilePath = default, string outputNameOverride = default, int fileAlignment = 0, ulong baseAddress = 0, bool highEntropyVirtualAddressSpace = false, Microsoft.CodeAnalysis.SubsystemVersion subsystemVersion = default, string runtimeMetadataVersion = default, bool tolerateErrors = false, bool includePrivateMembers = true, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Emit.InstrumentationKind> instrumentationKinds = default, System.Security.Cryptography.HashAlgorithmName? pdbChecksumAlgorithm = default);
public EmitOptions (bool metadataOnly, Microsoft.CodeAnalysis.Emit.DebugInformationFormat debugInformationFormat, string? pdbFilePath, string? outputNameOverride, int fileAlignment, ulong baseAddress, bool highEntropyVirtualAddressSpace, Microsoft.CodeAnalysis.SubsystemVersion subsystemVersion, string? runtimeMetadataVersion, bool tolerateErrors, bool includePrivateMembers, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Emit.InstrumentationKind> instrumentationKinds, System.Security.Cryptography.HashAlgorithmName? pdbChecksumAlgorithm);
public EmitOptions (bool metadataOnly = false, Microsoft.CodeAnalysis.Emit.DebugInformationFormat debugInformationFormat = (Microsoft.CodeAnalysis.Emit.DebugInformationFormat) 0, string? pdbFilePath = default, string? outputNameOverride = default, int fileAlignment = 0, ulong baseAddress = 0, bool highEntropyVirtualAddressSpace = false, Microsoft.CodeAnalysis.SubsystemVersion subsystemVersion = default, string? runtimeMetadataVersion = default, bool tolerateErrors = false, bool includePrivateMembers = true, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Emit.InstrumentationKind> instrumentationKinds = default, System.Security.Cryptography.HashAlgorithmName? pdbChecksumAlgorithm = default);
new Microsoft.CodeAnalysis.Emit.EmitOptions : bool * Microsoft.CodeAnalysis.Emit.DebugInformationFormat * string * string * int * uint64 * bool * Microsoft.CodeAnalysis.SubsystemVersion * string * bool * bool * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Emit.InstrumentationKind> * Nullable<System.Security.Cryptography.HashAlgorithmName> -> Microsoft.CodeAnalysis.Emit.EmitOptions
Public Sub New (Optional metadataOnly As Boolean = false, Optional debugInformationFormat As DebugInformationFormat = (Microsoft.CodeAnalysis.Emit.DebugInformationFormat) 0, Optional pdbFilePath As String = Nothing, Optional outputNameOverride As String = Nothing, Optional fileAlignment As Integer = 0, Optional baseAddress As ULong = 0, Optional highEntropyVirtualAddressSpace As Boolean = false, Optional subsystemVersion As SubsystemVersion = Nothing, Optional runtimeMetadataVersion As String = Nothing, Optional tolerateErrors As Boolean = false, Optional includePrivateMembers As Boolean = true, Optional instrumentationKinds As ImmutableArray(Of InstrumentationKind) = Nothing, Optional pdbChecksumAlgorithm As Nullable(Of HashAlgorithmName) = Nothing)
Public Sub New (metadataOnly As Boolean, debugInformationFormat As DebugInformationFormat, pdbFilePath As String, outputNameOverride As String, fileAlignment As Integer, baseAddress As ULong, highEntropyVirtualAddressSpace As Boolean, subsystemVersion As SubsystemVersion, runtimeMetadataVersion As String, tolerateErrors As Boolean, includePrivateMembers As Boolean, instrumentationKinds As ImmutableArray(Of InstrumentationKind), pdbChecksumAlgorithm As Nullable(Of HashAlgorithmName))
Parameters
- metadataOnly
- Boolean
- debugInformationFormat
- DebugInformationFormat
- pdbFilePath
- String
- outputNameOverride
- String
- fileAlignment
- Int32
- baseAddress
- UInt64
- highEntropyVirtualAddressSpace
- Boolean
- subsystemVersion
- SubsystemVersion
- runtimeMetadataVersion
- String
- tolerateErrors
- Boolean
- includePrivateMembers
- Boolean
- instrumentationKinds
- ImmutableArray<InstrumentationKind>
- pdbChecksumAlgorithm
- Nullable<HashAlgorithmName>
Applies to
EmitOptions(Boolean, DebugInformationFormat, String, String, Int32, UInt64, Boolean, SubsystemVersion, String, Boolean, Boolean, ImmutableArray<InstrumentationKind>, Nullable<HashAlgorithmName>, Encoding, Encoding)
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
- Source:
- EmitOptions.cs
public EmitOptions (bool metadataOnly = false, Microsoft.CodeAnalysis.Emit.DebugInformationFormat debugInformationFormat = (Microsoft.CodeAnalysis.Emit.DebugInformationFormat) 0, string? pdbFilePath = default, string? outputNameOverride = default, int fileAlignment = 0, ulong baseAddress = 0, bool highEntropyVirtualAddressSpace = false, Microsoft.CodeAnalysis.SubsystemVersion subsystemVersion = default, string? runtimeMetadataVersion = default, bool tolerateErrors = false, bool includePrivateMembers = true, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Emit.InstrumentationKind> instrumentationKinds = default, System.Security.Cryptography.HashAlgorithmName? pdbChecksumAlgorithm = default, System.Text.Encoding? defaultSourceFileEncoding = default, System.Text.Encoding? fallbackSourceFileEncoding = default);
new Microsoft.CodeAnalysis.Emit.EmitOptions : bool * Microsoft.CodeAnalysis.Emit.DebugInformationFormat * string * string * int * uint64 * bool * Microsoft.CodeAnalysis.SubsystemVersion * string * bool * bool * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Emit.InstrumentationKind> * Nullable<System.Security.Cryptography.HashAlgorithmName> * System.Text.Encoding * System.Text.Encoding -> Microsoft.CodeAnalysis.Emit.EmitOptions
Public Sub New (Optional metadataOnly As Boolean = false, Optional debugInformationFormat As DebugInformationFormat = (Microsoft.CodeAnalysis.Emit.DebugInformationFormat) 0, Optional pdbFilePath As String = Nothing, Optional outputNameOverride As String = Nothing, Optional fileAlignment As Integer = 0, Optional baseAddress As ULong = 0, Optional highEntropyVirtualAddressSpace As Boolean = false, Optional subsystemVersion As SubsystemVersion = Nothing, Optional runtimeMetadataVersion As String = Nothing, Optional tolerateErrors As Boolean = false, Optional includePrivateMembers As Boolean = true, Optional instrumentationKinds As ImmutableArray(Of InstrumentationKind) = Nothing, Optional pdbChecksumAlgorithm As Nullable(Of HashAlgorithmName) = Nothing, Optional defaultSourceFileEncoding As Encoding = Nothing, Optional fallbackSourceFileEncoding As Encoding = Nothing)
Parameters
- metadataOnly
- Boolean
- debugInformationFormat
- DebugInformationFormat
- pdbFilePath
- String
- outputNameOverride
- String
- fileAlignment
- Int32
- baseAddress
- UInt64
- highEntropyVirtualAddressSpace
- Boolean
- subsystemVersion
- SubsystemVersion
- runtimeMetadataVersion
- String
- tolerateErrors
- Boolean
- includePrivateMembers
- Boolean
- instrumentationKinds
- ImmutableArray<InstrumentationKind>
- pdbChecksumAlgorithm
- Nullable<HashAlgorithmName>
- defaultSourceFileEncoding
- Encoding
- fallbackSourceFileEncoding
- Encoding
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.