Exemple #1
0
 public void CheckIndexingInfo()
 {
     using (Stream s = File.OpenRead("TestBinaries/HelloWorld.pdb"))
     {
         StreamAddressSpace fileContent = new StreamAddressSpace(s);
         PDBFile            pdb         = new PDBFile(fileContent);
         Assert.True(pdb.Header.IsMagicValid.Check());
         Assert.True(pdb.IsValid());
         Assert.Equal((uint)1, pdb.Age);
         Assert.Equal(Guid.Parse("99891B3E-D7AE-4C3B-ABFF-8A2B4A9B0C43"), pdb.Signature);
     }
 }
 public override bool IsValid()
 {
     return(_pdbFile.IsValid());
 }