Bruce Bowyer-Smyth

Results 9 issues of Bruce Bowyer-Smyth

> 11.We use language keywords instead of BCL types (i.e. int, string, float instead of Int32, String, Single , etc) for both type references as well as method calls (i.e....

guideline gap

More of a git formatting rule but mentioned in http://channel9.msdn.com/Blogs/dotnet/github-for-the-roslyn-team

Testing against 2 longer queries just pulled from StackOverflow. One LINQ (~32% improvement) and one just a select with a few joins (~16% improvement). **Before** | Method | Mean |...

Adds a sync path for WriteWithLength when the remaining buffer is large enough. `Many_parameters_with_mixed_FormatCode` at least hits the async code for simple types. Creating this as draft as I wasn't...

Available in NETSTANDARD2_1 and NET5_0_OR_GREATER, the base class functions in Stream for backwards compatibility rent an array and copy the span to it and then call the old array based...

Available in NETSTANDARD2_1 and NET5_0_OR_GREATER, the base class functions in Stream for backwards compatibility rent an array and copy the span to it and then call the old array based...

enhancement
help wanted

To avoid the double counting of UTF8 bytes in writing UTF16 strings, create a specialized StringBasedTextConverter that can use the newer `System.Text.Unicode.Utf8` namespace. When the encoding is the same object...

`Encoding.UTF8` actually returns a UTF8EncodingSealed object (https://github.com/dotnet/runtime/blob/main/src/libraries/System.Private.CoreLib/src/System/Text/UTF8Encoding.Sealed.cs) that allows for the functions to be devirtualized if accessed via that static. Npgsql is creating its own UTF8Encoding objects that don't allow...

Add nullable annotations. Because the library also compiles for older frameworks there is a mock `MemberNotNullAttribute` to work around that not existing. Took a couple of the readonly recommendations. Modified...