<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Overriding a property using new and reflection</title><link>http://blogs.msdn.com/b/thottams/archive/2006/03/17/553376.aspx</link><description>When you override a property using new with a new type there is discrepancy in behavior from C# and reflection. C# is not aware of the property in the base class and it has been overridden by the new property. But reflection is well aware of both the</description><dc:language>en</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>How to override a property with Reflection Emit | keyongtech</title><link>http://blogs.msdn.com/b/thottams/archive/2006/03/17/553376.aspx#9361905</link><pubDate>Thu, 22 Jan 2009 06:08:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9361905</guid><dc:creator>How to override a property with Reflection Emit | keyongtech</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.keyongtech.com/432604-how-to-override-a-property"&gt;http://www.keyongtech.com/432604-how-to-override-a-property&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9361905" width="1" height="1"&gt;</description></item><item><title>re: Overriding a property using new and reflection</title><link>http://blogs.msdn.com/b/thottams/archive/2006/03/17/553376.aspx#2282153</link><pubDate>Thu, 26 Apr 2007 09:23:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2282153</guid><dc:creator>wesu</dc:creator><description>&lt;p&gt;I discussed binding to hidden properties using Reflection here: &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/weitao/archive/2007/04/26/binding-to-hidden-properties-using-reflection.aspx"&gt;http://blogs.msdn.com/weitao/archive/2007/04/26/binding-to-hidden-properties-using-reflection.aspx&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2282153" width="1" height="1"&gt;</description></item><item><title>Binding to hidden properties using Reflection</title><link>http://blogs.msdn.com/b/thottams/archive/2006/03/17/553376.aspx#2281972</link><pubDate>Thu, 26 Apr 2007 09:08:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2281972</guid><dc:creator>Weitao Su's WebLog</dc:creator><description>&lt;p&gt;Thottam blogged about how C# and Reflection differ in how they bind to hidden properties: &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/thottams/archive/2006/03/17/553376.aspx"&gt;http://blogs.msdn.com/thottams/archive/2006/03/17/553376.aspx&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2281972" width="1" height="1"&gt;</description></item><item><title>re: Overriding a property using new and reflection</title><link>http://blogs.msdn.com/b/thottams/archive/2006/03/17/553376.aspx#2248489</link><pubDate>Mon, 23 Apr 2007 20:57:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2248489</guid><dc:creator>Michael Tan</dc:creator><description>&lt;p&gt;Is there a way to get the inherited properties as well while using BindingFlags.DeclaredOnly? Suppose that the base class had the property A, which the derived class wishes to get (e.g. typeof(Derived).GetProperty(&amp;quot;A&amp;quot;, ...)). i.e. is there a way to return all inherited properties, while at the same time, if there is are multiple properties with the same name, return only those declared at the calling-type's level? Thanks a lot&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2248489" width="1" height="1"&gt;</description></item><item><title>re: Overriding a property using new and reflection</title><link>http://blogs.msdn.com/b/thottams/archive/2006/03/17/553376.aspx#695940</link><pubDate>Sat, 12 Aug 2006 00:34:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:695940</guid><dc:creator>Thottam Sriram</dc:creator><description>Thanks for the note. It feels good to find that my posting helped someone and encourages me to post more like this.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=695940" width="1" height="1"&gt;</description></item><item><title>re: Overriding a property using new and reflection</title><link>http://blogs.msdn.com/b/thottams/archive/2006/03/17/553376.aspx#695584</link><pubDate>Fri, 11 Aug 2006 18:03:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:695584</guid><dc:creator>Benjamin Mitchell</dc:creator><description>Thank so much for posting this ... it really helped me overcome this exact problem.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=695584" width="1" height="1"&gt;</description></item><item><title>New-ish CLR/Reflection Blogger</title><link>http://blogs.msdn.com/b/thottams/archive/2006/03/17/553376.aspx#585707</link><pubDate>Fri, 28 Apr 2006 06:24:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:585707</guid><dc:creator>Kathy Kam</dc:creator><description>I mentioned a while back that I change from being a PM for System.Reflection and System.Reflection.Emit..e.t.c...&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=585707" width="1" height="1"&gt;</description></item></channel></rss>