Esempio n. 1
0
 PortablePdbCustomDebugInfoWriter(IPortablePdbCustomDebugInfoWriterHelper helper, SerializerMethodContext methodContext, MetaData systemMetaData, BinaryWriterContext context)
 {
     this.helper         = helper;
     this.methodContext  = methodContext;
     this.systemMetaData = systemMetaData;
     this.outStream      = context.OutStream;
     this.writer         = context.Writer;
     outStream.SetLength(0);
     outStream.Position = 0;
 }
Esempio n. 2
0
        public static byte[] Write(IPortablePdbCustomDebugInfoWriterHelper helper, SerializerMethodContext methodContext, MetaData systemMetaData, PdbCustomDebugInfo cdi, BinaryWriterContext context)
        {
            var writer = new PortablePdbCustomDebugInfoWriter(helper, methodContext, systemMetaData, context);

            return(writer.Write(cdi));
        }