// dnlib: See LICENSE.txt for more info using System.Diagnostics; using System.Text; namespace dnlib.DotNet.Pdb.Symbols { /// /// Sequence point /// [DebuggerDisplay("{GetDebuggerString(),nq}")] public struct SymbolSequencePoint { /// /// IL offset /// public int Offset; /// /// Document /// public SymbolDocument Document; /// /// Start line /// public int Line; /// /// Start column /// public int Column; /// /// End line /// public int EndLine; /// /// End column /// public int EndColumn; readonly string GetDebuggerString() { var sb = new StringBuilder(); if (Line == 0xFEEFEE && EndLine == 0xFEEFEE) sb.Append(""); else { sb.Append("("); sb.Append(Line); sb.Append(","); sb.Append(Column); sb.Append(")-("); sb.Append(EndLine); sb.Append(","); sb.Append(EndColumn); sb.Append(")"); } sb.Append(": "); sb.Append(Document.URL); return sb.ToString(); } } }