Skip to content

Commit 471c19a

Browse files
committed
Removed unused references.
1 parent 8f897f0 commit 471c19a

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

CrashReporter.NET/HelperMethods.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
using System;
2-
using System.Collections;
3-
using System.Drawing;
42
using System.Runtime.InteropServices;
5-
using System.Windows.Forms;
63
using Microsoft.Win32;
74

85
namespace CrashReporterDotNET
@@ -33,8 +30,7 @@ private static bool Is64BitOperatingSystem()
3330
IntPtr processAddress = GetProcAddress(moduleHandle, "IsWow64Process");
3431
if (processAddress != IntPtr.Zero)
3532
{
36-
bool result;
37-
if (IsWow64Process(GetCurrentProcess(), out result) && result)
33+
if (IsWow64Process(GetCurrentProcess(), out var result) && result)
3834
return true;
3935
}
4036
}

CrashReporter.NET/ReportCrash.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
using System;
2-
using System.ComponentModel;
32
using System.Diagnostics;
43
using System.Drawing.Imaging;
5-
using System.Globalization;
64
using System.IO;
75
using System.Reflection;
86
using System.Threading;

0 commit comments

Comments
 (0)