-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when TearDown method is defined in partial test classes - Syntax node is not within syntax tree #766
Milestone
Comments
Have the same error in partial test class, however, it does not have TearDown methods. Looks like it occurs when analyzing field assignments. Stacktrace:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When a test class is separated into different files via partial classes and contain a method marked with TearDown attribute, I get the following error:
When I move the TearDown method into a base class, everything works.
The text was updated successfully, but these errors were encountered: