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