Skip to content

Commit 2f5d3ca

Browse files
author
Wenbo
committed
Try to fix some warnings from github with the previous change
1 parent e610875 commit 2f5d3ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xml/System.Diagnostics/Process.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@
113113
A system process is uniquely identified on the system by its process identifier. Like many Windows resources, a process is also identified by its handle, which might not be unique on the computer. A handle is the generic term for an identifier of a resource. The operating system persists the process handle, which is accessed through the <xref:System.Diagnostics.Process.Handle%2A> property of the <xref:System.Diagnostics.Process> component, even when the process has exited. Thus, you can get the process's administrative information, such as the <xref:System.Diagnostics.Process.ExitCode%2A> (usually either zero for success or a nonzero error code) and the <xref:System.Diagnostics.Process.ExitTime%2A>. Handles are an extremely valuable resource, so leaking handles is more virulent than leaking memory.
114114

115115
In the MacOS, the following properties will return 0:
116-
- <xref:System.Diagnostics.Process.peakvirtualmemorysize64?displayProperty=nameWithType>
117-
- <xref:System.Diagnostics.Process.PrivateMemorySize64?displayProperty=nameWithType>
118-
- <xref:System.Diagnostics.Process.PeakWorkingSet64?displayProperty=nameWithType>
116+
- <xref:System.Diagnostics.Process.peakvirtualmemorysize64>
117+
- <xref:System.Diagnostics.Process.PrivateMemorySize64>
118+
- <xref:System.Diagnostics.Process.PeakWorkingSet64>
119119

120120
> [!NOTE]
121121
> This class contains a link demand and an inheritance demand at the class level that applies to all members. A <xref:System.Security.SecurityException> is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see [Link Demands](/dotnet/framework/misc/link-demands).

0 commit comments

Comments
 (0)