mirror of
https://github.com/dnSpy/dnSpy.git
synced 2025-01-08 11:57:36 +08:00
Fix nullability warning
This commit is contained in:
parent
e1b96bd774
commit
1e857026ac
@ -325,7 +325,7 @@ namespace dnSpy.MainApp {
|
||||
Assembly[] LoadExtensionAssemblies() {
|
||||
var dir = AppDirectories.BinDirectory;
|
||||
var unsortedFiles = GetExtensionFiles(dir);
|
||||
if (!(args.ExtraExtensionDirectory is null))
|
||||
if (!string.IsNullOrEmpty(args.ExtraExtensionDirectory))
|
||||
unsortedFiles = unsortedFiles.Concat(GetExtensionFiles(args.ExtraExtensionDirectory));
|
||||
|
||||
// Load the modules in a predictable order or multicore-JIT could stop recording. See
|
||||
|
@ -77,6 +77,7 @@ namespace dnSpy.MainApp {
|
||||
ShowStartupTime = false;
|
||||
DebugAttachPid = 0;
|
||||
DebugAttachProcess = string.Empty;
|
||||
ExtraExtensionDirectory = string.Empty;
|
||||
|
||||
bool canParseCommands = true;
|
||||
for (int i = 0; i < args.Length; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user