title: How do I find the origin of a property in C# code?
body: <p>I'm trying to convert the <code>TexturedCube</code> <a href="https://github.com/xamarin/monodroid-samples/tree/master/TexturedCube" rel="nofollow">example for monodroid</a> from C# to F# and hit upon this line of C# code (from the <code>CreateFrameBuffer</code> method on the <code>PaintingView</code> class):</p>
  
  <pre><code>GLContextVersion &lt;- GLContextVersion.Gles1_1
  </code></pre>
  
  <p>In F#, I must be explicit about the origin of <code>GLContextVersion</code> but I cannot find it for love nor money. For example, if <code>PaintingView</code> implemented an interface that exposed this <code>GLContextVersion</code> property then I believe I would have to upcast <code>this</code> to that interface type in order to invoke that property.</p>
  
  <p>According to the documentation the <code>AndroidGameView</code> (from which <code>PaintingView</code> is derived) implements this property but the following fails with <code>Error FS0039: The field, constructor or member 'GLContextVersion' is not defined (FS0039) (TexturedCube)</code>:</p>
  
  <pre><code>base.GLContextVersion &lt;- GLContextVersion.Gles1_1
  </code></pre>
  
  <p>My F# program runs just fine on my Nexus 7 without this line but, as a pedant, I'd like to get this last line translated too!</p>