dotnet-core/release-notes/5.0/api-diff/netstandard2.1/5.0_System.Runtime.Versioning.md
Anirudh Agnihotry fdaef4427a
Api diff between net5.0 and netcoreapp3.1 & netstandard2.1 (#5610)
* .net shared framework changes

* standalone net 5.0 packages

* netstanard2.1 diff

* improving the directory structure

* adding a readme file

* aspnetcore shared framework changes

* remove wrong process type change diff

* adding comments about apis being to inbox from package
2020-11-18 10:40:01 -08:00

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);
+ }
}
```