Configuring SharpLsp: VS Code settings and sharplsp.toml, with monorepo mode reporting an unused public property as dead code
Transcript
SharpLsp has two kinds of settings. Editor settings live in VS Code, under SharpLsp: logging, NuGet, test lenses and more.
Server settings live in sharplsp.toml, beside your solution. Turn on monorepo mode, and SharpLsp treats this repository as the only code that will ever call yours.
Restart the language server to apply it.
Now a public property that nothing uses is dead code too, and it's reported as an error.