Changeset 7502 for trunk/sources
- Timestamp:
- 02/21/12 16:26:51 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/3.3/SandboxApplicationManager.cs
r7492 r7502 235 235 PluginDescription pluginDesc = (PluginDescription)pluginDescription; 236 236 return from asm in AppDomain.CurrentDomain.GetAssemblies() 237 where ! IsDynamicAssembly(asm)237 where !asm.IsDynamic 238 238 where pluginDesc.AssemblyLocations.Any(location => location.Equals(Path.GetFullPath(asm.Location), StringComparison.CurrentCultureIgnoreCase)) 239 239 from t in GetTypes(type, asm, onlyInstantiable, includeGenericTypeDefinitions) … … 249 249 } 250 250 return result; 251 }252 253 private static bool IsDynamicAssembly(Assembly asm) {254 return (asm is System.Reflection.Emit.AssemblyBuilder) || string.IsNullOrEmpty(asm.Location);255 251 } 256 252
Note: See TracChangeset
for help on using the changeset viewer.