Beispiel #1
0
        public uint GetConstantBlobIndex(object value)
        {
            string str = value as string;

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

            MemoryStream sig    = new MemoryStream();
            BinaryWriter writer = new BinaryWriter(sig, true);

            writer.WriteConstantValueBlob(value);
            return(this.GetBlobIndex(sig));
        }