Add roslyn analyzer to check if every GBaseTable has at least one GBaseEntry #16

Open
opened 6 years ago by SimonG96 · 1 comments
SimonG96 commented 6 years ago (Migrated from github.com)
Owner

Add a roslyn analyzer to check if every type marked with the GBaseTableAttribute has at least one property marked with the GBaseEntryAttribute.
This should look similar to the ServiceContract in WCF (see also this question).

Helpful resources:

Add a roslyn analyzer to check if every type marked with the `GBaseTableAttribute` has at least one property marked with the `GBaseEntryAttribute`. This should look similar to the `ServiceContract` in [WCF](https://github.com/dotnet/wcf) (see also [this question](https://stackoverflow.com/questions/60262147/customize-attribute-on-type-to-expect-methods-marked-with-another-attribute)). Helpful resources: - [https://docs.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/tutorials/how-to-write-csharp-analyzer-code-fix](https://docs.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/tutorials/how-to-write-csharp-analyzer-code-fix) - [https://github.com/dotnet/roslyn/wiki/How-To-Write-a-C%23-Analyzer-and-Code-Fix](https://github.com/dotnet/roslyn/wiki/How-To-Write-a-C%23-Analyzer-and-Code-Fix)
SimonG96 commented 6 years ago (Migrated from github.com)
Owner
[https://docs.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/get-started/syntax-analysis](https://docs.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/get-started/syntax-analysis)
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: SimonG/GBase#16
Loading…
There is no content yet.