Esempio n. 1
0
		public ISymbolDocument[] GetDocuments() {
			uint numDocs;
			reader.GetDocuments(0, out numDocs, null);
			var unDocs = new ISymUnmanagedDocument[numDocs];
			reader.GetDocuments((uint)unDocs.Length, out numDocs, unDocs);
			var docs = new ISymbolDocument[numDocs];
			for (uint i = 0; i < numDocs; i++)
				docs[i] = new SymbolDocument(unDocs[i]);
			return docs;
		}
Esempio n. 2
0
 public ISymbolDocument[] GetDocuments()
 {
     uint numDocs;
     reader.GetDocuments(0, out numDocs, null);
     var unDocs = new ISymUnmanagedDocument[numDocs];
     reader.GetDocuments((uint)unDocs.Length, out numDocs, unDocs);
     var docs = new ISymbolDocument[numDocs];
     for (uint i = 0; i < numDocs; i++)
         docs[i] = new SymbolDocument(unDocs[i]);
     return docs;
 }