3 references to GetCurrentProcessId
System.Windows.Forms (2)
System\Windows\Forms\Application.ComponentThreadContext.cs (1)
429if (pid == PInvoke.GetCurrentProcessId())
System\Windows\Forms\Application.cs (1)
737if (processId == PInvoke.GetCurrentProcessId() && PInvoke.IsWindowVisible(hwnd))
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ControlDesigner.cs (1)
2456s_currentProcessId = PInvoke.GetCurrentProcessId();