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