(VS2012) Visual Basic にて、Imports ステートメントでエイリアス名を定義しているファイル内で、Iterator Function を記述するとクラッシュする。 - by mine_t

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


1
0
Sign in
to vote
ID 777554 Comments
Status Closed Workarounds
Type Bug Repros 1
Opened 1/25/2013 6:40:39 PM
Access Restriction Public

Description

Visual Studio 2012 にて確認。
以下の手順で .vb ファイルを編集すると、Visual Studioがクラッシュします。

1. クラス定義ファイルにて、 Imports ステートメントで何らかのエイリアス名を定義する。例: Impots Foo = System.Int32
2. クラス定義内にて、Iterator Function の宣言をタイプする。例: Iterator Function Bar() As とタイプする。
3. As に続けてスペースをタイプする。
4. VisualStudio がクラッシュする。

入力例 Class1.vb を添付します。手順 2. まで行った状態です。
ここで As に続けてスペースをタイプするとクラッシュします。
Sign in to post a comment.
Posted by Dustin [MSFT] on 4/15/2013 at 8:47 AM
Hi,

Thanks for contacting us about this issue. We have fixed the problem and you should see this corrected in the next Visual Studio update.

Kind Regards,
Dustin Campbell
Visual Studio Managed Languages
Posted by Microsoft on 2/5/2013 at 1:40 AM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 2/4/2013 at 5:32 AM
この度はフィードバックをお送りいただき、誠にありがとうございます。 現在、お送りいただきました報告内容に基づき問題を確認中ですので、しばらくお待ちください。 よろしくお願いいたします。

[Repro Steps: ]
1. Define an alias name in the Imports statement in the class definition file. (Example: Imports Foo = System.Int32)
2. Type the Iterator Function declaration in the class definition. Example: Type "Iterator Function Bar() As."
3. Type in a space following As.
4. VisualStudio crashes.

[Actual Results: ]

You cannot type the Iterator Function declaration from the top, and code.
This problem can be avoided by changing the input method (Refer to the workaround method).

[Expected Results: ]
Connect (Japan)

[Problem Description:]

Checked using Visual Studio 2012. When I edit a .vb file based on the following steps, Visual Studio crashes. 1. Define an alias name in the Imports statement in the class definition file. Example: Impots Foo = System.Int32 2. Type in the Iterator Function declaration in the class definition. Example: Type "Iterator Function Bar() As." 3. Type in a space following As. 4. VisualStudio crashes. An input example Class1.vb is attached. Up to step 2 is executed. Visual Studio crashes when you type in a space following As at this point.
Posted by Microsoft on 1/25/2013 at 6:50 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)