What is System.Reflection.RuntimePropertyInfo and how do I compare it?
<p>I was suprised to see that the actual type of the object I get with <code>x.GetType().GetProperty("Foo")</code> is not <code>System.Reflection.PropertyInfo</code> but <code>System.Reflection.RuntimePropertyInfo</code>.</p>

<p>I don't see this type documentation in msdn or elsewhere.</p>

<p>My actual problem grows from reference-comparing two properties. I receive a property from third-party lib and compare it with a property which I get with <code>.GetProperty("Foo")</code> on the same type. I expected properties to be the same object (and they looks like the same property in "Locals" window while debugging), but they are not (<code>GetHashCode</code> result is different). So, I think it can somehow be related with the actual type of the property object which is <code>System.Reflection.RuntimePropertyInfo</code>.</p>

<p>What is <code>System.Reflection.RuntimePropertyInfo</code>? How to compare it? Does it behaves the same as usual <code>PropertyInfo</code>?</p>