6 instantiations of ConcurrentSet
Microsoft.CodeAnalysis (6)
CommandLine\TouchedFileLogger.cs (2)
23
_readFiles = new
ConcurrentSet
<string>();
24
_writtenFiles = new
ConcurrentSet
<string>();
DiagnosticAnalyzer\AnalyzerDriver.cs (3)
381
_programmaticSuppressions = HasDiagnosticSuppressors ? new
ConcurrentSet
<Suppression>() : null;
382
_diagnosticsProcessedForProgrammaticSuppressions = HasDiagnosticSuppressors ? new
ConcurrentSet
<Diagnostic>(ReferenceEqualityComparer.Instance) : null;
474
var suppressedDiagnosticIds = trackSuppressedDiagnosticIds ? new
ConcurrentSet
<string>() : null;
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
42
private readonly ConcurrentSet<Diagnostic> _exceptionDiagnostics = new
ConcurrentSet
<Diagnostic>();
18 references to ConcurrentSet
Microsoft.CodeAnalysis (18)
CommandLine\TouchedFileLogger.cs (4)
18
private
ConcurrentSet
<string> _readFiles;
19
private
ConcurrentSet
<string> _writtenFiles;
67
var
readFiles = Interlocked.Exchange(
92
var
writtenFiles = Interlocked.Exchange(
DiagnosticAnalyzer\AnalyzerDriver.cs (13)
45
private readonly
ConcurrentSet
<Suppression>? _programmaticSuppressions;
50
private readonly
ConcurrentSet
<Diagnostic>? _diagnosticsProcessedForProgrammaticSuppressions;
275
private
ConcurrentSet
<string>? _lazySuppressedDiagnosticIdsForUnsuppressedAnalyzers;
282
private
ConcurrentSet
<string> SuppressedDiagnosticIdsForUnsuppressedAnalyzers
396
ConcurrentSet
<string>? suppressedDiagnosticIds,
474
var
suppressedDiagnosticIds = trackSuppressedDiagnosticIds ? new ConcurrentSet<string>() : null;
634
/// <remarks>Driver must be initialized before invoking this method, i.e. <see cref="Initialize(AnalyzerExecutor, DiagnosticQueue, CompilationData, AnalysisScope,
ConcurrentSet
{string}, CancellationToken)"/> method must have been invoked and <see cref="WhenInitializedTask"/> must be non-null.</remarks>
663
/// <remarks>Driver must be initialized before invoking this method, i.e. <see cref="Initialize(AnalyzerExecutor, DiagnosticQueue, CompilationData, AnalysisScope,
ConcurrentSet
{string}, CancellationToken)"/> method must have been invoked and <see cref="WhenInitializedTask"/> must be non-null.</remarks>
1152
static ImmutableDictionary<Diagnostic, ProgrammaticSuppressionInfo> createProgrammaticSuppressionsByDiagnosticMap(
ConcurrentSet
<Suppression> programmaticSuppressions)
1957
internal static Action<Diagnostic, CancellationToken> GetDiagnosticSink(Action<Diagnostic> addDiagnosticCore, Compilation compilation, AnalyzerOptions? analyzerOptions, SeverityFilter severityFilter,
ConcurrentSet
<string>? suppressedDiagnosticIds)
1969
internal static Action<Diagnostic, DiagnosticAnalyzer, bool, CancellationToken> GetDiagnosticSink(Action<Diagnostic, DiagnosticAnalyzer, bool> addLocalDiagnosticCore, Compilation compilation, AnalyzerOptions? analyzerOptions, SeverityFilter severityFilter,
ConcurrentSet
<string>? suppressedDiagnosticIds)
1981
internal static Action<Diagnostic, DiagnosticAnalyzer, CancellationToken> GetDiagnosticSink(Action<Diagnostic, DiagnosticAnalyzer> addDiagnosticCore, Compilation compilation, AnalyzerOptions? analyzerOptions, SeverityFilter severityFilter,
ConcurrentSet
<string>? suppressedDiagnosticIds)
1993
private static Diagnostic? GetFilteredDiagnostic(Diagnostic diagnostic, Compilation compilation, AnalyzerOptions? analyzerOptions, SeverityFilter severityFilter,
ConcurrentSet
<string>? suppressedDiagnosticIds, CancellationToken cancellationToken)
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
42
private readonly
ConcurrentSet
<Diagnostic> _exceptionDiagnostics = new ConcurrentSet<Diagnostic>();