List<LocalVariableEntry> _locals;
List<CodeBlockEntry> _blocks;
List<ScopeVariable> _scope_vars;
-#if NET_2_1
- System.Collections.Stack _block_stack;
-#else
Stack<CodeBlockEntry> _block_stack;
-#endif
readonly List<LineNumberEntry> method_lines;
readonly ICompileUnit _comp_unit;
}
public void MarkSequencePoint (int offset, SourceFileEntry file, int line, int column, bool is_hidden)
+ {
+ MarkSequencePoint (offset, file, line, column, -1, -1, is_hidden);
+ }
+
+ public void MarkSequencePoint (int offset, SourceFileEntry file, int line, int column, int end_line, int end_column, bool is_hidden)
{
int file_idx = file != null ? file.Index : 0;
- var lne = new LineNumberEntry (file_idx, line, column, offset, is_hidden);
+ var lne = new LineNumberEntry (file_idx, line, column, end_line, end_column, offset, is_hidden);
if (method_lines.Count > 0) {
var prev = method_lines[method_lines.Count - 1];
public void StartBlock (CodeBlockEntry.Type type, int start_offset)
{
if (_block_stack == null) {
-#if NET_2_1
- _block_stack = new System.Collections.Stack ();
-#else
_block_stack = new Stack<CodeBlockEntry> ();
-#endif
}
if (_blocks == null)