title: Ambiguous Reference inline error in Xamarin.Forms
body: <p>got something here that’s driving me mad.</p>
  
  <p>Using Xamarin Studio 6 (Stable) on OS X, El Capitan.</p>
  
  <p>Started a new Xamarin.Forms project. My view (aptly named MyView) has a ListView in it, with a reference of x:Name=“myListView”. </p>
  
  <p>When trying to access it from the code-behind, I’m getting an inline error</p>
  
  <blockquote>
    <p>“Error: Ambiguity between MyView.myListView and MyView.myListView”,</p>
  </blockquote>
  
  <p>and the same thing with InitializeComponent() in every view ever. </p>
  
  <p>The error doesn’t actually break anything, but destroys any intellisense capabilities and, most importantly, is incredibly annoying.</p>
  
  <p>I’m assuming it’s because of the files generated behind the scenes, but not quite sure what to do about it - Google doesn’t seem to be incredibly helpful with the issue. Probably should have used Bing.</p>
  
  <p>And yes, I’ve tried the clean + rebuild approach before anyone asks.</p>