26 references to AddRange
Microsoft.Build (1)
CopyOnWriteDictionary.cs (1)
82_backing = b.AddRange((KeyValuePair<string, V>[])v);
Microsoft.Build.Engine.UnitTests (3)
Graph\GraphTestingUtilities.cs (3)
95node.ProjectInstance.GlobalProperties.ShouldBeSameIgnoringOrder(EmptyGlobalProperties.AddRange(additionalGlobalProperties)); 106outerBuild.ProjectInstance.GlobalProperties.ShouldBeSameIgnoringOrder(EmptyGlobalProperties.AddRange(additionalGlobalProperties)); 127.AddRange(additionalGlobalProperties));
Microsoft.Build.Tasks.Core (1)
CopyOnWriteDictionary.cs (1)
82_backing = b.AddRange((KeyValuePair<string, V>[])v);
Microsoft.Build.Utilities.Core (1)
CopyOnWriteDictionary.cs (1)
82_backing = b.AddRange((KeyValuePair<string, V>[])v);
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\CompilerAnalyzerConfigOptionsProvider.cs (1)
35=> new CompilerAnalyzerConfigOptionsProvider(_treeDict.AddRange(treeDict), GlobalOptions);
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\Helpers\DiagnosticHelper.cs (1)
217properties = properties.AddRange(tagIndices.Select(kvp => new KeyValuePair<string, string?>(kvp.Key, EncodeIndices(kvp.Value, additionalLocations.Count()))));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
128.AddRange(alternativeEntries.Select(static p => KeyValuePairUtil.Create(p.name, p.value)));
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\Helpers\DiagnosticHelper.cs (1)
217properties = properties.AddRange(tagIndices.Select(kvp => new KeyValuePair<string, string?>(kvp.Key, EncodeIndices(kvp.Value, additionalLocations.Count()))));
Microsoft.CodeAnalysis.Workspaces (3)
Diagnostics\DiagnosticData.cs (1)
237(additionalProperties == null) ? diagnostic.Properties : diagnostic.Properties.AddRange(additionalProperties),
Diagnostics\HostDiagnosticAnalyzers.cs (1)
88var map = _hostAnalyzerReferencesMap.AddRange(CreateProjectAnalyzerReferencesMap(project.AnalyzerReferences));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
128.AddRange(alternativeEntries.Select(static p => KeyValuePairUtil.Create(p.name, p.value)));
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
MSBuild\MSBuildProjectLoader.cs (2)
50Properties = Properties.AddRange(properties); 72Properties = Properties.AddRange(properties);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
Build\ProjectBuildManager.cs (2)
79=> s_defaultGlobalProperties.AddRange(_additionalGlobalProperties); 175var allProperties = s_defaultGlobalProperties.RemoveRange(globalProperties.Keys).AddRange(globalProperties);
MSBuild (1)
CopyOnWriteDictionary.cs (1)
82_backing = b.AddRange((KeyValuePair<string, V>[])v);
System.Collections.Immutable (7)
System\Collections\Immutable\ImmutableDictionary.cs (5)
64return ImmutableDictionary<TKey, TValue>.Empty.AddRange(items); 77return ImmutableDictionary<TKey, TValue>.Empty.WithComparers(keyComparer).AddRange(items); 91return ImmutableDictionary<TKey, TValue>.Empty.WithComparers(keyComparer, valueComparer).AddRange(items); 149.AddRange(source.Select(element => new KeyValuePair<TKey, TValue>(keySelector(element), elementSelector(element)))); 240return ImmutableDictionary<TKey, TValue>.Empty.WithComparers(keyComparer, valueComparer).AddRange(source);
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (1)
21/// While <see cref="ImmutableDictionary{TKey, TValue}.AddRange(IEnumerable{KeyValuePair{TKey, TValue}})"/>
System\Collections\Immutable\ImmutableDictionary_2.cs (1)
532return this.AddRange(pairs);
System.Windows.Forms.Analyzers.CSharp.Tests (1)
CompilerAnalyzerConfigOptionsProvider.cs (1)
40=> new(_treeDict.AddRange(treeDict), GlobalOptions);