Fix bug #2927: lookup event bound methods from root instance, not current object.
[mono.git] / mcs / class / System.Xaml / Test / XmlFiles / LookupCorrectEvent3.xml
1 <MyRootClass2 xmlns="clr-namespace:XamarinBug2927;assembly=System.Xaml_test_net_4_0" >
2   <MyRootClass2.Child>
3     <MyChildClass>
4       <MyChildClass.Descendant>
5         <DescendantClass Value='x' DoWork='HandleMyEvent' />
6       </MyChildClass.Descendant>
7     </MyChildClass>
8   </MyRootClass2.Child>
9 </MyRootClass2>