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
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.