mirror of
https://github.com/github/codeql.git
synced 2026-05-01 11:45:14 +02:00
Code quality improvement
This commit is contained in:
@@ -6,7 +6,7 @@ namespace Semmle.Extraction.CSharp.Entities
|
||||
{
|
||||
internal class CompilerDiagnostic : FreshEntity
|
||||
{
|
||||
private static readonly int limit = EnvironmentVariables.TryGetExtractorOption<int>("COMPILER_DIAGNOSTIC_LIMIT") ?? 1000;
|
||||
private static readonly int limit = EnvironmentVariables.TryGetExtractorNumberOption<int>("COMPILER_DIAGNOSTIC_LIMIT") ?? 1000;
|
||||
private static readonly ConcurrentDictionary<string, int> messageCounts = new();
|
||||
|
||||
private readonly Microsoft.CodeAnalysis.Diagnostic diagnostic;
|
||||
|
||||
Reference in New Issue
Block a user