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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.