4 references to ToHashSet
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpHeaders.cs (1)
119ICollection<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)
664var existingItemsHashSet = existingItems.ToHashSet(ProjectItemInstance.EqualityComparer);
BackEnd\Components\SdkResolution\SdkResolverLoader.cs (1)
151HashSet<DirectoryInfo> overrideFolders = resolversDirInfo.GetDirectories().ToHashSet(new DirInfoNameComparer());
System.Linq (1)
System\Linq\ToCollection.cs (1)
251public static HashSet<TSource> ToHashSet<TSource>(this IEnumerable<TSource> source) => source.ToHashSet(comparer: null);