Commit a2027b5
Rename @params to parameters and add MCP9003 diagnostic for obsolete constructor
- Rename the `@params` constructor parameter to `parameters` in the 3-arg
RequestContext<TParams> constructor.
- Add MCP9003 diagnostic ID to Obsoletions.cs for the obsolete 2-arg
constructor, following the established pattern (Message, DiagnosticId,
UrlFormat).
- Update the [Obsolete] attribute to use the centralized constants with
DiagnosticId and UrlFormat.
- Document MCP9003 in docs/list-of-diagnostics.md.
Co-authored-by: halter73 <54385+halter73@users.noreply.github.com>
Agent-Logs-Url: https://github.com/modelcontextprotocol/csharp-sdk/sessions/6e17cd63-6cb0-4d77-ba6c-1f2a616fa03f1 parent c0f7088 commit a2027b5
File tree
3 files changed
+9
-4
lines changed- docs
- src
- Common
- ModelContextProtocol.Core/Server
3 files changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
28 | 32 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments