Boo.Lang.Compiler.Steps.EmitAssembly.EmitInlineArrayInit C# (CSharp) Метод

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

private EmitInlineArrayInit ( IType type, Boo.Lang.Compiler.Ast.ExpressionCollection items ) : void
type IType
items Boo.Lang.Compiler.Ast.ExpressionCollection
Результат void
        void EmitInlineArrayInit(IType type, ExpressionCollection items)
        {
            OpCode opcode = GetStoreEntityOpCode(type);
            for (int i=0; i<items.Count; ++i)
            {
                if (IsNull(items[i]))
                    continue; //do not emit even if types are not the same (null is any)
                if (type == items[i].ExpressionType && IsZeroEquivalent(items[i]))
                    continue; //do not emit unnecessary init to zero
                StoreEntity(opcode, i, items[i], type);
            }
        }
EmitAssembly