Hi, I apologize if this has already been posted (couldn't find a post for it). I have two classes: Code Snippet public class A { pubilc virtual string MyString { get; set; } } pubilc class B : A { public override string MyString { get; set; } } I have an IEnumerable MyBs. When I issue the query: Code Snippet var x = MyBs.Where(b => b.MyString == "Foo") the MemberExpression's (i.e. b.MyString) Member (i.e. MyString) has its DeclaringType as A and not B. Is anyone getting this bevahior as well? Thanks
Read More...