private void InitLocation(Instruction instruction) { var sp = instruction.FindSequencePoint(); if (sp == null) return; DocumentUrl = sp.Document.Url; Location = new Coordinates { StartLine = sp.StartLine, EndLine = sp.EndLine, StartColumn = sp.StartColumn, EndColumn = sp.EndColumn }; }