mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
15 lines
249 B
C#
15 lines
249 B
C#
class C1
|
|
{
|
|
int F() => 0; // BAD: Confusing
|
|
int f() => 0;
|
|
int G() => 0; // GOOD: Same name
|
|
int G(int x) => x;
|
|
}
|
|
|
|
class C2
|
|
{
|
|
int f() => 0; // GOOD
|
|
int G() => 0; // GOOD
|
|
int G(int x) => x; // GOOD
|
|
}
|