Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bb9ce0e

Browse files
committed
C#: fix inconsistent type/constructor name
The code sample for the self-assignment query help had a different name for the class and it's (intended) constructor, so was invalid.
1 parent 0de9eed commit bb9ce0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

csharp/ql/src/Likely Bugs/SelfAssignment.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class SelfAssignment
22
{
33
private int i;
4-
public TestableTest(int i)
4+
public SelfAssignment(int i)
55
{
66
i = i;
77
}

0 commit comments

Comments
 (0)