Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
C#: Also make the implicitToString test print the type declaring the …
Browse files Browse the repository at this point in the history
…ToString call being synthesized.
michaelnebel committed Jan 16, 2025

Verified

This commit was signed with the committer’s verified signature.
dsanders11 David Sanders
1 parent ec7f04b commit 971a975
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
| implicitToString.cs:35:27:35:35 | call to method ToString |
| implicitToString.cs:37:22:37:30 | call to method ToString |
| implicitToString.cs:39:22:39:30 | call to method ToString |
| implicitToString.cs:44:23:44:42 | call to method ToString |
| implicitToString.cs:49:23:49:32 | call to method ToString |
| implicitToString.cs:52:23:52:32 | call to method ToString |
| implicitToString.cs:35:27:35:35 | call to method ToString | Container |
| implicitToString.cs:37:22:37:30 | call to method ToString | Container |
| implicitToString.cs:39:22:39:30 | call to method ToString | Container |
| implicitToString.cs:44:23:44:42 | call to method ToString | FormattableContainer |
| implicitToString.cs:49:23:49:32 | call to method ToString | Container |
| implicitToString.cs:52:23:52:32 | call to method ToString | Object |
Original file line number Diff line number Diff line change
@@ -2,4 +2,4 @@ import csharp

from MethodCall c
where c.isImplicit()
select c
select c, c.getTarget().getDeclaringType().toString()

0 comments on commit 971a975

Please sign in to comment.