microsoft / microsoft/typespec
Create an analyzer for MGC to ensure some APIs are not misused
Open
emitter:client:csharp
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
For example, the ctors of the `Snippets` we usually do not they to be used anywhere else except for the `Snippet` static class, but we do not have an intuitive way to add the limit via accessibility modifiers.
In this case, an analyzer might help.
Contributor guide
Assessment
This issue has not been assessed yet.