24 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; 465var suppressedDiagnosticIds = trackSuppressedDiagnosticIds ? new ConcurrentSet<string>() : null;
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
46private readonly ConcurrentSet<Diagnostic> _exceptionDiagnostics = new ConcurrentSet<Diagnostic>();
Microsoft.CodeAnalysis.CSharp (8)
Compilation\CSharpCompilation.cs (1)
2750builder.DependenciesBag is object ? new ConcurrentSet<AssemblySymbol>() : null);
Compiler\ClsComplianceChecker.cs (1)
75var queue = new BindingDiagnosticBag(diagnostics.DiagnosticBag, diagnostics.AccumulatesDependencies ? new ConcurrentSet<AssemblySymbol>() : null);
Emitter\Model\PEModuleBuilder.cs (1)
33private readonly ConcurrentSet<TypeSymbol> _reportedErrorTypesMap = new ConcurrentSet<TypeSymbol>();
Symbols\Compilation_UsedAssemblies.cs (2)
70var diagnostics = new BindingDiagnosticBag(DiagnosticBag.GetInstance(), new ConcurrentSet<AssemblySymbol>()); 247Interlocked.CompareExchange(ref _lazyUsedAssemblyReferences, new ConcurrentSet<AssemblySymbol>(), null);
Symbols\Source\SourceAssemblySymbol.cs (3)
103private readonly ConcurrentSet<FieldSymbol> _unreadFields = new ConcurrentSet<FieldSymbol>(); 110internal ConcurrentSet<TypeSymbol> TypesReferencedInExternalMethods = new ConcurrentSet<TypeSymbol>(); 1172Interlocked.CompareExchange(ref _lazyOmittedAttributeIndices, new ConcurrentSet<int>(), null);
Microsoft.CodeAnalysis.Test.Utilities (6)
Diagnostics\CommonDiagnosticAnalyzers.cs (6)
672internal readonly ConcurrentSet<ISymbol> CallbackSymbols = new(); 1039var pendingSymbols = new ConcurrentSet<INamedTypeSymbol>(); 1772SymbolsStarted = new ConcurrentSet<ISymbol>(); 1869var symbolsEnded = new ConcurrentSet<ISymbol>(); 2257_symbolCallbacks = new ConcurrentSet<ISymbol>(); 2590CanceledCompilations = new ConcurrentSet<Compilation>();
Microsoft.CodeAnalysis.VisualBasic (5)
Compilation\ClsComplianceChecker.vb (1)
73Dim queue = New BindingDiagnosticBag(diagnostics.DiagnosticBag, New ConcurrentSet(Of AssemblySymbol))
Compilation\VisualBasicCompilation.vb (1)
2194If(builder.AccumulatesDependencies, New ConcurrentSet(Of AssemblySymbol), Nothing))
Emit\SymbolTranslator.vb (1)
21Private ReadOnly _reportedErrorTypesMap As New ConcurrentSet(Of TypeSymbol)()
Symbols\UsedAssemblies.vb (2)
45Dim diagnostics = New BindingDiagnosticBag(DiagnosticBag.GetInstance(), New ConcurrentSet(Of AssemblySymbol)()) 196Interlocked.CompareExchange(_lazyUsedAssemblyReferences, New ConcurrentSet(Of AssemblySymbol)(), Nothing)