Jeremy D. Miller -- The Shade Tree Developer

Sponsors

The Lounge

News

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
I love Ayende (and OSS)

 From one of Ayende's many OSS projects.

    /// This class actually already exists in the System.Core assembly...as an internal class.

    /// I can only speculate as to why it is internal, but it is obviously much too dangerous

    /// for anyone outside of Microsoft to be using...

And dear MS BCL team, since so many people are already using Reflector to go get the ExpressionVisitor code, would you just make this public?  'K, thx.


Posted 12-04-2008 4:14 PM by Jeremy D. Miller

[Advertisement]

Comments

Romain Verdier wrote re: I love Ayende (and OSS)
on 12-04-2008 5:10 PM

Actually, the code is available on the MSDN, you don't even need to disassemble System.Core:

msdn.microsoft.com/.../bb882521.aspx

But yes, this class definitively deserves to be exposed as a public type.

Bryan Watts wrote re: I love Ayende (and OSS)
on 12-04-2008 5:31 PM

Matt Warren acknowledged that ExpressionVisitor should be public, but was not properly tested for release as production code.

He has recently released the IQToolkit, which includes this class and many others, on Codeplex:

blogs.msdn.com/.../building-a-linq-iqueryable-provider-part-xii.aspx

Jeremy D. Miller wrote re: I love Ayende (and OSS)
on 12-04-2008 6:06 PM

@Bryan,

I hope it works, 'cause I'm using it.  Thanks for the tip

Jarod wrote re: I love Ayende (and OSS)
on 12-04-2008 7:22 PM

You can also get the ExpressionVisitor in EFExtensions... the Materializer in there is pretty cool

GR Shared Link - I love Ayende (and OSS) - FreePress Blog wrote GR Shared Link - I love Ayende (and OSS) - FreePress Blog
on 12-05-2008 12:32 AM

Pingback from  GR Shared Link - I love Ayende (and OSS) - FreePress Blog

Dew Drop - December 5, 2008 | Alvin Ashcraft's Morning Dew wrote Dew Drop - December 5, 2008 | Alvin Ashcraft's Morning Dew
on 12-05-2008 9:47 AM

Pingback from  Dew Drop - December 5, 2008 | Alvin Ashcraft's Morning Dew

Dave's Box wrote "I can't believe Microsoft didn't make [Enter API Name Here] public"
on 12-09-2008 11:58 AM

Jeremy Miller takes a dig at the BCL team with his post, I love Ayende (and OSS) : From one of Ayende

Seth wrote re: I love Ayende (and OSS)
on 12-09-2008 6:19 PM

I'm glad it is internal.   I can think of large number of developers I have been or currently am affiliated with that could seriously screw something up if they knew about code like this.   They already screw stuff up left and right because they don't know how to use reflection properly.

Welcome to corporate IT departments across the nation and 9 to 5 place holders for org-charts.

Jeremy D. Miller wrote re: I love Ayende (and OSS)
on 12-09-2008 6:29 PM

@Seth,

I think that's a ridiculous statement.  A 501 developer isn't going to randomly pick up obscure classes inside the BCL and try to use them on everyday work.  A 501 developer won't be looking for this class.  A 501 developer isn't ambitious enough to get burned by this.

Jeff Handley wrote re: I love Ayende (and OSS)
on 12-10-2008 2:05 AM

Jeremy,

But if everything is public and virtual, then how would things be hidden into obscurity?

blog.jeffhandley.com/.../why-public-virtual-ubiquity-would-fail.aspx

-Jeff

Seth wrote re: I love Ayende (and OSS)
on 12-10-2008 6:25 PM

@Jeremy,

Just because you haven't worked with them doesn't mean they're not out there.

Add a Comment

(required)  
(optional)
(required)  
Remember Me?