public CodeViewModuleReader(Context ctx, ModuleInfo mod, Stream stream) : base(stream) { this.ctx = ctx; this.mod = mod; CodeViewSignature signature = ReadEnum <CodeViewSignature>(); if (signature != CodeViewSignature.C13) { throw new NotImplementedException($"CodeView {signature} not supported yet"); } lazySymbols = new Lazy <IEnumerable <Symbol> >(ReadSymbols); }
public CodeViewModuleReader(IServiceContainer ctx, ModuleInfo mod, SpanStream stream) : base(stream) { this.ctx = ctx; this.mod = mod; CodeViewSignature signature = ReadEnum <CodeViewSignature>(); if (signature != CodeViewSignature.C13) { throw new NotImplementedException($"CodeView {signature} not supported yet"); } lazySymbols = LazyFactory.CreateLazy(ReadSymbols); }