コード例 #1
0
        public int GetConstantBlobIndex(object value)
        {
            string str = value as string;

            if (str != null)
            {
                return(this.GetBlobIndex(str));
            }

            var writer = new BlobWriter();

            writer.WriteConstant(value);
            return(this.GetBlobIndex(writer));
        }