|
|
|
@ -130,6 +130,10 @@ namespace ICSharpCode.ILSpy.Analyzers
@@ -130,6 +130,10 @@ namespace ICSharpCode.ILSpy.Analyzers
|
|
|
|
|
{ |
|
|
|
|
yield return self; |
|
|
|
|
|
|
|
|
|
string reflectionTypeScopeName = typeScope.Name; |
|
|
|
|
if (typeScope.TypeParameterCount > 0) |
|
|
|
|
reflectionTypeScopeName += "`" + typeScope.TypeParameterCount; |
|
|
|
|
|
|
|
|
|
foreach (var assembly in AssemblyList.GetAssemblies()) { |
|
|
|
|
ct.ThrowIfCancellationRequested(); |
|
|
|
|
bool found = false; |
|
|
|
@ -145,7 +149,7 @@ namespace ICSharpCode.ILSpy.Analyzers
@@ -145,7 +149,7 @@ namespace ICSharpCode.ILSpy.Analyzers
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (found && ModuleReferencesScopeType(module.Metadata, typeScope.Name, typeScope.Namespace)) |
|
|
|
|
if (found && ModuleReferencesScopeType(module.Metadata, reflectionTypeScopeName, typeScope.Namespace)) |
|
|
|
|
yield return module; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|