Browse Source

Use IsNullOrWhiteSpace in all cases

pull/3203/head
Christoph Wille 2 years ago
parent
commit
3ace9fa029
  1. 2
      ILSpy/ILSpySettingsFilePathProvider.cs

2
ILSpy/ILSpySettingsFilePathProvider.cs

@ -31,7 +31,7 @@ namespace ICSharpCode.ILSpy @@ -31,7 +31,7 @@ namespace ICSharpCode.ILSpy
return App.CommandLineArguments.ConfigFile;
var assemblyLocation = typeof(MainWindow).Assembly.Location;
if (!String.IsNullOrEmpty(assemblyLocation))
if (!String.IsNullOrWhiteSpace(assemblyLocation))
{
string localPath = Path.Combine(Path.GetDirectoryName(assemblyLocation), "ILSpy.xml");
if (File.Exists(localPath))

Loading…
Cancel
Save