diff options
author | Marek Safar <marek.safar@gmail.com> | 2016-11-04 20:33:44 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2016-11-04 20:35:36 +0300 |
commit | b43d5089e97bc0be3a6f80b63541cb4eab3fa4d7 (patch) | |
tree | 072f72e104529026e86d738dbeaa6983805a912f /mcs/class/Mono.CompilerServices.SymbolWriter | |
parent | 9e167696e7709b66bc42e7a822046665f7d29660 (diff) |
[mcs] Remove debug check
Diffstat (limited to 'mcs/class/Mono.CompilerServices.SymbolWriter')
-rw-r--r-- | mcs/class/Mono.CompilerServices.SymbolWriter/SourceMethodBuilder.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mcs/class/Mono.CompilerServices.SymbolWriter/SourceMethodBuilder.cs b/mcs/class/Mono.CompilerServices.SymbolWriter/SourceMethodBuilder.cs index 306570627a5..816fb68dc5f 100644 --- a/mcs/class/Mono.CompilerServices.SymbolWriter/SourceMethodBuilder.cs +++ b/mcs/class/Mono.CompilerServices.SymbolWriter/SourceMethodBuilder.cs @@ -230,10 +230,10 @@ namespace Mono.CompilerServices.SymbolWriter } blocks = sorted.ToArray (); - for (int i = 0; i < blocks.Length; ++i) { - if (blocks [i].Index - 1 != i) - throw new ArgumentException ("CodeBlocks cannot be converted to mdb format"); - } + //for (int i = 0; i < blocks.Length; ++i) { + // if (blocks [i].Index - 1 != i) + // throw new ArgumentException ("CodeBlocks cannot be converted to mdb format"); + //} } var entry = new MethodEntry ( |