Commit c4fdc7b
Add return type validation for MethodBodyGenerator (MSGH008)
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.
Co-authored-by: dex3r <3155725+dex3r@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dex3r/EasySourceGenerators/sessions/8515330e-e7a2-438c-8d6a-d6c01baa8bbc1 parent 4a29f54 commit c4fdc7b
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