Add SupportedOSPlatformGuard, UnsupportedOSPlatformGuard attributes (#52028)
authorBuyaa Namnan <bunamnan@microsoft.com>
Mon, 3 May 2021 05:55:46 +0000 (22:55 -0700)
committerGitHub <noreply@github.com>
Mon, 3 May 2021 05:55:46 +0000 (22:55 -0700)
commite6bb456e608ad24a55f3fef2d1ee4ede07d6c729
treec7007bf69946a6265e87be20e97255ff9be8c9d6
parent294fc7b8550628f16d5d52a131379a6c038efd6d
Add SupportedOSPlatformGuard, UnsupportedOSPlatformGuard attributes (#52028)

* Add SupportedOSPlatformGuard, UnsupportedOSPlatformGuard attributes
Co-authored-by: Jeff Handley <jeffhandley@users.noreply.github.com>
src/libraries/System.Private.CoreLib/src/System/Runtime/Versioning/PlatformAttributes.cs
src/libraries/System.Runtime/ref/System.Runtime.cs
src/libraries/System.Runtime/tests/System/Runtime/Versioning/OSPlatformAttributeTests.cs