#nullable disable // Temporary: should be removed and issues fixed manually using System; using System.Collections.Generic; using System.Linq; namespace GitHub.Actions.WorkflowParser { internal static class EnumerableExtensions { /// /// Creates a HashSet with equality comparer based on the elements /// in , using transformation function . /// public static HashSet ToHashSet( this IEnumerable source, Func selector, IEqualityComparer comparer) { return new HashSet(source.Select(selector), comparer); } } }