<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Breaking Change in Linq Queries Using Explicitly-Typed Range Variables</title><link>http://blogs.msdn.com/ed_maurer/archive/2008/02/16/breaking-change-in-linq-queries-using-explicitly-typed-range-variables.aspx</link><description>There's a change coming in .NET Framework 3.5 Service Pack 1 that will affect some programs containing queries that explicitly specify the type of the range variable. The affected queries are those whose range variable type differs from the element type</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Breaking Change in Linq Queries Using Explicitly-Typed Range Variables</title><link>http://blogs.msdn.com/ed_maurer/archive/2008/02/16/breaking-change-in-linq-queries-using-explicitly-typed-range-variables.aspx#7728330</link><pubDate>Sat, 16 Feb 2008 07:19:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7728330</guid><dc:creator>Zooba</dc:creator><description>&lt;p&gt;Thanks for this information. Breaking changes aren't so bad when the issue and reasoning are clearly explained.&lt;/p&gt;
&lt;p&gt;Round-to-even is just weird. Personally (as a very low-level and also a high-level developer) I see no need for any intrinsic rounding besides round-down (truncation for positive numbers). Every other rounding method can be easily emulated from this base.&lt;/p&gt;
</description></item><item><title>LINQ表达式中关于显式范围变量的Bug</title><link>http://blogs.msdn.com/ed_maurer/archive/2008/02/16/breaking-change-in-linq-queries-using-explicitly-typed-range-variables.aspx#7735996</link><pubDate>Sat, 16 Feb 2008 18:07:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7735996</guid><dc:creator>Adrian H.</dc:creator><description>&lt;p&gt;MSDN博客中的一篇文章提到了.NET3.5SP1会带来的处个修正，见以下代码： varfloats=newArrayList{2.5f,3.5f,4.5f}; ...&lt;/p&gt;
</description></item><item><title>re: Breaking Change in Linq Queries Using Explicitly-Typed Range Variables</title><link>http://blogs.msdn.com/ed_maurer/archive/2008/02/16/breaking-change-in-linq-queries-using-explicitly-typed-range-variables.aspx#7780271</link><pubDate>Tue, 19 Feb 2008 00:09:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7780271</guid><dc:creator>Randolpho</dc:creator><description>&lt;p&gt;Thankfully this won't affect me, but.... I was wondering where Ican &amp;nbsp;find info on the .NET 3.5 Service Pack 1. Google hasn't been my friend... &amp;nbsp;&lt;/p&gt;
&lt;p&gt;When is it due to ship? &lt;/p&gt;
</description></item><item><title>re: Breaking Change in Linq Queries Using Explicitly-Typed Range Variables</title><link>http://blogs.msdn.com/ed_maurer/archive/2008/02/16/breaking-change-in-linq-queries-using-explicitly-typed-range-variables.aspx#7795809</link><pubDate>Tue, 19 Feb 2008 18:42:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7795809</guid><dc:creator>alunharford</dc:creator><description>&lt;p&gt;Ouch! The original behavior was bad, but &amp;quot;it might behave the bad way, or another way, depending on what version of the CLR it's running on&amp;quot; is much worse.&lt;/p&gt;
&lt;p&gt;Developers could finding themselves fighting the &amp;quot;how does it behave when modulus operations are buggy&amp;quot; battle that has done so much damage to the Java platform.&lt;/p&gt;
&lt;p&gt;This change should have been left until version 4.&lt;/p&gt;
</description></item><item><title>re: Breaking Change in Linq Queries Using Explicitly-Typed Range Variables</title><link>http://blogs.msdn.com/ed_maurer/archive/2008/02/16/breaking-change-in-linq-queries-using-explicitly-typed-range-variables.aspx#7897726</link><pubDate>Tue, 26 Feb 2008 04:01:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7897726</guid><dc:creator>kfarmer@microsoft.com</dc:creator><description>&lt;p&gt;alunharford: &amp;nbsp;Given that the age of any (legal) code is still fairly young, I wouldn't expect this to be painful to correct to conform to the suggestion of not explicitly stating the range type. &amp;nbsp;Indeed, for the large majority of LINQ users, I doubt there's been a need to state the range type at all.&lt;/p&gt;
&lt;p&gt;Given the performance benefit of the fix and what I figure will be relatively few *actual* breakages, I think it's appropriate to do this change now. &amp;nbsp;Heck, even those which would break have plenty of time to code around the breaking area. &amp;nbsp;They could conceivably write their own cast operator if they wanted.&lt;/p&gt;
&lt;p&gt;Waiting until version 4 would have given an established base of code that would be much larger and more complex. &amp;nbsp;You would have to create a Cast2&amp;lt;T&amp;gt; method, which would just be wrong.&lt;/p&gt;
</description></item><item><title>Community Convergence XLI</title><link>http://blogs.msdn.com/ed_maurer/archive/2008/02/16/breaking-change-in-linq-queries-using-explicitly-typed-range-variables.aspx#8161027</link><pubDate>Wed, 12 Mar 2008 00:41:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8161027</guid><dc:creator>Charlie Calvert's Community Blog</dc:creator><description>&lt;p&gt;Welcome to the forty-first Community Convergence. The big news this week is that we have moved Future&lt;/p&gt;
</description></item><item><title>re: Breaking Change in Linq Queries Using Explicitly-Typed Range Variables</title><link>http://blogs.msdn.com/ed_maurer/archive/2008/02/16/breaking-change-in-linq-queries-using-explicitly-typed-range-variables.aspx#8214365</link><pubDate>Sat, 15 Mar 2008 03:58:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8214365</guid><dc:creator>jonskeet</dc:creator><description>&lt;p&gt;Slightly strange question, I know - but why is the call to Select(i =&amp;gt; i) included in the first place? Shouldn't it be removed as a degenerate query expression, given that there's a call to Cast?&lt;/p&gt;
</description></item><item><title>What's New in the June 2008 CTP of Parallel Extensions</title><link>http://blogs.msdn.com/ed_maurer/archive/2008/02/16/breaking-change-in-linq-queries-using-explicitly-typed-range-variables.aspx#8569614</link><pubDate>Mon, 02 Jun 2008 18:57:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8569614</guid><dc:creator>Parallel Programming with .NET</dc:creator><description>&lt;p&gt;We've just released a new community technology preview (CTP) of Parallel Extensions to the .NET Framework!&lt;/p&gt;
</description></item><item><title>.NET Framework 3.5 SP1: LINQ perf improvements (LINQ to Objects and LINQ to SQL)</title><link>http://blogs.msdn.com/ed_maurer/archive/2008/02/16/breaking-change-in-linq-queries-using-explicitly-typed-range-variables.aspx#8848477</link><pubDate>Mon, 11 Aug 2008 20:02:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8848477</guid><dc:creator>Dinesh's Cyberstation</dc:creator><description>&lt;p&gt;There are three perf improvements in the soon to be released SP1 . As always, I will let you run your&lt;/p&gt;
</description></item><item><title>Important LINQ Changes in .NET 3.5 SP1</title><link>http://blogs.msdn.com/ed_maurer/archive/2008/02/16/breaking-change-in-linq-queries-using-explicitly-typed-range-variables.aspx#8850229</link><pubDate>Tue, 12 Aug 2008 10:50:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8850229</guid><dc:creator>Marco Russo</dc:creator><description>&lt;p&gt;Dinesh Kulkarni wrote an important post about changes in LINQ introduced by .NET 3.5 SP1 that has been&lt;/p&gt;
</description></item><item><title>Important LINQ Changes in .NET 3.5 SP1</title><link>http://blogs.msdn.com/ed_maurer/archive/2008/02/16/breaking-change-in-linq-queries-using-explicitly-typed-range-variables.aspx#8850231</link><pubDate>Tue, 12 Aug 2008 10:50:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8850231</guid><dc:creator>SQLBI - Marco Russo</dc:creator><description>&lt;p&gt;Dinesh Kulkarni wrote an important post about changes in LINQ introduced by .NET 3.5 SP1 that has been&lt;/p&gt;
</description></item><item><title>Breaking Changes in SP1 for Visual Studio 2008 and .NET 3.5</title><link>http://blogs.msdn.com/ed_maurer/archive/2008/02/16/breaking-change-in-linq-queries-using-explicitly-typed-range-variables.aspx#8856825</link><pubDate>Wed, 13 Aug 2008 11:09:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8856825</guid><dc:creator>Andreas Lehmann</dc:creator><description>&lt;p&gt;I found some interesting blog posts about breaking changes in the SP1 for Visual Studio 2008 and the&lt;/p&gt;
</description></item></channel></rss>