/** * C# / .NET environment doctor checks per ADR-22 §Install Pattern * + v1.1 Phase 5.2 scope. * * Four C#-specific checks dispatched from `lsp.ts` `checkExecutable` * csharp branch. All checks use `category: "lsp"` per types.ts * category enum constraint (.NET environment is the substrate * csharp-ls spawns against; rolls up under LSP umbrella in doctor * output). * * Check inventory: * 1. dotnet_version — version >= 8 (10+ recommended; * cohort-version anchor) * 2. csharp_ls_findable — csharp-ls binary resolvable after * PATH enrichment (calls adapter's * enrichPathForDotnetTools first) * 3. csharp_ls_version — version range [0.24.0, 1.0.0) per * ADR-22 §minimum-version pin + * major-version block * 4. project_files_detected — .sln / .slnx / .csproj presence at * repoRoot (Roslyn workspace context) * * Non-applicable checks return null and are filtered out (e.g., the * version check is skipped when csharp-ls itself isn't findable — * the upstream check already surfaces a fail). * * Mirrors the ruby-environment.ts substrate-shape per Phase 5.2 * precedent. Reasons for the smaller check count vs Ruby (10): * - C# has no platform-conditional install pattern matrix * parallel to Ruby's RubyInstaller / Homebrew / rbenv / RVM / * chocolatey breadth — dotnet SDK ships from a single source * (dotnet.microsoft.com) with consistent global-tool install * semantics. * - C# has no framework-conditional ecosystem parallel to Rails; * no analog to ruby-lsp-rails / database.yml / tzinfo-data. * - csharp-ls staleness signal (ADR-22 §maintenance-tail mitigation * #2) deferred to v1.1.x — requires network call to GitHub * release date; out of scope for offline-fast doctor. */ import type { DoctorCheck } from "../types.js"; /** * Run all C# / .NET environment checks for `repoRoot`. Returns the * full check set with non-applicable checks filtered out. * * Enriches PATH for `%USERPROFILE%\.dotnet\tools` (Windows) / * `~/.dotnet/tools` (POSIX) at entry so csharp-ls is findable in * Bash/Git-Bash environments where the SDK installer only configures * PowerShell. Idempotent — the adapter also enriches PATH internally * before spawn. */ export declare function csharpEnvironmentChecks(repoRoot: string): DoctorCheck[]; //# sourceMappingURL=csharp-environment.d.ts.map