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)
58
58
app . Run ( ) ;
59
59
}
60
60
}
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()
56
56
}
57
57
}
58
58
59
- // is not public
60
- internal class NotHomeController : Controller
59
+ // is abstract
60
+ public abstract class HomeController6 : Controller
61
61
{
62
62
public string Index ( )
63
63
{
64
64
return "This is Home Controller" ;
65
65
}
66
66
}
67
67
68
- // is abstract
69
- public abstract class NotHomeController2 : Controller
68
+ // is not public
69
+ internal class NotHomeController : Controller
70
70
{
71
71
public string Index ( )
72
72
{
@@ -75,7 +75,7 @@ public string Index()
75
75
}
76
76
77
77
// contains generic parameters
78
- public class NotHomeController3 < T > : Controller
78
+ public class NotHomeController2 < T > : Controller
79
79
{
80
80
public string Index ( )
81
81
{
@@ -85,7 +85,7 @@ public string Index()
85
85
86
86
// has [NonController] attribute
87
87
[ NonController ]
88
- public class NotHomeController4 : Controller
88
+ public class NotHomeController3 : Controller
89
89
{
90
90
public string Index ( )
91
91
{
@@ -94,10 +94,10 @@ public string Index()
94
94
}
95
95
96
96
// derived from a class that has [NonController] attribute
97
- public class NotController : NotHomeController4
97
+ public class NotController : NotHomeController3
98
98
{
99
99
public string Index ( )
100
100
{
101
101
return "This is Home Controller" ;
102
102
}
103
- }
103
+ }
You can’t perform that action at this time.
0 commit comments