Skip to content

Fix Go, PHP, and Razor reference extraction gaps - #2795

Merged
Widthdom merged 8 commits into
mainfrom
fix-issue1440-1445-1479
May 31, 2026
Merged

Fix Go, PHP, and Razor reference extraction gaps#2795
Widthdom merged 8 commits into
mainfrom
fix-issue1440-1445-1479

Conversation

@Widthdom

@Widthdom Widthdom commented May 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • Fix Go generic method reference extraction so receiver methods keep method type parameter constraints, value parameter types, and return types under the method container.
  • Add PHP 8.4 property hook accessor symbols and hook-body reference containment for expression and block hook bodies.
  • Preserve fully dotted Razor component tag names when emitting component call references.

Validation

  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter "FullyQualifiedName~ReferenceExtractorTests.Extract_Go_GenericMethodsEmitTypeParameterAndParameterReferences|FullyQualifiedName~SymbolExtractorTests.Extract_PHP_DetectsPropertyHookAccessors|FullyQualifiedName~ReferenceExtractorTests.Extract_PhpPropertyHooks_EmitReferencesInsideHookBodies|FullyQualifiedName~ReferenceExtractorTests.Extract_RazorBlazor_CapturesComponentsDirectivesInjectionAndEventHandlers" -p:UseSharedCompilation=false -p:EnableAotAnalyzer=false -p:EnableTrimAnalyzer=false
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll status --check --json
  • dotnet build CodeIndex.sln -c Release -p:UseSharedCompilation=false

Notes

Fixes #1440
Fixes #1445
Fixes #1479

@Widthdom
Widthdom merged commit 278515a into main May 31, 2026
10 checks passed
@Widthdom
Widthdom deleted the fix-issue1440-1445-1479 branch May 31, 2026 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant