Sven Hübner's repositories
ClosedTypeHierarchyDiagnosticSuppressor
Suppresses exhaustiveness warnings for switching (switch statement or expression) on closed type hierarchies
OneOfDiagnosticSuppressor
Suppresses switch exhaustiveness warnings for `OneOf<...>.Value` instances from [OneOf](https://github.com/mcintyre321/OneOf)
RpcOverIpcDemo
Demonstrates how to do RPC between a .NET 5 process and a .NET Framework 4.8 process
CheckUnnecessaryUsings
Package that applies a workaround to get IDE0005 (unnecessary usings) in the CLI build
DomainPrimitives
Base classes and templates for domain primitives in C#
XsdToSource
Generates POCOS from XML schema files (XSD) at compile-time
dev_puzzles
Puzzles for software developers
blog_multiversioncompatibility
Demo of preprocessor-based technique for duplication-free code that is compatible with multiple versions of the same API
blog_nuget_packaging
Demonstration of the techniques described in my blog post about nuget packaging
demo_AssemblyAttribute
Shows how to use a csproj Property as one source of truth for both build and runtime
demo_GenericPartialApplication
Demonstrates generic partial application, i. e. how to build a generic call with multiple type arguments one type argument at a time, without reflection of course.
demo_TestProjectSetup
Demo of establishing defaults for test projects so that the test csproj can be minimal.
dev_puzzle_06_source
source repo for dev puzzle 06
dev_puzzle_lib1
source repo for git-related puzzles
dev_puzzle_lib2
source repo for git-related puzzles
ErrorProne.NET
Set of roslyn-based analyzers for catching common C# errors (inspired by Google's error-prone)
json_keyref
Checks referential integrity of a JSON document according to an external specifications similar to XSD's keyref etc.
MultiAssemblyPackageCheck
Adds an MSBuild task that checks assembly references of all assemblies within a package for inconsistencies.
repro-dotnet-sdk-25758
Reproduces `--no-incremental` build error with SDK 6.0.300 and IsExternalInit and Nullable package
repro-roslyn-63744
Repro for wrong regex syntax highlighting in VS
SharedMemory
C# shared memory classes for sharing data between processes (Array, Buffer and Circular Buffer)
template_json_schema
Template for test-driven development of JSON schemas
testsamples
library for easy sample-based testing, e. g. for testing validation code
vscode_ext_custom_language
Demo for how to create VSCode extension for a custom ANTLR-based language including semantic validation
XmlSchemaClassGenerator
Generate C# classes from XML Schema files