src/sys/dotnet/perwapi/PERWAPI.cs
/// <summary>
/// Write this instruction to a PDB file.
/// </summary>
/// <param name="output">The PE writer being used to write the PE and PDB files.</param>
Write this instruction to a PDB file.
Write this instruction to a PDB file .
internal override void Write(PEWriter output) {
            string sf = "";
            Guid doclang = Guid.Empty;
            Guid docvend = Guid.Empty;
            Guid doctype = Guid.Empty;
            if (sourceFile != null) {
                sf = sourceFile.name;
                doclang = sourceFile.language;
                docvend = sourceFile.vendor;
                doctype = sourceFile.document;
            }
            if (output.pdbWriter != null)
                output.pdbWriter.AddSequencePoint(sf, doclang, docvend, doctype, offset,
                    startLine, startCol, endLine, endCol);
        }
internal override void Write ( PEWriter output ) { string sf = " " ; Guid doclang = Guid . Empty ; Guid docvend = Guid . Empty ; Guid doctype = Guid . Empty ; if ( sourceFile != null ) { sf = sourceFile . name ; doclang = sourceFile . language ; docvend = sourceFile . vendor ; doctype = sourceFile . document ; } if ( output . pdbWriter != null ) output . pdbWriter . AddSequencePoint ( sf , doclang , docvend , doctype , offset , startLine , startCol , endLine , endCol ) ; }
Write this instruction to a PDB file.
Write this instruction to a PDB file .
output
PEWriter
The PE writer being used to write the PE and PDB files.
The PE writer being used to write the PE and PDB files .