diff --git a/xml/System.Reflection.PortableExecutable/DebugDirectoryBuilder.xml b/xml/System.Reflection.PortableExecutable/DebugDirectoryBuilder.xml index f540465632e..f6751828cd8 100644 --- a/xml/System.Reflection.PortableExecutable/DebugDirectoryBuilder.xml +++ b/xml/System.Reflection.PortableExecutable/DebugDirectoryBuilder.xml @@ -37,7 +37,7 @@ - To be added. + Initializes a new instance of the class. To be added. @@ -65,11 +65,14 @@ - To be added. - To be added. - To be added. - To be added. + The path to the PDB. It should not be empty. + The unique id of the PDB content. + The version of Portable PDB format (e.g. 0x0100 for 1.0), or 0 if the PDB is not portable. + Adds a CodeView entry. To be added. + is . + contains a NUL character. + is smaller than 0x0100. @@ -95,10 +98,12 @@ - To be added. - To be added. - To be added. + A Portable PDB metadata builder. + The version of Portable PDB format (e.g. 0x0100 for 1.0). + Adds an Embedded Portable PDB entry. To be added. + is . + is smaller than 0x0100. @@ -123,10 +128,10 @@ - To be added. - To be added. - To be added. - To be added. + The entry type. + The entry version. + The entry stamp. + Adds an entry of the specified type. To be added. @@ -157,13 +162,13 @@ - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. - To be added. + The type of the data passed to . + The entry type. + The entry version. + The entry stamp. + The data to pass to . + A serializer for serializing data to a . + Adds an entry of the specified type and serializes its data. To be added. @@ -188,10 +193,12 @@ - To be added. - To be added. - To be added. + The hash algorithm name (for example, "SHA256"). + The checksum. + Adds PDB checksum entry. To be added. + or is . + or is empty. @@ -214,7 +221,7 @@ - To be added. + Adds a reproducible entry. To be added. diff --git a/xml/System.Reflection.PortableExecutable/DebugDirectoryEntry.xml b/xml/System.Reflection.PortableExecutable/DebugDirectoryEntry.xml index 0a3ef9e5a5d..74156e5756a 100644 --- a/xml/System.Reflection.PortableExecutable/DebugDirectoryEntry.xml +++ b/xml/System.Reflection.PortableExecutable/DebugDirectoryEntry.xml @@ -23,7 +23,7 @@ - To be added. + Identifies the location, size and format of a block of debug information. To be added. @@ -60,7 +60,7 @@ To be added. To be added. To be added. - To be added. + Initializes a new instance of the structure. To be added. @@ -84,8 +84,8 @@ System.Int32 - To be added. - To be added. + Gets the file pointer to the debug data. + The file pointer to the debug data. To be added. @@ -109,8 +109,8 @@ System.Int32 - To be added. - To be added. + Gets the address of the debug data when loaded, relative to the image base. + The address of the debug data relative to the image base. To be added. @@ -134,8 +134,8 @@ System.Int32 - To be added. - To be added. + Gets the size of the debug data (not including the debug directory itself). + the size of the debug data (excluding the debug directory). To be added. @@ -158,8 +158,8 @@ System.Boolean - To be added. - To be added. + Gets a value that indicates if the entry is a entry that points to a Portable PDB. + if the entry is a entry pointing to a Portable PDB; otherwise, . To be added. @@ -183,8 +183,8 @@ System.UInt16 - To be added. - To be added. + Gets the major version number of the debug data format. + The major version number of the debug data format. To be added. @@ -208,8 +208,8 @@ System.UInt16 - To be added. - To be added. + Gets the minor version number of the debug data format. + The minor version number of the debug data format. To be added. @@ -233,9 +233,17 @@ System.UInt32 - To be added. - To be added. - To be added. + Get the time and date that the debug data was created if the PE/COFF file is not deterministic; otherwise, gets a value based on the hash of the content. + for a non-deterministic PE/COFF file, the time and date that the debug data was created; otherwise, a value based on the hash of the content. + + + @@ -258,8 +266,8 @@ System.Reflection.PortableExecutable.DebugDirectoryEntryType - To be added. - To be added. + Gets the format of the debugging information. + The format of the debugging information. To be added. diff --git a/xml/System.Reflection.PortableExecutable/DebugDirectoryEntryType.xml b/xml/System.Reflection.PortableExecutable/DebugDirectoryEntryType.xml index 8388cd19afc..02cc5cd858e 100644 --- a/xml/System.Reflection.PortableExecutable/DebugDirectoryEntryType.xml +++ b/xml/System.Reflection.PortableExecutable/DebugDirectoryEntryType.xml @@ -18,7 +18,30 @@ To be added. - To be added. + + must have all fields except for zeroed. + + ]]> + @@ -42,7 +65,7 @@ 2 - To be added. + Associated PDB file description. @@ -66,7 +89,7 @@ 1 - To be added. + The COFF debug information (line numbers, symbol table, and string table). This type of debug information is also pointed to by fields in the file headers. @@ -89,7 +112,7 @@ 17 - To be added. + The entry points to a blob containing Embedded Portable PDB. The Embedded Portable PDB blob has the following format:- blob ::= uncompressed-size data- Data spans the remainder of the blob and contains a Deflate-compressed Portable PDB. @@ -110,7 +133,7 @@ 19 - To be added. + The entry stores a crypto hash of the content of the symbol file the PE/COFF file was built with. The hash can be used to validate that a given PDB file was built with the PE/COFF file and not altered in any way. More than one entry can be present if multiple PDBs were produced during the build of the PE/COFF file (e.g. private and public symbols). @@ -134,7 +157,7 @@ 16 - To be added. + The presence of this entry indicates a deterministic PE/COFF file. See the Remarks section for more information. @@ -158,7 +181,7 @@ 0 - To be added. + An unknown value that should be ignored by all tools.