IIncrementalGenerator and "Inheritance margin" feature hitting removed files
I've been trying to understand for a few days now if I'm doing something wrong.
If I create source files based on an Attribute attached to a class and then remove the Attribute from it, the cache is not cleared out of the source file.
This causes an exception in the "Inheritance margin" feature in VS:
Here's a git repo where this can be easily reproduced: https://github.com/pheonick/GeneratorProject
If we take the UserProject/UserClass.cs, build the project and then remove all of the
Can anyone help me understand this, please?
If I create source files based on an Attribute attached to a class and then remove the Attribute from it, the cache is not cleared out of the source file.
This causes an exception in the "Inheritance margin" feature in VS:
StreamJsonRpc.RemoteInvocationException: The solution does not contain the specified document.Here's a git repo where this can be easily reproduced: https://github.com/pheonick/GeneratorProject
If we take the UserProject/UserClass.cs, build the project and then remove all of the
[Test(...)] Attributes from the class, we'll get the exception described above.Can anyone help me understand this, please?
GitHub
Contribute to pheonick/GeneratorProject development by creating an account on GitHub.
