Skip to main content
The C# extractor maps tree-sitter C# CST nodes to canonical concepts. Class, method, and namespace names come from the standard name field; variable names come from the declarator.

Detected concepts

Example

Renaming a method:
old.cs
new.cs
Running differens old.cs new.cs:

Example: change the body

Keep the declaration name and change what it does:
The report groups the value edit under its containing declaration. Use --format=json to inspect the underlying action and context, or --format=llm for a compact report with source locations.

Known limitations

  • Partial classes across files are correlated per file; the cross-file correlator pairs moved members when the whole changeset is diffed at once.
  • LINQ query syntax uses its grammar nodes where no canonical concept mapping exists; the extractor does not infer query behavior.