DiagnosticAnalyzerAttribute(String, String[]) Constructor
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.
Attribute constructor used to specify automatic application of a diagnostic analyzer.
public:
DiagnosticAnalyzerAttribute(System::String ^ firstLanguage, ... cli::array <System::String ^> ^ additionalLanguages);
public DiagnosticAnalyzerAttribute (string firstLanguage, params string[] additionalLanguages);
new Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzerAttribute : string * string[] -> Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzerAttribute
Public Sub New (firstLanguage As String, ParamArray additionalLanguages As String())
Parameters
- firstLanguage
- String
One language to which the analyzer applies.
- additionalLanguages
- String[]
Additional languages to which the analyzer applies. See LanguageNames.
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.