introduce variable in VB with name "class"
ReSharper 3.0.3 EAP Version=3.0.0.0, Edition=, Built=2007-10-26T20:51:34, Configuration=ReSharper_AddIn_Internal, VsVersion=8.0
JetBrains.Util.InternalErrorException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at JetBrains.ReSharper.Psi.VB.Impl.Tree.VBExpressionBase.NeedToParenthise(IVBExpression expr) in c:\Work\ReSharper\ReSharper3.0.2\src\Psi.VB\src\Impl\Tree\VBExpressionBase.cs:line 213
at JetBrains.ReSharper.Psi.VB.Impl.Tree.VBExpressionBase.ReplaceBy(IVBExpression expr) in c:\Work\ReSharper\ReSharper3.0.2\src\Psi.VB\src\Impl\Tree\VBExpressionBase.cs:line 189
at JetBrains.ReSharper.Refactorings.VB.VBIntroduceVariable.ReplaceExpression(IVBExpression expr, IVBExpression refExpr, String refName) in C:\Work\ReSharper\ReSharper3.0.2\src\Refactorings.VB\src\IntroduceVariable\VBIntroduceVariable.vb:line 84
at JetBrains.ReSharper.Refactorings.VB.VBIntroduceVariable.ExecuteRefactoring(IExpression primaryExpression, IExpression[] occurrences, IType type, String name, Boolean isConst) in C:\Work\ReSharper\ReSharper3.0.2\src\Refactorings.VB\src\IntroduceVariable\VBIntroduceVariable.vb:line 67
at JetBrains.ReSharper.Refactorings.IntroduceVariable.IntroduceVariableRefactoring.Execute() in c:\Work\ReSharper\ReSharper3.0.2\src\NewRefactorings\src\IntroduceVariable\IntroduceVariableRefactoring.cs:line 130
at JetBrains.ReSharper.Refactorings.IntroduceVariable.IntroduceVariableRefactoringWorkflow.Execute(IProgressIndicator progressIndicator) in c:\Work\ReSharper\ReSharper3.0.2\src\NewRefactorings\src\IntroduceVariable\Impl\IntroduceVariableRefactoringWorkflow.cs:line 123
at JetBrains.ReSharper.Refactorings.Workflow.WorkflowProcessor.RefactoringExecutor.Execute(IProgressIndicator progressIndicator) in c:\Work\ReSharper\ReSharper3.0.2\src\NewRefactorings\src\Workflow\WorkflowProcessor.cs:line 651
— End of inner exception stack trace —
at JetBrains.Util.InternalErrorException..ctor(String, Exception) in c:\Work\ReSharper\ReSharper3.0.2\Platform\src\JetBrains.Util\src\InternalErrorException.cs:line 29 column 7
at JetBrains.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\Work\ReSharper\ReSharper3.0.2\Platform\src\JetBrains.Util\src\Logger\Logger.cs:line 263 column 4
at JetBrains.Util.Logger.LogException(Exception) in c:\Work\ReSharper\ReSharper3.0.2\Platform\src\JetBrains.Util\src\Logger\Logger.cs:line 272 column 4
at JetBrains.ReSharper.Refactorings.Workflow.RefactoringExecutor.Execute(IProgressIndicator) in c:\Work\ReSharper\ReSharper3.0.2\src\NewRefactorings\src\Workflow\WorkflowProcessor.cs:line 664 column 11
at JetBrains.UI.Shell.Progress.TaskHelper.Run() in c:\Work\ReSharper\ReSharper3.0.2\Platform\src\JetBrains.UI\src\Shell\Progress\UITaskExecutor.cs:line 178 column 13
at JetBrains.UI.Shell.Progress.UITaskExecutor.DoRun(TaskHelper) in c:\Work\ReSharper\ReSharper3.0.2\Platform\src\JetBrains.UI\src\Shell\Progress\UITaskExecutor.cs:line 243 column 7
at JetBrains.UI.Shell.Progress.UITaskExecutor.ExecuteTask(TaskHelper, String, Boolean, Boolean&) in c:\Work\ReSharper\ReSharper3.0.2\Platform\src\JetBrains.UI\src\Shell\Progress\UITaskExecutor.cs:line 105 column 9
at JetBrains.UI.Shell.Progress.UITaskExecutor.ExecuteTask(TaskWithProgress, String, Boolean&) in c:\Work\ReSharper\ReSharper3.0.2\Platform\src\JetBrains.UI\src\Shell\Progress\UITaskExecutor.cs:line 123 column 7
at JetBrains.ReSharper.Refactorings.Workflow.TaskExecutorWrapper.ExecuteTask(TaskWithProgress, String, Boolean&) in c:\Work\ReSharper\ReSharper3.0.2\src\NewRefactorings\src\Workflow\WorkflowProcessor.cs:line 698 column 9
at JetBrains.ReSharper.Refactorings.Workflow.WorkflowProcessor.ExecuteRefactoring(Object[]) in c:\Work\ReSharper\ReSharper3.0.2\src\NewRefactorings\src\Workflow\WorkflowProcessor.cs:line 448 column 9
at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.DoTransaction(TransactionHandler, Object[]) in c:\Work\ReSharper\ReSharper3.0.2\src\Psi\src\impl\PsiManager\PsiManagerImpl.cs:line 352 column 9
at JetBrains.ReSharper.Refactorings.Workflow.WorkflowProcessor.TryExecuteRefactoring() in c:\Work\ReSharper\ReSharper3.0.2\src\NewRefactorings\src\Workflow\WorkflowProcessor.cs:line 293 column 9
at JetBrains.ReSharper.Refactorings.Workflow.WorkflowProcessor.ShowNextPage() in c:\Work\ReSharper\ReSharper3.0.2\src\NewRefactorings\src\Workflow\WorkflowProcessor.cs:line 189 column 13
at JetBrains.ReSharper.Refactorings.Workflow.WorkflowProcessor.MyForm_OnContinueClicked(Object, EventArgs) in c:\Work\ReSharper\ReSharper3.0.2\src\NewRefactorings\src\Workflow\WorkflowProcessor.cs:line 117 column 7
at JetBrains.ReSharper.Refactorings.Workflow.RefactoringWizardForm.myContinueButton_Click(Object, EventArgs) in c:\Work\ReSharper\ReSharper3.0.2\src\NewRefactorings\src\Workflow\RefactoringWizardForm.cs:line 513 column 6
at System.Windows.Forms.Control.OnClick(EventArgs)
at System.Windows.Forms.Button.OnClick(EventArgs)
at System.Windows.Forms.Button.PerformClick()
at System.Windows.Forms.Form.ProcessDialogKey(Keys)
at System.Windows.Forms.Control.ProcessDialogKey(Keys)
at System.Windows.Forms.Control.ProcessDialogKey(Keys)
at System.Windows.Forms.ContainerControl.ProcessDialogKey(Keys)
at System.Windows.Forms.Control.ProcessDialogKey(Keys)
at System.Windows.Forms.Control.PreProcessMessage(Message&)
at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control, Message&)
at System.Windows.Forms.ThreadContext.PreTranslateMessage(MSG&)
at System.Windows.Forms.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG&)
at System.Windows.Forms.ComponentManagerProxy.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG&)