33 references to AddRange
Microsoft.CodeAnalysis.Workspaces (33)
CodeFixes\FixAllOccurrences\BatchFixAllProvider.cs (1)
187result.AddRange(await task.ConfigureAwait(false));
CodeFixes\FixAllOccurrences\FixAllContextHelper.cs (1)
89builder.AddRange(diagnostics);
CodeFixes\FixAllOccurrences\FixAllState.FixMultipleDiagnosticProvider.cs (2)
46allDiagnosticsBuilder.AddRange(diagnostics); 53allDiagnosticsBuilder.AddRange(diagnostics);
Diagnostics\DiagnosticAnalysisResult.cs (3)
227builder.AddRange(data); 230builder.AddRange(data); 233builder.AddRange(data);
FindSymbols\Declarations\DeclarationFinder.cs (2)
63list.AddRange(FilterByCriteria(symbolsWithName, filter)); 88list.AddRange(symbols);
FindSymbols\FindReferences\BaseTypeFinder.cs (2)
23results.AddRange(symbol.ExplicitOrImplicitInterfaceImplementations()); 73results.AddRange(member.ExplicitOrImplicitInterfaceImplementations());
FindSymbols\SymbolFinder_Declarations_CustomQueries.cs (1)
63result.AddRange(symbols);
Rename\ConflictEngine\DeclarationConflictHelpers.cs (2)
64builder.AddRange(conflictingSymbol.Locations); 69builder.AddRange(conflictingSymbol.Locations);
Rename\IRenameRewriterLanguageService.cs (1)
148conflicts.AddRange(conflictingParameter.Locations);
Rename\SymbolicRenameLocations.cs (2)
101mergedLocations.AddRange(strings.NullToEmpty()); 102mergedLocations.AddRange(comments.NullToEmpty());
src\Compilers\Core\Portable\Collections\ImmutableArrayExtensions.cs (4)
294builder.AddRange(selector(item)); 341builder.AddRange(selector(item)); 403builder.AddRange(await selector(item, arg, cancellationToken).ConfigureAwait(false)); 799builder.AddRange(kvp.Value);
src\Compilers\Core\Portable\Collections\TemporaryArray`1.cs (2)
180_builder.AddRange(items); 194_builder.AddRange(items);
src\Compilers\Core\Portable\InternalUtilities\OneOrMany.cs (1)
106builder.AddRange(_many);
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
609AddRange(ImmutableArray<T>.CastUp(items));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ICompilationExtensions.cs (1)
61builder.AddRange(referencedAssemblySymbols);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (3)
431results.AddRange(symbol.GetTypeParameters()); 449results.AddRange(symbol.GetTypeArguments()); 454results.AddRange(containingType.GetTypeArguments());
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\NameGenerator.cs (3)
49result.AddRange(names); 69isFixedBuilder.AddRange(isFixed); 70result.AddRange(names);
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (1)
879builder.AddRange(result.Diagnostics);