Boo.Lang.Compiler.Steps.InitializeNameResolutionService.OrganizeExternalNamespaces C# (CSharp) Метод

OrganizeExternalNamespaces() публичный Метод

public OrganizeExternalNamespaces ( ) : void
Результат void
        void OrganizeExternalNamespaces()
        {
            foreach (Assembly asm in Parameters.References)
            {
                try
                {
                    NameResolutionService.OrganizeAssemblyTypes(asm);
                }
                catch (ReflectionTypeLoadException x)
                {
                    System.IO.StringWriter loadErrors = new System.IO.StringWriter();
                    loadErrors.Write("'" + asm.FullName + "' - (" + GetLocation(asm) + "):");
                    loadErrors.WriteLine(x.Message);
                    foreach(Exception e in x.LoaderExceptions)
                    {
                        loadErrors.WriteLine(e.Message);
                    }
                    Errors.Add(
                        CompilerErrorFactory.FailedToLoadTypesFromAssembly(
                            loadErrors.ToString(), x));
                }
                catch (Exception x)
                {
                    Errors.Add(
                        CompilerErrorFactory.FailedToLoadTypesFromAssembly(
                            "'" + asm.FullName + "' - (" + GetLocation(asm) + "): " + x.Message, x));
                }
            }
        }