コード例 #1
0
 private void InfoButton_Click(object sender, EventArgs e)
 {
     using (diagnostics about = new diagnostics())
     {
         _ = about.ShowDialog();
     }
 }
コード例 #2
0
ファイル: kernel32.cs プロジェクト: khaliyo/fastCSharp
 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);
コード例 #3
0
ファイル: kernel32.cs プロジェクト: khaliyo/fastCSharp
 internal static extern bool SetInformationJobObject(IntPtr hJob, diagnostics.job.informationType infoType, IntPtr lpJobObjectInfo, uint cbJobObjectInfoLength);
コード例 #4
0
 Subject.GetSemanticModel().GetAllDiagnostics().Should().HaveDiagnostics(diagnostics, because, becauseArgs);
コード例 #5
0
ファイル: psapi.cs プロジェクト: khaliyo/fastCSharp
 internal static extern bool GetProcessMemoryInfo(IntPtr hProcess, out diagnostics.process.memoryCounters counters, uint size);
コード例 #6
0
 DisplayInteractiveErrors(diagnostics, Console.Error);
コード例 #7
0
 Subject.GetEntrypointSemanticModel().GetAllDiagnostics(noLinterConfig).Should().HaveDiagnostics(diagnostics, because, becauseArgs);