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)
1589
uniqueUsings.
AddAll
(usingsFromoptions.UsingNamespacesOrTypes.Select(static unt => unt.NamespaceOrType));
FlowAnalysis\VariablesDeclaredWalker.cs (1)
135
_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)
302
_declarationDependencies.
AddAll
(diagnostics.DependenciesBag);
318
_declarationDependencies.
AddAll
(dependenciesBag);
Symbols\Source\LocalFunctionSymbol.cs (5)
88
_declarationDependencies.
AddAll
(diagnostics.DependenciesBag);
159
_declarationDependencies.
AddAll
(dependenciesBag);
227
_declarationDependencies.
AddAll
(diagnostics.DependenciesBag);
305
_declarationDependencies.
AddAll
(diagnostics.DependenciesBag);
496
_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);