We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b28dd93 commit c8d7bd9Copy full SHA for c8d7bd9
src/NServiceBus.Core/Hosting/Helpers/AssemblyScanner.cs
@@ -92,7 +92,7 @@ public AssemblyScannerResults GetScannableAssemblies()
92
93
var platformAssembliesString = (string)AppDomain.CurrentDomain.GetData("TRUSTED_PLATFORM_ASSEMBLIES");
94
95
- if (platformAssembliesString != null)
+ if (!string.IsNullOrEmpty(platformAssembliesString))
96
{
97
var platformAssemblies = platformAssembliesString.Split(Path.PathSeparator);
98
0 commit comments