CSharpCompilationOptions 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
CSharpCompilationOptions(OutputKind, String, String, String, IEnumerable<String>, OptimizationLevel, Boolean, Boolean, String, String, ImmutableArray<Byte>, Nullable<Boolean>, Platform, ReportDiagnostic, Int32, IEnumerable<KeyValuePair<String, ReportDiagnostic>>, Boolean, XmlReferenceResolver, SourceReferenceResolver, MetadataReferenceResolver, AssemblyIdentityComparer, StrongNameProvider)
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
public:
CSharpCompilationOptions(Microsoft::CodeAnalysis::OutputKind outputKind, System::String ^ moduleName, System::String ^ mainTypeName, System::String ^ scriptClassName, System::Collections::Generic::IEnumerable<System::String ^> ^ usings, Microsoft::CodeAnalysis::OptimizationLevel optimizationLevel, bool checkOverflow, bool allowUnsafe, System::String ^ cryptoKeyContainer, System::String ^ cryptoKeyFile, System::Collections::Immutable::ImmutableArray<System::Byte> cryptoPublicKey, Nullable<bool> delaySign, Microsoft::CodeAnalysis::Platform platform, Microsoft::CodeAnalysis::ReportDiagnostic generalDiagnosticOption, int warningLevel, 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 CSharpCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, string moduleName, string mainTypeName, string scriptClassName, System.Collections.Generic.IEnumerable<string> usings, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel, bool checkOverflow, bool allowUnsafe, string cryptoKeyContainer, string cryptoKeyFile, System.Collections.Immutable.ImmutableArray<byte> cryptoPublicKey, bool? delaySign, Microsoft.CodeAnalysis.Platform platform, Microsoft.CodeAnalysis.ReportDiagnostic generalDiagnosticOption, int warningLevel, 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)]
public CSharpCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, string? moduleName, string? mainTypeName, string? scriptClassName, System.Collections.Generic.IEnumerable<string>? usings, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel, bool checkOverflow, bool allowUnsafe, string? cryptoKeyContainer, string? cryptoKeyFile, System.Collections.Immutable.ImmutableArray<byte> cryptoPublicKey, bool? delaySign, Microsoft.CodeAnalysis.Platform platform, Microsoft.CodeAnalysis.ReportDiagnostic generalDiagnosticOption, int warningLevel, 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.CSharp.CSharpCompilationOptions : Microsoft.CodeAnalysis.OutputKind * string * string * string * seq<string> * Microsoft.CodeAnalysis.OptimizationLevel * bool * bool * string * string * System.Collections.Immutable.ImmutableArray<byte> * Nullable<bool> * Microsoft.CodeAnalysis.Platform * Microsoft.CodeAnalysis.ReportDiagnostic * int * 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.CSharp.CSharpCompilationOptions
Public Sub New (outputKind As OutputKind, moduleName As String, mainTypeName As String, scriptClassName As String, usings As IEnumerable(Of String), optimizationLevel As OptimizationLevel, checkOverflow As Boolean, allowUnsafe As Boolean, cryptoKeyContainer As String, cryptoKeyFile As String, cryptoPublicKey As ImmutableArray(Of Byte), delaySign As Nullable(Of Boolean), platform As Platform, generalDiagnosticOption As ReportDiagnostic, warningLevel As Integer, 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
- usings
- IEnumerable<String>
- optimizationLevel
- OptimizationLevel
- checkOverflow
- Boolean
- allowUnsafe
- Boolean
- cryptoKeyContainer
- String
- cryptoKeyFile
- String
- cryptoPublicKey
- ImmutableArray<Byte>
- platform
- Platform
- generalDiagnosticOption
- ReportDiagnostic
- warningLevel
- Int32
- specificDiagnosticOptions
- IEnumerable<KeyValuePair<String,ReportDiagnostic>>
- concurrentBuild
- Boolean
- xmlReferenceResolver
- XmlReferenceResolver
- sourceReferenceResolver
- SourceReferenceResolver
- metadataReferenceResolver
- MetadataReferenceResolver
- assemblyIdentityComparer
- AssemblyIdentityComparer
- strongNameProvider
- StrongNameProvider
- Attributes
Applies to
CSharpCompilationOptions(OutputKind, String, String, String, IEnumerable<String>, OptimizationLevel, Boolean, Boolean, String, String, ImmutableArray<Byte>, Nullable<Boolean>, Platform, ReportDiagnostic, Int32, IEnumerable<KeyValuePair<String, ReportDiagnostic>>, Boolean, Boolean, XmlReferenceResolver, SourceReferenceResolver, MetadataReferenceResolver, AssemblyIdentityComparer, StrongNameProvider)
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
public:
CSharpCompilationOptions(Microsoft::CodeAnalysis::OutputKind outputKind, System::String ^ moduleName, System::String ^ mainTypeName, System::String ^ scriptClassName, System::Collections::Generic::IEnumerable<System::String ^> ^ usings, Microsoft::CodeAnalysis::OptimizationLevel optimizationLevel, bool checkOverflow, bool allowUnsafe, System::String ^ cryptoKeyContainer, System::String ^ cryptoKeyFile, System::Collections::Immutable::ImmutableArray<System::Byte> cryptoPublicKey, Nullable<bool> delaySign, Microsoft::CodeAnalysis::Platform platform, Microsoft::CodeAnalysis::ReportDiagnostic generalDiagnosticOption, int warningLevel, 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 CSharpCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, string moduleName, string mainTypeName, string scriptClassName, System.Collections.Generic.IEnumerable<string> usings, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel, bool checkOverflow, bool allowUnsafe, string cryptoKeyContainer, string cryptoKeyFile, System.Collections.Immutable.ImmutableArray<byte> cryptoPublicKey, bool? delaySign, Microsoft.CodeAnalysis.Platform platform, Microsoft.CodeAnalysis.ReportDiagnostic generalDiagnosticOption, int warningLevel, 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)]
public CSharpCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, string? moduleName, string? mainTypeName, string? scriptClassName, System.Collections.Generic.IEnumerable<string>? usings, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel, bool checkOverflow, bool allowUnsafe, string? cryptoKeyContainer, string? cryptoKeyFile, System.Collections.Immutable.ImmutableArray<byte> cryptoPublicKey, bool? delaySign, Microsoft.CodeAnalysis.Platform platform, Microsoft.CodeAnalysis.ReportDiagnostic generalDiagnosticOption, int warningLevel, 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.CSharp.CSharpCompilationOptions : Microsoft.CodeAnalysis.OutputKind * string * string * string * seq<string> * Microsoft.CodeAnalysis.OptimizationLevel * bool * bool * string * string * System.Collections.Immutable.ImmutableArray<byte> * Nullable<bool> * Microsoft.CodeAnalysis.Platform * Microsoft.CodeAnalysis.ReportDiagnostic * int * 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.CSharp.CSharpCompilationOptions
Public Sub New (outputKind As OutputKind, moduleName As String, mainTypeName As String, scriptClassName As String, usings As IEnumerable(Of String), optimizationLevel As OptimizationLevel, checkOverflow As Boolean, allowUnsafe As Boolean, cryptoKeyContainer As String, cryptoKeyFile As String, cryptoPublicKey As ImmutableArray(Of Byte), delaySign As Nullable(Of Boolean), platform As Platform, generalDiagnosticOption As ReportDiagnostic, warningLevel As Integer, 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
- usings
- IEnumerable<String>
- optimizationLevel
- OptimizationLevel
- checkOverflow
- Boolean
- allowUnsafe
- Boolean
- cryptoKeyContainer
- String
- cryptoKeyFile
- String
- cryptoPublicKey
- ImmutableArray<Byte>
- platform
- Platform
- generalDiagnosticOption
- ReportDiagnostic
- warningLevel
- Int32
- specificDiagnosticOptions
- IEnumerable<KeyValuePair<String,ReportDiagnostic>>
- concurrentBuild
- Boolean
- deterministic
- Boolean
- xmlReferenceResolver
- XmlReferenceResolver
- sourceReferenceResolver
- SourceReferenceResolver
- metadataReferenceResolver
- MetadataReferenceResolver
- assemblyIdentityComparer
- AssemblyIdentityComparer
- strongNameProvider
- StrongNameProvider
- Attributes
Applies to
CSharpCompilationOptions(OutputKind, Boolean, String, String, String, IEnumerable<String>, OptimizationLevel, Boolean, Boolean, String, String, ImmutableArray<Byte>, Nullable<Boolean>, Platform, ReportDiagnostic, Int32, IEnumerable<KeyValuePair<String,ReportDiagnostic>>, Boolean, Boolean, XmlReferenceResolver, SourceReferenceResolver, MetadataReferenceResolver, AssemblyIdentityComparer, StrongNameProvider)
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
public:
CSharpCompilationOptions(Microsoft::CodeAnalysis::OutputKind outputKind, bool reportSuppressedDiagnostics, System::String ^ moduleName, System::String ^ mainTypeName, System::String ^ scriptClassName, System::Collections::Generic::IEnumerable<System::String ^> ^ usings, Microsoft::CodeAnalysis::OptimizationLevel optimizationLevel, bool checkOverflow, bool allowUnsafe, System::String ^ cryptoKeyContainer, System::String ^ cryptoKeyFile, System::Collections::Immutable::ImmutableArray<System::Byte> cryptoPublicKey, Nullable<bool> delaySign, Microsoft::CodeAnalysis::Platform platform, Microsoft::CodeAnalysis::ReportDiagnostic generalDiagnosticOption, int warningLevel, 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 CSharpCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, bool reportSuppressedDiagnostics, string moduleName, string mainTypeName, string scriptClassName, System.Collections.Generic.IEnumerable<string> usings, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel, bool checkOverflow, bool allowUnsafe, string cryptoKeyContainer, string cryptoKeyFile, System.Collections.Immutable.ImmutableArray<byte> cryptoPublicKey, bool? delaySign, Microsoft.CodeAnalysis.Platform platform, Microsoft.CodeAnalysis.ReportDiagnostic generalDiagnosticOption, int warningLevel, 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)]
public CSharpCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, bool reportSuppressedDiagnostics, string? moduleName, string? mainTypeName, string? scriptClassName, System.Collections.Generic.IEnumerable<string>? usings, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel, bool checkOverflow, bool allowUnsafe, string? cryptoKeyContainer, string? cryptoKeyFile, System.Collections.Immutable.ImmutableArray<byte> cryptoPublicKey, bool? delaySign, Microsoft.CodeAnalysis.Platform platform, Microsoft.CodeAnalysis.ReportDiagnostic generalDiagnosticOption, int warningLevel, 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.CSharp.CSharpCompilationOptions : Microsoft.CodeAnalysis.OutputKind * bool * string * string * string * seq<string> * Microsoft.CodeAnalysis.OptimizationLevel * bool * bool * string * string * System.Collections.Immutable.ImmutableArray<byte> * Nullable<bool> * Microsoft.CodeAnalysis.Platform * Microsoft.CodeAnalysis.ReportDiagnostic * int * 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.CSharp.CSharpCompilationOptions
Public Sub New (outputKind As OutputKind, reportSuppressedDiagnostics As Boolean, moduleName As String, mainTypeName As String, scriptClassName As String, usings As IEnumerable(Of String), optimizationLevel As OptimizationLevel, checkOverflow As Boolean, allowUnsafe As Boolean, cryptoKeyContainer As String, cryptoKeyFile As String, cryptoPublicKey As ImmutableArray(Of Byte), delaySign As Nullable(Of Boolean), platform As Platform, generalDiagnosticOption As ReportDiagnostic, warningLevel As Integer, 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
- reportSuppressedDiagnostics
- Boolean
- moduleName
- String
- mainTypeName
- String
- scriptClassName
- String
- usings
- IEnumerable<String>
- optimizationLevel
- OptimizationLevel
- checkOverflow
- Boolean
- allowUnsafe
- Boolean
- cryptoKeyContainer
- String
- cryptoKeyFile
- String
- cryptoPublicKey
- ImmutableArray<Byte>
- platform
- Platform
- generalDiagnosticOption
- ReportDiagnostic
- warningLevel
- Int32
- specificDiagnosticOptions
- IEnumerable<KeyValuePair<String,ReportDiagnostic>>
- concurrentBuild
- Boolean
- deterministic
- Boolean
- xmlReferenceResolver
- XmlReferenceResolver
- sourceReferenceResolver
- SourceReferenceResolver
- metadataReferenceResolver
- MetadataReferenceResolver
- assemblyIdentityComparer
- AssemblyIdentityComparer
- strongNameProvider
- StrongNameProvider
- Attributes
Applies to
CSharpCompilationOptions(OutputKind, Boolean, String, String, String, IEnumerable<String>, OptimizationLevel, Boolean, Boolean, String, String, ImmutableArray<Byte>, Nullable<Boolean>, Platform, ReportDiagnostic, Int32, IEnumerable<KeyValuePair<String,ReportDiagnostic>>, Boolean, Boolean, XmlReferenceResolver, SourceReferenceResolver, MetadataReferenceResolver, AssemblyIdentityComparer, StrongNameProvider, Boolean)
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
public:
CSharpCompilationOptions(Microsoft::CodeAnalysis::OutputKind outputKind, bool reportSuppressedDiagnostics, System::String ^ moduleName, System::String ^ mainTypeName, System::String ^ scriptClassName, System::Collections::Generic::IEnumerable<System::String ^> ^ usings, Microsoft::CodeAnalysis::OptimizationLevel optimizationLevel, bool checkOverflow, bool allowUnsafe, System::String ^ cryptoKeyContainer, System::String ^ cryptoKeyFile, System::Collections::Immutable::ImmutableArray<System::Byte> cryptoPublicKey, Nullable<bool> delaySign, Microsoft::CodeAnalysis::Platform platform, Microsoft::CodeAnalysis::ReportDiagnostic generalDiagnosticOption, int warningLevel, 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);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public CSharpCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, bool reportSuppressedDiagnostics, string moduleName, string mainTypeName, string scriptClassName, System.Collections.Generic.IEnumerable<string> usings, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel, bool checkOverflow, bool allowUnsafe, string cryptoKeyContainer, string cryptoKeyFile, System.Collections.Immutable.ImmutableArray<byte> cryptoPublicKey, bool? delaySign, Microsoft.CodeAnalysis.Platform platform, Microsoft.CodeAnalysis.ReportDiagnostic generalDiagnosticOption, int warningLevel, 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);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public CSharpCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, bool reportSuppressedDiagnostics, string? moduleName, string? mainTypeName, string? scriptClassName, System.Collections.Generic.IEnumerable<string>? usings, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel, bool checkOverflow, bool allowUnsafe, string? cryptoKeyContainer, string? cryptoKeyFile, System.Collections.Immutable.ImmutableArray<byte> cryptoPublicKey, bool? delaySign, Microsoft.CodeAnalysis.Platform platform, Microsoft.CodeAnalysis.ReportDiagnostic generalDiagnosticOption, int warningLevel, 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);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
new Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions : Microsoft.CodeAnalysis.OutputKind * bool * string * string * string * seq<string> * Microsoft.CodeAnalysis.OptimizationLevel * bool * bool * string * string * System.Collections.Immutable.ImmutableArray<byte> * Nullable<bool> * Microsoft.CodeAnalysis.Platform * Microsoft.CodeAnalysis.ReportDiagnostic * int * 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 -> Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions
Public Sub New (outputKind As OutputKind, reportSuppressedDiagnostics As Boolean, moduleName As String, mainTypeName As String, scriptClassName As String, usings As IEnumerable(Of String), optimizationLevel As OptimizationLevel, checkOverflow As Boolean, allowUnsafe As Boolean, cryptoKeyContainer As String, cryptoKeyFile As String, cryptoPublicKey As ImmutableArray(Of Byte), delaySign As Nullable(Of Boolean), platform As Platform, generalDiagnosticOption As ReportDiagnostic, warningLevel As Integer, 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)
Parameters
- outputKind
- OutputKind
- reportSuppressedDiagnostics
- Boolean
- moduleName
- String
- mainTypeName
- String
- scriptClassName
- String
- usings
- IEnumerable<String>
- optimizationLevel
- OptimizationLevel
- checkOverflow
- Boolean
- allowUnsafe
- Boolean
- cryptoKeyContainer
- String
- cryptoKeyFile
- String
- cryptoPublicKey
- ImmutableArray<Byte>
- platform
- Platform
- generalDiagnosticOption
- ReportDiagnostic
- warningLevel
- Int32
- specificDiagnosticOptions
- IEnumerable<KeyValuePair<String,ReportDiagnostic>>
- concurrentBuild
- Boolean
- deterministic
- Boolean
- xmlReferenceResolver
- XmlReferenceResolver
- sourceReferenceResolver
- SourceReferenceResolver
- metadataReferenceResolver
- MetadataReferenceResolver
- assemblyIdentityComparer
- AssemblyIdentityComparer
- strongNameProvider
- StrongNameProvider
- publicSign
- Boolean
- Attributes
Applies to
CSharpCompilationOptions(OutputKind, Boolean, String, String, String, IEnumerable<String>, OptimizationLevel, Boolean, Boolean, String, String, ImmutableArray<Byte>, Nullable<Boolean>, Platform, ReportDiagnostic, Int32, IEnumerable<KeyValuePair<String,ReportDiagnostic>>, Boolean, Boolean, XmlReferenceResolver, SourceReferenceResolver, MetadataReferenceResolver, AssemblyIdentityComparer, StrongNameProvider, Boolean, MetadataImportOptions)
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
public CSharpCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, bool reportSuppressedDiagnostics, string moduleName, string mainTypeName, string scriptClassName, System.Collections.Generic.IEnumerable<string> usings, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel, bool checkOverflow, bool allowUnsafe, string cryptoKeyContainer, string cryptoKeyFile, System.Collections.Immutable.ImmutableArray<byte> cryptoPublicKey, bool? delaySign, Microsoft.CodeAnalysis.Platform platform, Microsoft.CodeAnalysis.ReportDiagnostic generalDiagnosticOption, int warningLevel, 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, Microsoft.CodeAnalysis.MetadataImportOptions metadataImportOptions);
public CSharpCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, bool reportSuppressedDiagnostics, string? moduleName, string? mainTypeName, string? scriptClassName, System.Collections.Generic.IEnumerable<string>? usings, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel, bool checkOverflow, bool allowUnsafe, string? cryptoKeyContainer, string? cryptoKeyFile, System.Collections.Immutable.ImmutableArray<byte> cryptoPublicKey, bool? delaySign, Microsoft.CodeAnalysis.Platform platform, Microsoft.CodeAnalysis.ReportDiagnostic generalDiagnosticOption, int warningLevel, 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, Microsoft.CodeAnalysis.MetadataImportOptions metadataImportOptions);
new Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions : Microsoft.CodeAnalysis.OutputKind * bool * string * string * string * seq<string> * Microsoft.CodeAnalysis.OptimizationLevel * bool * bool * string * string * System.Collections.Immutable.ImmutableArray<byte> * Nullable<bool> * Microsoft.CodeAnalysis.Platform * Microsoft.CodeAnalysis.ReportDiagnostic * int * 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 * Microsoft.CodeAnalysis.MetadataImportOptions -> Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions
Public Sub New (outputKind As OutputKind, reportSuppressedDiagnostics As Boolean, moduleName As String, mainTypeName As String, scriptClassName As String, usings As IEnumerable(Of String), optimizationLevel As OptimizationLevel, checkOverflow As Boolean, allowUnsafe As Boolean, cryptoKeyContainer As String, cryptoKeyFile As String, cryptoPublicKey As ImmutableArray(Of Byte), delaySign As Nullable(Of Boolean), platform As Platform, generalDiagnosticOption As ReportDiagnostic, warningLevel As Integer, 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, metadataImportOptions As MetadataImportOptions)
Parameters
- outputKind
- OutputKind
- reportSuppressedDiagnostics
- Boolean
- moduleName
- String
- mainTypeName
- String
- scriptClassName
- String
- usings
- IEnumerable<String>
- optimizationLevel
- OptimizationLevel
- checkOverflow
- Boolean
- allowUnsafe
- Boolean
- cryptoKeyContainer
- String
- cryptoKeyFile
- String
- cryptoPublicKey
- ImmutableArray<Byte>
- platform
- Platform
- generalDiagnosticOption
- ReportDiagnostic
- warningLevel
- Int32
- specificDiagnosticOptions
- IEnumerable<KeyValuePair<String,ReportDiagnostic>>
- concurrentBuild
- Boolean
- deterministic
- Boolean
- xmlReferenceResolver
- XmlReferenceResolver
- sourceReferenceResolver
- SourceReferenceResolver
- metadataReferenceResolver
- MetadataReferenceResolver
- assemblyIdentityComparer
- AssemblyIdentityComparer
- strongNameProvider
- StrongNameProvider
- publicSign
- Boolean
- metadataImportOptions
- MetadataImportOptions
Applies to
CSharpCompilationOptions(OutputKind, Boolean, String, String, String, IEnumerable<String>, OptimizationLevel, Boolean, Boolean, String, String, ImmutableArray<Byte>, Nullable<Boolean>, Platform, ReportDiagnostic, Int32, IEnumerable<KeyValuePair<String,ReportDiagnostic>>, Boolean, Boolean, XmlReferenceResolver, SourceReferenceResolver, MetadataReferenceResolver, AssemblyIdentityComparer, StrongNameProvider, Boolean, MetadataImportOptions, NullableContextOptions)
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
public CSharpCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, bool reportSuppressedDiagnostics = false, string moduleName = default, string mainTypeName = default, string scriptClassName = default, System.Collections.Generic.IEnumerable<string> usings = default, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel = Microsoft.CodeAnalysis.OptimizationLevel.Debug, bool checkOverflow = false, bool allowUnsafe = false, 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, int warningLevel = 4, 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, Microsoft.CodeAnalysis.MetadataImportOptions metadataImportOptions = Microsoft.CodeAnalysis.MetadataImportOptions.Public, Microsoft.CodeAnalysis.CSharp.NullableContextOptions nullableContextOptions = Microsoft.CodeAnalysis.CSharp.NullableContextOptions.Disable);
new Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions : Microsoft.CodeAnalysis.OutputKind * bool * string * string * string * seq<string> * Microsoft.CodeAnalysis.OptimizationLevel * bool * bool * string * string * System.Collections.Immutable.ImmutableArray<byte> * Nullable<bool> * Microsoft.CodeAnalysis.Platform * Microsoft.CodeAnalysis.ReportDiagnostic * int * 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 * Microsoft.CodeAnalysis.MetadataImportOptions * Microsoft.CodeAnalysis.CSharp.NullableContextOptions -> Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions
Public Sub New (outputKind As OutputKind, Optional reportSuppressedDiagnostics As Boolean = false, Optional moduleName As String = Nothing, Optional mainTypeName As String = Nothing, Optional scriptClassName As String = Nothing, Optional usings As IEnumerable(Of String) = Nothing, Optional optimizationLevel As OptimizationLevel = Microsoft.CodeAnalysis.OptimizationLevel.Debug, Optional checkOverflow As Boolean = false, Optional allowUnsafe As Boolean = false, 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 warningLevel As Integer = 4, 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 metadataImportOptions As MetadataImportOptions = Microsoft.CodeAnalysis.MetadataImportOptions.Public, Optional nullableContextOptions As NullableContextOptions = Microsoft.CodeAnalysis.CSharp.NullableContextOptions.Disable)
Parameters
- outputKind
- OutputKind
- reportSuppressedDiagnostics
- Boolean
- moduleName
- String
- mainTypeName
- String
- scriptClassName
- String
- usings
- IEnumerable<String>
- optimizationLevel
- OptimizationLevel
- checkOverflow
- Boolean
- allowUnsafe
- Boolean
- cryptoKeyContainer
- String
- cryptoKeyFile
- String
- cryptoPublicKey
- ImmutableArray<Byte>
- platform
- Platform
- generalDiagnosticOption
- ReportDiagnostic
- warningLevel
- Int32
- specificDiagnosticOptions
- IEnumerable<KeyValuePair<String,ReportDiagnostic>>
- concurrentBuild
- Boolean
- deterministic
- Boolean
- xmlReferenceResolver
- XmlReferenceResolver
- sourceReferenceResolver
- SourceReferenceResolver
- metadataReferenceResolver
- MetadataReferenceResolver
- assemblyIdentityComparer
- AssemblyIdentityComparer
- strongNameProvider
- StrongNameProvider
- publicSign
- Boolean
- metadataImportOptions
- MetadataImportOptions
- nullableContextOptions
- NullableContextOptions
Applies to
CSharpCompilationOptions(OutputKind, Boolean, String, String, String, IEnumerable<String>, OptimizationLevel, Boolean, Boolean, String, String, ImmutableArray<Byte>, Nullable<Boolean>, Platform, ReportDiagnostic, Int32, IEnumerable<KeyValuePair<String,ReportDiagnostic>>, Boolean, Boolean, XmlReferenceResolver, SourceReferenceResolver, MetadataReferenceResolver, AssemblyIdentityComparer, StrongNameProvider, Boolean, MetadataImportOptions, NullableContextOptions)
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
- Source:
- CSharpCompilationOptions.cs
public CSharpCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, bool reportSuppressedDiagnostics = false, string? moduleName = default, string? mainTypeName = default, string? scriptClassName = default, System.Collections.Generic.IEnumerable<string>? usings = default, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel = Microsoft.CodeAnalysis.OptimizationLevel.Debug, bool checkOverflow = false, bool allowUnsafe = false, 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, int warningLevel = 4, 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, Microsoft.CodeAnalysis.MetadataImportOptions metadataImportOptions = Microsoft.CodeAnalysis.MetadataImportOptions.Public, Microsoft.CodeAnalysis.NullableContextOptions nullableContextOptions = Microsoft.CodeAnalysis.NullableContextOptions.Disable);
public CSharpCompilationOptions (Microsoft.CodeAnalysis.OutputKind outputKind, bool reportSuppressedDiagnostics = false, string moduleName = default, string mainTypeName = default, string scriptClassName = default, System.Collections.Generic.IEnumerable<string> usings = default, Microsoft.CodeAnalysis.OptimizationLevel optimizationLevel = Microsoft.CodeAnalysis.OptimizationLevel.Debug, bool checkOverflow = false, bool allowUnsafe = false, 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, int warningLevel = 4, 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, Microsoft.CodeAnalysis.MetadataImportOptions metadataImportOptions = Microsoft.CodeAnalysis.MetadataImportOptions.Public, Microsoft.CodeAnalysis.NullableContextOptions nullableContextOptions = Microsoft.CodeAnalysis.NullableContextOptions.Disable);
new Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions : Microsoft.CodeAnalysis.OutputKind * bool * string * string * string * seq<string> * Microsoft.CodeAnalysis.OptimizationLevel * bool * bool * string * string * System.Collections.Immutable.ImmutableArray<byte> * Nullable<bool> * Microsoft.CodeAnalysis.Platform * Microsoft.CodeAnalysis.ReportDiagnostic * int * 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 * Microsoft.CodeAnalysis.MetadataImportOptions * Microsoft.CodeAnalysis.NullableContextOptions -> Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions
Public Sub New (outputKind As OutputKind, Optional reportSuppressedDiagnostics As Boolean = false, Optional moduleName As String = Nothing, Optional mainTypeName As String = Nothing, Optional scriptClassName As String = Nothing, Optional usings As IEnumerable(Of String) = Nothing, Optional optimizationLevel As OptimizationLevel = Microsoft.CodeAnalysis.OptimizationLevel.Debug, Optional checkOverflow As Boolean = false, Optional allowUnsafe As Boolean = false, 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 warningLevel As Integer = 4, 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 metadataImportOptions As MetadataImportOptions = Microsoft.CodeAnalysis.MetadataImportOptions.Public, Optional nullableContextOptions As NullableContextOptions = Microsoft.CodeAnalysis.NullableContextOptions.Disable)
Parameters
- outputKind
- OutputKind
- reportSuppressedDiagnostics
- Boolean
- moduleName
- String
- mainTypeName
- String
- scriptClassName
- String
- usings
- IEnumerable<String>
- optimizationLevel
- OptimizationLevel
- checkOverflow
- Boolean
- allowUnsafe
- Boolean
- cryptoKeyContainer
- String
- cryptoKeyFile
- String
- cryptoPublicKey
- ImmutableArray<Byte>
- platform
- Platform
- generalDiagnosticOption
- ReportDiagnostic
- warningLevel
- Int32
- specificDiagnosticOptions
- IEnumerable<KeyValuePair<String,ReportDiagnostic>>
- concurrentBuild
- Boolean
- deterministic
- Boolean
- xmlReferenceResolver
- XmlReferenceResolver
- sourceReferenceResolver
- SourceReferenceResolver
- metadataReferenceResolver
- MetadataReferenceResolver
- assemblyIdentityComparer
- AssemblyIdentityComparer
- strongNameProvider
- StrongNameProvider
- publicSign
- Boolean
- metadataImportOptions
- MetadataImportOptions
- nullableContextOptions
- NullableContextOptions
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.