UnsupportedOSPlatformGuardAttribute sealed class UnsupportedOSPlatformGuardAttribute : OSPlatformAttribute Annotates the custom guard field, property or method with an unsupported platform name and optional version. Multiple attributes can be applied to indicate guard for multiple unsupported platforms. Documentation Code public UnsupportedOSPlatformGuardAttribute(string platformName)