共用方式為


AnalyzerOptions Constructors

Definition

Overloads

AnalyzerOptions(ImmutableArray<AdditionalText>)

Creates analyzer options to be passed to DiagnosticAnalyzer.

AnalyzerOptions(ImmutableArray<AdditionalText>, AnalyzerConfigOptionsProvider)

Creates analyzer options to be passed to DiagnosticAnalyzer.

AnalyzerOptions(ImmutableArray<AdditionalText>)

Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs

Creates analyzer options to be passed to DiagnosticAnalyzer.

public:
 AnalyzerOptions(System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::AdditionalText ^> additionalFiles);
public AnalyzerOptions (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> additionalFiles);
new Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> -> Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions
Public Sub New (additionalFiles As ImmutableArray(Of AdditionalText))

Parameters

additionalFiles
ImmutableArray<AdditionalText>

A set of additional non-code text files that can be used by analyzers.

Applies to

AnalyzerOptions(ImmutableArray<AdditionalText>, AnalyzerConfigOptionsProvider)

Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs
Source:
AnalyzerOptions.cs

Creates analyzer options to be passed to DiagnosticAnalyzer.

public AnalyzerOptions (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> additionalFiles, Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptionsProvider optionsProvider);
new Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> * Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptionsProvider -> Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions
Public Sub New (additionalFiles As ImmutableArray(Of AdditionalText), optionsProvider As AnalyzerConfigOptionsProvider)

Parameters

additionalFiles
ImmutableArray<AdditionalText>

A set of additional non-code text files that can be used by analyzers.

optionsProvider
AnalyzerConfigOptionsProvider

A set of per-tree options that can be used by analyzers.

Applies to