IronRuby.Builtins.RubyModule.TryResolveConstantNoAutoloadCheck C# (CSharp) Метод

TryResolveConstantNoAutoloadCheck() приватный Метод

private TryResolveConstantNoAutoloadCheck ( bool inherited, string name, IronRuby.Runtime.ConstantStorage &value ) : RubyModule
inherited bool
name string
value IronRuby.Runtime.ConstantStorage
Результат RubyModule
        private RubyModule TryResolveConstantNoAutoloadCheck(bool inherited, string/*!*/ name, out ConstantStorage value) {
            Context.RequiresClassHierarchyLock();

            var storage = default(ConstantStorage);
            RubyModule owner = null;
            if (ForEachAncestor(inherited, (module) => (owner = module).TryGetConstantNoAutoloadCheck(name, out storage))) {
                value = storage;
                return owner;
            } else {
                value = storage;
                return null;
            }
        }
RubyModule