mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-09-24 15:47:27 +00:00
Remove framework gating
This commit is contained in:
@@ -8,75 +8,39 @@ namespace SabreTools.Models.OpenMSX
|
||||
{
|
||||
[Required]
|
||||
[XmlElement("title")]
|
||||
#if NET48
|
||||
public string Title { get; set; }
|
||||
#else
|
||||
public string? Title { get; set; }
|
||||
#endif
|
||||
|
||||
[XmlElement("genmsxid")]
|
||||
#if NET48
|
||||
public string GenMSXID { get; set; }
|
||||
#else
|
||||
public string? GenMSXID { get; set; }
|
||||
#endif
|
||||
|
||||
[Required]
|
||||
[XmlElement("system")]
|
||||
#if NET48
|
||||
public string System { get; set; }
|
||||
#else
|
||||
public string? System { get; set; }
|
||||
#endif
|
||||
|
||||
[Required]
|
||||
[XmlElement("company")]
|
||||
#if NET48
|
||||
public string Company { get; set; }
|
||||
#else
|
||||
public string? Company { get; set; }
|
||||
#endif
|
||||
|
||||
[Required]
|
||||
[XmlElement("year")]
|
||||
#if NET48
|
||||
public string Year { get; set; }
|
||||
#else
|
||||
public string? Year { get; set; }
|
||||
#endif
|
||||
|
||||
[Required]
|
||||
[XmlElement("country")]
|
||||
#if NET48
|
||||
public string Country { get; set; }
|
||||
#else
|
||||
public string? Country { get; set; }
|
||||
#endif
|
||||
|
||||
[XmlElement("dump")]
|
||||
#if NET48
|
||||
public Dump[] Dump { get; set; }
|
||||
#else
|
||||
public Dump[]? Dump { get; set; }
|
||||
#endif
|
||||
|
||||
#region DO NOT USE IN PRODUCTION
|
||||
|
||||
/// <remarks>Should be empty</remarks>
|
||||
[XmlAnyAttribute]
|
||||
#if NET48
|
||||
public XmlAttribute[] ADDITIONAL_ATTRIBUTES { get; set; }
|
||||
#else
|
||||
public XmlAttribute[]? ADDITIONAL_ATTRIBUTES { get; set; }
|
||||
#endif
|
||||
|
||||
/// <remarks>Should be empty</remarks>
|
||||
[XmlAnyElement]
|
||||
#if NET48
|
||||
public object[] ADDITIONAL_ELEMENTS { get; set; }
|
||||
#else
|
||||
public object[]? ADDITIONAL_ELEMENTS { get; set; }
|
||||
#endif
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user