21 references to AddAll
Microsoft.CodeAnalysis (4)
Binding\UseSiteInfo.cs (4)
347
(_dependencies ??= new HashSet<TAssemblySymbol>()).
AddAll
(info.SecondaryDependencies);
366
(_dependencies ??= new HashSet<TAssemblySymbol>()).
AddAll
(dependencies);
375
(_dependencies ??= new HashSet<TAssemblySymbol>()).
AddAll
(dependencies);
427
self.
AddAll
(other);
Microsoft.CodeAnalysis.CSharp (15)
Binder\Imports.cs (1)
205
replacedExternAliases.
AddAll
(externs2.Select(e => e.Alias.Name));
Compilation\CSharpCompilation.cs (1)
1651
uniqueUsings.
AddAll
(usingsFromoptions.UsingNamespacesOrTypes.Select(static unt => unt.NamespaceOrType));
FlowAnalysis\VariablesDeclaredWalker.cs (1)
217
_variablesDeclared.
AddAll
(node.IterationVariables);
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (2)
151
capturedEnvs.
AddAll
(function.CapturedEnvironments);
416
closuresCapturingScopeVariables[currentScope].
AddAll
(capturingClosures);
Symbols\Source\LambdaSymbol.cs (2)
307
_declarationDependencies.
AddAll
(diagnostics.DependenciesBag);
323
_declarationDependencies.
AddAll
(dependenciesBag);
Symbols\Source\LocalFunctionSymbol.cs (5)
89
_declarationDependencies.
AddAll
(diagnostics.DependenciesBag);
160
_declarationDependencies.
AddAll
(dependenciesBag);
228
_declarationDependencies.
AddAll
(diagnostics.DependenciesBag);
307
_declarationDependencies.
AddAll
(diagnostics.DependenciesBag);
513
_declarationDependencies.
AddAll
(diagnostics.DependenciesBag);
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (3)
326
uniqueUsings.
AddAll
(namespacesOrTypes.Select(n => n.NamespaceOrType));
868
uniqueUsings.
AddAll
(globalUsingNamespacesOrTypes.Select(n => n.NamespaceOrType));
879
uniqueUsings.
AddAll
(globalUsingNamespacesOrTypes.Where(n => n.UsingDirectiveReference?.SyntaxTree != tree).Select(n => n.NamespaceOrType));
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
Extensions.cs (1)
905
useSiteDiagnostics.
AddAll
(useSiteInfo.Diagnostics);
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\ControlFlowGraphVerifier.cs (1)
758
entryState.
AddAll
(state);