// HACKER NEWS — CYBERSECURITY
Show HN: Graphify C# – Compiler-accurate Find Usages for coding agents
Give coding agents compiler-accurate Find Usages for C#.
graphify-csharp is a free, headless Roslyn/MSBuild indexer that turns C#
source into deterministic, queryable semantic evidence: compiler-resolved
callers, references, implementations, inheritance, and overrides—even across
overloads, generics, and projects.
Think of it as the semantic-navigation slice of Rider/ReSharper, exported for
Codex, Claude Code, and other coding agents.
MIT licensed · No IDE · No compiled project DLL required · No database · Graphify optional
A text search can find matching spellings. It cannot reliably tell which
overload was bound, which project the caller belongs to, or whether an
interface implementation is the symbol you meant.
Graphify C# loads the project through MSBuild and asks Roslyn what every symbol
actually means. It emits stable identities and directed relationships that an
agent can inspect instead of infer:
For example, this repository contains an internal
DeclarationCatalogBuilder.ForTesting(...) method. From the extracted graph,
an agent can see one compiler-resolved incoming call:
That is semantic evidence, not a text-match count. A consumer can classify the
caller by project or namespace convention and report the method as test-only
for human review.
The result is one complete JSON document containing nodes, edges, and
hyperedges. It can be read directly by an agent, queried with jq, consumed
from your own code, or passed to Graphify.
Supported inputs are .sln, .slnx, .csproj, and SDK file-based .cs apps.
The repository's SDKs, packages, and MSBuild inputs must be available locally.