/// <summary>
        /// Writes the property table.
        /// </summary>
        /// <param name="metadataSource">The metadata source.</param>
        /// <param name="metadataWriter">The metadata writer.</param>
        private static void WritePropertyTable(IMetadataProvider metadataSource, MetadataBuilderStage metadataWriter)
        {
            WriteTable(TokenTypes.Property, metadataSource, token =>
            {
                PropertyRow row = metadataSource.ReadPropertyRow(token);

                metadataWriter.Write((ushort)row.Flags);
                metadataWriter.Write(row.NameStringIdx);
                metadataWriter.Write(row.TypeBlobIdx);
            });
        }