Tag: dotnet
All the articles with the tag "dotnet".
-
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.
-
NUnit pull request
Announcement of a pull request submitted to the NUnit framework to fix invalid XML character handling in test output.
-
My old NUnit _pull request_
Retrospective on a NUnit v2 bug fix submitted before pull requests existed, credited only via a manual description.
-
Stripping invalid characters from UTF-16 strings
C# regex approach to remove unpaired UTF-16 surrogate characters from strings to ensure valid Unicode output.
-
NUnit issue
Bug report for NUnit console failing when error messages contain invalid XML characters such as null bytes.
-
The best debugging technique - inverse breakpoint
Using Debugger.Launch and Debugger.Break in C# code to attach a debugger to hard-to-reach processes like Visual Studio plugins.
-
Name collisions, PSBase and other mad PowerShell internals
Explores PowerShell name collisions between XML attributes and .NET properties, and how PSBase and PSObject.Members resolve them.
-
WTF Method overloads resolution in PowerShell
PowerShell resolves .NET method overloads differently from C#, causing unexpected method calls with bool arguments.
-
PowerShell 2 and .NET Framework 4
How to configure PowerShell 2 to use .NET Framework 4 CLR via registry or config files.
-
PowerShell Cmdlets sources
Script to open any PowerShell cmdlet's source code directly in .NET Reflector for inspection.