internal void Write(PdbWriter writer)
 {
     foreach (var function in functions)
     {
         function.Write(writer);
     }
 }
        /// <summary>
        /// Write the pdb to a file.
        /// </summary>
        /// <param name="fileName">The file name to write the pdb into.</param>
        /// <param name="metadataProvider">The metadata provider for the managed metadata.</param>
        public void Write(string fileName, IMetadataProvider metadataProvider)
        {
            if (fileName == null)
            {
                throw new ArgumentNullException("fileName");
            }
            if (metadataProvider == null)
            {
                throw new ArgumentNullException("metadataProvider");
            }

            using (var writer = new PdbWriter(fileName, metadataProvider))
                Write(writer);

            WriteHeader(fileName);
        }
Beispiel #3
0
 internal void Write(PdbWriter writer)
 {
     writer.Write(this);
 }