Beispiel #1
0
        SymDocumentWriter GetDocument(Document document)
        {
            if (document == null)
            {
                return(null);
            }

            SymDocumentWriter docWriter = m_documents[document.Url] as SymDocumentWriter;

            if (docWriter != null)
            {
                return(docWriter);
            }

            docWriter = m_writer.DefineDocument(
                document.Url,
                document.Language,
                document.LanguageVendor,
                document.Type);

            m_documents [document.Url] = docWriter;
            return(docWriter);
        }
Beispiel #2
0
 public void DefineSequencePoints(SymDocumentWriter document, int[] offsets, int[] lines, int[] columns, int[] endLines, int[] endColumns)
 {
     m_writer.DefineSequencePoints(document.GetUnmanaged(), offsets.Length, offsets, lines, columns, endLines, endColumns);
 }