title: File / Reference renaming in Visual Studio 2010
body: <p>In Visual Studio (I'm using 2010), When you create your own class/struct, where the filename and class name/struct name matches, and then attempt to rename the file, Visual Studio asks if you want to update the class name / struct name and all references to the class / struct. </p>
  
  <p>When I import a code file into the project, which follows the naming convention (file name and class name / struct name are the same) and then try to rename the file, Visual Studio does not ask me to update the class / struct and references to it...why is it only working for files that I create as opposed to files that I import?</p>