DiagnosticAnalyzerAttribute Class
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.
Place this attribute onto a type to cause it to be considered a diagnostic analyzer.
public ref class DiagnosticAnalyzerAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class DiagnosticAnalyzerAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type DiagnosticAnalyzerAttribute = class
inherit Attribute
Public NotInheritable Class DiagnosticAnalyzerAttribute
Inherits Attribute
- Inheritance
-
DiagnosticAnalyzerAttribute
- Attributes
Constructors
DiagnosticAnalyzerAttribute(String, String[]) |
Attribute constructor used to specify automatic application of a diagnostic analyzer. |
Properties
Languages |
The source languages to which this analyzer applies. See LanguageNames. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.