C#: Also make the implicitToString test print the type declaring the ToString call being synthesized.

This commit is contained in:
Michael Nebel
2025-01-16 12:56:40 +01:00
parent aab88da117
commit b6db1a34d6
2 changed files with 7 additions and 7 deletions

View File

@@ -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 |

View File

@@ -2,4 +2,4 @@ import csharp
from MethodCall c
where c.isImplicit()
select c
select c, c.getTarget().getDeclaringType().toString()