Example #1
0
        internal static Instruction ParameterBox(int index)
        {
            if (_parameterBox == null)
            {
                _parameterBox = new Instruction[LocalInstrCacheSize];
            }

            if (index < _parameterBox.Length)
            {
                return(_parameterBox[index] ?? (_parameterBox[index] = new InitializeLocalInstruction.ParameterBox(index)));
            }

            return(new InitializeLocalInstruction.ParameterBox(index));
        }
        internal static Instruction ParameterBox(int index) {
            if (_parameterBox == null) {
                _parameterBox = new Instruction[LocalInstrCacheSize];
            }

            if (index < _parameterBox.Length) {
                return _parameterBox[index] ?? (_parameterBox[index] = new InitializeLocalInstruction.ParameterBox(index));
            }

            return new InitializeLocalInstruction.ParameterBox(index);
        }