I'm working with build 2080. Given the following code:
Public Const MY_CONST As Integer = 47
Private MyVar As Integer
Public ReadOnly Property MyProperty() As Integer
Public Sub SomeFunction(ByRef value As Integer)
'Do Something with value...
Public Sub SomeOtherFunction()
R# mark the error "Property MyProperty has no setter" on "MyProperty" and "Constant cannot be used as assignement target" on "MY_CONST" in the calls of "SomeFunction". This is semantically correct, but Visual Basic accepts such constructs and the code is compiled without error. I would prefer to flag such constructs as warning, but there is no possibility to change the severity of this exception (specially because i have to call functions with ByRef parameters for which i don't have the source code and so not be able to change the signature).
Another thing is that R# marks "My.Computer...." as error "Cannot resolve symbol Computer". Same error occurs for My.Application. So it seems that code analysis doesn't recognize the My namespace.
Third annoying false error is that R# doesn't recognize the With keyword. Each reference of a method or property inside the With-block is marked with the Error "Cannot resolve symbol...".
Added problem with "With" keyword