--- /dev/null
+using System;
+
+namespace Test
+{
+ public class BaseContext
+ {
+ }
+
+ public class MyDataContext : BaseContext
+ {
+ }
+
+ public abstract class Entity<T>
+ {
+ }
+
+ public class Person : Entity<MyDataContext>
+ {
+ }
+
+ public sealed class TheBox<T> where T : BaseContext
+ {
+ public U GetById<U> (Guid entityId) where U : Entity<T>
+ {
+ return null;
+ }
+ }
+
+ public class Program
+ {
+ public static void Main ()
+ {
+ TheBox<MyDataContext> dc = new TheBox<MyDataContext> ();
+ dc.GetById<Person> (Guid.NewGuid ());
+ }
+ }
+}
+
</method>
</type>
</test>
+ <test name="gtest-461.cs">
+ <type name="Test.BaseContext">
+ <method name="Void .ctor()">
+ <size>7</size>
+ </method>
+ </type>
+ <type name="Test.MyDataContext">
+ <method name="Void .ctor()">
+ <size>7</size>
+ </method>
+ </type>
+ <type name="Test.Entity`1[T]">
+ <method name="Void .ctor()">
+ <size>7</size>
+ </method>
+ </type>
+ <type name="Test.Person">
+ <method name="Void .ctor()">
+ <size>7</size>
+ </method>
+ </type>
+ <type name="Test.TheBox`1[T]">
+ <method name="U GetById[U](Guid)">
+ <size>7</size>
+ </method>
+ <method name="Void .ctor()">
+ <size>7</size>
+ </method>
+ </type>
+ <type name="Test.Program">
+ <method name="Void Main()">
+ <size>19</size>
+ </method>
+ <method name="Void .ctor()">
+ <size>7</size>
+ </method>
+ </type>
+ </test>
<test name="gtest-anon-1.cs">
<type name="X">
<method name="Void .ctor()">