Skip to content

Commit

Permalink
Address warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
annelo-msft committed Aug 11, 2023
1 parent bc5bc51 commit ce00057
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ public sealed class BannedTypesAnalyzer : SymbolAnalyzerBase
SymbolKind.Property,
};

// Note: suppressing warnings because they are handled in base.Initialize().
#pragma warning disable RS1025 // Configure generated code analysis
#pragma warning disable RS1026 // Enable concurrent execution
public override void Initialize(AnalysisContext context)
#pragma warning restore RS1026 // Enable concurrent execution
#pragma warning restore RS1025 // Configure generated code analysis
{
base.Initialize(context);

Expand Down

0 comments on commit ce00057

Please sign in to comment.