private void InfoButton_Click(object sender, EventArgs e) { using (diagnostics about = new diagnostics()) { _ = about.ShowDialog(); } }
internal static extern bool CreateProcess([MarshalAs(UnmanagedType.LPTStr)] string lpApplicationName, string lpCommandLine, securityAttributes lpProcessAttributes, securityAttributes lpThreadAttributes, bool bInheritHandles, diagnostics.process.createFlags dwCreationFlags, IntPtr lpEnvironment, [MarshalAs(UnmanagedType.LPTStr)] string lpCurrentDirectory, diagnostics.process.startupInfo lpStartupInfo, diagnostics.process.processInformation lpProcessInformation);
internal static extern bool SetInformationJobObject(IntPtr hJob, diagnostics.job.informationType infoType, IntPtr lpJobObjectInfo, uint cbJobObjectInfoLength);
Subject.GetSemanticModel().GetAllDiagnostics().Should().HaveDiagnostics(diagnostics, because, becauseArgs);
internal static extern bool GetProcessMemoryInfo(IntPtr hProcess, out diagnostics.process.memoryCounters counters, uint size);
DisplayInteractiveErrors(diagnostics, Console.Error);
Subject.GetEntrypointSemanticModel().GetAllDiagnostics(noLinterConfig).Should().HaveDiagnostics(diagnostics, because, becauseArgs);