public override string ToString() { Type elementType = this.elementType as Type; if (elementType != null) { return(elementType.FullName + ToRankString(this.rank)); } ClassScope scope = this.elementType as ClassScope; if (scope != null) { return(scope.GetFullName() + ToRankString(this.rank)); } TypedArray array = this.elementType as TypedArray; if (array != null) { return(array.ToString() + ToRankString(this.rank)); } return(Microsoft.JScript.Convert.ToType(this.elementType).FullName + ToRankString(this.rank)); }
public override String ToString() { Type elemType = this.elementType as Type; if (elemType != null) { return(elemType.FullName + TypedArray.ToRankString(this.rank)); } ClassScope csc = this.elementType as ClassScope; if (csc != null) { return(csc.GetFullName() + TypedArray.ToRankString(this.rank)); } TypedArray tarr = this.elementType as TypedArray; if (tarr != null) { return(tarr.ToString() + TypedArray.ToRankString(this.rank)); } return(Convert.ToType(this.elementType).FullName + TypedArray.ToRankString(this.rank)); }