Skip to content

Commit

Permalink
removed assembly-level SupportedOSPlatformAttribute to enable project…
Browse files Browse the repository at this point in the history
…ion authors to apply a more restricted (later) version (#829)
  • Loading branch information
Scottj1s authored Apr 29, 2021
1 parent ef2472e commit 9359ad7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/Tests/AuthoringTest/Module.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#if !NETSTANDARD2_0
[assembly: global::System.Runtime.Versioning.SupportedOSPlatform("Windows")]
#endif
3 changes: 3 additions & 0 deletions src/WinRT.Runtime/Module.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#if !NETSTANDARD2_0
[assembly: global::System.Runtime.Versioning.SupportedOSPlatform("Windows")]
#endif
4 changes: 0 additions & 4 deletions src/cswinrt/strings/WinRT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
#pragma warning disable 0649 // Field 'xxx' is never assigned to, and will always have its default value
#pragma warning disable CA1060

#if !NETSTANDARD2_0
[assembly: global::System.Runtime.Versioning.SupportedOSPlatform("Windows")]
#endif

namespace WinRT
{
using System.Diagnostics;
Expand Down

0 comments on commit 9359ad7

Please sign in to comment.