If you run the C# renderer with --features just-types --array-type list then it creates List<T> properties, but doesn't add the required using System.Collections.Generic;. It also happens without the --array-type list if a Dictionary<K,V> is generated as a property.
If you run the C# renderer with
--features just-types --array-type list
then it createsList<T>
properties, but doesn't add the requiredusing System.Collections.Generic;
. It also happens without the--array-type list
if aDictionary<K,V>
is generated as a property.This is due to the checks here, with FIXMEs from 6 years ago pointing out this exact bug. https://github.com/glideapps/quicktype/blob/916cd94a9d4fdeab870b6a12f42ad43ebaedf314/packages/quicktype-core/src/language/CSharp.ts#L851 https://github.com/glideapps/quicktype/blob/916cd94a9d4fdeab870b6a12f42ad43ebaedf314/packages/quicktype-core/src/language/CSharp.ts#L1579