Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-230060: Says line is unreachable but msdn doco says "Process.Start" can return null

$
0
0
Reporter Simon Cropp (SimonCropp) Simon Cropp (SimonCropp)
Created Mar 16, 2011 9:38:02 AM
Updated Jan 27, 2012 7:14:44 PM
Resolved Jan 27, 2012 1:57:32 PM
Priority Normal
Type Bug
Fix versions 6.1
State Fixed
Assignee Alexey Kuptsov (alexey.kuptsov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build 6.5.1.3607


try
{
process = Process.Start(processStartInfo);
}
catch (Exception exception)
{
throw new Exception(string.Format("Could not start '{0} {1}'.", executable, arguments), exception);
}
if (process == null)
{
//says this line is unreachable
throw new Exception(string.Format("Could not start '{0} {1}'.", executable, arguments));
}


resharper version 5.1.3000.12
http://msdn.microsoft.com/en-us/library/0w4h05yb.aspx

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>