System.Xml.Xsl.Runtime.StringConcat.ConcatNoDelimiter C# (CSharp) Method

ConcatNoDelimiter() private method

Concatenate a new string to the result without adding a delimiter.
private ConcatNoDelimiter ( string s ) : void
s string
return void
        private void ConcatNoDelimiter(string s) {
            switch (this.idxStr) {
                case 0: this.s1 = s; break;
                case 1: this.s2 = s; break;
                case 2: this.s3 = s; break;
                case 3: this.s4 = s; break;
                default:
                    if (this.idxStr == 4) {
                        this.strList = new ArrayList(8);
                        this.strList.Add(this.s1);
                        this.strList.Add(s2);
                        this.strList.Add(s3);
                        this.strList.Add(s4);
                    }
                    this.strList.Add(s);
                    break;
            }

            this.idxStr++;
        }
    }