Skip to content
This repository has been archived by the owner. It is now read-only.

CreateChangedEventCodeRefactoringProvider exception on auto-implemented property (VB) #291

Closed
pvdberge opened this issue Mar 3, 2017 · 2 comments
Assignees
Milestone

Comments

@pvdberge
Copy link

pvdberge commented Mar 3, 2017

'CreateChangedEventCodeRefactoringProvider' encountered an error and has been disabled.

Occurs after right-clicking on auto-implemented property in VB (VS2017 RC).

Stack Trace:

System.NullReferenceException : Object reference not set to an instance of an object.
   at RefactoringEssentials.VB.CodeRefactorings.CreateChangedEventCodeRefactoringProvider.GetBackingField(SemanticModel model,PropertyBlockSyntax property)
   at async RefactoringEssentials.VB.CodeRefactorings.CreateChangedEventCodeRefactoringProvider.ComputeRefactoringsAsync(<Unknown Parameters>)
   at async Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringService.GetRefactoringFromProviderAsync(<Unknown Parameters>)
@scenevista
Copy link

Yes, it is. I have the same problem in VS2017 RTM when typing the keyword 'Property' and something, and wait less than 1 second. This problem occurs when I do this, always.
May be it's just a bug. But it's really annoying.

@siegfriedpammer siegfriedpammer self-assigned this Apr 7, 2017
@siegfriedpammer siegfriedpammer added this to the 4.10/5.4 milestone Apr 7, 2017
@ghost
Copy link

ghost commented Jun 15, 2017

i have this error msg too. so annoying. can you people please fix it. thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants