src/vs/workbench/services/extensions/common/extensions.ts/extensionIdentifiersArrayToSet
export function extensionIdentifiersArrayToSet(extensionIds: ExtensionIdentifier[]): Set<string> {
	const result = new Set<string>();
	for (const extensionId of extensionIds) {
		result.add(ExtensionIdentifier.toKey(extensionId));
	}
	return result;
}