Skip to content

Commit

Permalink
Add CompilationEnd tag to VSTHRD010 analyzer
Browse files Browse the repository at this point in the history
Fixes #1113
  • Loading branch information
AArnott committed Nov 21, 2022
1 parent 0c29013 commit 0443ebe
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ public class VSTHRD010MainThreadUsageAnalyzer : DiagnosticAnalyzer
helpLinkUri: Utils.GetHelpLink(Id),
category: "Usage",
defaultSeverity: DiagnosticSeverity.Warning,
isEnabledByDefault: true);
isEnabledByDefault: true,
customTags: "CompilationEnd" /*WellKnownDiagnosticTags.CompilationEnd*/);

/// <summary>
/// The descriptor to use for diagnostics reported in async methods.
Expand All @@ -76,7 +77,8 @@ public class VSTHRD010MainThreadUsageAnalyzer : DiagnosticAnalyzer
helpLinkUri: Utils.GetHelpLink(Id),
category: "Usage",
defaultSeverity: DiagnosticSeverity.Warning,
isEnabledByDefault: true);
isEnabledByDefault: true,
customTags: "CompilationEnd" /*WellKnownDiagnosticTags.CompilationEnd*/);

/// <summary>
/// A reusable value to return from <see cref="SupportedDiagnostics"/>.
Expand Down

0 comments on commit 0443ebe

Please sign in to comment.