namespace Semmle.Extraction.PDB
{
///
/// A sequencepoint is a marker in the source code where you can put a breakpoint, and
/// maps instructions to source code.
///
public struct SequencePoint
{
///
/// The byte-offset of the instruction.
///
public int Offset { get; }
///
/// The source location of the instruction.
///
public Location Location { get; }
public override string ToString()
{
return string.Format("{0} = {1}", Offset, Location);
}
public SequencePoint(int offset, Location location)
{
Offset = offset;
Location = location;
}
}
}