Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Management.Automation;
using System.Management.Automation.Remoting;
using System.Management.Automation.Runspaces;
Expand Down Expand Up @@ -85,7 +84,7 @@ private static Dictionary<string, List<string>> GetTypeGroupMap(IEnumerable<Type
// first type group will take effect. So we skip the rest groups that have the same name.
if (!typeGroupMap.ContainsKey(typeGroup.name))
{
var typesInGroup = typeGroup.typeReferenceList.Select(static typeReference => typeReference.name).ToList();
var typesInGroup = typeGroup.typeReferenceList.ConvertAll(static typeReference => typeReference.name);
typeGroupMap.Add(typeGroup.name, typesInGroup);
}
}
Expand Down