12 references to CreateRange
Microsoft.CodeAnalysis (1)
InternalUtilities\EnumerableExtensions.cs (1)
729
return ImmutableDictionary.
CreateRange
(keyComparer, items);
Microsoft.CodeAnalysis.CodeStyle (5)
src\Compilers\Core\Portable\InternalUtilities\EnumerableExtensions.cs (1)
729
return ImmutableDictionary.
CreateRange
(keyComparer, items);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BidirectionalMap.cs (4)
24
: this(forwardMap: ImmutableDictionary.
CreateRange
(keyComparer, pairs),
25
backwardMap: ImmutableDictionary.
CreateRange
(valueComparer, pairs.Select(static p => KeyValuePairUtil.Create(p.Value, p.Key))))
30
: this(forwardMap: ImmutableDictionary.
CreateRange
(keyComparer, pairs.Select(static p => KeyValuePairUtil.Create(p.key, p.value))),
31
backwardMap: ImmutableDictionary.
CreateRange
(valueComparer, pairs.Select(static p => KeyValuePairUtil.Create(p.value, p.key))))
Microsoft.CodeAnalysis.Workspaces (5)
src\Compilers\Core\Portable\InternalUtilities\EnumerableExtensions.cs (1)
729
return ImmutableDictionary.
CreateRange
(keyComparer, items);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BidirectionalMap.cs (4)
24
: this(forwardMap: ImmutableDictionary.
CreateRange
(keyComparer, pairs),
25
backwardMap: ImmutableDictionary.
CreateRange
(valueComparer, pairs.Select(static p => KeyValuePairUtil.Create(p.Value, p.Key))))
30
: this(forwardMap: ImmutableDictionary.
CreateRange
(keyComparer, pairs.Select(static p => KeyValuePairUtil.Create(p.key, p.value))),
31
backwardMap: ImmutableDictionary.
CreateRange
(valueComparer, pairs.Select(static p => KeyValuePairUtil.Create(p.value, p.key))))
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Compilers\Core\Portable\InternalUtilities\EnumerableExtensions.cs (1)
729
return ImmutableDictionary.
CreateRange
(keyComparer, items);