<commit_before>﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Mosa.Runtime.CompilerFramework
{
    /// <summary>
    /// 
    /// </summary>
    public sealed class StringOperand : Operand
    {
        /// <summary>
        /// 
        /// </summary>
        private string _string;

        /// <summary>
        /// 
        /// </summary>
        public string String
        {
            get
            {
                return _string;
            }
            set
            {
                _string = value;
            }
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="value"></param>
        public StringOperand(string value)
            : base(new Metadata.Signatures.SigType(Metadata.CilElementType.String))
        {
            String = value;
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="other"></param>
        /// <returns></returns>
        public override bool Equals(Operand other)
        {
            if (!(other is StringOperand))
                return false;

            StringOperand stringOp = other as StringOperand;
            return String.Equals(stringOp.String);
        }
    }
}<commit_msg>- Experimental Branch Merge #512<commit_after>﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Mosa.Runtime.CompilerFramework
{
    /// <summary>
    /// 
    /// </summary>
    public sealed class StringOperand : Operand
    {
        private string _string;

		/// <summary>
		/// Gets or sets the string.
		/// </summary>
		/// <value>The string.</value>
        public string String
        {
            get
            {
                return _string;
            }
            set
            {
                _string = value;
            }
        }

		/// <summary>
		/// Initializes a new instance of the <see cref="StringOperand"/> class.
		/// </summary>
		/// <param name="value">The value.</param>
        public StringOperand(string value)
            : base(new Metadata.Signatures.SigType(Metadata.CilElementType.String))
        {
            String = value;
        }

		/// <summary>
		/// Compares with the given operand for equality.
		/// </summary>
		/// <param name="other">The other operand to compare with.</param>
		/// <returns>
		/// The return value is true if the operands are equal; false if not.
		/// </returns>
        public override bool Equals(Operand other)
        {
            if (!(other is StringOperand))
                return false;

            StringOperand stringOp = other as StringOperand;
            return String.Equals(stringOp.String);
        }
    }
}
{'fraction_non_alphanumeric': 0.1235207100591716, 'fraction_numerical': 0.0011094674556213018, 'mean_word_length': 1.3790677220756375, 'pattern_counts': {'":': 0, '<': 36, '<?xml version=': 0, '>': 36, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2492516', 'n_tokens_mistral': 725, 'n_tokens_neox': 699, 'n_words': 175}