File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 11using System ;
2- using System . Collections ;
3- using System . Drawing ;
42using System . Runtime . InteropServices ;
5- using System . Windows . Forms ;
63using Microsoft . Win32 ;
74
85namespace 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 }
Original file line number Diff line number Diff line change 11using System ;
2- using System . ComponentModel ;
32using System . Diagnostics ;
43using System . Drawing . Imaging ;
5- using System . Globalization ;
64using System . IO ;
75using System . Reflection ;
86using System . Threading ;
You can’t perform that action at this time.
0 commit comments