<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>dlr Issue Tracker Rss Feed</title><link>http://www.codeplex.com/dlr/WorkItem/List.aspx</link><description>dlr Issue Tracker Rss Description</description><item><title>Closed Issue: Expressions are not printed in interactive mode [3010]</title><link>http://dlr.codeplex.com/workitem/3010</link><description>See these mails.&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;rubyforge.org&amp;#47;pipermail&amp;#47;ironruby-core&amp;#47;2009-March&amp;#47;004008.html&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;lists.ironpython.com&amp;#47;pipermail&amp;#47;users-ironpython.com&amp;#47;2009-April&amp;#47;010140.html&lt;br /&gt;&amp;#160;&lt;br /&gt;This only happens on Mono &amp;#40;newline difference&amp;#41;.&lt;br /&gt;&amp;#160;&lt;br /&gt;Pasting Jb Evain&amp;#39;s mail&amp;#58;&lt;br /&gt;&amp;#160;&lt;br /&gt;The issue lies in the processing of new lines in&lt;br /&gt;Microsoft.Scripting.Core.Hosting.Shell.CommandLine.&lt;br /&gt;&amp;#160;&lt;br /&gt;The code is appending &amp;#92;n as terminating new lines, but checks for the&lt;br /&gt;presence of Environment.NewLine inside the evaluated string. Obviously&lt;br /&gt;it works only if Environment.NewLine is &amp;#92;r&amp;#92;n, and not &amp;#92;n.&lt;br /&gt;</description><author>billchi</author><pubDate>Thu, 16 May 2013 10:29:20 GMT</pubDate><guid isPermaLink="false">Closed Issue: Expressions are not printed in interactive mode [3010] 20130516102920A</guid></item><item><title>Closed Issue: Engine.Operations.GetDocumentation(...) broken under .NET 4.0? [6071]</title><link>http://dlr.codeplex.com/workitem/6071</link><description>&amp;#60;Test&amp;#62;HostingTest.dll &amp;#40;GetDocumentation_FromDotNetObject&amp;#41;&amp;#60;&amp;#47;Test&amp;#62;&lt;br /&gt;&amp;#160;&lt;br /&gt;Under .NET 3.5, calling &amp;#34;Engine.Operations.GetDocumentation&amp;#40;testObject&amp;#41;&amp;#34; where testObject is a .NET DateTime object produced a string containing &amp;#34;Represents an instant in time, typically expressed as a date and time of day&amp;#34;.  &lt;br /&gt;&amp;#160;&lt;br /&gt;Under .NET 4.0 it&amp;#39;s now&amp;#58;&lt;br /&gt;DateTime&amp;#40;ticks&amp;#58; Int64&amp;#41;&lt;br /&gt;DateTime&amp;#40;ticks&amp;#58; Int64, kind&amp;#58; DateTimeKind&amp;#41;&lt;br /&gt;DateTime&amp;#40;year&amp;#58; int, month&amp;#58; int, day&amp;#58; int&amp;#41;&lt;br /&gt;DateTime&amp;#40;year&amp;#58; int, month&amp;#58; int, day&amp;#58; int, calendar&amp;#58; Calendar&amp;#41;&lt;br /&gt;DateTime&amp;#40;year&amp;#58; int, month&amp;#58; int, day&amp;#58; int, hour&amp;#58; int, minute&amp;#58; int, second&amp;#58; int&amp;#41;&lt;br /&gt;DateTime&amp;#40;year&amp;#58; int, month&amp;#58; int, day&amp;#58; int, hour&amp;#58; int, minute&amp;#58; int, second&amp;#58; int, kind&amp;#58; DateTimeKind&amp;#41;&lt;br /&gt;DateTime&amp;#40;year&amp;#58; int, month&amp;#58; int, day&amp;#58; int, hour&amp;#58; int, minute&amp;#58; int, second&amp;#58; int, calendar&amp;#58; Calendar&amp;#41;&lt;br /&gt;DateTime&amp;#40;year&amp;#58; int, month&amp;#58; int, day&amp;#58; int, hour&amp;#58; int, minute&amp;#58; int, second&amp;#58; int, millisecond&amp;#58; int&amp;#41;&lt;br /&gt;DateTime&amp;#40;year&amp;#58; int, month&amp;#58; int, day&amp;#58; int, hour&amp;#58; int, minute&amp;#58; int, second&amp;#58; int, millisecond&amp;#58; int, kind&amp;#58; DateTimeKind&amp;#41;&lt;br /&gt;DateTime&amp;#40;year&amp;#58; int, month&amp;#58; int, day&amp;#58; int, hour&amp;#58; int, minute&amp;#58; int, second&amp;#58; int, millisecond&amp;#58; int, calendar&amp;#58; Calendar&amp;#41;&lt;br /&gt;DateTime&amp;#40;year&amp;#58; int, month&amp;#58; int, day&amp;#58; int, hour&amp;#58; int, minute&amp;#58; int, second&amp;#58; int, millisecond&amp;#58; int, calendar&amp;#58; Calendar, kind&amp;#58; DateTimeKind&amp;#41;&lt;br /&gt;&amp;#160;&lt;br /&gt;Is this really a change in .NET 4.0 or is this API broken somehow&amp;#63;&lt;br /&gt;</description><author>billchi</author><pubDate>Thu, 16 May 2013 10:29:17 GMT</pubDate><guid isPermaLink="false">Closed Issue: Engine.Operations.GetDocumentation(...) broken under .NET 4.0? [6071] 20130516102917A</guid></item><item><title>Created Issue: Please update support for Windows Phone and VS 2012 [11530]</title><link>http://dlr.codeplex.com/workitem/11530</link><description>DLR doesn&amp;#39;t work any more.&lt;br /&gt;</description><author>mcandre</author><pubDate>Mon, 28 Jan 2013 15:59:28 GMT</pubDate><guid isPermaLink="false">Created Issue: Please update support for Windows Phone and VS 2012 [11530] 20130128035928P</guid></item><item><title>Created Issue: Can not Find .py files [7475]</title><link>http://dlr.codeplex.com/workitem/7475</link><description>c&amp;#35;&lt;br /&gt;    var runtime &amp;#61; Silverlight.DynamicEngine.CreateRuntime&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            var python &amp;#61; runtime.GetEngine&amp;#40;&amp;#34;python&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            ScriptScope ss &amp;#61; python.CreateScope&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            dynamic script &amp;#61; python.CreateScriptSourceFromFile&amp;#40;&amp;#34;test.py&amp;#34;&amp;#41;.Execute&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;test.py&lt;br /&gt;   import System.Windows.Controls&lt;br /&gt;import System.Windows.Media&lt;br /&gt;from System.Windows.Controls import &amp;#42;&lt;br /&gt;from System.Windows.Media import &amp;#42;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Please see attachment code&lt;br /&gt;  Hope someone to help me find the problem&lt;br /&gt;   thank you very much&lt;br /&gt;</description><author>wangxh</author><pubDate>Mon, 25 Oct 2010 08:19:51 GMT</pubDate><guid isPermaLink="false">Created Issue: Can not Find .py files [7475] 20101025081951A</guid></item><item><title>Commented Issue: LiftedToNull OrElse bug for user types [5867]</title><link>http://dlr.codeplex.com/workitem/5867</link><description>The attached test case, &amp;#40;extracted from the tests cases I wrote when implementing the 3.5 System.Linq.Expressions in Mono&amp;#41;, fails on .net 4.0 RC and with the latest DLR checkout, while it works on 3.5.&lt;br /&gt;Comments: ** Comment from web user: rdawson ** &lt;p&gt;Thanks for reporting this.  We definitely are behaving differently than we did in .NET 3.5, and it was good to revisit the design discussions that led to the new spec which JMesserly referred to in his original reply.&lt;/p&gt;&lt;p&gt;Having had the discussions again, we favor the 4.0 behavior over the 3.5 behavior.  Matching VB was one of our goals in refactoring this code, and we do now.  &amp;#40;3.5 did not.&amp;#41;&lt;/p&gt;</description><author>rdawson</author><pubDate>Fri, 06 Aug 2010 20:05:00 GMT</pubDate><guid isPermaLink="false">Commented Issue: LiftedToNull OrElse bug for user types [5867] 20100806080500P</guid></item><item><title>Created Issue: Bug in DefaultBinder building comparison rules [6675]</title><link>http://dlr.codeplex.com/workitem/6675</link><description>There appears to be a copy&amp;#47;paste bug in DefaultBinder.Operations.cs in MakeComparisonRule&amp;#58;&lt;br /&gt;&lt;br /&gt;        private DynamicMetaObject MakeComparisonRule&amp;#40;OperatorInfo info, OverloadResolverFactory resolverFactory, DynamicMetaObject&amp;#91;&amp;#93; args&amp;#41; &amp;#123;&lt;br /&gt;            return&lt;br /&gt;                TryComparisonMethod&amp;#40;info, resolverFactory, args&amp;#91;0&amp;#93;, args&amp;#41; &amp;#63;&amp;#63;   &amp;#47;&amp;#47; check the first type if it has an applicable method&lt;br /&gt;                TryComparisonMethod&amp;#40;info, resolverFactory, args&amp;#91;0&amp;#93;, args&amp;#41; &amp;#63;&amp;#63;   &amp;#47;&amp;#47; then check the second type&lt;br /&gt;                TryNumericComparison&amp;#40;info, resolverFactory, args&amp;#41; &amp;#63;&amp;#63;           &amp;#47;&amp;#47; try Compare&amp;#58; cmp&amp;#40;x,y&amp;#41; &amp;#40;&amp;#62;, &amp;#60;, &amp;#62;&amp;#61;, &amp;#60;&amp;#61;, &amp;#61;&amp;#61;, &amp;#33;&amp;#61;&amp;#41; 0&lt;br /&gt;                TryInvertedComparison&amp;#40;info, resolverFactory, args&amp;#91;0&amp;#93;, args&amp;#41; &amp;#63;&amp;#63; &amp;#47;&amp;#47; try inverting the operator &amp;#38; result &amp;#40;e.g. if looking for Equals try NotEquals, LessThan for GreaterThan&amp;#41;...&lt;br /&gt;                TryInvertedComparison&amp;#40;info, resolverFactory, args&amp;#91;0&amp;#93;, args&amp;#41; &amp;#63;&amp;#63; &amp;#47;&amp;#47; inverted binding on the 2nd type&lt;br /&gt;                TryNullComparisonRule&amp;#40;args&amp;#41; &amp;#63;&amp;#63;                &amp;#47;&amp;#47; see if we&amp;#39;re comparing to null w&amp;#47; an object ref or a Nullable&amp;#60;T&amp;#62;&lt;br /&gt;                TryPrimitiveCompare&amp;#40;info, args&amp;#41; &amp;#63;&amp;#63;            &amp;#47;&amp;#47; see if this is a primitive type where we&amp;#39;re comparing the two values.&lt;br /&gt;                MakeOperatorError&amp;#40;info, args&amp;#41;&amp;#59;                &amp;#47;&amp;#47; no comparisons are possible            &lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;The lines that are commented as working on the second type are still using index 0 instead of 1, so it&amp;#39;s just duplicating operations on the first arg type.&lt;br /&gt;</description><author>jskaistis</author><pubDate>Wed, 21 Jul 2010 14:38:37 GMT</pubDate><guid isPermaLink="false">Created Issue: Bug in DefaultBinder building comparison rules [6675] 20100721023837P</guid></item><item><title>Closed Issue: SetVariable(“app”, this) [5244]</title><link>http://dlr.codeplex.com/workitem/5244</link><description>I have the following code in a Silverlight 3 application using Dynamic Language Runtime JavaScript &amp;#40;&amp;#34;button&amp;#34; is the name of a Button control&amp;#41;&amp;#58;&lt;br /&gt;&lt;br /&gt;private void Button_Click&amp;#40;object sender, RoutedEventArgs e&amp;#41;&lt;br /&gt;&amp;#123;            &lt;br /&gt;    var scriptRuntime &amp;#61; ScriptRuntime.Create&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;    foreach &amp;#40;var name in new&amp;#91;&amp;#93; &amp;#123; &amp;#34;mscorlib&amp;#34;, &amp;#34;System&amp;#34;, &amp;#34;System.Windows&amp;#34; &amp;#125;&amp;#41;&lt;br /&gt;    &amp;#123;&lt;br /&gt;        scriptRuntime.LoadAssembly&amp;#40;scriptRuntime.Host.PlatformAdaptationLayer.LoadAssembly&amp;#40;name&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;    &amp;#125;&lt;br /&gt;    var scriptEngine &amp;#61; scriptRuntime.GetEngine&amp;#40;&amp;#34;js&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;    var baseScope &amp;#61; scriptEngine.CreateScope&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;    baseScope.SetVariable&amp;#40;&amp;#34;app&amp;#34;, this&amp;#41;&amp;#59;&lt;br /&gt;    string script &amp;#61; &amp;#34;app.button.Content&amp;#61;&amp;#39;Test&amp;#39;&amp;#34;&amp;#59;&lt;br /&gt;    var scriptSource &amp;#61; scriptEngine.CreateScriptSourceFromString&amp;#40;script,&lt;br /&gt;        Microsoft.Scripting.SourceCodeKind.Statements&amp;#41;&amp;#59;&lt;br /&gt;    var compiledCode &amp;#61; scriptSource.Compile&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;    compiledCode.Execute&amp;#40;baseScope&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;It throws &amp;#34;Object required&amp;#34; exception on Execute. But if I replace&lt;br /&gt;&lt;br /&gt;baseScope.SetVariable&amp;#40;&amp;#34;app&amp;#34;, this&amp;#41;&amp;#59;&lt;br /&gt;string script &amp;#61; &amp;#34;app.button.Content&amp;#61;&amp;#39;Test&amp;#39;&amp;#34;&amp;#59;&lt;br /&gt;&lt;br /&gt;with&lt;br /&gt;&lt;br /&gt;baseScope.SetVariable&amp;#40;&amp;#34;button&amp;#34;, this.button&amp;#41;&amp;#59;&lt;br /&gt;string script &amp;#61; &amp;#34;button.Content&amp;#61;&amp;#39;Test&amp;#39;&amp;#34;&amp;#59;&lt;br /&gt;&lt;br /&gt;it executes successfully and button.Content changes. It strangely seems like &amp;#34;button&amp;#34; is not accessible via &amp;#34;this&amp;#34;. I guess any control in Silverlight is &amp;#34;public&amp;#34; so any class can use such child controls from this.GetType&amp;#40;&amp;#41; instance. Please help with solving this.&lt;br /&gt;Comments: &lt;p&gt;&lt;/p&gt;</description><author>billchi</author><pubDate>Fri, 11 Jun 2010 20:43:20 GMT</pubDate><guid isPermaLink="false">Closed Issue: SetVariable(“app”, this) [5244] 20100611084320P</guid></item><item><title>Created Issue: Engine.Operations.GetDocumentation(...) broken under .NET 4.0? [6071]</title><link>http://dlr.codeplex.com/WorkItem/View.aspx?WorkItemId=6071</link><description>&amp;#60;Test&amp;#62;HostingTest.dll &amp;#40;GetDocumentation_FromDotNetObject&amp;#41;&amp;#60;&amp;#47;Test&amp;#62;&lt;br /&gt;&lt;br /&gt;Under .NET 3.5, calling &amp;#34;Engine.Operations.GetDocumentation&amp;#40;testObject&amp;#41;&amp;#34; where testObject is a .NET DateTime object produced a string containing &amp;#34;Represents an instant in time, typically expressed as a date and time of day&amp;#34;.  &lt;br /&gt;&lt;br /&gt;Under .NET 4.0 it&amp;#39;s now&amp;#58;&lt;br /&gt;DateTime&amp;#40;ticks&amp;#58; Int64&amp;#41;&lt;br /&gt;DateTime&amp;#40;ticks&amp;#58; Int64, kind&amp;#58; DateTimeKind&amp;#41;&lt;br /&gt;DateTime&amp;#40;year&amp;#58; int, month&amp;#58; int, day&amp;#58; int&amp;#41;&lt;br /&gt;DateTime&amp;#40;year&amp;#58; int, month&amp;#58; int, day&amp;#58; int, calendar&amp;#58; Calendar&amp;#41;&lt;br /&gt;DateTime&amp;#40;year&amp;#58; int, month&amp;#58; int, day&amp;#58; int, hour&amp;#58; int, minute&amp;#58; int, second&amp;#58; int&amp;#41;&lt;br /&gt;DateTime&amp;#40;year&amp;#58; int, month&amp;#58; int, day&amp;#58; int, hour&amp;#58; int, minute&amp;#58; int, second&amp;#58; int, kind&amp;#58; DateTimeKind&amp;#41;&lt;br /&gt;DateTime&amp;#40;year&amp;#58; int, month&amp;#58; int, day&amp;#58; int, hour&amp;#58; int, minute&amp;#58; int, second&amp;#58; int, calendar&amp;#58; Calendar&amp;#41;&lt;br /&gt;DateTime&amp;#40;year&amp;#58; int, month&amp;#58; int, day&amp;#58; int, hour&amp;#58; int, minute&amp;#58; int, second&amp;#58; int, millisecond&amp;#58; int&amp;#41;&lt;br /&gt;DateTime&amp;#40;year&amp;#58; int, month&amp;#58; int, day&amp;#58; int, hour&amp;#58; int, minute&amp;#58; int, second&amp;#58; int, millisecond&amp;#58; int, kind&amp;#58; DateTimeKind&amp;#41;&lt;br /&gt;DateTime&amp;#40;year&amp;#58; int, month&amp;#58; int, day&amp;#58; int, hour&amp;#58; int, minute&amp;#58; int, second&amp;#58; int, millisecond&amp;#58; int, calendar&amp;#58; Calendar&amp;#41;&lt;br /&gt;DateTime&amp;#40;year&amp;#58; int, month&amp;#58; int, day&amp;#58; int, hour&amp;#58; int, minute&amp;#58; int, second&amp;#58; int, millisecond&amp;#58; int, calendar&amp;#58; Calendar, kind&amp;#58; DateTimeKind&amp;#41;&lt;br /&gt;&lt;br /&gt;Is this really a change in .NET 4.0 or is this API broken somehow&amp;#63;&lt;br /&gt;</description><author>dfugate</author><pubDate>Thu, 06 May 2010 19:09:28 GMT</pubDate><guid isPermaLink="false">Created Issue: Engine.Operations.GetDocumentation(...) broken under .NET 4.0? [6071] 20100506070928P</guid></item><item><title>Commented Issue: DebugContext.TransformLambda doesn't walk nested lambdas [5029]</title><link>http://dlr.codeplex.com/WorkItem/View.aspx?WorkItemId=5029</link><description>&amp;#60;Thanks&amp;#62;dotneteer&amp;#60;&amp;#47;Thanks&amp;#62;&lt;br /&gt;&lt;br /&gt;I looked into the source code of Microsoft.Scripting.Debugging and have a better understanding of the problem. First of all, both LambdaWalker and DebugableLambdaBuilder does not handle Lambda expression. The comments said that they expect the lambda to have been transformed already. So we do not to transform each nexted lambda separately. Secondly a more severe problem, if the nested lambda reference parameter expressions in the parent lambda, the reference become invalid after the parent is transformed. Thirdly, if we transform the child that references parent parameters, the child cannot see the parent parameter after transform.&lt;br /&gt;Comments: ** Comment from web user: dinov ** &lt;p&gt;Tracked as dev10 bug &amp;#35;896828&lt;/p&gt;</description><author>dinov</author><pubDate>Fri, 30 Apr 2010 20:27:26 GMT</pubDate><guid isPermaLink="false">Commented Issue: DebugContext.TransformLambda doesn't walk nested lambdas [5029] 20100430082726P</guid></item><item><title>Commented Issue: DebugContext.TransformLambda doesn't walk nested lambdas [5029]</title><link>http://dlr.codeplex.com/WorkItem/View.aspx?WorkItemId=5029</link><description>&amp;#60;Thanks&amp;#62;dotneteer&amp;#60;&amp;#47;Thanks&amp;#62;&lt;br /&gt;&lt;br /&gt;I looked into the source code of Microsoft.Scripting.Debugging and have a better understanding of the problem. First of all, both LambdaWalker and DebugableLambdaBuilder does not handle Lambda expression. The comments said that they expect the lambda to have been transformed already. So we do not to transform each nexted lambda separately. Secondly a more severe problem, if the nested lambda reference parameter expressions in the parent lambda, the reference become invalid after the parent is transformed. Thirdly, if we transform the child that references parent parameters, the child cannot see the parent parameter after transform.&lt;br /&gt;Comments: ** Comment from web user: dinov ** &lt;p&gt;http&amp;#58;&amp;#47;&amp;#47;dlr.codeplex.com&amp;#47;WorkItem&amp;#47;View.aspx&amp;#63;WorkItemId&amp;#61;5029&lt;/p&gt;</description><author>dinov</author><pubDate>Fri, 30 Apr 2010 20:25:47 GMT</pubDate><guid isPermaLink="false">Commented Issue: DebugContext.TransformLambda doesn't walk nested lambdas [5029] 20100430082547P</guid></item><item><title>Commented Issue: LiftedToNull OrElse bug for user types [5867]</title><link>http://dlr.codeplex.com/WorkItem/View.aspx?WorkItemId=5867</link><description>The attached test case, &amp;#40;extracted from the tests cases I wrote when implementing the 3.5 System.Linq.Expressions in Mono&amp;#41;, fails on .net 4.0 RC and with the latest DLR checkout, while it works on 3.5.&lt;br /&gt;Comments: ** Comment from web user: dinov ** &lt;p&gt;Tracked internally as bug &amp;#35;892019&lt;/p&gt;</description><author>dinov</author><pubDate>Fri, 30 Apr 2010 20:24:21 GMT</pubDate><guid isPermaLink="false">Commented Issue: LiftedToNull OrElse bug for user types [5867] 20100430082421P</guid></item><item><title>Closed Issue: TypeIs bug with void [5868]</title><link>http://dlr.codeplex.com/WorkItem/View.aspx?WorkItemId=5868</link><description>Expression.TypeIs should throw an ArgumentException if being passed typeof &amp;#40;void&amp;#41;.&lt;br /&gt;Comments: &lt;p&gt;&lt;/p&gt;</description><author>dinov</author><pubDate>Fri, 30 Apr 2010 20:22:39 GMT</pubDate><guid isPermaLink="false">Closed Issue: TypeIs bug with void [5868] 20100430082239P</guid></item><item><title>Closed Issue: Expression API regression [5875]</title><link>http://dlr.codeplex.com/WorkItem/View.aspx?WorkItemId=5875</link><description>The attached test case pass on .net 3.5 and fails on .net 4.0.&lt;br /&gt;Comments: &lt;p&gt;&lt;/p&gt;</description><author>dinov</author><pubDate>Fri, 30 Apr 2010 20:16:30 GMT</pubDate><guid isPermaLink="false">Closed Issue: Expression API regression [5875] 20100430081630P</guid></item><item><title>Commented Issue: SetVariable(“app”, this) [5244]</title><link>http://dlr.codeplex.com/WorkItem/View.aspx?WorkItemId=5244</link><description>I have the following code in a Silverlight 3 application using Dynamic Language Runtime JavaScript &amp;#40;&amp;#34;button&amp;#34; is the name of a Button control&amp;#41;&amp;#58;&lt;br /&gt;&lt;br /&gt;private void Button_Click&amp;#40;object sender, RoutedEventArgs e&amp;#41;&lt;br /&gt;&amp;#123;            &lt;br /&gt;    var scriptRuntime &amp;#61; ScriptRuntime.Create&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;    foreach &amp;#40;var name in new&amp;#91;&amp;#93; &amp;#123; &amp;#34;mscorlib&amp;#34;, &amp;#34;System&amp;#34;, &amp;#34;System.Windows&amp;#34; &amp;#125;&amp;#41;&lt;br /&gt;    &amp;#123;&lt;br /&gt;        scriptRuntime.LoadAssembly&amp;#40;scriptRuntime.Host.PlatformAdaptationLayer.LoadAssembly&amp;#40;name&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;    &amp;#125;&lt;br /&gt;    var scriptEngine &amp;#61; scriptRuntime.GetEngine&amp;#40;&amp;#34;js&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;    var baseScope &amp;#61; scriptEngine.CreateScope&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;    baseScope.SetVariable&amp;#40;&amp;#34;app&amp;#34;, this&amp;#41;&amp;#59;&lt;br /&gt;    string script &amp;#61; &amp;#34;app.button.Content&amp;#61;&amp;#39;Test&amp;#39;&amp;#34;&amp;#59;&lt;br /&gt;    var scriptSource &amp;#61; scriptEngine.CreateScriptSourceFromString&amp;#40;script,&lt;br /&gt;        Microsoft.Scripting.SourceCodeKind.Statements&amp;#41;&amp;#59;&lt;br /&gt;    var compiledCode &amp;#61; scriptSource.Compile&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;    compiledCode.Execute&amp;#40;baseScope&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;It throws &amp;#34;Object required&amp;#34; exception on Execute. But if I replace&lt;br /&gt;&lt;br /&gt;baseScope.SetVariable&amp;#40;&amp;#34;app&amp;#34;, this&amp;#41;&amp;#59;&lt;br /&gt;string script &amp;#61; &amp;#34;app.button.Content&amp;#61;&amp;#39;Test&amp;#39;&amp;#34;&amp;#59;&lt;br /&gt;&lt;br /&gt;with&lt;br /&gt;&lt;br /&gt;baseScope.SetVariable&amp;#40;&amp;#34;button&amp;#34;, this.button&amp;#41;&amp;#59;&lt;br /&gt;string script &amp;#61; &amp;#34;button.Content&amp;#61;&amp;#39;Test&amp;#39;&amp;#34;&amp;#59;&lt;br /&gt;&lt;br /&gt;it executes successfully and button.Content changes. It strangely seems like &amp;#34;button&amp;#34; is not accessible via &amp;#34;this&amp;#34;. I guess any control in Silverlight is &amp;#34;public&amp;#34; so any class can use such child controls from this.GetType&amp;#40;&amp;#41; instance. Please help with solving this.&lt;br /&gt;Comments: ** Comment from web user: dinov ** &lt;p&gt;Can you include the source code for the class which has the button property or field&amp;#63;  You should make sure that both the class and the field&amp;#47;property are public.&lt;/p&gt;</description><author>dinov</author><pubDate>Fri, 30 Apr 2010 20:11:36 GMT</pubDate><guid isPermaLink="false">Commented Issue: SetVariable(“app”, this) [5244] 20100430081136P</guid></item><item><title>Commented Issue: Expression API regression [5875]</title><link>http://dlr.codeplex.com/WorkItem/View.aspx?WorkItemId=5875</link><description>The attached test case pass on .net 3.5 and fails on .net 4.0.&lt;br /&gt;Comments: ** Comment from web user: jbevain ** &lt;p&gt;Fine then.&lt;/p&gt;</description><author>jbevain</author><pubDate>Thu, 22 Apr 2010 11:41:29 GMT</pubDate><guid isPermaLink="false">Commented Issue: Expression API regression [5875] 20100422114129A</guid></item><item><title>Commented Issue: LiftedToNull OrElse bug for user types [5867]</title><link>http://dlr.codeplex.com/WorkItem/View.aspx?WorkItemId=5867</link><description>The attached test case, &amp;#40;extracted from the tests cases I wrote when implementing the 3.5 System.Linq.Expressions in Mono&amp;#41;, fails on .net 4.0 RC and with the latest DLR checkout, while it works on 3.5.&lt;br /&gt;Comments: ** Comment from web user: jbevain ** &lt;p&gt;Scratch my last one, the rhs won&amp;#39;t be evaluated twice with the patch. It&amp;#39;s just emitted twice in the IL though.&lt;/p&gt;</description><author>jbevain</author><pubDate>Thu, 22 Apr 2010 11:33:16 GMT</pubDate><guid isPermaLink="false">Commented Issue: LiftedToNull OrElse bug for user types [5867] 20100422113316A</guid></item><item><title>Commented Issue: LiftedToNull OrElse bug for user types [5867]</title><link>http://dlr.codeplex.com/WorkItem/View.aspx?WorkItemId=5867</link><description>The attached test case, &amp;#40;extracted from the tests cases I wrote when implementing the 3.5 System.Linq.Expressions in Mono&amp;#41;, fails on .net 4.0 RC and with the latest DLR checkout, while it works on 3.5.&lt;br /&gt;Comments: ** Comment from web user: jbevain ** &lt;p&gt;Note that the patch is just a proof of concept to show the issue, in itself, it&amp;#39;s wrong as it will evaluate the rhs twice for OrElse. Not that I think that you&amp;#39;re allowed to take patches, but still.&lt;/p&gt;</description><author>jbevain</author><pubDate>Thu, 22 Apr 2010 11:06:50 GMT</pubDate><guid isPermaLink="false">Commented Issue: LiftedToNull OrElse bug for user types [5867] 20100422110650A</guid></item><item><title>Commented Issue: LiftedToNull OrElse bug for user types [5867]</title><link>http://dlr.codeplex.com/WorkItem/View.aspx?WorkItemId=5867</link><description>The attached test case, &amp;#40;extracted from the tests cases I wrote when implementing the 3.5 System.Linq.Expressions in Mono&amp;#41;, fails on .net 4.0 RC and with the latest DLR checkout, while it works on 3.5.&lt;br /&gt;Comments: ** Comment from web user: jbevain ** &lt;p&gt;Yes, this is a genuine bug. OrElse is not correct, while AndAlso is.&lt;/p&gt;&lt;p&gt;Here&amp;#39;s the patch I&amp;#39;m using that passes my test suite&amp;#58;&lt;/p&gt;&lt;p&gt;http&amp;#58;&amp;#47;&amp;#47;gist.github.com&amp;#47;375076&lt;/p&gt;&lt;p&gt;It&amp;#39;s not pretty as testBlock is repeated twice for OrElse, but it works.&lt;/p&gt;</description><author>jbevain</author><pubDate>Thu, 22 Apr 2010 11:02:01 GMT</pubDate><guid isPermaLink="false">Commented Issue: LiftedToNull OrElse bug for user types [5867] 20100422110201A</guid></item><item><title>Commented Issue: TypeIs bug with void [5868]</title><link>http://dlr.codeplex.com/WorkItem/View.aspx?WorkItemId=5868</link><description>Expression.TypeIs should throw an ArgumentException if being passed typeof &amp;#40;void&amp;#41;.&lt;br /&gt;Comments: ** Comment from web user: jbevain ** &lt;p&gt;Fine with me, although it doesn&amp;#39;t make much sense. Your sample test a void method against void, and prints False. Which is correct, as nothing has for type void, but you can always wonder if a void expression in TypeIs&amp;#40;void&amp;#41; should return True.&lt;/p&gt;&lt;p&gt;I personally would throw to avoid any issue.&lt;/p&gt;</description><author>jbevain</author><pubDate>Thu, 22 Apr 2010 10:10:56 GMT</pubDate><guid isPermaLink="false">Commented Issue: TypeIs bug with void [5868] 20100422101056A</guid></item><item><title>Closed Issue: TypeLoadException when building and using Microsoft.Dynamic and Microsoft.Scripting under VS2010 beta2 [4705]</title><link>http://dlr.codeplex.com/WorkItem/View.aspx?WorkItemId=4705</link><description>I have a project that uses DLR in .NET4 &amp;#40;beta 2&amp;#41;. I want to use DefaultBinder, so I drag in Microsoft.Dynamic &amp;#40;which requires Microsoft.Scripting, so I drag that into my VS2010b2 solution, too&amp;#41;. I configure MS.Dynamic and MS.Scripting to build against v4 framework &amp;#40;in project properties&amp;#41;.&lt;br /&gt;&lt;br /&gt;When I call into DefaultBinder.CallMethod, I get a TypeLoadException whenever MS.Scripting is first loaded into the AppDomain&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#34;Inheritance security rules violated while overriding member&amp;#58; &amp;#39;Microsoft.Scripting.SymbolId.GetObjectData&amp;#40;System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext&amp;#41;&amp;#39;. Security accessibility of the overriding method must match the security accessibility of the method being overriden.&amp;#34;&lt;br /&gt;&lt;br /&gt;Any thoughts on where I might be going wrong here&amp;#63;&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Josh&lt;br /&gt;Comments: &lt;p&gt;&lt;/p&gt;</description><author>rdawson</author><pubDate>Wed, 21 Apr 2010 18:44:53 GMT</pubDate><guid isPermaLink="false">Closed Issue: TypeLoadException when building and using Microsoft.Dynamic and Microsoft.Scripting under VS2010 beta2 [4705] 20100421064453P</guid></item></channel></rss>