Skip to content

Commit

Permalink
Merge pull request #1114 from AArnott/fix1113
Browse files Browse the repository at this point in the history
Add CompilationEnd tag to VSTHRD010 analyzer
  • Loading branch information
AArnott authored Nov 21, 2022
2 parents 0c29013 + 0443ebe commit ccb3fd2
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 ccb3fd2

Please sign in to comment.