private void updateManifest(TextReader reader)
        {
            int num = 0;

            for (string text = reader.ReadLine(); text != null; text = reader.ReadLine())
            {
                num++;
                int num2 = text.IndexOf(':');
                if (num2 > 0)
                {
                    string text2 = text.Substring(num2 + 1);
                    if (text.StartsWith("asset"))
                    {
                        AssetEntry value = AssetEntry.Parse(text2);
                        AssetEntryMap.Add(value.Key, value);
                    }
                    else if (text.StartsWith("bundle"))
                    {
                        BundleEntry value2 = BundleEntry.Parse(text2);
                        BundleEntryMap.Add(value2.Key, value2);
                    }
                    else if (text.StartsWith("baseuri"))
                    {
                        BaseUri = text2;
                    }
                    else if (text.StartsWith("contentmanifesthash"))
                    {
                        ContentManifestHash = text2;
                    }
                    else
                    {
                        if (!text.StartsWith("contentversion"))
                        {
                            throw new ContentManifestException("Unknown URI scheme on line " + num + ": " + text);
                        }
                        ContentVersion = text2;
                    }
                }
            }
        }