title: PropertyInfo.GetProperty returns null when it shouldn't
body: <p>I'm trying to get the value of a private property of a WPF WebBrowser object. I can see in the debugger that it has a non-null value.</p>
  
  <pre><code>PropertyInfo activeXProp = Browser.GetType().GetProperty("ActiveXInstance", BindingFlags.Instance | BindingFlags.NonPublic);
  object activeX = activeXProp.GetValue(Browser, null); // here I get null for the activeX value
  activeX.GetType().GetProperty("Silent").SetValue(activeX, true); // and here it crashes for calling a method on a null reference...
  </code></pre>
  
  <p>My guess is I'm not using reflection in a proper way, but what is the proper way to do it in this case?
  The project is a WPF project running on .NET 4.6.1 and Windows 10.
  I tried running it with admin rights (adding a manifest file to the project), but made no difference.</p>