Reporter | Roy Dallal (Roy.Dallal) |
---|---|
Created | Feb 28, 2012 9:37:52 PM |
Updated | Feb 28, 2012 9:37:52 PM |
Priority | Normal |
Type | Bug |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Unassigned |
Subsystem | Code Analysis |
Affected versions | 6.1.1 |
Fixed in build | No Fixed in build |
Used Resharper to generate methods with classes not in the project or referenced by the project.
Than moved the file containing those classes (the file has no namespace) to the project with the methods and Resharper continues to mark them as red, but the build passes.
Closing and openning the document doesn't solve the problem.
Ctrl+Click on the red classes jump to the relevant code.
Closing and openning the solution solves the problem.
Attached: ResharperMouseOver - the little box is the "helpful" tooltip for the red error
Detailed scenario for the bug:
I received wsdl and xsd files and generated a service interface from them using:
http://fczaja.blogspot.com/2008/05/generating-c-web-service-skeleton-from.html
I have first put the generated file (the file has no namespace) in my services project and implemented a service from the generated code.
Then I called a BL class in BL project with classes generated from the interface file and had Resharper create those classes. Seeing that the code is red I moved the generated interface file to the BL project.
Now the build passes and Resharper shows red for those classes.
Had a similar case with commented code:
http://youtrack.jetbrains.com/issue/RSRP-287576
I am using Build 6.1.44.78
Than moved the file containing those classes (the file has no namespace) to the project with the methods and Resharper continues to mark them as red, but the build passes.
Closing and openning the document doesn't solve the problem.
Ctrl+Click on the red classes jump to the relevant code.
Closing and openning the solution solves the problem.
Attached: ResharperMouseOver - the little box is the "helpful" tooltip for the red error
Detailed scenario for the bug:
I received wsdl and xsd files and generated a service interface from them using:
http://fczaja.blogspot.com/2008/05/generating-c-web-service-skeleton-from.html
I have first put the generated file (the file has no namespace) in my services project and implemented a service from the generated code.
Then I called a BL class in BL project with classes generated from the interface file and had Resharper create those classes. Seeing that the code is red I moved the generated interface file to the BL project.
Now the build passes and Resharper shows red for those classes.
Had a similar case with commented code:
http://youtrack.jetbrains.com/issue/RSRP-287576
I am using Build 6.1.44.78