<?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>Now where did I put that member?</title><link>http://blogs.msdn.com/b/cyrusn/archive/2004/08/09/211190.aspx</link><description>Got this Ladybug report from a customer concerned that intellisense was broken because he wasn't seeing all the valid members in a drop down list when he did this: public void DoSomethingOfRelevance() { PrintPreviewDialog ppDialog; ppDialog&amp;lt;dot&amp;gt;</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>good blog</title><link>http://blogs.msdn.com/b/cyrusn/archive/2004/08/09/211190.aspx#455992</link><pubDate>Thu, 25 Aug 2005 05:14:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:455992</guid><dc:creator>Phany</dc:creator><description>You are the best. Thank you &lt;a rel="nofollow" target="_new" href="http://www.bignews.com"&gt;http://www.bignews.com&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=455992" width="1" height="1"&gt;</description></item><item><title>re: Now where did I put that member?</title><link>http://blogs.msdn.com/b/cyrusn/archive/2004/08/09/211190.aspx#213855</link><pubDate>Fri, 13 Aug 2004 00:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:213855</guid><dc:creator>Matthew W. Jackson</dc:creator><description>Mark: I can think of at least one case where I'd use EditorBrowsableState.Never.&lt;br&gt;&lt;br&gt;If I were writing a Complex struct, I might want to provide as many overloaded operators as possible to as many different languages.  If you follow CLS specs, it shouldn't be a problem if a language doesn't support all operators.  If you write overloaded operators you're supposed to have alternate methods (usually well-named static methods) for non-operator-overloading languages.  In the case of the exponent operator, I would most likely have a static Complex.Pow(Complex, Complex) method so that C# users could call operation.  However, VB are able to use ^, so in VB I can have a Public Shared Complex Operator ^(Complex, Complex)&lt;br&gt;&lt;br&gt;However, it appears that under the current implementation, the method for this operator shows up in C# Intellisense, even though I'm providing an alternative.  Using the attribute, the method should be able to be hidden from intellisense, although for me it still shows up (I don't know why).&lt;br&gt;&lt;br&gt;Speaking of which, if I were to be writing the Complex struct in C# (which I most likely would, being a C# programmer), there is currently no way I know of to mark the op_Exponent method as SpecialName so that VB can recognize it as an operator and consume it.  I've posted this problem on the MSDN Feedback system, and it seems it has been turned over to the VB team for review (although I'm quite certain that it's a C# problem). &lt;br&gt;&lt;br&gt;&lt;a target="_new" href="http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=3d5f27e5-bfcb-45f4-84fd-b56323910906"&gt;http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=3d5f27e5-bfcb-45f4-84fd-b56323910906&lt;/a&gt;&lt;br&gt;&lt;br&gt;Maybe now I need to post another feedback report since EditorBrowsableState.Never isn't working in C# (it does work in VB, however).&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=213855" width="1" height="1"&gt;</description></item><item><title>re: Now where did I put that member?</title><link>http://blogs.msdn.com/b/cyrusn/archive/2004/08/09/211190.aspx#213675</link><pubDate>Thu, 12 Aug 2004 19:24:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:213675</guid><dc:creator>Mark Levison</dc:creator><description>Sounds like the attribute EditorBrowsableState.Never needs to be deprecated.  If you add another state to Intellisense that will only **rarely** appear then I think as end user I will just be confused.  In fact knowing me I will spend hours googling 'intellisense grey'.  &lt;br&gt;&lt;br&gt;Short of deprecating EditorBrowsableState.Never I don't see a clean solution.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=213675" width="1" height="1"&gt;</description></item><item><title>re: Now where did I put that member?</title><link>http://blogs.msdn.com/b/cyrusn/archive/2004/08/09/211190.aspx#213203</link><pubDate>Thu, 12 Aug 2004 03:32:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:213203</guid><dc:creator>Matthew W. Jackson</dc:creator><description>Now that .NET 2 supports friend-assemblies, Shouldn't all the public-but-not-intended-to-be-used members in the framework now be marked Obsolete and replaced with internal versions?&lt;br&gt;&lt;br&gt;Either that, or clean up the code, make the members fully public and not hidden, and write some good documentation.&lt;br&gt;&lt;br&gt;I don't see any in-between visibility.  I understand the need for internal across assemblies, and while some argue that internal should never be used, I'm certainly not one of them.&lt;br&gt;&lt;br&gt;If people are actually using these methods (and I know they are, as I've seen several Internet posts about using certain unsupported public classes), and there are good reasons for them not to use them, then mark them Obsolete and give them a chance to stop using them.&lt;br&gt;&lt;br&gt;I at least hope that these not-so-public members have been tested for security flaws.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=213203" width="1" height="1"&gt;</description></item><item><title>re: Now where did I put that member?</title><link>http://blogs.msdn.com/b/cyrusn/archive/2004/08/09/211190.aspx#212520</link><pubDate>Wed, 11 Aug 2004 06:21:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:212520</guid><dc:creator>Radu Grigore</dc:creator><description>Cyrus, I'm not exactly sure why you felt like repeating two times for me what the problem is, but I appreciate your patience :)&lt;br&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=212520" width="1" height="1"&gt;</description></item><item><title>re: Now where did I put that member?</title><link>http://blogs.msdn.com/b/cyrusn/archive/2004/08/09/211190.aspx#211431</link><pubDate>Mon, 09 Aug 2004 21:36:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:211431</guid><dc:creator>Cyrus Najmabadi</dc:creator><description>Jeff: Thanks!&lt;br&gt;&lt;br&gt;This is one of the reasons I love working on intellisense (As opposed to just a straight compiler).  The enormous amount of fault tolerance that we need to have to support the code you have in it crappy state means that testing and verifying &amp;quot;correctness&amp;quot; is enormously challenging.  Even defining what &amp;quot;correct&amp;quot; is is too difficult for me to do.  I'd like to blog about this fact alone at some point.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=211431" width="1" height="1"&gt;</description></item><item><title>re: Now where did I put that member?</title><link>http://blogs.msdn.com/b/cyrusn/archive/2004/08/09/211190.aspx#211428</link><pubDate>Mon, 09 Aug 2004 21:31:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:211428</guid><dc:creator>Jeff Parker</dc:creator><description>Hah, well that's a reason ;-) &lt;br&gt;&lt;br&gt;We all suck a little, and we all did buggy code at one point and time and maybe in the future. Coders are only human. &lt;br&gt;&lt;br&gt;I will see if I can find that member but might be a difficult hunt. God only knows how many lines of code I have written in VS2003. From Windows Services to Web Sites. And just as I get really comfortable in thinking I know most of the Framework, you have to go and come out with framework 2.0 ;-)  Oh well some of the framework in there is a welcomed addition. Less dll's I have to write.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=211428" width="1" height="1"&gt;</description></item><item><title>re: Now where did I put that member?</title><link>http://blogs.msdn.com/b/cyrusn/archive/2004/08/09/211190.aspx#211416</link><pubDate>Mon, 09 Aug 2004 20:46:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:211416</guid><dc:creator>Cyrus Najmabadi</dc:creator><description>Jeff: &amp;quot;Could there be another reason you would get absolutely no intellesense for a member? &amp;quot;&lt;br&gt;&lt;br&gt;In a word: Yes :-)&lt;br&gt;&lt;br&gt;The reason being:&lt;br&gt;a) We suck...&lt;br&gt;b) Faulty logic in the code&lt;br&gt;&lt;br&gt;hehehe :-)&lt;br&gt;&lt;br&gt;Seriously, there are bugs and they do lead to missing members sometimes.  We've worked very hard to eliminate them but it does happen.  While we're very confident about the VS2k5 codebase we don't have absolute confidence.  That's why when Daigo came in saying &amp;quot;intellisense is missing a member&amp;quot; my heart sank because I thought there was something we missed.  &lt;br&gt;&lt;br&gt;If you ever do find out what that member was let me know so I can test to make sure it's not a problem now!&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=211416" width="1" height="1"&gt;</description></item><item><title>re: Now where did I put that member?</title><link>http://blogs.msdn.com/b/cyrusn/archive/2004/08/09/211190.aspx#211412</link><pubDate>Mon, 09 Aug 2004 20:41:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:211412</guid><dc:creator>Jeff Parker</dc:creator><description>Hmm, not this one. I distinctly remember it not giving me any intellesense what so ever. Like I said I could type it in but got no help with it at all, noargs or anything. I wish I could remember exactly what it was for but I was confounded by it not giving me any intellesense at all. It was also all part of the .net Framework as well. Standard framework not mobile Since I don;t do Mobil code. Also I am pretty sure it was 1.1 of the framework, Cause I tested it both at home and at work just to see if there was something wonkey with my machine at work. And my PC at home never had VS 2002 on it. Could there be another reason you would get absolutely no intellesense for a member? Like I said it didn't show in the list at all, but according to MSDN it existed and I did reflect it out. I do not remember any unusual Args on it but it would just not show up or give me intellesense. But I could type it in end the line with a semicolon and hit compile and it worked. Man I wish I remember what this was. I just assumed from your description in this blog entry this described everything I seen and was sharing my experiences of dealing with this.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=211412" width="1" height="1"&gt;</description></item><item><title>re: Now where did I put that member?</title><link>http://blogs.msdn.com/b/cyrusn/archive/2004/08/09/211190.aspx#211372</link><pubDate>Mon, 09 Aug 2004 19:26:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:211372</guid><dc:creator>Cyrus Najmabadi</dc:creator><description>Jeff: We will bind to the method just fine and will give you parameter help for it.  All we currently do is hide it in the completion list.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=211372" width="1" height="1"&gt;</description></item></channel></rss>