// dnlib: See LICENSE.txt for more info using System; namespace dnlib.DotNet.Pdb { /// /// PDB reader options /// [Flags] public enum PdbReaderOptions { /// /// No bit is set /// None = 0, /// /// Use the COM Windows PDB reader instead of the managed Windows PDB reader. /// /// This is NOT recommended since the COM reader can only be called on the same /// thread it was created on. It also requires a Windows OS. /// /// If this is not set, the managed PDB reader will be used. /// /// This option is only used if it's a Windows PDB file, not if it's a Portable PDB file. /// MicrosoftComReader = 0x00000001, /// /// Don't use Microsoft.DiaSymReader.Native. This is a NuGet package with an updated Windows PDB reader/writer implementation, /// and if it's available at runtime, dnlib will try to use it. If this option is set, dnlib won't use it. /// You have to add a reference to the NuGet package if you want to use it, dnlib has no reference to the NuGet package. /// /// Only used if is set and if it's a Windows PDB file /// NoDiaSymReader = 0x00000002, /// /// Don't use diasymreader.dll's PDB reader that is shipped with .NET Framework. /// /// Only used if is set and if it's a Windows PDB file /// NoOldDiaSymReader = 0x00000004, } }