edit: $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/IronPython/IronPython/IronPython.Build.csproj;C815265
File: IronPython.Build.csproj
===================================================================
--- $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/IronPython/IronPython/IronPython.Build.csproj;C815265 (server) 4/6/2009 10:17 AM
+++ Shelved Change: $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/IronPython/IronPython/IronPython.Build.csproj;NewMethodBinder
@@ -230,6 +230,7 @@
+
@@ -254,6 +255,7 @@
+
@@ -280,7 +282,9 @@
+
+
@@ -289,6 +293,7 @@
+
@@ -297,6 +302,7 @@
+
===================================================================
edit: $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/IronPython/IronPython/IronPython.csproj;C817637
File: IronPython.csproj
===================================================================
--- $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/IronPython/IronPython/IronPython.csproj;C817637 (server) 4/6/2009 10:17 AM
+++ Shelved Change: $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/IronPython/IronPython/IronPython.csproj;NewMethodBinder
@@ -2,7 +2,7 @@
Debug
AnyCPU
- 9.0.30729
+ 9.0.21022
2.0
{95289EA9-5778-489D-AB48-F81F2CE2DA32}
Library
@@ -103,6 +103,11 @@
+
+
+
+
+
@@ -243,6 +248,7 @@
+
===================================================================
branch, edit: $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/IronPython/IronPython/Runtime/SiteLocalStorage.cs
File: SiteLocalStorage.cs
===================================================================
--- SiteLocalStorage.cs (server) 4/6/2009 10:17 AM
+++ Shelved Change: $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/IronPython/IronPython/Runtime/SiteLocalStorage.cs;NewMethodBinder
@@ -13,7 +13,7 @@
*
* ***************************************************************************/
-namespace Microsoft.Scripting.Generation {
+namespace IronPython.Runtime {
public abstract class SiteLocalStorage {
}
===================================================================
edit: $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/IronPython/IronPython/Runtime/Binding/CompatibilityInvokeBinder.cs;C791094
File: CompatibilityInvokeBinder.cs
===================================================================
--- $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/IronPython/IronPython/Runtime/Binding/CompatibilityInvokeBinder.cs;C791094 (server) 4/6/2009 10:17 AM
+++ Shelved Change: $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/IronPython/IronPython/Runtime/Binding/CompatibilityInvokeBinder.cs;NewMethodBinder
@@ -62,10 +62,10 @@
}
internal DynamicMetaObject/*!*/ InvokeFallback(DynamicMetaObject/*!*/ target, DynamicMetaObject/*!*/[]/*!*/ args, CallSignature sig) {
- var parameterBinder = new ParameterBinderWithCodeContext(Binder.Binder, AstUtils.Constant(_state.Context));
- return PythonProtocol.Call(this, target, args) ??
- Binder.Binder.Create(sig, parameterBinder, target, args) ??
- Binder.Binder.Call(sig, parameterBinder, target, args);
+ return
+ PythonProtocol.Call(this, target, args) ??
+ Binder.Binder.Create(sig, target, args, AstUtils.Constant(_state.Context)) ??
+ Binder.Binder.Call(sig, target, args, AstUtils.Constant(_state.Context));
}
public override int GetHashCode() {
===================================================================
branch, edit: $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/IronPython/IronPython/Runtime/Binding/ContextArgBuilder.cs
File: ContextArgBuilder.cs
===================================================================
--- ContextArgBuilder.cs (server) 4/6/2009 10:17 AM
+++ Shelved Change: $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/IronPython/IronPython/Runtime/Binding/ContextArgBuilder.cs;NewMethodBinder
@@ -19,11 +19,10 @@
using System.Reflection;
using System;
using System.Dynamic;
+using Microsoft.Scripting.Actions.Calls;
-namespace Microsoft.Scripting.Actions.Calls {
+namespace IronPython.Runtime.Binding {
- // TODO: Move to Pyhton
-
///
/// ArgBuilder which provides the CodeContext parameter to a method.
///
@@ -37,15 +36,15 @@
get { return -1; }
}
- internal protected override Expression ToExpression(ParameterBinder parameterBinder, IList parameters, bool[] hasBeenUsed) {
- return ((ParameterBinderWithCodeContext)parameterBinder).ContextExpression;
+ protected override Expression ToExpression(MethodBinder methodBinder, IList parameters, bool[] hasBeenUsed) {
+ return ((PythonMethodBinder)methodBinder).ContextExpression;
}
- protected internal override Func