VisualBasicCompilationOptions.WithSpecificDiagnosticOptions Method
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
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>>)
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
Specific report warnings. ReportDiagnostic
Returns
A new instance of VisualBasicCompilationOptions, if the dictionary of report warning is different; otherwise current instance.
Applies to
WithSpecificDiagnosticOptions(ImmutableDictionary<String,ReportDiagnostic>)
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
Specific report warnings. ReportDiagnostic
Returns
A new instance of VisualBasicCompilationOptions, if the dictionary of report warning is different; otherwise current instance.
Applies to
.NET