mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
18 lines
336 B
C#
18 lines
336 B
C#
// semmle-extractor-options: --standalone
|
|
|
|
using System;
|
|
|
|
class Class
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
int z = GetParamLength(__arglist(1, 2));
|
|
}
|
|
|
|
public static int GetParamLength(__arglist)
|
|
{
|
|
ArgIterator iterator = new ArgIterator(__arglist);
|
|
return iterator.GetRemainingCount();
|
|
}
|
|
}
|