The type for variable '|1' will not be inferred because it is bound to a field in an enclosing scope. Either change the name ...

The type for variable '|1' will not be inferred because it is bound to a field in an enclosing scope. Either change the name of '|1', or use the fully qualified name (for example, 'Me.|1' or 'MyBase.|1').