See dotnet/roslyn#65304 (comment)
Both C# and VB samples need to be updated:
|
internal static DiagnosticDescriptor Rule = |
|
new DiagnosticDescriptor( |
|
DiagnosticIds.CompilationStartedAnalyzerWithCompilationWideAnalysisRuleId, |
|
Title, |
|
MessageFormat, |
|
DiagnosticCategories.Stateful, |
|
DiagnosticSeverity.Warning, |
|
isEnabledByDefault: true, |
|
description: Description); |
|
Friend Shared Rule As New DiagnosticDescriptor(DiagnosticIds.CompilationStartedAnalyzerWithCompilationWideAnalysisRuleId, Title, MessageFormat, DiagnosticCategories.Stateful, DiagnosticSeverity.Warning, isEnabledByDefault:=True, description:=Description) |