An expression uses the with statement to access a class that has a member with the same name as an identifier in the current scope. The compiler cannot distinguish which identifier to access.
To correct this error
-
Rename the member of the class or the identifier in the current scope.
-
Avoid using the with statement.