Silence CodeAnalysis warnings about nested generic types in a type signature

The method was introduced in cc49ae26dc078b9f028513b525505e963a014f2e, which merged the fixes for #256.