Backport System.Diagnostics.Process timing XML docs from runtime PR 130794#12887
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR backports documentation updates for System.Diagnostics.Process timing-related members to better describe platform-specific behavior (Windows vs Unix), especially for post-exit property access and associated exceptions.
Changes:
- Updated
StartTimeremarks and exceptions to describe Windows handle-based access and Unix caching/unavailability behavior. - Added/updated exception documentation and platform behavior remarks for
ExitTimeand processor timing properties (PrivilegedProcessorTime,TotalProcessorTime,UserProcessorTime). - Cleaned up placeholder content in affected member docs.
adamsitnik
reviewed
Jul 20, 2026
adamsitnik
left a comment
Member
There was a problem hiding this comment.
@copilot address the feedback
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
adamsitnik
approved these changes
Jul 20, 2026
gewarren
approved these changes
Jul 20, 2026
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
adamsitnik
enabled auto-merge (squash)
July 21, 2026 12:33
Member
|
@gewarren please excuse me for bothering you again, but the new rules require a new approval after applying your suggesitons
|
gewarren
approved these changes
Jul 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR backports the
Processtiming-property documentation updates fromdotnet/runtime#130794intodotnet-api-docs. It aligns API reference behavior notes for post-exit access across Windows and Unix.StartTime
InvalidOperationExceptiontext to describe uncached/unavailable Unix and no-handle Windows cases.ExitTime
InvalidOperationExceptiondocumentation for access before process exit, missing association, and Windows no-handle scenarios.Processor timing properties (
PrivilegedProcessorTime,TotalProcessorTime,UserProcessorTime)InvalidOperationExceptionandWin32Exceptionentries consistent with runtime behavior.Doc consistency and cleanup
/xml/System.Diagnostics/Process.xml.