System.Xml.Xsl.IlGen.GenerateHelper.CallConcatStrings C# (CSharp) Method

CallConcatStrings() public method

public CallConcatStrings ( int cStrings ) : void
cStrings int
return void
        public void CallConcatStrings(int cStrings)
        {
            switch (cStrings)
            {
                case 0:
                    Emit(OpCodes.Ldstr, "");
                    break;
                case 1:
                    break;
                case 2:
                    Call(XmlILMethods.StrCat2);
                    break;
                case 3:
                    Call(XmlILMethods.StrCat3);
                    break;
                case 4:
                    Call(XmlILMethods.StrCat4);
                    break;
                default:
                    Debug.Assert(false, "Shouldn't be called");
                    break;
            }
        }