4 references to ToHashSet
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpHeaders.cs (1)
119
ICollection<string> IDictionary<string, StringValues>.Keys => ((IDictionary<string, StringValues>)this).Select(pair => pair.Key).
ToHashSet
(StringComparer.OrdinalIgnoreCase);
Microsoft.Build (2)
BackEnd\Components\RequestBuilder\Lookup.cs (1)
664
var existingItemsHashSet = existingItems.
ToHashSet
(ProjectItemInstance.EqualityComparer);
BackEnd\Components\SdkResolution\SdkResolverLoader.cs (1)
151
HashSet<DirectoryInfo> overrideFolders = resolversDirInfo.GetDirectories().
ToHashSet
(new DirInfoNameComparer());
System.Linq (1)
System\Linq\ToCollection.cs (1)
251
public static HashSet<TSource> ToHashSet<TSource>(this IEnumerable<TSource> source) => source.
ToHashSet
(comparer: null);