17 references to ConcurrentSet
Microsoft.CodeAnalysis (5)
CommandLine\TouchedFileLogger.cs (2)
23
_readFiles = new
ConcurrentSet
<string>();
24
_writtenFiles = new
ConcurrentSet
<string>();
DiagnosticAnalyzer\AnalyzerDriver.cs (2)
379
_programmaticSuppressions = HasDiagnosticSuppressors ? new
ConcurrentSet
<Suppression>() : null;
472
var suppressedDiagnosticIds = trackSuppressedDiagnosticIds ? new
ConcurrentSet
<string>() : null;
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
42
private readonly ConcurrentSet<Diagnostic> _exceptionDiagnostics = new
ConcurrentSet
<Diagnostic>();
Microsoft.CodeAnalysis.CSharp (6)
Binder\BindingDiagnosticBag.cs (1)
18
private static readonly ObjectPool<BindingDiagnosticBag> s_poolWithConcurrent = new ObjectPool<BindingDiagnosticBag>(() => new BindingDiagnosticBag(s_poolWithConcurrent!, new DiagnosticBag(), new Roslyn.Utilities.
ConcurrentSet
<AssemblySymbol>()));
Emitter\Model\PEModuleBuilder.cs (1)
33
private readonly ConcurrentSet<TypeSymbol> _reportedErrorTypesMap = new
ConcurrentSet
<TypeSymbol>();
Symbols\Compilation_UsedAssemblies.cs (1)
244
Interlocked.CompareExchange(ref _lazyUsedAssemblyReferences, new
ConcurrentSet
<AssemblySymbol>(), null);
Symbols\Source\SourceAssemblySymbol.cs (3)
102
private readonly ConcurrentSet<FieldSymbol> _unreadFields = new
ConcurrentSet
<FieldSymbol>();
109
internal ConcurrentSet<TypeSymbol> TypesReferencedInExternalMethods = new
ConcurrentSet
<TypeSymbol>();
1179
Interlocked.CompareExchange(ref _lazyOmittedAttributeIndices, new
ConcurrentSet
<int>(), null);
Microsoft.CodeAnalysis.Test.Utilities (6)
Diagnostics\CommonDiagnosticAnalyzers.cs (6)
758
internal readonly ConcurrentSet<ISymbol> CallbackSymbols =
new
();
1149
var pendingSymbols = new
ConcurrentSet
<INamedTypeSymbol>();
1882
SymbolsStarted = new
ConcurrentSet
<ISymbol>();
1979
var symbolsEnded = new
ConcurrentSet
<ISymbol>();
2403
_symbolCallbacks = new
ConcurrentSet
<ISymbol>();
2916
CanceledCompilations = new
ConcurrentSet
<Compilation>();