private static void ProcessNonResidentListAttributes(RawDisk disk, FileRecord rec) { // First, take all LIST attributes foreach (Attribute attrib in rec.Attributes) { if (attrib.Type != AttributeType.ATTRIBUTE_LIST || attrib.NonResidentFlag != ResidentFlag.NonResident) { continue; } AttributeList list = (AttributeList)attrib; // Parse attributes from elsewhere on disk list.ParseAttributeNonResidentBody(disk); } }