Пример #1
0
        // Token: 0x06000271 RID: 625 RVA: 0x000132F4 File Offset: 0x000114F4
        public virtual void kmethod_317(Stream stream_, bool bool_0)
        {
            Class_102 class_ = this.prop_0;

            if (class_ == Class_102.\u032F\u0020\u0357\u030E\u0345\u0317\u032Ec\u033A\u030D\u0489\u033A\u0E47\u031A\u0489\u034Biuprkicuzyilcxpb\u0020\u0354\u0341\u0342\u0306\u0331\u0363\u0316\u035A\u0345\u0316\u0320\u0324\u035D\u0020\u0359byltzgwaywognczj)
            {
                stream_.WriteByte(34);
                byte[] bytes = Encoding.UTF8.GetBytes(base.vmethod_335(this.prop_0.ToString()));
                stream_.Write(bytes, 0, bytes.Length);
                stream_.WriteByte(34);
                return;
            }
            if (class_ != Class_102.\u031D\u0320\u033A\u0359\u0020\u032B\u036F\u030E\u034E\u032A\u0020\u0E47\u036D\u035E\u0357\u036Bbuinszyvshdxival\u0331\u033A\u0020t\u0E47\u034D\u033F\u0320\u0020\u0313\u0320\u0324\u034A\u0331\u0317\u0365rdmtbdisonjupbxu)
            {
                byte[] bytes2 = Encoding.UTF8.GetBytes(this.lmethod_318());
                stream_.Write(bytes2, 0, bytes2.Length);
                return;
            }
            if ((bool)this.prop_0)
            {
                stream_.Write(Class_101.field_0, 0, 4);
                return;
            }
            stream_.Write(Class_101.field_1, 0, 5);
        }
Пример #2
0
        // Token: 0x06000272 RID: 626 RVA: 0x000133A0 File Offset: 0x000115A0
        public string lmethod_318()
        {
            Class_102 class_ = this.prop_0;

            if (class_ != Class_102.\u032F\u0020\u0357\u030E\u0345\u0317\u032Ec\u033A\u030D\u0489\u033A\u0E47\u031A\u0489\u034Biuprkicuzyilcxpb\u0020\u0354\u0341\u0342\u0306\u0331\u0363\u0316\u035A\u0345\u0316\u0320\u0324\u035D\u0020\u0359byltzgwaywognczj)
            {
                if (class_ != Class_102.\u0301\u0325\u0342\u036B\u0356\u0367\u0337\u0349\u034D\u0353\u0349\u0359\u0368\u030C\u0020\u035Bsumheyrskoaxhywu\u0E47\u0331\u0332\u0308\u0368\u0320\u0356\u034E\u0346\u031F\u0347\u0324\u035A\u034A\u0E47\u0331tdekmrgabhtbpfpl)
                {
                    throw new InvalidOperationException();
                }
                string text = (!(this.prop_0 is float) && !(this.prop_0 is double)) ? ((IFormattable)this.prop_0).ToString("G", NumberFormatInfo.InvariantInfo) : ((IFormattable)this.prop_0).ToString("R", NumberFormatInfo.InvariantInfo);
                if (text == "NaN" || text == "Infinity" || text == "-Infinity")
                {
                    return("\"" + text + "\"");
                }
                return(text);
            }
            else if (this.prop_0 is string || this.prop_0 == null)
            {
                string text2 = this.prop_0 as string;
                if (string.IsNullOrEmpty(text2))
                {
                    return("null");
                }
                return(text2.Trim(new char[]
                {
                    '"'
                }));
            }
            else
            {
                if (this.prop_0 is char)
                {
                    return(this.prop_0.ToString());
                }
                string str  = "GetFormattedString from value type ";
                Type   type = this.prop_0.GetType();
                throw new NotImplementedException(str + ((type != null) ? type.ToString() : null));
            }
        }