Comparing Generic Types
I recently ran into a situation where I needed to compare two types to see if they were the same. What complicated matters is the types I was comparing were
I recently ran into a situation where I needed to compare two types to see if they were the same. What complicated matters is the types I was comparing were
I found the problem: I was filtering out/ignoring IdentifierNameSyntax nodes but leaving in/processing PredefinedTypeSyntax nodes. The string Type is an example of the latter while ConsoleChannel is an example of
I run a Raspberry Pi on my home network for three reasons: To have a local DNS (dnsmasq) so I don’t have to remember or look up numeric IP addresses
I recently had occasion to write a simple python (3) script under debian buster with JetBrains’ Pycharm. The script rewrites protected system files so it needs sudo privileges…which turned out
The interface definitions are pretty simple: The marked lines show the interface that a configurator class needs to implement. It’s just a marker interface (i.e., doesn’t specify any required methods).
Turns out, in C#, when it’s coming from a COM interface…sometimes. I’m writing a C# library to interface with Windows’ File History subsystem. There’s no type library so I have