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