File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed
csharp/ql/test/library-tests
dataflow/flowsources/aspremote Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -58,4 +58,9 @@ public void M1(string[] args)
5858 app . Run ( ) ;
5959 }
6060 }
61- }
61+
62+ public abstract class AbstractTestController : Controller
63+ {
64+ public void MyActionMethod ( string param ) { }
65+ }
66+ }
Original file line number Diff line number Diff line change @@ -56,17 +56,17 @@ public string Index()
5656 }
5757}
5858
59- // is not public
60- internal class NotHomeController : Controller
59+ // is abstract
60+ public abstract class HomeController6 : Controller
6161{
6262 public string Index ( )
6363 {
6464 return "This is Home Controller" ;
6565 }
6666}
6767
68- // is abstract
69- public abstract class NotHomeController2 : Controller
68+ // is not public
69+ internal class NotHomeController : Controller
7070{
7171 public string Index ( )
7272 {
@@ -75,7 +75,7 @@ public string Index()
7575}
7676
7777// contains generic parameters
78- public class NotHomeController3 < T > : Controller
78+ public class NotHomeController2 < T > : Controller
7979{
8080 public string Index ( )
8181 {
@@ -85,7 +85,7 @@ public string Index()
8585
8686// has [NonController] attribute
8787[ NonController ]
88- public class NotHomeController4 : Controller
88+ public class NotHomeController3 : Controller
8989{
9090 public string Index ( )
9191 {
@@ -94,10 +94,10 @@ public string Index()
9494}
9595
9696// derived from a class that has [NonController] attribute
97- public class NotController : NotHomeController4
97+ public class NotController : NotHomeController3
9898{
9999 public string Index ( )
100100 {
101101 return "This is Home Controller" ;
102102 }
103- }
103+ }
You can’t perform that action at this time.
0 commit comments