Conversation
…or all primitive types Add WriteLine overloads for bool, char, byte, sbyte, short, ushort, int, uint, long, ulong, float, double and decimal to match the existing Write non-nullable API. Cover all new and previously untested nullable WriteLine overloads with tests. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 📝 WalkthroughWalkthroughAdded 26 new WriteLine method overloads to SourceTextWriter for various primitive types and their nullable variants. Each overload writes the value and appends a newline. Comprehensive test coverage added for all overloads. Version bumped from 2.0 to 2.1. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~15 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
WriteLinenon-nullable overloads forbool,char,byte,sbyte,short,ushort,int,uint,long,ulong,float,double, anddecimalto match the existingWritenon-nullable APIWriteLineoverloads (char?,byte?,sbyte?,short?,ushort?,uint?,long?,ulong?,float?,double?,decimal?— both value and null cases — plus the missingbool?null case)Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit
Release Notes