Repository: dotnet/runtime
File: src/libraries/System.Diagnostics.Process/ref/System.Diagnostics.Process.cs (C#)

Code before:
        public int ModuleMemorySize { get { throw null; } }
        public string ModuleName { get { throw null; } }
        public override string ToString() { throw null; }
    }
    public partial class ProcessModuleCollection : System.Collections.ReadOnlyCollectionBase
    {
        protected ProcessModuleCollection() { }
        public ProcessModuleCollection(System.Diagnostics.ProcessModule[] processModules) { }
        public System.Diagnostics.ProcessModule this[int index] { get { throw null; } }
        public bool Contains(System.Diagnostics.ProcessModule module) { throw null; }
        public void CopyTo(System.Diagnostics.ProcessModule[] array, int index) { }
        public int IndexOf(System.Diagnostics.ProcessModule module) { throw null; }
    }
    public readonly partial struct ProcessExitStatus : System.IEquatable<System.Diagnostics.ProcessExitStatus>
    {
        private readonly int _dummyPrimitive;
        public ProcessExitStatus(int exitCode, bool cancelled, System.Runtime.InteropServices.PosixSignal? signal = null) { throw null; }
        public bool Canceled { get { throw null; } }
        public int ExitCode { get { throw null; } }
        public System.Runtime.InteropServices.PosixSignal? Signal { get { throw null; } }
        public bool Equals(System.Diagnostics.ProcessExitStatus other) { throw null; }
        public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhen(true)] object? obj) { throw null; }
        public override int GetHashCode() { throw null; }
        public static bool operator ==(System.Diagnostics.ProcessExitStatus left, System.Diagnostics.ProcessExitStatus right) { throw null; }
        public static bool operator !=(System.Diagnostics.ProcessExitStatus left, System.Diagnostics.ProcessExitStatus right) { throw null; }
    }
    public enum ProcessPriorityClass
    {
        Normal = 32,
        Idle = 64,
        High = 128,
        RealTime = 256,
        BelowNormal = 16384,
        AboveNormal = 32768,
    }
    public sealed partial class ProcessStartInfo
    {
        public ProcessStartInfo() { }
        public ProcessStartInfo(string fileName) { }
        public ProcessStartInfo(string fileName, string arguments) { }
        public ProcessStartInfo(string fileName, System.Collections.Generic.IEnumerable<string> arguments) { }
        public System.Collections.ObjectModel.Collection<string> ArgumentList { get { throw null; } }
        [System.Diagnostics.CodeAnalysis.AllowNullAttribute]
        public string Arguments { get { throw null; } set { } }
        [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
        public bool CreateNewProcessGroup { get { throw null; } set { } }
        public bool CreateNoWindow { get { throw null; } set { } }
        [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
        [System.Diagnostics.CodeAnalysis.AllowNullAttribute]
        public string Domain { get { throw null; } set { } }
        public System.Collections.Generic.IDictionary<string, string?> Environment { get { throw null; } }

Review comment (suggestion):
My instructions were clear, I've asked you to do the following:

>  take the approved public API shape from here: https://github.com/dotnet/runtime/issues/123380#issuecomment-3880499825

The public API shape does not include IEquatable, operators etc (the proposal did include, but it was rejected).

Remove all of them, update ref, impl and tests.

```suggestion
    public readonly partial struct ProcessExitStatus
    {
        private readonly int _dummyPrimitive;
        public ProcessExitStatus(int exitCode, bool cancelled, System.Runtime.InteropServices.PosixSignal? signal = null) { throw null; }
        public bool Canceled { get { throw null; } }
        public int ExitCode { get { throw null; } }
        public System.Runtime.InteropServices.PosixSignal? Signal { get { throw null; } }
    }
```

Code after:
        public int ModuleMemorySize { get { throw null; } }
        public string ModuleName { get { throw null; } }
        public override string ToString() { throw null; }
    }
    public partial class ProcessModuleCollection : System.Collections.ReadOnlyCollectionBase
    {
        protected ProcessModuleCollection() { }
        public ProcessModuleCollection(System.Diagnostics.ProcessModule[] processModules) { }
        public System.Diagnostics.ProcessModule this[int index] { get { throw null; } }
        public bool Contains(System.Diagnostics.ProcessModule module) { throw null; }
        public void CopyTo(System.Diagnostics.ProcessModule[] array, int index) { }
        public int IndexOf(System.Diagnostics.ProcessModule module) { throw null; }
    }
    public sealed partial class ProcessExitStatus
    {
        public ProcessExitStatus(int exitCode, bool canceled, System.Runtime.InteropServices.PosixSignal? signal = null) { throw null; }
        public bool Canceled { get { throw null; } }
        public int ExitCode { get { throw null; } }
        public System.Runtime.InteropServices.PosixSignal? Signal { get { throw null; } }
    }
    public enum ProcessPriorityClass
    {
        Normal = 32,
        Idle = 64,
        High = 128,
        RealTime = 256,
        BelowNormal = 16384,
        AboveNormal = 32768,
    }
    public sealed partial class ProcessStartInfo
    {
        public ProcessStartInfo() { }
        public ProcessStartInfo(string fileName) { }
        public ProcessStartInfo(string fileName, string arguments) { }
        public ProcessStartInfo(string fileName, System.Collections.Generic.IEnumerable<string> arguments) { }
        public System.Collections.ObjectModel.Collection<string> ArgumentList { get { throw null; } }
        [System.Diagnostics.CodeAnalysis.AllowNullAttribute]
        public string Arguments { get { throw null; } set { } }
        [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
        public bool CreateNewProcessGroup { get { throw null; } set { } }
        public bool CreateNoWindow { get { throw null; } set { } }
        [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
        [System.Diagnostics.CodeAnalysis.AllowNullAttribute]
        public string Domain { get { throw null; } set { } }
        public System.Collections.Generic.IDictionary<string, string?> Environment { get { throw null; } }
        [System.ComponentModel.EditorAttribute("System.Diagnostics.Design.StringDictionaryEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
        public System.Collections.Specialized.StringDictionary EnvironmentVariables { get { throw null; } }
        public bool ErrorDialog { get { throw null; } set { } }
        public System.IntPtr ErrorDialogParentHandle { get { throw null; } set { } }
        [System.ComponentModel.EditorAttribute("System.Diagnostics.Design.StartFileNameEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
        [System.Diagnostics.CodeAnalysis.AllowNullAttribute]