Navigation: X# Documentation > X# Compiler Errors and Warnings
Warning XS0728
Possibly incorrect assignment to local '{0}' which is the argument to a using or lock statement. The Dispose call or unlocking will happen on the original value of the local.