Commit 0bce1ab
Add return type validation for MethodBodyGenerator (MSGH008) (#92)
Report MSGH008 diagnostic when a [MethodBodyGenerator] method's return type
is neither IMethodBodyGenerator (fluent pattern) nor the exact return type
of the target partial method (simple pattern). The diagnostic location
highlights only the return type keyword in the method declaration.
Agent-Logs-Url: https://github.com/dex3r/EasySourceGenerators/sessions/8515330e-e7a2-438c-8d6a-d6c01baa8bbc
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: dex3r <[email protected]>1 parent 4a29f54 commit 0bce1ab
1 file changed
Lines changed: 12 additions & 0 deletions
File tree
- EasySourceGenerators.Generators/IncrementalGenerators
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
114 | 126 | | |
115 | 127 | | |
116 | 128 | | |
| |||
0 commit comments