Add regression for catch type mention extraction

This commit is contained in:
copilot-swe-agent[bot]
2026-06-22 09:41:55 +00:00
committed by GitHub
parent 4c9fa4dddc
commit bd84fb31e1
2 changed files with 15 additions and 13 deletions

View File

@@ -50,19 +50,6 @@ class TypeMentions
}
}
class CatchTypeMentions
{
void F()
{
try
{
}
catch (Exception)
{
}
}
}
class NameOfMethodGroups
{
int MethodGroup() => 0;
@@ -207,3 +194,16 @@ class C3<T> : C2<C4<T>> { }
class C4<T> : C2<C3<T>> { }
class C5 : C4<C5> { }
class CatchTypeMentions
{
void F()
{
try
{
}
catch (Exception)
{
}
}
}

View File

@@ -100,3 +100,5 @@
| Program.cs:194:21:194:21 | T |
| Program.cs:196:12:196:17 | C4<C5> |
| Program.cs:196:15:196:16 | C5 |
| Program.cs:200:5:200:8 | Void |
| Program.cs:205:16:205:24 | Exception |