/// <summary>
        /// Writes the property map table.
        /// </summary>
        /// <param name="metadataSource">The metadata source.</param>
        /// <param name="metadataWriter">The metadata writer.</param>
        private static void WritePropertyMapTable(IMetadataProvider metadataSource, MetadataBuilderStage metadataWriter)
        {
            WriteTable(TokenTypes.PropertyMap, metadataSource, token =>
            {
                PropertyMapRow row = metadataSource.ReadPropertyMapRow(token);

                metadataWriter.Write(row.ParentTableIdx);
                metadataWriter.Write(row.PropertyTableIdx);
            });
        }