Skip to content

Fix C# generic type argument graph edges - #2608

Merged
Widthdom merged 3 commits into
mainfrom
fix-issue2062
May 24, 2026
Merged

Fix C# generic type argument graph edges#2608
Widthdom merged 3 commits into
mainfrom
fix-issue2062

Conversation

@Widthdom

@Widthdom Widthdom commented May 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add generic_type_argument references for explicit C# generic invocations such as Process<IFoo>(value).
  • Include those edges in call graph traversal, ranking, callers, and impact analysis without promoting ordinary type_reference rows.
  • Add focused extractor and DbReader coverage plus a changelog fragment.

Fixes #2062

Validation

  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter "FullyQualifiedName~ReferenceExtractorTests.Extract_CSharpGenericInvocation_EmitsGraphTypeArgumentReference|FullyQualifiedName~DbReaderTests.GetCallers_CSharpGenericInvocationTypeArgument_ParticipatesInGraph" -p:UseSharedCompilation=false
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • dotnet build CodeIndex.sln -p:UseSharedCompilation=false
  • dotnet test CodeIndex.sln -p:UseSharedCompilation=false

@Widthdom
Widthdom merged commit 5c80f22 into main May 24, 2026
10 checks passed
@Widthdom
Widthdom deleted the fix-issue2062 branch May 24, 2026 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Generic type parameter substitution in transitive edges not resolved

1 participant