Foxoft.Ci.CiArrayStorageType.LookupMember C# (CSharp) Method

LookupMember() public method

public LookupMember ( string name ) : CiSymbol
name string
return CiSymbol
        public override CiSymbol LookupMember(string name)
        {
            switch (name) {
            case "Clear":
            if (this.ElementType == CiByteType.Value || this.ElementType == CiIntType.Value)
                return CiLibrary.ArrayStorageClearMethod;
            throw new ParseException("Clear available only for byte and int arrays");
            case "Length": return new CiConst { Type = CiIntType.Value, Value = this.Length };
            default: return base.LookupMember(name);
            }
        }
CiArrayStorageType