Beispiel #1
0
            public void AddAssemblyReference(IAssemblyReference assembly)
            {
                if (null == assembly)
                {
                    return;
                }

                IAssembly assemblyDef = assembly.ResolvedAssembly;

                if (!AssembliesClosure.ContainsKey(assemblyDef.Name.Value))
                {
                    AssembliesClosure.Add(assemblyDef.Name.Value, assemblyDef);
                    _workList.Enqueue(assemblyDef);
                }
            }
Beispiel #2
0
 public bool ContainsAssembly(IAssembly assembly)
 {
     return(AssembliesClosure.ContainsValue(assembly));
 }