pub fn gen_csharp_record( typ: &TypeDef, namespace: &str, type_mapper: &dyn Fn(&TypeRef) -> String, ) -> String
Generate C# record with init properties for a type with has_default.
has_default