diff options
author | Martin Baulig <martin.baulig@xamarin.com> | 2013-02-15 06:23:00 +0400 |
---|---|---|
committer | Martin Baulig <martin.baulig@xamarin.com> | 2013-03-01 03:04:12 +0400 |
commit | 6717d6a6e35010730381b9fa15d2b8808a0c1e32 (patch) | |
tree | 2286bb5fe21f4b5fe626b5f63d7c45866d487efc /mcs/class/dlr | |
parent | cba753f832c899ec186d2420a8fbffc178c60149 (diff) |
Add System.Collections.ObjectModel.ReadOnlyDictionary.
Diffstat (limited to 'mcs/class/dlr')
-rw-r--r-- | mcs/class/dlr/Runtime/Microsoft.Scripting.Core/Compiler/HoistedLocals.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/dlr/Runtime/Microsoft.Scripting.Core/Compiler/HoistedLocals.cs b/mcs/class/dlr/Runtime/Microsoft.Scripting.Core/Compiler/HoistedLocals.cs index b6db15ad2e2..ddb304be986 100644 --- a/mcs/class/dlr/Runtime/Microsoft.Scripting.Core/Compiler/HoistedLocals.cs +++ b/mcs/class/dlr/Runtime/Microsoft.Scripting.Core/Compiler/HoistedLocals.cs @@ -64,7 +64,7 @@ namespace System.Linq.Expressions.Compiler { internal readonly HoistedLocals Parent; // A mapping of hoisted variables to their indexes in the array - internal readonly ReadOnlyDictionary<Expression, int> Indexes; + internal readonly System.Dynamic.Utils.ReadOnlyDictionary<Expression, int> Indexes; // The variables, in the order they appear in the array internal readonly ReadOnlyCollection<ParameterExpression> Variables; @@ -87,7 +87,7 @@ namespace System.Linq.Expressions.Compiler { SelfVariable = Expression.Variable(typeof(object[]), null); Parent = parent; Variables = vars; - Indexes = new ReadOnlyDictionary<Expression, int>(indexes); + Indexes = new System.Dynamic.Utils.ReadOnlyDictionary<Expression, int>(indexes); } internal ParameterExpression ParentVariable { |