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); 427self.AddAll(other);
Microsoft.CodeAnalysis.CSharp (15)
Binder\Imports.cs (1)
205replacedExternAliases.AddAll(externs2.Select(e => e.Alias.Name));
Compilation\CSharpCompilation.cs (1)
1589uniqueUsings.AddAll(usingsFromoptions.UsingNamespacesOrTypes.Select(static unt => unt.NamespaceOrType));
FlowAnalysis\VariablesDeclaredWalker.cs (1)
135_variablesDeclared.AddAll(node.IterationVariables);
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (2)
151capturedEnvs.AddAll(function.CapturedEnvironments); 416closuresCapturingScopeVariables[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)
326uniqueUsings.AddAll(namespacesOrTypes.Select(n => n.NamespaceOrType)); 868uniqueUsings.AddAll(globalUsingNamespacesOrTypes.Select(n => n.NamespaceOrType)); 879uniqueUsings.AddAll(globalUsingNamespacesOrTypes.Where(n => n.UsingDirectiveReference?.SyntaxTree != tree).Select(n => n.NamespaceOrType));
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
Extensions.cs (1)
905useSiteDiagnostics.AddAll(useSiteInfo.Diagnostics);
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\ControlFlowGraphVerifier.cs (1)
758entryState.AddAll(state);