mirror of
https://github.com/github/codeql.git
synced 2026-01-22 19:02:59 +01:00
14 lines
343 B
C#
14 lines
343 B
C#
class PointlessForwardingMethodFix
|
|
{
|
|
public static void Print(string firstName, string lastName)
|
|
{
|
|
string fullName = firstName + " " + lastName;
|
|
Console.WriteLine("Pointless forwarding methods are bad, " + fullName + "...");
|
|
}
|
|
|
|
public static void Main(string[] args)
|
|
{
|
|
Print("John", "Doe");
|
|
}
|
|
}
|