1
0
mirror of synced 2025-12-21 02:41:55 -05:00
Files
core/release-notes/5.0/api-diff/netstandard2.1/5.0_System.Runtime.Versioning.md
Rich Lander 8c8e5836c3 Fix linter errors in repo (#9689)
* Fix linter errors

* Update links
2025-01-13 21:40:52 -08:00

647 B

System.Runtime.Versioning

 namespace System.Runtime.Versioning {
+    public abstract class OSPlatformAttribute : Attribute {
+        public string PlatformName { get; }
+    }
+    public sealed class SupportedOSPlatformAttribute : OSPlatformAttribute {
+        public SupportedOSPlatformAttribute(string platformName);
+    }
+    public sealed class TargetPlatformAttribute : OSPlatformAttribute {
+        public TargetPlatformAttribute(string platformName);
+    }
+    public sealed class UnsupportedOSPlatformAttribute : OSPlatformAttribute {
+        public UnsupportedOSPlatformAttribute(string platformName);
+    }
 }