Merge pull request #2483 from ludovic-henry/monoerror-mono_string_new_size
[mono.git] / mcs / mcs / location.cs
index e7daa53ce0bd98a5f86aeba6f18d632b7f65690f..79cee3cbf7db1dc87fb77e5acfa57ccfa3259f10 100644 (file)
@@ -222,11 +222,7 @@ namespace Mono.CSharp
                // </summary>
                static public void Initialize (List<SourceFile> files)
                {
-#if NET_4_0 || MOBILE_DYNAMIC
                        source_list.AddRange (files);
-#else
-                       source_list.AddRange (files.ToArray ());
-#endif
 
                        checkpoints = new Checkpoint [System.Math.Max (1, source_list.Count * 2)];
                        if (checkpoints.Length > 0)