WellKnownDiagnosticTags.CustomSeverityConfigurable 字段

定义

指示报告诊断的分析器支持自定义严重性配置机制 () ,以允许最终用户配置诊断的有效严重性。 此类分析器始终被视为由编译器启用,并始终接收分析器回调。 此外,分析器配置选项配置严重性(例如“dotnet_diagnostic”和“dotnet_analyzer_diagnostic”条目)不会更改使用此自定义标记报告的诊断的严重性。

public const string CustomSeverityConfigurable;
val mutable CustomSeverityConfigurable : string
Public Const CustomSeverityConfigurable As String 

字段值

注解

有关更多详细信息,请参阅 https://github.com/dotnet/roslyn/issues/52991

适用于