using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Xml.Serialization; namespace OpenCover.Framework.Model { /// /// A reference to a tracked method /// public class TrackedMethodRef { /// /// unique id assigned /// [XmlAttribute("uid")] public UInt32 UniqueId { get; set; } /// /// The visit count /// [XmlAttribute("vc")] public int VisitCount { get; set; } } /// /// A method being tracked /// [Serializable] public sealed class TrackedMethod { /// /// unique id assigned /// [XmlAttribute("uid")] public UInt32 UniqueId { get; set; } /// /// The MetadataToken used to identify this entity within the assembly /// [XmlAttribute("token")] public int MetadataToken { get; set; } /// /// The name of the method being tracked /// [XmlAttribute("name")] public string FullName { get; set; } /// /// The reason/plugin why the method is being tracked /// [XmlAttribute("strategy")] public string Strategy { get; set; } } }