Skip to content

Fix #361: add regression coverage for split-line C# return types - #497

Merged
Widthdom merged 2 commits into
mainfrom
fix-issue361
Apr 21, 2026
Merged

Fix #361: add regression coverage for split-line C# return types#497
Widthdom merged 2 commits into
mainfrom
fix-issue361

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

Verification

  • dotnet test
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter Extract_CSharp_SplitReturnTypeLine_StillCapturesMethodPropertyAndIndexer
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter FullyQualifiedName~CodeIndex.Tests.SymbolExtractorTests
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll index <tmpdir> --json
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll symbols --db <tmpdir>/.cdidx/codeindex.db --json --lang csharp

Notes

Fixes #361

@Widthdom
Widthdom merged commit 9d92a8a into main Apr 21, 2026
6 checks passed
@Widthdom
Widthdom deleted the fix-issue361 branch April 21, 2026 03:02
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.

C# methods/properties/indexers with return type on a separate line from the name are silently dropped — per-line regex cannot match split signatures

1 participant