diff options
author | Marek Safar <marek.safar@gmail.com> | 2015-01-27 19:57:33 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2015-01-27 19:58:29 +0300 |
commit | 52a93b2dbb0ac4996d9b75e6e464dd4c784fc2ab (patch) | |
tree | 7edb39dd36702bd0ff9b68b75a73df5b6c770b4d /mcs/class/Mono.CompilerServices.SymbolWriter | |
parent | 0e3f9853ac8574dbc4905b7497fbfc5e4b0488c0 (diff) |
Revert to broken scope reference indexing
Diffstat (limited to 'mcs/class/Mono.CompilerServices.SymbolWriter')
-rw-r--r-- | mcs/class/Mono.CompilerServices.SymbolWriter/SourceMethodBuilder.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/Mono.CompilerServices.SymbolWriter/SourceMethodBuilder.cs b/mcs/class/Mono.CompilerServices.SymbolWriter/SourceMethodBuilder.cs index 195ea7586c7..bd801f657b1 100644 --- a/mcs/class/Mono.CompilerServices.SymbolWriter/SourceMethodBuilder.cs +++ b/mcs/class/Mono.CompilerServices.SymbolWriter/SourceMethodBuilder.cs @@ -100,7 +100,7 @@ namespace Mono.CompilerServices.SymbolWriter int parent = CurrentBlock != null ? CurrentBlock.Index : -1; CodeBlockEntry block = new CodeBlockEntry ( - _blocks.Count, parent, type, start_offset); + _blocks.Count + 1, parent, type, start_offset); _block_stack.Push (block); _blocks.Add (block); |