/// <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; }
public static bool IsEndInclusive(PdbFileKind pdbFileKind, Compiler compiler) => pdbFileKind == PdbFileKind.WindowsPDB && compiler == Compiler.VisualBasic;
public PortablePdbReader(DataReaderFactory pdbStream, PdbFileKind pdbFileKind) { this.pdbFileKind = pdbFileKind; pdbMetadata = MetadataFactory.CreateStandalonePortablePDB(pdbStream, true); }
public PortablePdbReader(IImageStream pdbStream, PdbFileKind pdbFileKind) { this.pdbFileKind = pdbFileKind; pdbMetaData = MetaDataCreator.CreateStandalonePortablePDB(pdbStream, true); }