Current filter:
                                You should refresh the page.
                                  • Pressing the Refactor Key with the Cursor over xxx produces the error in the following code

                                    For Each r In ctx.ClientMasters.OrderBy(Function(xxx) xxx.Name).Skip(skip).Take(5)

                                    Stack Trace:
                                    System.NullReferenceException : Object reference not set to an instance of an object.
                                       at DevExpress.CodeAnalysis.VisualBasic.CodeDeclare.PropertyWithInitializerDeclarator.RegisterAssignmentInsertion(List`1 insertions,Solution solution,ParameterSyntax param)
                                       at async DevExpress.CodeAnalysis.VisualBasic.CodeDeclare.PropertyWithInitializerDeclarator.GetNodeReplacements(<Unknown Parameters>)
                                       at async DevExpress.CodeAnalysis.VisualBasic.CodeDeclare.ElementDeclarator.Execute(<Unknown Parameters>)
                                       at async DevExpress.CodeAnalysis.VisualBasic.CodeDeclare.DeclareLocalRefactoring.Execute(<Unknown Parameters>)
                                       at async DevExpress.CodeAnalysis.VisualBasic.CodeDeclare.DeclareRefactoring.ApplyChangeManager(<Unknown Parameters>)
                                       at async DevExpress.CodeAnalysis.TargetPicker.TargetPickerRegistrator.DoRegistration(<Unknown Parameters>)
                                       at async DevExpress.CodeAnalysis.Refactorings.RefactoringProvider.RegisterRefactoring(<Unknown Parameters>)
                                       at async DevExpress.CodeAnalysis.Refactorings.RefactoringProvider.ComputeRefactoringsAsync(<Unknown Parameters>)
                                       at async Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringService.GetRefactoringFromProviderAsync(<Unknown Parameters>)

                                • Pavel A (DevExpress) 11.21.2017

                                  Hello,

                                  Thank you for pointing out and providing the code sample.
                                  I have reproduced this issue, so we will notify you when we fix it.

                                1 Solution

                                Creation Date Importance Sort by

                                Fixed: