public override string ToString() { if (Introduced.ToMacArch() == Platform.Mac_Arch64) { return("[Mavericks (onlyOn64: true)]"); } return("[Mavericks]"); }
// we want generated code to use the new attribute for unified public override string ToString() { if (Introduced.ToMacArch() == Platform.Mac_Arch64) { return("[MountainLion (onlyOn64: true)]"); } return("[MountainLion]"); }
public Platform GetIntroducedPlatformFor(Platform platform) => Introduced?.GetPlatform(platform.Name);
public string GetIntroduced() { return(Introduced.GetAttribute("value")); }
public bool IsApplicableAtVersion(Version version) { return((Introduced.IsUnspecified() || version >= Introduced) && (!IsDeprecated || version < Deprecated)); }