Esempio n. 1
0
 DkmSourcePosition IDkmSymbolQuery.GetSourcePosition(DkmInstructionSymbol instruction, DkmSourcePositionFlags flags, DkmInspectionSession inspectionSession, out bool startOfLine)
 {
     return(ModuleManager.GetSourcePosition(instruction, flags, inspectionSession, out startOfLine));
 }
Esempio n. 2
0
        public static DkmSourcePosition GetSourcePosition(DkmInstructionSymbol instruction, DkmSourcePositionFlags flags, DkmInspectionSession inspectionSession, out bool startOfLine)
        {
            var insSym = instruction as DkmCustomInstructionSymbol;
            var loc    = new SourceLocation(insSym.AdditionalData);

            startOfLine = true;
            return(DkmSourcePosition.Create(DkmSourceFileId.Create(loc.FileName, null, null, null), new DkmTextSpan(loc.LineNumber, loc.LineNumber, 0, 0)));
        }
Esempio n. 3
0
 public static DkmSourcePosition GetSourcePosition(DkmInstructionSymbol instruction, DkmSourcePositionFlags flags, DkmInspectionSession inspectionSession, out bool startOfLine) {
     var insSym = instruction as DkmCustomInstructionSymbol;
     var loc = new SourceLocation(insSym.AdditionalData);
     startOfLine = true;
     return DkmSourcePosition.Create(DkmSourceFileId.Create(loc.FileName, null, null, null), new DkmTextSpan(loc.LineNumber, loc.LineNumber, 0, 0));
 }