Posts
All the articles I've posted.
My NUnit pull request accepted
Announcement that a NUnit pull request fixing invalid XML character handling was merged and referenced in NUnit source code.
PowerShell Start-Job WTF
Troubleshoots Start-Job scope issues with PSScriptRoot and shows how to invoke a script path asynchronously using ScriptBlock.Create.
PowerShell Start-Process WTF
Documents a known PowerShell bug where Start-Process -PassThru does not expose ExitCode, with a workaround using Process.Start.
PowerShell .NET property access swallows exceptions
Demonstrates that PowerShell silently returns null when a .NET property getter throws an exception, and how to avoid it.
Escaping Invalid XML Unicode characters
Step-by-step derivation of a C# regex to strip or escape characters invalid in XML, handling UTF-16 surrogate pairs correctly.
My old NUnit _pull request_
Retrospective on a NUnit v2 bug fix submitted before pull requests existed, credited only via a manual description.
NUnit pull request
Announcement of a pull request submitted to the NUnit framework to fix invalid XML character handling in test output.
Stripping invalid characters from UTF-16 strings
C# regex approach to remove unpaired UTF-16 surrogate characters from strings to ensure valid Unicode output.
Unicode literals in PowerShell
How to express Unicode character literals in PowerShell using char casts and ConvertFromUtf32, including surrogate pair handling.
Another GitExtensions file history issue
Reports and proposes a fix for another file history bug in GitExtensions.