Пример #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="module">Module</param>
 /// <param name="pdbFileKind">PDB file kind</param>
 public PdbState(ModuleDef module, PdbFileKind pdbFileKind)
 {
     if (module == null)
     {
         throw new ArgumentNullException("module");
     }
     this.compiler = CalculateCompiler(module);
     PdbFileKind   = pdbFileKind;
 }
Пример #2
0
 public static bool IsEndInclusive(PdbFileKind pdbFileKind, Compiler compiler) =>
 pdbFileKind == PdbFileKind.WindowsPDB && compiler == Compiler.VisualBasic;
Пример #3
0
 public PortablePdbReader(DataReaderFactory pdbStream, PdbFileKind pdbFileKind)
 {
     this.pdbFileKind = pdbFileKind;
     pdbMetadata      = MetadataFactory.CreateStandalonePortablePDB(pdbStream, true);
 }
Пример #4
0
 public PortablePdbReader(IImageStream pdbStream, PdbFileKind pdbFileKind)
 {
     this.pdbFileKind = pdbFileKind;
     pdbMetaData      = MetaDataCreator.CreateStandalonePortablePDB(pdbStream, true);
 }