Skip to content

Commit 2070b2b

Browse files
committed
Haiku: Align attributes with reference API defs
1 parent 155ec88 commit 2070b2b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/libraries/System.Diagnostics.Process/ref/System.Diagnostics.Process.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ internal ProcessThread() { }
270270
public int Id { get { throw null; } }
271271
public int IdealProcessor { set { } }
272272
public bool PriorityBoostEnabled { get { throw null; } set { } }
273-
public System.Diagnostics.ThreadPriorityLevel PriorityLevel { [System.Runtime.Versioning.SupportedOSPlatform("windows")] [System.Runtime.Versioning.SupportedOSPlatform("linux")] [System.Runtime.Versioning.SupportedOSPlatform("freebsd")] get { throw null; } [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")] set { } }
273+
public System.Diagnostics.ThreadPriorityLevel PriorityLevel { [System.Runtime.Versioning.SupportedOSPlatform("windows")] [System.Runtime.Versioning.SupportedOSPlatform("linux")] [System.Runtime.Versioning.SupportedOSPlatform("freebsd")] [System.Runtime.Versioning.SupportedOSPlatform("haiku")] get { throw null; } [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")] set { } }
274274
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")]
275275
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")]
276276
[System.Runtime.Versioning.SupportedOSPlatformAttribute("maccatalyst")] // this needs to come after the ios attribute due to limitations in the platform analyzer

src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,6 @@ public IntPtr MaxWorkingSet
266266
[UnsupportedOSPlatform("ios")]
267267
[UnsupportedOSPlatform("tvos")]
268268
[SupportedOSPlatform("maccatalyst")]
269-
[UnsupportedOSPlatform("haiku")]
270269
get
271270
{
272271
EnsureWorkingSetLimits();
@@ -275,7 +274,6 @@ public IntPtr MaxWorkingSet
275274
[SupportedOSPlatform("freebsd")]
276275
[SupportedOSPlatform("macos")]
277276
[SupportedOSPlatform("maccatalyst")]
278-
[SupportedOSPlatform("windows")]
279277
set
280278
{
281279
SetWorkingSetLimits(null, value);

0 commit comments

Comments
 (0)