You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
3
external/ikvm/reflect/Universe.cs
vendored
3
external/ikvm/reflect/Universe.cs
vendored
@@ -136,6 +136,7 @@ namespace IKVM.Reflection
|
||||
DisableWindowsRuntimeProjection = 64,
|
||||
DecodeVersionInfoAttributeBlobs = 128,
|
||||
DeterministicOutput = 256,
|
||||
DisableDefaultAssembliesLookup = 512,
|
||||
}
|
||||
|
||||
public sealed class Universe : IDisposable
|
||||
@@ -676,7 +677,7 @@ namespace IKVM.Reflection
|
||||
private Assembly GetLoadedAssembly(string refname)
|
||||
{
|
||||
Assembly asm;
|
||||
if (!assembliesByName.TryGetValue(refname, out asm))
|
||||
if (!assembliesByName.TryGetValue(refname, out asm) && (options & UniverseOptions.DisableDefaultAssembliesLookup) == 0)
|
||||
{
|
||||
string simpleName = GetSimpleAssemblyName(refname);
|
||||
for (int i = 0; i < assemblies.Count; i++)
|
||||
|
||||
Reference in New Issue
Block a user