internal static IEnumerable <ExportPackageItem> GetAssetItemsForExport(ICollection <string> guids, bool includeDependencies)
{
if (guids.Count == 0)
{
string[] collection = new string[0];
guids = new HashSet <string>(AssetServer.CollectAllChildren(AssetServer.GetRootGUID(), collection));
}
ExportPackageItem[] itemArray = PackageUtility.BuildExportPackageItemsList(guids.ToArray <string>(), includeDependencies);
if (includeDependencies)
{
if (< > f__am$cache0 == null)
{