Mono.Cecil.WindowsRuntimeProjections.GetCoreLibrary C# (CSharp) 메소드

GetCoreLibrary() 정적인 개인적인 메소드

static private GetCoreLibrary ( Collection references ) : Mono.Cecil.AssemblyNameReference
references Collection
리턴 Mono.Cecil.AssemblyNameReference
        static AssemblyNameReference GetCoreLibrary(Collection<AssemblyNameReference> references)
        {
            foreach (var reference in references)
                if (reference.Name == "mscorlib")
                    return reference;

            throw new BadImageFormatException ("Missing mscorlib reference in AssemblyRef table.");
        }