private Color GetBackgroundColor(IFrame frame) { if (Mapping == null) { if (frame.GetOffset() == Instruction.Offset) { EnsureVisible(); return(Color.Yellow); } } else if (frame.GetOffset() == Mapping.Value.ILOffset) { if (RelativeOffset == Mapping.Value.NativeStartOffset) { EnsureVisible(); return(Color.Yellow); } return(Color.FromArgb(255, 255, 160)); } return(Color.Transparent); }
private Color GetBackgroundColor(IFrame frame) { if (frame.GetOffset() == Instruction.Offset) { this.EnsureVisible(); return(Color.Yellow); } var symbols = frame.Function.Symbols; if (symbols != null) { var sequencePoint = symbols.GetSequencePoint(frame.GetOffset()); if (Instruction.Offset >= sequencePoint.ByteRange.StartOffset && Instruction.Offset < sequencePoint.ByteRange.EndOffset) { return(Color.FromArgb(255, 255, 160)); } } return(Color.Transparent); }
private Color GetBackgroundColor(IFrame frame) { if (frame.GetOffset() == Instruction.Offset) { this.EnsureVisible(); return Color.Yellow; } var symbols = frame.Function.Symbols; if (symbols != null) { var sequencePoint = symbols.GetSequencePoint(frame.GetOffset()); if (Instruction.Offset >= sequencePoint.ByteRange.StartOffset && Instruction.Offset < sequencePoint.ByteRange.EndOffset) return Color.FromArgb(255, 255, 160); } return Color.Transparent; }
private Color GetBackgroundColor(IFrame frame) { if (Mapping == null) { if (frame.GetOffset() == Instruction.Offset) { EnsureVisible(); return Color.Yellow; } } else if (frame.GetOffset() == Mapping.Value.ILOffset) { if (RelativeOffset == Mapping.Value.NativeStartOffset) { EnsureVisible(); return Color.Yellow; } return Color.FromArgb(255, 255, 160); } return Color.Transparent; }