internal static string GenerateToXmlString(TypeData type, string value)
 {
     if (type.NullableOverride)
     {
         return(string.Concat(new string[]
         {
             "(",
             value,
             " != null ? ",
             XmlCustomFormatter.GenerateToXmlStringCore(type, value),
             " : null)"
         }));
     }
     return(XmlCustomFormatter.GenerateToXmlStringCore(type, value));
 }