示例#1
0
        void DefineConstant(ConstantDebugInformation constant)
        {
            var row   = metadata.AddStandAloneSignature(metadata.GetConstantTypeBlobIndex(constant.ConstantType));
            var token = new MetadataToken(TokenType.Signature, row);

            writer.DefineConstant2(constant.Name, constant.Value, token.ToInt32());
        }