Click here to Skip to main content
14,216,282 members
Click here to Skip to main content
Articles » Languages » C# » Applications » Downloads

Tagged as

Stats

69K views
2.2K downloads
108 bookmarked

Building .NET Coverage Tool

,
Rate this:
4.94 (33 votes)
Please Sign up or sign in to vote.
4.94 (33 votes)
25 Aug 2009     MIT    
This article is a walkthrough for building a .NET coverage tool
TestApp
TestApp.exe
TestApp.pdb
Tool
Coverage.Counter.dll
Coverage.exe
Mono.Cecil.dll
Mono.Tools.Pdb2Mdb.dll
Coverage
Common
Instrument
Properties
Report
Coverage.Counter
Properties
Mono.Cecil
src
AUTHORS
ChangeLog
CodeGen
cecil-update-rev
templates
configure
default.build
Makefile
mono-cecil.pc.in
Mono.Cecil
Mono.Cecil.Binary
Mono.Cecil.Cil
Mono.Cecil.dll.sources
Mono.Cecil.Metadata
Mono.Cecil.Signatures
Mono.Xml
ChangeLog
NEWS
README
standalone.make
TODO
Mono.Tools.Pdb2Mdb
Properties
src
ChangeLog
LICENSE
Makefile
pdb2mdb.exe.sources
//-----------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation.  All Rights Reserved.
//
//-----------------------------------------------------------------------------
using System;

namespace Microsoft.Cci.Pdb {
  internal struct DbiDbgHdr {
    internal DbiDbgHdr(BitAccess bits) {
      bits.ReadUInt16(out snFPO);
      bits.ReadUInt16(out snException);
      bits.ReadUInt16(out snFixup);
      bits.ReadUInt16(out snOmapToSrc);
      bits.ReadUInt16(out snOmapFromSrc);
      bits.ReadUInt16(out snSectionHdr);
      bits.ReadUInt16(out snTokenRidMap);
      bits.ReadUInt16(out snXdata);
      bits.ReadUInt16(out snPdata);
      bits.ReadUInt16(out snNewFPO);
      bits.ReadUInt16(out snSectionHdrOrig);
    }

    internal ushort snFPO;                 // 0..1
    internal ushort snException;           // 2..3 (deprecated)
    internal ushort snFixup;               // 4..5
    internal ushort snOmapToSrc;           // 6..7
    internal ushort snOmapFromSrc;         // 8..9
    internal ushort snSectionHdr;          // 10..11
    internal ushort snTokenRidMap;         // 12..13
    internal ushort snXdata;               // 14..15
    internal ushort snPdata;               // 16..17
    internal ushort snNewFPO;              // 18..19
    internal ushort snSectionHdrOrig;      // 20..21
  }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The MIT License

Share

About the Author

Sergiy Sakharov
Software Developer (Senior)
United Kingdom United Kingdom
No Biography provided

Layout: fixed | fluid

Article Copyright 2009 by Sergiy Sakharov
Everything else Copyright © CodeProject, 1999-2019

Server Web01
Version 2.8.190619.2