private void InfoButton_Click(object sender, EventArgs e)
 {
     using (diagnostics about = new diagnostics())
     {
         _ = about.ShowDialog();
     }
 }
Esempio n. 2
0
 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);
Esempio n. 3
0
 internal static extern bool SetInformationJobObject(IntPtr hJob, diagnostics.job.informationType infoType, IntPtr lpJobObjectInfo, uint cbJobObjectInfoLength);
Esempio n. 4
0
 Subject.GetSemanticModel().GetAllDiagnostics().Should().HaveDiagnostics(diagnostics, because, becauseArgs);
Esempio n. 5
0
 internal static extern bool GetProcessMemoryInfo(IntPtr hProcess, out diagnostics.process.memoryCounters counters, uint size);
Esempio n. 6
0
 DisplayInteractiveErrors(diagnostics, Console.Error);
Esempio n. 7
0
 Subject.GetEntrypointSemanticModel().GetAllDiagnostics(noLinterConfig).Should().HaveDiagnostics(diagnostics, because, becauseArgs);