Beispiel #1
0
        public object Delete(Request1 req) => req; // not a sink

        public object Put(Request1 req) => new HttpResult("", "");
Beispiel #2
0
 public object Post(Request1 request) => "<script>";
Beispiel #3
0
 public object Delete(Request1 req) => req; // not a sink
Beispiel #4
0
 public object Get(Request1 request)
 {
     return("<script>");
 }
Beispiel #5
0
 public object Get(Request1 request) => throw null;
Beispiel #6
0
 public object Method1(Request1 request) // Not a request method
 {
     Console.WriteLine(request.Field1);
     throw null;
 }
Beispiel #7
0
 public Task <object> PostAsync(Request1 request) => throw null;
Beispiel #8
0
 public object Post(Request1 request) => throw null;