次の方法で共有


VisualBasicCompilationOptions Constructors

Definition

Overloads

VisualBasicCompilationOptions(OutputKind, String, String, String, IEnumerable<GlobalImport>, String, OptionStrict, Boolean, Boolean, Boolean, VisualBasicParseOptions, Boolean, OptimizationLevel, Boolean, String, String, ImmutableArray<Byte>, Nullable<Boolean>, Platform, ReportDiagnostic, IEnumerable<KeyValuePair<String, ReportDiagnostic>>, Boolean, XmlReferenceResolver, SourceReferenceResolver, MetadataReferenceResolver, AssemblyIdentityComparer, StrongNameProvider)
VisualBasicCompilationOptions(OutputKind, String, String, String, IEnumerable<GlobalImport>, String, OptionStrict, Boolean, Boolean, Boolean, VisualBasicParseOptions, Boolean, OptimizationLevel, Boolean, String, String, ImmutableArray<Byte>, Nullable<Boolean>, Platform, ReportDiagnostic, IEnumerable<KeyValuePair<String, ReportDiagnostic>>, Boolean, Boolean, XmlReferenceResolver, SourceReferenceResolver, MetadataReferenceResolver, AssemblyIdentityComparer, StrongNameProvider)
VisualBasicCompilationOptions(OutputKind, Boolean, String, String, String, IEnumerable<GlobalImport>, String, OptionStrict, Boolean, Boolean, Boolean, VisualBasicParseOptions, Boolean, OptimizationLevel, Boolean, String, String, ImmutableArray<Byte>, Nullable<Boolean>, Platform, ReportDiagnostic, IEnumerable<KeyValuePair<String, ReportDiagnostic>>, Boolean, Boolean, XmlReferenceResolver, SourceReferenceResolver, MetadataReferenceResolver, AssemblyIdentityComparer, StrongNameProvider)
VisualBasicCompilationOptions(OutputKind, String, String, String, IEnumerable<GlobalImport>, String, OptionStrict, Boolean, Boolean, Boolean, VisualBasicParseOptions, Boolean, OptimizationLevel, Boolean, String, String, ImmutableArray<Byte>, Nullable<Boolean>, Platform, ReportDiagnostic, IEnumerable<KeyValuePair<String, ReportDiagnostic>>, Boolean, Boolean, XmlReferenceResolver, SourceReferenceResolver, MetadataReferenceResolver, AssemblyIdentityComparer, StrongNameProvider, Boolean, Boolean)
VisualBasicCompilationOptions(OutputKind, String, String, String, IEnumerable<GlobalImport>, String, OptionStrict, Boolean, Boolean, Boolean, VisualBasicParseOptions, Boolean, OptimizationLevel, Boolean, String, String, ImmutableArray<Byte>, Nullable<Boolean>, Platform, ReportDiagnostic, IEnumerable<KeyValuePair<String, ReportDiagnostic>>, Boolean, Boolean, XmlReferenceResolver, SourceReferenceResolver, MetadataReferenceResolver, AssemblyIdentityComparer, StrongNameProvider, Boolean, Boolean, MetadataImportOptions)

Initializes a new instance of the VisualBasicCompilationOptions type with various options.

VisualBasicCompilationOptions(OutputKind, String, String, String, IEnumerable<GlobalImport>, String, OptionStrict, Boolean, Boolean, Boolean, VisualBasicParseOptions, Boolean, OptimizationLevel, Boolean, String, String, ImmutableArray<Byte>, Nullable<Boolean>, Platform, ReportDiagnostic, IEnumerable<KeyValuePair<String, ReportDiagnostic>>, Boolean, XmlReferenceResolver, SourceReferenceResolver, MetadataReferenceResolver, AssemblyIdentityComparer, StrongNameProvider)

Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
public:
 VisualBasicCompilationOptions(Microsoft::CodeAnalysis::OutputKind outputKind, System::String ^ moduleName, System::String ^ mainTypeName, System::String ^ scriptClassName, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::VisualBasic::GlobalImport ^> ^ globalImports, System::String ^ rootNamespace, Microsoft::CodeAnalysis::VisualBasic::OptionStrict optionStrict, bool optionInfer, bool optionExplicit, bool optionCompareText, Microsoft::CodeAnalysis::VisualBasic::VisualBasicParseOptions ^ parseOptions, bool embedVbCoreRuntime, Microsoft::CodeAnalysis::OptimizationLevel optimizationLevel, bool checkOverflow, System::String ^ cryptoKeyContainer, System::String ^ cryptoKeyFile, System::Collections::Immutable::ImmutableArray<System::Byte> cryptoPublicKey, Nullable<bool> delaySign, Microsoft::CodeAnalysis::Platform platform, Microsoft::CodeAnalysis::ReportDiagnostic generalDiagnosticOption, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::CodeAnalysis::ReportDiagnostic>> ^ specificDiagnosticOptions, bool concurrentBuild, Microsoft::CodeAnalysis::XmlReferenceResolver ^ xmlReferenceResolver, Microsoft::CodeAnalysis::SourceReferenceResolver ^ sourceReferenceResolver, Microsoft::CodeAnalysis::MetadataReferenceResolver ^ metadataReferenceResolver, Microsoft::CodeAnalysis::AssemblyIdentityComparer ^ assemblyIdentityComparer, Microsoft::CodeAnalysis::StrongNameProvider ^ strongNameProvider);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public VisualBasicCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, string moduleName, string mainTypeName, string scriptClassName, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> globalImports, string rootNamespace, Microsoft.CodeAnalysis.VisualBasic.OptionStrict optionStrict, bool optionInfer, bool optionExplicit, bool optionCompareText, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions parseOptions, bool embedVbCoreRuntime, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel, bool checkOverflow, string cryptoKeyContainer, string cryptoKeyFile, System.Collections.Immutable.ImmutableArray<byte> cryptoPublicKey, bool? delaySign, Microsoft.CodeAnalysis.Platform platform, Microsoft.CodeAnalysis.ReportDiagnostic generalDiagnosticOption, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.CodeAnalysis.ReportDiagnostic>> specificDiagnosticOptions, bool concurrentBuild, Microsoft.CodeAnalysis.XmlReferenceResolver xmlReferenceResolver, Microsoft.CodeAnalysis.SourceReferenceResolver sourceReferenceResolver, Microsoft.CodeAnalysis.MetadataReferenceResolver metadataReferenceResolver, Microsoft.CodeAnalysis.AssemblyIdentityComparer assemblyIdentityComparer, Microsoft.CodeAnalysis.StrongNameProvider strongNameProvider);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
new Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions : Microsoft.CodeAnalysis.OutputKind * string * string * string * seq<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> * string * Microsoft.CodeAnalysis.VisualBasic.OptionStrict * bool * bool * bool * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * bool * Microsoft.CodeAnalysis.OptimizationLevel * bool * string * string * System.Collections.Immutable.ImmutableArray<byte> * Nullable<bool> * Microsoft.CodeAnalysis.Platform * Microsoft.CodeAnalysis.ReportDiagnostic * seq<System.Collections.Generic.KeyValuePair<string, Microsoft.CodeAnalysis.ReportDiagnostic>> * bool * Microsoft.CodeAnalysis.XmlReferenceResolver * Microsoft.CodeAnalysis.SourceReferenceResolver * Microsoft.CodeAnalysis.MetadataReferenceResolver * Microsoft.CodeAnalysis.AssemblyIdentityComparer * Microsoft.CodeAnalysis.StrongNameProvider -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions
Public Sub New (outputKind As OutputKind, moduleName As String, mainTypeName As String, scriptClassName As String, globalImports As IEnumerable(Of GlobalImport), rootNamespace As String, optionStrict As OptionStrict, optionInfer As Boolean, optionExplicit As Boolean, optionCompareText As Boolean, parseOptions As VisualBasicParseOptions, embedVbCoreRuntime As Boolean, optimizationLevel As OptimizationLevel, checkOverflow As Boolean, cryptoKeyContainer As String, cryptoKeyFile As String, cryptoPublicKey As ImmutableArray(Of Byte), delaySign As Nullable(Of Boolean), platform As Platform, generalDiagnosticOption As ReportDiagnostic, specificDiagnosticOptions As IEnumerable(Of KeyValuePair(Of String, ReportDiagnostic)), concurrentBuild As Boolean, xmlReferenceResolver As XmlReferenceResolver, sourceReferenceResolver As SourceReferenceResolver, metadataReferenceResolver As MetadataReferenceResolver, assemblyIdentityComparer As AssemblyIdentityComparer, strongNameProvider As StrongNameProvider)

Parameters

outputKind
OutputKind
moduleName
String
mainTypeName
String
scriptClassName
String
globalImports
IEnumerable<GlobalImport>
rootNamespace
String
optionStrict
OptionStrict
optionInfer
Boolean
optionExplicit
Boolean
optionCompareText
Boolean
embedVbCoreRuntime
Boolean
optimizationLevel
OptimizationLevel
checkOverflow
Boolean
cryptoKeyContainer
String
cryptoKeyFile
String
cryptoPublicKey
ImmutableArray<Byte>
delaySign
Nullable<Boolean>
platform
Platform
generalDiagnosticOption
ReportDiagnostic
specificDiagnosticOptions
IEnumerable<KeyValuePair<String,ReportDiagnostic>>
concurrentBuild
Boolean
xmlReferenceResolver
XmlReferenceResolver
sourceReferenceResolver
SourceReferenceResolver
metadataReferenceResolver
MetadataReferenceResolver
assemblyIdentityComparer
AssemblyIdentityComparer
strongNameProvider
StrongNameProvider
Attributes

Applies to

VisualBasicCompilationOptions(OutputKind, String, String, String, IEnumerable<GlobalImport>, String, OptionStrict, Boolean, Boolean, Boolean, VisualBasicParseOptions, Boolean, OptimizationLevel, Boolean, String, String, ImmutableArray<Byte>, Nullable<Boolean>, Platform, ReportDiagnostic, IEnumerable<KeyValuePair<String, ReportDiagnostic>>, Boolean, Boolean, XmlReferenceResolver, SourceReferenceResolver, MetadataReferenceResolver, AssemblyIdentityComparer, StrongNameProvider)

Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
public:
 VisualBasicCompilationOptions(Microsoft::CodeAnalysis::OutputKind outputKind, System::String ^ moduleName, System::String ^ mainTypeName, System::String ^ scriptClassName, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::VisualBasic::GlobalImport ^> ^ globalImports, System::String ^ rootNamespace, Microsoft::CodeAnalysis::VisualBasic::OptionStrict optionStrict, bool optionInfer, bool optionExplicit, bool optionCompareText, Microsoft::CodeAnalysis::VisualBasic::VisualBasicParseOptions ^ parseOptions, bool embedVbCoreRuntime, Microsoft::CodeAnalysis::OptimizationLevel optimizationLevel, bool checkOverflow, System::String ^ cryptoKeyContainer, System::String ^ cryptoKeyFile, System::Collections::Immutable::ImmutableArray<System::Byte> cryptoPublicKey, Nullable<bool> delaySign, Microsoft::CodeAnalysis::Platform platform, Microsoft::CodeAnalysis::ReportDiagnostic generalDiagnosticOption, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::CodeAnalysis::ReportDiagnostic>> ^ specificDiagnosticOptions, bool concurrentBuild, bool deterministic, Microsoft::CodeAnalysis::XmlReferenceResolver ^ xmlReferenceResolver, Microsoft::CodeAnalysis::SourceReferenceResolver ^ sourceReferenceResolver, Microsoft::CodeAnalysis::MetadataReferenceResolver ^ metadataReferenceResolver, Microsoft::CodeAnalysis::AssemblyIdentityComparer ^ assemblyIdentityComparer, Microsoft::CodeAnalysis::StrongNameProvider ^ strongNameProvider);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public VisualBasicCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, string moduleName, string mainTypeName, string scriptClassName, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> globalImports, string rootNamespace, Microsoft.CodeAnalysis.VisualBasic.OptionStrict optionStrict, bool optionInfer, bool optionExplicit, bool optionCompareText, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions parseOptions, bool embedVbCoreRuntime, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel, bool checkOverflow, string cryptoKeyContainer, string cryptoKeyFile, System.Collections.Immutable.ImmutableArray<byte> cryptoPublicKey, bool? delaySign, Microsoft.CodeAnalysis.Platform platform, Microsoft.CodeAnalysis.ReportDiagnostic generalDiagnosticOption, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.CodeAnalysis.ReportDiagnostic>> specificDiagnosticOptions, bool concurrentBuild, bool deterministic, Microsoft.CodeAnalysis.XmlReferenceResolver xmlReferenceResolver, Microsoft.CodeAnalysis.SourceReferenceResolver sourceReferenceResolver, Microsoft.CodeAnalysis.MetadataReferenceResolver metadataReferenceResolver, Microsoft.CodeAnalysis.AssemblyIdentityComparer assemblyIdentityComparer, Microsoft.CodeAnalysis.StrongNameProvider strongNameProvider);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
new Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions : Microsoft.CodeAnalysis.OutputKind * string * string * string * seq<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> * string * Microsoft.CodeAnalysis.VisualBasic.OptionStrict * bool * bool * bool * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * bool * Microsoft.CodeAnalysis.OptimizationLevel * bool * string * string * System.Collections.Immutable.ImmutableArray<byte> * Nullable<bool> * Microsoft.CodeAnalysis.Platform * Microsoft.CodeAnalysis.ReportDiagnostic * seq<System.Collections.Generic.KeyValuePair<string, Microsoft.CodeAnalysis.ReportDiagnostic>> * bool * bool * Microsoft.CodeAnalysis.XmlReferenceResolver * Microsoft.CodeAnalysis.SourceReferenceResolver * Microsoft.CodeAnalysis.MetadataReferenceResolver * Microsoft.CodeAnalysis.AssemblyIdentityComparer * Microsoft.CodeAnalysis.StrongNameProvider -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions
Public Sub New (outputKind As OutputKind, moduleName As String, mainTypeName As String, scriptClassName As String, globalImports As IEnumerable(Of GlobalImport), rootNamespace As String, optionStrict As OptionStrict, optionInfer As Boolean, optionExplicit As Boolean, optionCompareText As Boolean, parseOptions As VisualBasicParseOptions, embedVbCoreRuntime As Boolean, optimizationLevel As OptimizationLevel, checkOverflow As Boolean, cryptoKeyContainer As String, cryptoKeyFile As String, cryptoPublicKey As ImmutableArray(Of Byte), delaySign As Nullable(Of Boolean), platform As Platform, generalDiagnosticOption As ReportDiagnostic, specificDiagnosticOptions As IEnumerable(Of KeyValuePair(Of String, ReportDiagnostic)), concurrentBuild As Boolean, deterministic As Boolean, xmlReferenceResolver As XmlReferenceResolver, sourceReferenceResolver As SourceReferenceResolver, metadataReferenceResolver As MetadataReferenceResolver, assemblyIdentityComparer As AssemblyIdentityComparer, strongNameProvider As StrongNameProvider)

Parameters

outputKind
OutputKind
moduleName
String
mainTypeName
String
scriptClassName
String
globalImports
IEnumerable<GlobalImport>
rootNamespace
String
optionStrict
OptionStrict
optionInfer
Boolean
optionExplicit
Boolean
optionCompareText
Boolean
embedVbCoreRuntime
Boolean
optimizationLevel
OptimizationLevel
checkOverflow
Boolean
cryptoKeyContainer
String
cryptoKeyFile
String
cryptoPublicKey
ImmutableArray<Byte>
delaySign
Nullable<Boolean>
platform
Platform
generalDiagnosticOption
ReportDiagnostic
specificDiagnosticOptions
IEnumerable<KeyValuePair<String,ReportDiagnostic>>
concurrentBuild
Boolean
deterministic
Boolean
xmlReferenceResolver
XmlReferenceResolver
sourceReferenceResolver
SourceReferenceResolver
metadataReferenceResolver
MetadataReferenceResolver
assemblyIdentityComparer
AssemblyIdentityComparer
strongNameProvider
StrongNameProvider
Attributes

Applies to

VisualBasicCompilationOptions(OutputKind, Boolean, String, String, String, IEnumerable<GlobalImport>, String, OptionStrict, Boolean, Boolean, Boolean, VisualBasicParseOptions, Boolean, OptimizationLevel, Boolean, String, String, ImmutableArray<Byte>, Nullable<Boolean>, Platform, ReportDiagnostic, IEnumerable<KeyValuePair<String, ReportDiagnostic>>, Boolean, Boolean, XmlReferenceResolver, SourceReferenceResolver, MetadataReferenceResolver, AssemblyIdentityComparer, StrongNameProvider)

Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public VisualBasicCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, bool reportSuppressedDiagnostics, string moduleName = default, string mainTypeName = default, string scriptClassName = "Script", System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> globalImports = default, string rootNamespace = default, Microsoft.CodeAnalysis.VisualBasic.OptionStrict optionStrict = Microsoft.CodeAnalysis.VisualBasic.OptionStrict.Off, bool optionInfer = true, bool optionExplicit = true, bool optionCompareText = false, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions parseOptions = default, bool embedVbCoreRuntime = false, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel = Microsoft.CodeAnalysis.OptimizationLevel.Debug, bool checkOverflow = true, string cryptoKeyContainer = default, string cryptoKeyFile = default, System.Collections.Immutable.ImmutableArray<byte> cryptoPublicKey = default, bool? delaySign = default, Microsoft.CodeAnalysis.Platform platform = Microsoft.CodeAnalysis.Platform.AnyCpu, Microsoft.CodeAnalysis.ReportDiagnostic generalDiagnosticOption = Microsoft.CodeAnalysis.ReportDiagnostic.Default, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.CodeAnalysis.ReportDiagnostic>> specificDiagnosticOptions = default, bool concurrentBuild = true, bool deterministic = false, Microsoft.CodeAnalysis.XmlReferenceResolver xmlReferenceResolver = default, Microsoft.CodeAnalysis.SourceReferenceResolver sourceReferenceResolver = default, Microsoft.CodeAnalysis.MetadataReferenceResolver metadataReferenceResolver = default, Microsoft.CodeAnalysis.AssemblyIdentityComparer assemblyIdentityComparer = default, Microsoft.CodeAnalysis.StrongNameProvider strongNameProvider = default);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
new Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions : Microsoft.CodeAnalysis.OutputKind * bool * string * string * string * seq<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> * string * Microsoft.CodeAnalysis.VisualBasic.OptionStrict * bool * bool * bool * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * bool * Microsoft.CodeAnalysis.OptimizationLevel * bool * string * string * System.Collections.Immutable.ImmutableArray<byte> * Nullable<bool> * Microsoft.CodeAnalysis.Platform * Microsoft.CodeAnalysis.ReportDiagnostic * seq<System.Collections.Generic.KeyValuePair<string, Microsoft.CodeAnalysis.ReportDiagnostic>> * bool * bool * Microsoft.CodeAnalysis.XmlReferenceResolver * Microsoft.CodeAnalysis.SourceReferenceResolver * Microsoft.CodeAnalysis.MetadataReferenceResolver * Microsoft.CodeAnalysis.AssemblyIdentityComparer * Microsoft.CodeAnalysis.StrongNameProvider -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions
Public Sub New (outputKind As OutputKind, reportSuppressedDiagnostics As Boolean, Optional moduleName As String = Nothing, Optional mainTypeName As String = Nothing, Optional scriptClassName As String = "Script", Optional globalImports As IEnumerable(Of GlobalImport) = Nothing, Optional rootNamespace As String = Nothing, Optional optionStrict As OptionStrict = Microsoft.CodeAnalysis.VisualBasic.OptionStrict.Off, Optional optionInfer As Boolean = true, Optional optionExplicit As Boolean = true, Optional optionCompareText As Boolean = false, Optional parseOptions As VisualBasicParseOptions = Nothing, Optional embedVbCoreRuntime As Boolean = false, Optional optimizationLevel As OptimizationLevel = Microsoft.CodeAnalysis.OptimizationLevel.Debug, Optional checkOverflow As Boolean = true, Optional cryptoKeyContainer As String = Nothing, Optional cryptoKeyFile As String = Nothing, Optional cryptoPublicKey As ImmutableArray(Of Byte) = Nothing, Optional delaySign As Nullable(Of Boolean) = Nothing, Optional platform As Platform = Microsoft.CodeAnalysis.Platform.AnyCpu, Optional generalDiagnosticOption As ReportDiagnostic = Microsoft.CodeAnalysis.ReportDiagnostic.Default, Optional specificDiagnosticOptions As IEnumerable(Of KeyValuePair(Of String, ReportDiagnostic)) = Nothing, Optional concurrentBuild As Boolean = true, Optional deterministic As Boolean = false, Optional xmlReferenceResolver As XmlReferenceResolver = Nothing, Optional sourceReferenceResolver As SourceReferenceResolver = Nothing, Optional metadataReferenceResolver As MetadataReferenceResolver = Nothing, Optional assemblyIdentityComparer As AssemblyIdentityComparer = Nothing, Optional strongNameProvider As StrongNameProvider = Nothing)

Parameters

outputKind
OutputKind
reportSuppressedDiagnostics
Boolean
moduleName
String
mainTypeName
String
scriptClassName
String
globalImports
IEnumerable<GlobalImport>
rootNamespace
String
optionStrict
OptionStrict
optionInfer
Boolean
optionExplicit
Boolean
optionCompareText
Boolean
embedVbCoreRuntime
Boolean
optimizationLevel
OptimizationLevel
checkOverflow
Boolean
cryptoKeyContainer
String
cryptoKeyFile
String
cryptoPublicKey
ImmutableArray<Byte>
delaySign
Nullable<Boolean>
platform
Platform
generalDiagnosticOption
ReportDiagnostic
specificDiagnosticOptions
IEnumerable<KeyValuePair<String,ReportDiagnostic>>
concurrentBuild
Boolean
deterministic
Boolean
xmlReferenceResolver
XmlReferenceResolver
sourceReferenceResolver
SourceReferenceResolver
metadataReferenceResolver
MetadataReferenceResolver
assemblyIdentityComparer
AssemblyIdentityComparer
strongNameProvider
StrongNameProvider
Attributes

Applies to

VisualBasicCompilationOptions(OutputKind, String, String, String, IEnumerable<GlobalImport>, String, OptionStrict, Boolean, Boolean, Boolean, VisualBasicParseOptions, Boolean, OptimizationLevel, Boolean, String, String, ImmutableArray<Byte>, Nullable<Boolean>, Platform, ReportDiagnostic, IEnumerable<KeyValuePair<String, ReportDiagnostic>>, Boolean, Boolean, XmlReferenceResolver, SourceReferenceResolver, MetadataReferenceResolver, AssemblyIdentityComparer, StrongNameProvider, Boolean, Boolean)

Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
public:
 VisualBasicCompilationOptions(Microsoft::CodeAnalysis::OutputKind outputKind, System::String ^ moduleName, System::String ^ mainTypeName, System::String ^ scriptClassName, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::VisualBasic::GlobalImport ^> ^ globalImports, System::String ^ rootNamespace, Microsoft::CodeAnalysis::VisualBasic::OptionStrict optionStrict, bool optionInfer, bool optionExplicit, bool optionCompareText, Microsoft::CodeAnalysis::VisualBasic::VisualBasicParseOptions ^ parseOptions, bool embedVbCoreRuntime, Microsoft::CodeAnalysis::OptimizationLevel optimizationLevel, bool checkOverflow, System::String ^ cryptoKeyContainer, System::String ^ cryptoKeyFile, System::Collections::Immutable::ImmutableArray<System::Byte> cryptoPublicKey, Nullable<bool> delaySign, Microsoft::CodeAnalysis::Platform platform, Microsoft::CodeAnalysis::ReportDiagnostic generalDiagnosticOption, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::CodeAnalysis::ReportDiagnostic>> ^ specificDiagnosticOptions, bool concurrentBuild, bool deterministic, Microsoft::CodeAnalysis::XmlReferenceResolver ^ xmlReferenceResolver, Microsoft::CodeAnalysis::SourceReferenceResolver ^ sourceReferenceResolver, Microsoft::CodeAnalysis::MetadataReferenceResolver ^ metadataReferenceResolver, Microsoft::CodeAnalysis::AssemblyIdentityComparer ^ assemblyIdentityComparer, Microsoft::CodeAnalysis::StrongNameProvider ^ strongNameProvider, bool publicSign, bool reportSuppressedDiagnostics);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public VisualBasicCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, string moduleName, string mainTypeName, string scriptClassName, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> globalImports, string rootNamespace, Microsoft.CodeAnalysis.VisualBasic.OptionStrict optionStrict, bool optionInfer, bool optionExplicit, bool optionCompareText, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions parseOptions, bool embedVbCoreRuntime, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel, bool checkOverflow, string cryptoKeyContainer, string cryptoKeyFile, System.Collections.Immutable.ImmutableArray<byte> cryptoPublicKey, bool? delaySign, Microsoft.CodeAnalysis.Platform platform, Microsoft.CodeAnalysis.ReportDiagnostic generalDiagnosticOption, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.CodeAnalysis.ReportDiagnostic>> specificDiagnosticOptions, bool concurrentBuild, bool deterministic, Microsoft.CodeAnalysis.XmlReferenceResolver xmlReferenceResolver, Microsoft.CodeAnalysis.SourceReferenceResolver sourceReferenceResolver, Microsoft.CodeAnalysis.MetadataReferenceResolver metadataReferenceResolver, Microsoft.CodeAnalysis.AssemblyIdentityComparer assemblyIdentityComparer, Microsoft.CodeAnalysis.StrongNameProvider strongNameProvider, bool publicSign, bool reportSuppressedDiagnostics);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
new Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions : Microsoft.CodeAnalysis.OutputKind * string * string * string * seq<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> * string * Microsoft.CodeAnalysis.VisualBasic.OptionStrict * bool * bool * bool * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * bool * Microsoft.CodeAnalysis.OptimizationLevel * bool * string * string * System.Collections.Immutable.ImmutableArray<byte> * Nullable<bool> * Microsoft.CodeAnalysis.Platform * Microsoft.CodeAnalysis.ReportDiagnostic * seq<System.Collections.Generic.KeyValuePair<string, Microsoft.CodeAnalysis.ReportDiagnostic>> * bool * bool * Microsoft.CodeAnalysis.XmlReferenceResolver * Microsoft.CodeAnalysis.SourceReferenceResolver * Microsoft.CodeAnalysis.MetadataReferenceResolver * Microsoft.CodeAnalysis.AssemblyIdentityComparer * Microsoft.CodeAnalysis.StrongNameProvider * bool * bool -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions
Public Sub New (outputKind As OutputKind, moduleName As String, mainTypeName As String, scriptClassName As String, globalImports As IEnumerable(Of GlobalImport), rootNamespace As String, optionStrict As OptionStrict, optionInfer As Boolean, optionExplicit As Boolean, optionCompareText As Boolean, parseOptions As VisualBasicParseOptions, embedVbCoreRuntime As Boolean, optimizationLevel As OptimizationLevel, checkOverflow As Boolean, cryptoKeyContainer As String, cryptoKeyFile As String, cryptoPublicKey As ImmutableArray(Of Byte), delaySign As Nullable(Of Boolean), platform As Platform, generalDiagnosticOption As ReportDiagnostic, specificDiagnosticOptions As IEnumerable(Of KeyValuePair(Of String, ReportDiagnostic)), concurrentBuild As Boolean, deterministic As Boolean, xmlReferenceResolver As XmlReferenceResolver, sourceReferenceResolver As SourceReferenceResolver, metadataReferenceResolver As MetadataReferenceResolver, assemblyIdentityComparer As AssemblyIdentityComparer, strongNameProvider As StrongNameProvider, publicSign As Boolean, reportSuppressedDiagnostics As Boolean)

Parameters

outputKind
OutputKind
moduleName
String
mainTypeName
String
scriptClassName
String
globalImports
IEnumerable<GlobalImport>
rootNamespace
String
optionStrict
OptionStrict
optionInfer
Boolean
optionExplicit
Boolean
optionCompareText
Boolean
embedVbCoreRuntime
Boolean
optimizationLevel
OptimizationLevel
checkOverflow
Boolean
cryptoKeyContainer
String
cryptoKeyFile
String
cryptoPublicKey
ImmutableArray<Byte>
delaySign
Nullable<Boolean>
platform
Platform
generalDiagnosticOption
ReportDiagnostic
specificDiagnosticOptions
IEnumerable<KeyValuePair<String,ReportDiagnostic>>
concurrentBuild
Boolean
deterministic
Boolean
xmlReferenceResolver
XmlReferenceResolver
sourceReferenceResolver
SourceReferenceResolver
metadataReferenceResolver
MetadataReferenceResolver
assemblyIdentityComparer
AssemblyIdentityComparer
strongNameProvider
StrongNameProvider
publicSign
Boolean
reportSuppressedDiagnostics
Boolean
Attributes

Applies to

VisualBasicCompilationOptions(OutputKind, String, String, String, IEnumerable<GlobalImport>, String, OptionStrict, Boolean, Boolean, Boolean, VisualBasicParseOptions, Boolean, OptimizationLevel, Boolean, String, String, ImmutableArray<Byte>, Nullable<Boolean>, Platform, ReportDiagnostic, IEnumerable<KeyValuePair<String, ReportDiagnostic>>, Boolean, Boolean, XmlReferenceResolver, SourceReferenceResolver, MetadataReferenceResolver, AssemblyIdentityComparer, StrongNameProvider, Boolean, Boolean, MetadataImportOptions)

Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb
Source:
VisualBasicCompilationOptions.vb

Initializes a new instance of the VisualBasicCompilationOptions type with various options.

public VisualBasicCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, string moduleName = default, string mainTypeName = default, string scriptClassName = "Script", System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> globalImports = default, string rootNamespace = default, Microsoft.CodeAnalysis.VisualBasic.OptionStrict optionStrict = Microsoft.CodeAnalysis.VisualBasic.OptionStrict.Off, bool optionInfer = true, bool optionExplicit = true, bool optionCompareText = false, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions parseOptions = default, bool embedVbCoreRuntime = false, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel = Microsoft.CodeAnalysis.OptimizationLevel.Debug, bool checkOverflow = true, string cryptoKeyContainer = default, string cryptoKeyFile = default, System.Collections.Immutable.ImmutableArray<byte> cryptoPublicKey = default, bool? delaySign = default, Microsoft.CodeAnalysis.Platform platform = Microsoft.CodeAnalysis.Platform.AnyCpu, Microsoft.CodeAnalysis.ReportDiagnostic generalDiagnosticOption = Microsoft.CodeAnalysis.ReportDiagnostic.Default, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.CodeAnalysis.ReportDiagnostic>> specificDiagnosticOptions = default, bool concurrentBuild = true, bool deterministic = false, Microsoft.CodeAnalysis.XmlReferenceResolver xmlReferenceResolver = default, Microsoft.CodeAnalysis.SourceReferenceResolver sourceReferenceResolver = default, Microsoft.CodeAnalysis.MetadataReferenceResolver metadataReferenceResolver = default, Microsoft.CodeAnalysis.AssemblyIdentityComparer assemblyIdentityComparer = default, Microsoft.CodeAnalysis.StrongNameProvider strongNameProvider = default, bool publicSign = false, bool reportSuppressedDiagnostics = false, Microsoft.CodeAnalysis.MetadataImportOptions metadataImportOptions = Microsoft.CodeAnalysis.MetadataImportOptions.Public);
new Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions : Microsoft.CodeAnalysis.OutputKind * string * string * string * seq<Microsoft.CodeAnalysis.VisualBasic.GlobalImport> * string * Microsoft.CodeAnalysis.VisualBasic.OptionStrict * bool * bool * bool * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * bool * Microsoft.CodeAnalysis.OptimizationLevel * bool * string * string * System.Collections.Immutable.ImmutableArray<byte> * Nullable<bool> * Microsoft.CodeAnalysis.Platform * Microsoft.CodeAnalysis.ReportDiagnostic * seq<System.Collections.Generic.KeyValuePair<string, Microsoft.CodeAnalysis.ReportDiagnostic>> * bool * bool * Microsoft.CodeAnalysis.XmlReferenceResolver * Microsoft.CodeAnalysis.SourceReferenceResolver * Microsoft.CodeAnalysis.MetadataReferenceResolver * Microsoft.CodeAnalysis.AssemblyIdentityComparer * Microsoft.CodeAnalysis.StrongNameProvider * bool * bool * Microsoft.CodeAnalysis.MetadataImportOptions -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions
Public Sub New (outputKind As OutputKind, Optional moduleName As String = Nothing, Optional mainTypeName As String = Nothing, Optional scriptClassName As String = "Script", Optional globalImports As IEnumerable(Of GlobalImport) = Nothing, Optional rootNamespace As String = Nothing, Optional optionStrict As OptionStrict = Microsoft.CodeAnalysis.VisualBasic.OptionStrict.Off, Optional optionInfer As Boolean = true, Optional optionExplicit As Boolean = true, Optional optionCompareText As Boolean = false, Optional parseOptions As VisualBasicParseOptions = Nothing, Optional embedVbCoreRuntime As Boolean = false, Optional optimizationLevel As OptimizationLevel = Microsoft.CodeAnalysis.OptimizationLevel.Debug, Optional checkOverflow As Boolean = true, Optional cryptoKeyContainer As String = Nothing, Optional cryptoKeyFile As String = Nothing, Optional cryptoPublicKey As ImmutableArray(Of Byte) = Nothing, Optional delaySign As Nullable(Of Boolean) = Nothing, Optional platform As Platform = Microsoft.CodeAnalysis.Platform.AnyCpu, Optional generalDiagnosticOption As ReportDiagnostic = Microsoft.CodeAnalysis.ReportDiagnostic.Default, Optional specificDiagnosticOptions As IEnumerable(Of KeyValuePair(Of String, ReportDiagnostic)) = Nothing, Optional concurrentBuild As Boolean = true, Optional deterministic As Boolean = false, Optional xmlReferenceResolver As XmlReferenceResolver = Nothing, Optional sourceReferenceResolver As SourceReferenceResolver = Nothing, Optional metadataReferenceResolver As MetadataReferenceResolver = Nothing, Optional assemblyIdentityComparer As AssemblyIdentityComparer = Nothing, Optional strongNameProvider As StrongNameProvider = Nothing, Optional publicSign As Boolean = false, Optional reportSuppressedDiagnostics As Boolean = false, Optional metadataImportOptions As MetadataImportOptions = Microsoft.CodeAnalysis.MetadataImportOptions.Public)

Parameters

outputKind
OutputKind

The compilation output kind. OutputKind

moduleName
String

An optional parameter to specify the name of the assembly that this module will be a part of.

mainTypeName
String

An optional parameter to specify the class or module that contains the Sub Main procedure.

scriptClassName
String

An optional parameter to specify an alternate DefaultScriptClassName object to be used.

globalImports
IEnumerable<GlobalImport>

An optional collection of GlobalImports GlobalImports .

rootNamespace
String

An optional parameter to specify the name of the default root namespace.

optionStrict
OptionStrict

An optional parameter to specify the default Option Strict behavior. OptionStrict

optionInfer
Boolean

An optional parameter to specify default Option Infer behavior.

optionExplicit
Boolean

An optional parameter to specify the default Option Explicit behavior.

optionCompareText
Boolean

An optional parameter to specify the default Option Compare Text behavior.

parseOptions
VisualBasicParseOptions

An optional parameter to specify the parse options. VisualBasicParseOptions

embedVbCoreRuntime
Boolean

An optional parameter to specify the embedded Visual Basic Core Runtime behavior.

optimizationLevel
OptimizationLevel

An optional parameter to enabled/disable optimizations.

checkOverflow
Boolean

An optional parameter to specify enabling/disabling overflow checking.

cryptoKeyContainer
String

An optional parameter to specify a key container name for a key pair to give an assembly a strong name.

cryptoKeyFile
String

An optional parameter to specify a file containing a key or key pair to give an assembly a strong name.

cryptoPublicKey
ImmutableArray<Byte>

An optional parameter to specify a public key used to give an assembly a strong name.

delaySign
Nullable<Boolean>

An optional parameter to specify whether the assembly will be fully or partially signed.

platform
Platform

An optional parameter to specify which platform version of common language runtime (CLR) can run compilation. Platform

generalDiagnosticOption
ReportDiagnostic

An optional parameter to specify the general warning level.

specificDiagnosticOptions
IEnumerable<KeyValuePair<String,ReportDiagnostic>>

An optional collection representing specific warnings that differ from general warning behavior.

concurrentBuild
Boolean

An optional parameter to specify enabling/disabling concurrent build.

deterministic
Boolean
xmlReferenceResolver
XmlReferenceResolver

An optional parameter to specify the XML file resolver.

sourceReferenceResolver
SourceReferenceResolver

An optional parameter to specify the source file resolver.

metadataReferenceResolver
MetadataReferenceResolver

An optional parameter to specify MetadataReferenceResolver.

assemblyIdentityComparer
AssemblyIdentityComparer

An optional parameter to specify AssemblyIdentityComparer.

strongNameProvider
StrongNameProvider

An optional parameter to specify StrongNameProvider.

publicSign
Boolean

An optional parameter to specify whether the assembly will be public signed.

reportSuppressedDiagnostics
Boolean

An optional parameter to specify whether or not suppressed diagnostics should be reported.

metadataImportOptions
MetadataImportOptions

An optional parameter to specify metadata import options.

Applies to