internal bool ShouldGenerateCode()
 {
     return GenerateCode.GetValueOrDefault(defaultValue: true);
 }