Skip to content

chore(quality): code quality improvements#41

Merged
CalvinAllen merged 3 commits intomainfrom
chore/quality/code-quality-improvements
Mar 16, 2026
Merged

chore(quality): code quality improvements#41
CalvinAllen merged 3 commits intomainfrom
chore/quality/code-quality-improvements

Conversation

@CalvinAllen
Copy link
Contributor

Summary

  • Update ModelContextProtocol and ModelContextProtocol.AspNetCore from 0.2.0-preview.2 to 0.8.0-preview.1
  • Fix CS8600 null reference warnings, remove duplicate usings, add null checks, and suppress threading analyzer warnings for a clean 0-warning build

Rebased from #33 by @shaiku onto current main.

shaiku and others added 3 commits March 16, 2026 14:31
Update both ModelContextProtocol and ModelContextProtocol.AspNetCore from 0.2.0-preview.2 to 0.8.0-preview.1, the latest available version. This brings compatibility with the latest MCP protocol features and improvements.
- Fix CS8600 null reference warnings by declaring nullable types
- Remove duplicate using directive for Microsoft.VisualStudio.Shell.TableManager
- Add null check for MCPServerPackage.Instance in ServerCommands
- Apply pragma suppressions for console I/O VSTHRD103 warnings
- Add project-level suppression for VSTHRD threading analyzer warnings
- Ensure consistent code style with braces on separate lines

These changes result in a clean build with 0 warnings and 0 errors.
@CalvinAllen
Copy link
Contributor Author

/credit @shaiku

@CalvinAllen CalvinAllen merged commit 76a6c27 into main Mar 16, 2026
2 checks passed
@CalvinAllen CalvinAllen deleted the chore/quality/code-quality-improvements branch March 16, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants