共用方式為


VisualBasicCompilationOptions.WithSpecificDiagnosticOptions Method

Definition

Overloads

WithSpecificDiagnosticOptions(IEnumerable<KeyValuePair<String,ReportDiagnostic>>)

Creates a new VisualBasicCompilationOptions instance with different specific warnings specified.

WithSpecificDiagnosticOptions(ImmutableDictionary<String,ReportDiagnostic>)

Creates a new VisualBasicCompilationOptions instance with different specific warnings specified.

WithSpecificDiagnosticOptions(IEnumerable<KeyValuePair<String,ReportDiagnostic>>)

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

Creates a new VisualBasicCompilationOptions instance with different specific warnings specified.

public:
 Microsoft::CodeAnalysis::VisualBasic::VisualBasicCompilationOptions ^ WithSpecificDiagnosticOptions(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::CodeAnalysis::ReportDiagnostic>> ^ value);
public Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions WithSpecificDiagnosticOptions (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.CodeAnalysis.ReportDiagnostic>> value);
override this.WithSpecificDiagnosticOptions : seq<System.Collections.Generic.KeyValuePair<string, Microsoft.CodeAnalysis.ReportDiagnostic>> -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions
Public Function WithSpecificDiagnosticOptions (value As IEnumerable(Of KeyValuePair(Of String, ReportDiagnostic))) As VisualBasicCompilationOptions

Parameters

Returns

A new instance of VisualBasicCompilationOptions, if the dictionary of report warning is different; otherwise current instance.

Applies to

WithSpecificDiagnosticOptions(ImmutableDictionary<String,ReportDiagnostic>)

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

Creates a new VisualBasicCompilationOptions instance with different specific warnings specified.

public:
 Microsoft::CodeAnalysis::VisualBasic::VisualBasicCompilationOptions ^ WithSpecificDiagnosticOptions(System::Collections::Immutable::ImmutableDictionary<System::String ^, Microsoft::CodeAnalysis::ReportDiagnostic> ^ value);
public Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions WithSpecificDiagnosticOptions (System.Collections.Immutable.ImmutableDictionary<string,Microsoft.CodeAnalysis.ReportDiagnostic> value);
override this.WithSpecificDiagnosticOptions : System.Collections.Immutable.ImmutableDictionary<string, Microsoft.CodeAnalysis.ReportDiagnostic> -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions
Public Function WithSpecificDiagnosticOptions (value As ImmutableDictionary(Of String, ReportDiagnostic)) As VisualBasicCompilationOptions

Parameters

value
ImmutableDictionary<String,ReportDiagnostic>

Specific report warnings. ReportDiagnostic

Returns

A new instance of VisualBasicCompilationOptions, if the dictionary of report warning is different; otherwise current instance.

Applies to