20 lines
648 B
Markdown
20 lines
648 B
Markdown
|
# System.Runtime.Versioning
|
||
|
|
||
|
``` diff
|
||
|
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);
|
||
|
+ }
|
||
|
}
|
||
|
```
|
||
|
|