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; 472var suppressedDiagnosticIds = trackSuppressedDiagnosticIds ? new ConcurrentSet<string>() : null;
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
42private readonly ConcurrentSet<Diagnostic> _exceptionDiagnostics = new ConcurrentSet<Diagnostic>();
Microsoft.CodeAnalysis.CSharp (6)
Binder\BindingDiagnosticBag.cs (1)
18private 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)
33private readonly ConcurrentSet<TypeSymbol> _reportedErrorTypesMap = new ConcurrentSet<TypeSymbol>();
Symbols\Compilation_UsedAssemblies.cs (1)
244Interlocked.CompareExchange(ref _lazyUsedAssemblyReferences, new ConcurrentSet<AssemblySymbol>(), null);
Symbols\Source\SourceAssemblySymbol.cs (3)
102private readonly ConcurrentSet<FieldSymbol> _unreadFields = new ConcurrentSet<FieldSymbol>(); 109internal ConcurrentSet<TypeSymbol> TypesReferencedInExternalMethods = new ConcurrentSet<TypeSymbol>(); 1179Interlocked.CompareExchange(ref _lazyOmittedAttributeIndices, new ConcurrentSet<int>(), null);
Microsoft.CodeAnalysis.Test.Utilities (6)
Diagnostics\CommonDiagnosticAnalyzers.cs (6)
758internal readonly ConcurrentSet<ISymbol> CallbackSymbols = new(); 1149var pendingSymbols = new ConcurrentSet<INamedTypeSymbol>(); 1882SymbolsStarted = new ConcurrentSet<ISymbol>(); 1979var symbolsEnded = new ConcurrentSet<ISymbol>(); 2403_symbolCallbacks = new ConcurrentSet<ISymbol>(); 2916CanceledCompilations = new ConcurrentSet<Compilation>();