Example #1
0
        public Struct18 imethod_1(DxfReader dxfReader, int baseGroupCode)
        {
            string s = this.textReader_0.ReadLine();

            if (s == null)
            {
                return(Struct18.struct18_0);
            }
            int code = int.Parse(s);

            ++this.long_0;
            string valueString = this.textReader_0.ReadLine();
            object obj         = Class820.GetValue(dxfReader, baseGroupCode, valueString);

            ++this.long_0;
            return(new Struct18(code, obj, valueString));
        }
Example #2
0
        public Struct18 imethod_1(DxfReader dxfReader, int baseGroupCode)
        {
            int code = this.vmethod_0();

            if (code == int.MinValue)
            {
                return(Struct18.struct18_0);
            }
            ++this.int_0;
            try
            {
                object obj = Class820.GetValue(baseGroupCode, this);
                ++this.int_0;
                return(new Struct18(code, obj));
            }
            catch (EndOfStreamException ex)
            {
                return(Struct18.struct18_0);
            }
        }