File tree Expand file tree Collapse file tree
Tests/CSharp/ExpressionTests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1451,6 +1451,7 @@ Public Shared FuncClass As Func(Of TestObjClass) = AddressOf FunctionReturningCl
14511451 Public Shared FuncBaseClass As Func(Of TestBaseObjClass) = AddressOf FunctionReturningClass
14521452 Public Shared FuncInterface As Func(Of ITestObj) = AddressOf FunctionReturningClass
14531453 Public Shared FuncInterfaceParam As Func(Of ITestObj, ITestObj) = AddressOf CastObj
1454+ Public Shared FuncClassParam As Func(Of TestObjClass, ITestObj) = AddressOf CastObj
14541455
14551456 Public Shared Function FunctionReturningClass() As TestObjClass
14561457 Return New TestObjClass()
@@ -1481,6 +1482,7 @@ public partial class Issue1148
14811482 public static Func<TestBaseObjClass> FuncBaseClass = FunctionReturningClass;
14821483 public static Func<ITestObj> FuncInterface = FunctionReturningClass;
14831484 public static Func<ITestObj, ITestObj> FuncInterfaceParam = CastObj;
1485+ public static Func<TestObjClass, ITestObj> FuncClassParam = CastObj;
14841486
14851487 public static TestObjClass FunctionReturningClass()
14861488 {
You can’t perform that action at this time.
0 commit comments