title: Documenting an array of type T in vsdoc format for javascript, Did I Find a Bug?
body: <p>Following <a href="http://weblogs.asp.net/bleroy/archive/2007/04/23/the-format-for-javascript-doc-comments.aspx" rel="nofollow">these guidelines for vsdoc documentation</a>, I've been unable to get intellisense to work properly for an array of a given type.  Here is some code that demos the problem</p>
  
  <pre><code>function MyType() {
      /// &lt;summary&gt;Class description here&lt;/summary&gt;
      /// &lt;field name="PropertyA" type="Boolean"&gt;Description of Property A&lt;/field&gt;
      /// &lt;field name="PropertyB" type="String"&gt;Description of Property B&lt;/field&gt;
   }
  MyType.prototype.PropertyA = false;
  MyType.prototype.PropertyB = "";
  
  function testFunc(arrayOfMyType) {
      /// &lt;summary&gt;Description of testFunc&lt;/summary&gt;
      /// &lt;param name="arrayOfMyType" type="Array" elementType="MyType"&gt;asdfasdf&lt;/param&gt;
  
      // right here, I should get the intellisense for an item of type MyType but I don't
      arrayOfMyType[0].
  
  }
  </code></pre>
  
  <p>Right after <code>arrayOfMyType[0]</code> I should get intellisense for MyType but I don't.  I've also tried a for-in loop to see if that would bring up the right intellisense but it doesn't.  I should note that <code>arrayOfMyType</code> does have proper intellisense for an <code>Array</code>, and if I change it from <code>Array</code> to <code>MyType</code> then I get the correct intellisense for that, but not as an <code>Array</code> of type <code>MyType</code> as commented in the example.</p>
  
  <p>At the moment I only have access to pre-sp1 vs2010 so I'm not sure if its a bug they've patched or not.  </p>
  
  <p>Could anyone tell me if </p>
  
  <ul>
  <li>I'm writing my vsdoc xml comments incorrectly</li>
  <li>I'm correct or not about expecting to get the intellisense for MyType at that line</li>
  <li>The intellisense for the above snippet works in vs2010 sp1</li>
  </ul>